PageRenderTime 69ms CodeModel.GetById 39ms RepoModel.GetById 1ms app.codeStats 0ms

/10.2/unstable/main/finkinfo/libs/publib-0.34.0-1.patch

https://github.com/danielj7/fink-dists
Patch | 314 lines | 313 code | 1 blank | 0 comment | 0 complexity | c438f196677593a0a177c15492db0ccc MD5 | raw file
  1. diff -ruN publib-0.34/debian/Default.config publib-0.34.new/debian/Default.config
  2. --- publib-0.34/debian/Default.config 1969-12-31 19:00:00.000000000 -0500
  3. +++ publib-0.34.new/debian/Default.config 2002-12-26 09:53:18.000000000 -0500
  4. @@ -0,0 +1,7 @@
  5. +library=publib
  6. +libshort=pub
  7. +modules=../../liw
  8. +CFLAGS='-Wall -O'
  9. +verbmake=no
  10. +prefix=../tmp/usr
  11. +mandir=../tmp/usr/share/man
  12. diff -ruN publib-0.34/debian/changelog publib-0.34.new/debian/changelog
  13. --- publib-0.34/debian/changelog 1969-12-31 19:00:00.000000000 -0500
  14. +++ publib-0.34.new/debian/changelog 2002-12-26 09:53:18.000000000 -0500
  15. @@ -0,0 +1,129 @@
  16. +publib (0.34-1) unstable; urgency=low
  17. +
  18. + * New upstream version. Excerpts from upstream changelog:
  19. + + liw/sbuf/sbuf_srch.c: Added missing #include for <sys/types.h>
  20. + (<regex.h> needs it). Thanks to Dmitry Astapov <adept@umc.com.ua>.
  21. + Closes: #144483.
  22. + + framework/Generic.mk, framework/link-alternative-names,
  23. + liw/publibdocs/Makefile: Manual pages are installed compressed,
  24. + and links to alternative names are created
  25. + Closes: #99605.
  26. + * debian/control [Standards-Version]: Upgraded to 3.5.5.
  27. +
  28. + -- Antti-Juhani Kaijanaho <ajk@debian.org> Mon, 22 Jul 2002 21:50:30 +0300
  29. +
  30. +publib (0.32-1) unstable; urgency=low
  31. +
  32. + * debian/control: New maintainer.
  33. + * Converted from native to non-native packaging, as upstream is no
  34. + longer the Debian maintainer.
  35. + * debian/control [Standards-Version]: Upgraded to 3.5.4; due to
  36. + bug#99605 we are not yet compliant to 3.5.5 or later.
  37. + * debian/control [Build-Depends]: Added.
  38. +
  39. + -- Antti-Juhani Kaijanaho <ajk@debian.org> Sun, 23 Sep 2001 14:07:47 +0300
  40. +
  41. +publib (0.32) unstable; urgency=low
  42. +
  43. + * Moved files from /usr/doc to /usr/share/doc, as per current policy.
  44. + (Closes: Bug#91623)
  45. + * Moved files from /usr/man to /usr/share/man.
  46. + * Converted to use debhelper.
  47. +
  48. + -- Lars Wirzenius <liw@iki.fi> Sat, 31 Mar 2001 12:56:42 +0300
  49. +
  50. +publib (0.31) unstable; urgency=low
  51. +
  52. + * liw/errormsg/errormsg.c: Treat "" same as NULL for the program name.
  53. + Suggestion sent by Gary Kline <kline@tao.thought.org>.
  54. + * This recompile should also fix dwww related problems (closes:
  55. + Bug #45092).
  56. +
  57. + -- Lars Wirzenius <liw@iki.fi> Sun, 19 Sep 1999 19:14:04 +0300
  58. +
  59. +publib (0.30) unstable; urgency=low
  60. +
  61. + * framework/Makefile.in: Add C++ wrappers in the generated header;
  62. + if the module headers are to be included directly, they need to add
  63. + the wrappers themselves.
  64. +
  65. + -- Lars Wirzenius <liw@iki.fi> Mon, 8 Feb 1999 17:55:41 +0200
  66. +
  67. +publib (0.29) unstable; urgency=low
  68. +
  69. + * Added tbuf module. Not working yet, however.
  70. + * Changed name of changelog in /usr/log.
  71. + * liw/alloc/alloc.h: Removed prototype for strdup. It isn't included
  72. + in publib, anyway. Fixes bug #31977, although differently than the
  73. + suggested patch in the bug report. Also #29887 and #22561.
  74. + * liw/sbuf: Added code to log the size and position of changes, triggered
  75. + by macro SBUF_LOG. This is needed for optimizing, and is not turned on
  76. + in the release versions.
  77. +
  78. + -- Lars Wirzenius <liw@iki.fi> Mon, 25 Jan 1999 15:35:56 +0200
  79. +
  80. +publib (0.28) unstable; urgency=low
  81. +
  82. + * No longer compresses /usr/doc/publib-dev/copyright. (Fixes bug #14504.)
  83. + * Moved upstream changelog to debian/changelog (this file).
  84. + * Compresses manual pages.
  85. + * Changes section manual pages on the .TH line to 3pub. This fixes
  86. + bug #8415.
  87. + * Updated to conform to Debian Policy Manual 2.4.0.0.
  88. +
  89. + -- Lars Wirzenius <liw@iki.fi> Fri, 13 Mar 1998 15:55:54 +0200
  90. +
  91. +publib (0.27) unstable; urgency=low
  92. +
  93. + * Re-compiled for libc6.
  94. + * Changes to liw/sbuf, liw/log, and liw/cfg in the upstream version.
  95. + * Removed Debian version from version number (but didn't combine upstream
  96. + changelog with Debian changelog).
  97. +
  98. + -- Lars Wirzenius <liw@iki.fi> Tue, 11 Nov 1997 04:37:02 +0200
  99. +
  100. +publib (0.26-1) unstable; urgency=low
  101. +
  102. + * New upstream release that only fixes bugs.
  103. + * Fixes bug #8228: adds one missing #include, and removes an extra one.
  104. +
  105. + -- Lars Wirzenius <liw@iki.fi> Sun, 27 Apr 1997 03:02:43 +0300
  106. +
  107. +publib (0.25-1) unstable; urgency=low
  108. +
  109. + * New upstream release; mostly just bug fixes.
  110. +
  111. + -- Lars Wirzenius <liw@iki.fi> Sat, 28 Dec 1996 00:50:15 +0200
  112. +
  113. +publib (0.24-1) unstable; urgency=low
  114. +
  115. + * New upstream release with important changes in sbuf and cfgtool.
  116. +
  117. + -- Lars Wirzenius <liw@iki.fi> Thu, 5 Dec 1996 11:27:41 +0200
  118. +
  119. +publib (0.23-1) unstable; urgency=low
  120. +
  121. + * New upstream release (read Changes).
  122. + * Minor tweaking to debian/rules.
  123. +
  124. + -- Lars Wirzenius <liw@iki.fi> Wed, 6 Nov 1996 20:04:02 +0200
  125. +
  126. +publib (0.22-1) unstable; urgency=low
  127. +
  128. + * New upstream release (read Changes).
  129. + * Added debian/* to upstream sources.
  130. +
  131. + -- Lars Wirzenius <liw@iki.fi> Tue, 5 Nov 1996 23:55:00 +0200
  132. +
  133. +publib (0.21-1) unstable; urgency=low
  134. +
  135. + * New upstream release (mostly just changes in the sbuf module).
  136. +
  137. + -- Lars Wirzenius <liw@iki.fi> Mon, 4 Nov 1996 19:31:04 +0200
  138. +
  139. +publib (0.20-1) unstable; urgency=low
  140. +
  141. + * First release.
  142. +
  143. + -- Lars Wirzenius <liw@iki.fi> Sun, 22 Sep 1996 02:47:04 +0300
  144. +
  145. diff -ruN publib-0.34/debian/control publib-0.34.new/debian/control
  146. --- publib-0.34/debian/control 1969-12-31 19:00:00.000000000 -0500
  147. +++ publib-0.34.new/debian/control 2002-12-26 09:53:18.000000000 -0500
  148. @@ -0,0 +1,21 @@
  149. +Source: publib
  150. +Maintainer: Antti-Juhani Kaijanaho <ajk@debian.org>
  151. +Section: devel
  152. +Priority: optional
  153. +Standards-Version: 3.5.5
  154. +Build-Depends: debhelper (>= 3.0.0)
  155. +
  156. +Package: publib-dev
  157. +Architecture: any
  158. +Description: C function library
  159. + Publib is a library of C functions for various purposes. It has
  160. + been written so that it is easy to extend. It's build tools can
  161. + easily be used for other libraries, but that isn't relevant for
  162. + the Debian pre-packaged version.
  163. + .
  164. + The library contains functions for memory allocation, bit arrays,
  165. + configuration files, comparing standard C types for qsort and
  166. + bsearch, error messages, expression parsing and evaluation,
  167. + filenames, hash tables, integer sets, log files, the Linux Software
  168. + Map, NNTP, priority queues, normal queues, editor buffers, stacks,
  169. + and strings.
  170. diff -ruN publib-0.34/debian/copyright publib-0.34.new/debian/copyright
  171. --- publib-0.34/debian/copyright 1969-12-31 19:00:00.000000000 -0500
  172. +++ publib-0.34.new/debian/copyright 2002-12-26 09:53:18.000000000 -0500
  173. @@ -0,0 +1,34 @@
  174. +This is a Debian pre-packaged version of Publib. Both the original
  175. +library and the Debian packaging by Lars Wirzenius (liw@iki.fi). The
  176. +Debian package is currently maintained by Antti-Juhani Kaijanaho
  177. +<ajk@debian.org>
  178. +
  179. +Publib consists of the library functions and the build framework
  180. +that configures, compiles, and installs the library. The framework
  181. +is in the public domain, the library functions have the following
  182. +copyright:
  183. +
  184. +Copyright (c) 1996 Lars Wirzenius. All rights reserved.
  185. +
  186. +Redistribution and use in source and binary forms, with or without
  187. +modification, are permitted provided that the following conditions
  188. +are met:
  189. +
  190. +1. Redistributions of source code must retain the above copyright
  191. + notice, this list of conditions and the following disclaimer.
  192. +
  193. +2. Redistributions in binary form must reproduce the above copyright
  194. + notice, this list of conditions and the following disclaimer in the
  195. + documentation and/or other materials provided with the distribution.
  196. +
  197. +THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
  198. +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  199. +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  200. +DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
  201. +INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  202. +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
  203. +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
  204. +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
  205. +STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
  206. +ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  207. +POSSIBILITY OF SUCH DAMAGE.
  208. diff -ruN publib-0.34/debian/docs publib-0.34.new/debian/docs
  209. --- publib-0.34/debian/docs 1969-12-31 19:00:00.000000000 -0500
  210. +++ publib-0.34.new/debian/docs 2002-12-26 09:53:18.000000000 -0500
  211. @@ -0,0 +1,2 @@
  212. +README
  213. +framework/Blurb
  214. diff -ruN publib-0.34/debian/rules publib-0.34.new/debian/rules
  215. --- publib-0.34/debian/rules 1969-12-31 19:00:00.000000000 -0500
  216. +++ publib-0.34.new/debian/rules 2002-12-26 09:53:18.000000000 -0500
  217. @@ -0,0 +1,51 @@
  218. +#!/usr/bin/make -f
  219. +
  220. +build: debian/objs debian/objs/Makefile
  221. + cd debian/objs && $(MAKE) --no-print-dir -s
  222. +
  223. +binary: binary-arch binary-indep
  224. +
  225. +binary-arch: build
  226. + dh_testdir
  227. + dh_testroot
  228. + dh_clean -k
  229. + dh_installdirs
  230. +
  231. + install -d debian/tmp/usr/share/doc/publib-dev
  232. + install -d debian/tmp/usr/include
  233. + install -d debian/tmp/usr/lib
  234. + install -d debian/tmp/usr/share/man
  235. + install -d debian/tmp/usr/share/man/man3
  236. + cd debian/objs && \
  237. + $(MAKE) --no-print-dir \
  238. + mandir=../tmp/usr/share/man man3ext=3pub install
  239. + set -e; find debian/tmp/usr/share/man -type f | \
  240. + while read file; do \
  241. + sed 's/^\.TH [A-Z0-9]* [0-9]/&pub/' $$file > $$file.new; \
  242. + mv $$file.new $$file; done
  243. +
  244. + dh_installdocs
  245. + dh_installchangelogs
  246. + dh_link
  247. + dh_compress
  248. + dh_fixperms
  249. + dh_installdeb
  250. + dh_strip
  251. + dh_shlibdeps
  252. + dh_gencontrol -- -isp
  253. + dh_md5sums
  254. + dh_builddeb
  255. +
  256. +binary-indep:
  257. +
  258. +clean:
  259. + dh_clean
  260. + rm -rf debian/objs
  261. +
  262. +debian/objs:
  263. + mkdir debian/objs
  264. +
  265. +debian/objs/Makefile:
  266. + cd debian/objs && \
  267. + cp ../Default.config . && \
  268. + ../../framework/configure
  269. diff -ruN publib-0.34/fink/Default.config publib-0.34.new/fink/Default.config
  270. --- publib-0.34/fink/Default.config 1969-12-31 19:00:00.000000000 -0500
  271. +++ publib-0.34.new/fink/Default.config 2002-12-26 10:04:53.000000000 -0500
  272. @@ -0,0 +1,7 @@
  273. +library=publib
  274. +libshort=pub
  275. +modules=../../liw
  276. +CFLAGS='-Wall -O'
  277. +verbmake=no
  278. +prefix=../tmp/usr
  279. +mandir=../tmp/usr/share/man
  280. diff -ruN publib-0.34/framework/Generic.mk publib-0.34.new/framework/Generic.mk
  281. --- publib-0.34/framework/Generic.mk 2002-05-23 09:17:39.000000000 -0400
  282. +++ publib-0.34.new/framework/Generic.mk 2002-12-26 10:44:29.000000000 -0500
  283. @@ -48,7 +48,6 @@
  284. if test -f $$i; then \
  285. t="$(man3dir)/`basename $$i .3`.$(man3ext)"; \
  286. $(INSTALL_MAN) $$i "$$t"; \
  287. - gzip -9f "$$t"; \
  288. sh $(fwdir)/link-alternative-names $$t $(man3dir) $(man3ext); \
  289. fi; \
  290. done
  291. diff -ruN publib-0.34/framework/link-alternative-names publib-0.34.new/framework/link-alternative-names
  292. --- publib-0.34/framework/link-alternative-names 2002-05-23 09:17:39.000000000 -0400
  293. +++ publib-0.34.new/framework/link-alternative-names 2002-12-26 11:29:38.000000000 -0500
  294. @@ -14,9 +14,9 @@
  295. for name in `find_names "$1"`
  296. do
  297. - tgt="$2/$name.$3.gz"
  298. + tgt="$2/$name.$3"
  299. if [ ! -f $tgt -a ! -L $tgt ]
  300. then
  301. - (cd $2 && ln -sf `basename $1`.gz $name.$3.gz)
  302. + (cd $2 && ln -sf `basename $1` $name.$3)
  303. fi
  304. done
  305. diff -ruN publib-0.34/liw/publibdoc/Makefile publib-0.34.new/liw/publibdoc/Makefile
  306. --- publib-0.34/liw/publibdoc/Makefile 2002-05-23 09:17:39.000000000 -0400
  307. +++ publib-0.34.new/liw/publibdoc/Makefile 2002-12-26 10:33:04.000000000 -0500
  308. @@ -4,4 +4,4 @@
  309. install:
  310. $(INSTALL) -d "$(man3dir)"
  311. $(INSTALL_MAN) $(srcdir)/publib.3 $(man3dir)/publib.$(man3ext)
  312. - gzip -9f $(man3dir)/publib.$(man3ext)
  313. +# gzip -9f $(man3dir)/publib.$(man3ext)