Update of /cvsroot/fink/fink/10.4-transitional
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10516/10.4-transitional

Added Files:
      Tag: dist-up-branch
        ChangeLog apt.info apt.patch base-files.info bzip2.info 
        bzip2.patch cctools-extra.info cctools-extra.patch 
        debianutils.info debianutils.patch dpkg-bootstrap.info 
        dpkg.info dpkg.patch fink-mirrors.info fink-prebinding.info 
        gettext.info gettext.patch gzip-1.2.4a-6.info 
        gzip-1.2.4a-6.patch libiconv.info ncurses-shlibs.info 
        ncurses-shlibs.patch ncurses.info storable-pm.info tar.info 
        unzip.info 
Log Message:
update to dist-upgrade-branch3/sync with HEAD

--- NEW FILE: dpkg.patch ---
diff -urN dpkg-1.10.21.orig/Makefile.conf.in dpkg-1.10.21/Makefile.conf.in
--- dpkg-1.10.21.orig/Makefile.conf.in  Sun Sep 14 08:43:49 2003
+++ dpkg-1.10.21/Makefile.conf.in       Wed Jun  2 22:18:56 2004
@@ -60,13 +60,13 @@
 
 CPPFLAGS               = @CPPFLAGS@
 LD                     = @LD@
-LDFLAGS                        = @LDFLAGS@ -L../lib -L../optlib
+LDFLAGS                        = @LDFLAGS@ -L../lib -L../optlib -framework 
CoreFoundation
 LIBS                   = @LIBS@ -ldpkg -lopt $(ZLIB_LIBS)
 
 RANLIB                 = @RANLIB@
 
 DEFS                   = @DEFS@ -D_GNU_SOURCE
-INCLUDE_CFLAGS         = -I$(top_srcdir)/include -I$(top_srcdir) -I$(srcdir) 
-I../include -I.. -I. -I$(top_srcdir)/optlib
+INCLUDE_CFLAGS         = -I$(top_srcdir)/include -I$(top_srcdir) -I$(srcdir) 
-I../include -I.. -I. -I$(top_srcdir)/optlib 
-F/System/Library/Frameworks/CoreFoundation.framework
 
 NLS_CFLAGS             = -DLOCALEDIR=\"$(localedir)\" -I$(top_srcdir)/intl 
-I../intl
 NLS_LIBS               = @INTLLIBS@ 
[...2399 lines suppressed...]
 and
-.B /usr/share/common-licenses/GPL
+.B @PREFIX@/share/common-licenses/GPL
 for details.
+Paths modified by Carsten Klapp to reflect fink distribution, December 2002.
diff -urN dpkg-1.10.21.orig/utils/Makefile.in dpkg-1.10.21/utils/Makefile.in
--- dpkg-1.10.21.orig/utils/Makefile.in Sun Aug 25 04:54:19 2002
+++ dpkg-1.10.21/utils/Makefile.in      Wed Jun  2 22:18:56 2004
@@ -72,9 +72,9 @@
        $(INSTALL_DATA) $(srcdir)/$(MD5_MANPAGES) $(DESTDIR)/$(man1dir)
 
 start-stop-daemon: $(SSD_OBJECTS) ../lib/libdpkg.a
-       $(CC) $(LDFLAGS) -o $@ $(SSD_OBJECTS) $(LIBS) $(SSD_LIBS)
+       $(CC) $(LDFLAGS) $(EXEFLAGS) -o $@ $(SSD_OBJECTS) $(LIBS) $(SSD_LIBS)
 
 md5sum-static: LDFLAGS += -static
 md5sum-static: ZLIB_LIBS = $(ZLIBS_LIBS_ALSO_STATIC)
 md5sum md5sum-static: $(MD5_OBJECTS) ../lib/libdpkg.a
-       $(CC) $(LDFLAGS) -o $@ $(MD5_OBJECTS) $(LIBS) $(NLS_LIBS)
+       $(CC) $(LDFLAGS) $(EXEFLAGS) -o $@ $(MD5_OBJECTS) $(LIBS) $(NLS_LIBS)

--- NEW FILE: unzip.info ---
Package: unzip
Version: 5.50
Revision: 14
Maintainer: Fink Core Group <[EMAIL PROTECTED]>
License: BSD
Essential: yes
#CustomMirror: <<
#nam-US: http://uiarchive.uiuc.edu/mirrors/ftp/ftp.info-zip.org/pub/infozip/src/
#nam-US: ftp://uiarchive.cso.uiuc.edu/pub/ftp/ftp.info-zip.org/pub/infozip/src/
#eur-UK: http://www.mirror.ac.uk/sites/ftp.info-zip.org/pub/infozip/src/
#eur-PL: ftp://sunsite.icm.edu.pl/pub/unix/archiving/info-zip/src/
#eur-CH: http://sunsite.cnlab-switch.ch/ftp/mirror/infozip/src/
#eur-CH: ftp://sunsite.cnlab-switch.ch/mirror/infozip/src/
#Primary: ftp://ftp.info-zip.org/pub/infozip/src/
#<<
#Source: mirror:custom:%n550.tar.gz
Source: mirror:sourceforge:fink/%n550.tar.gz
Source-MD5: 798592d62e37f92571184236947122ed
SourceDirectory: %n-%v
DocFiles: BUGS INSTALL LICENSE README ToDo WHERE
Homepage: http://www.info-zip.org/pub/infozip/UnZip.html
Description: Decompression compatible with pkunzip
DescDetail: <<
Zip is different from gzip in that it allows packing multiple files into a
single archive (without the assistance of tar). It is compatible with pkzip,
pkunzip, and other Windows zip utilities.

This utility is necessary to install several packages in a pure Darwin
installation, as Darwin does not come with zip/unzip.
<<
CompileScript: make -f unix/Makefile macosx
InstallScript: make -f unix/Makefile install BINDIR=%i/bin 
MANDIR=%i/share/man/man1
Suggests: zip


--- NEW FILE: gzip-1.2.4a-6.info ---
Package: gzip
Version: 1.2.4a
Revision: 6
Source: mirror:sourceforge:fink/%n-%v.tar.gz
Source-MD5: 39053e044b18ecd0627f80fbe7cfeaad
Essential: yes
Depends: base-files
Patch: %f.patch
PatchScript: mv -f INSTALL INSTALL.txt
CompileScript: <<
 ./configure %c
 make all G= ZCAT=zcat
<<
InstallScript: <<
 make install G= ZCAT=zcat prefix=%i
 mkdir -p %i/share
 mv %i/man %i/share/
 mv %i/info %i/share/
 ln -s zcat %i/bin/gzcat
 ln -s zcat.1 %i/share/man/man1/gzcat.1
 ln -s zmore %i/bin/zless
 ln -s zmore.1 %i/share/man/man1/zless.1
<<
InfoDocs: gzip.info
DocFiles: README COPYING THANKS
Description: The gzip file compressor
DescPort: <<
The file INSTALL clashes with the Makefile target install on
file-insensitive file systems. Fixed by renaming INSTALL to
INSTALL.txt.
<<
DescPackaging: <<
Needs some tweaking to put documentation in <prefix>/share.

The configure script tries to be adaptive with gzcat and the like, we
force the Makefile to do the right thing regardless.

The patch file fixes a security hole with long file names.

We also add some alternate names for the commands.

Previous versions by Christoph Pfisterer.
<<
License: GPL
Homepage: http://www.gzip.org/
Maintainer: Fink Core Group <[EMAIL PROTECTED]>

--- NEW FILE: tar.info ---
Package: tar
Version: 1.14
Revision: 1
Essential: yes
GCC: 3.3
Depends: gettext, gzip, bzip2, base-files
BuildDepends: gettext-dev
Source: mirror:sourceforge:fink/%n-%v.tar.gz
Source-MD5: 3094544702b1affa32d969f0b6459663 
UpdateConfigGuess: true
ConfigureParams: --program-transform-name=s/tar/gtar/ --infodir=%p/share/info 
--libexecdir=%p/lib
InstallScript: <<
 make install DESTDIR=%d
 cd %i/bin ; ln -s gtar tar ; ln -s gtar gnutar
<<
DocFiles: README* COPYING AUTHORS NEWS THANKS
#
PreInstScript: <<
if [ -L %p/etc/alternatives/rmt ]; then
  update-alternatives --remove rmt %p/lib/rmt-tar
  rm -f %p/lib/rmt
fi
<<
InfoDocs: tar.info
#
Description: GNU tar - tape archiver
DescPackaging: Previous versions by Christoph Pfisterer.
License: GPL
Maintainer: Fink Core Group <[EMAIL PROTECTED]>
Homepage: http://www.gnu.org/software/tar/

--- NEW FILE: ncurses.info ---
Package: ncurses
Version: 5.4-20041023
Revision: 6
GCC: 3.3
Source: mirror:sourceforge:fink/ncurses-5.4.tar.gz
Source-MD5: 069c8880072060373290a4fefff43520
Source2: mirror:sourceforge:fink/ncurses-5.4-20040711-patch.sh.bz2
Source2-MD5: 5cb04a825432ad968ef4e1ab6094353b
Source2ExtractDir: ncurses-5.4
Source3: mirror:sourceforge:fink/ncurses-5.4-20041023.patch.bz2
Source3-MD5: 2cacb921a11287fedda5db7de4d331a6
Source3ExtractDir: ncurses-5.4
PatchScript: <<
  #!/bin/sh -e
  bunzip2 ncurses-5.4-20040711-patch.sh.bz2
  chmod +x ncurses-5.4-20040711-patch.sh
  ./ncurses-5.4-20040711-patch.sh
  echo "***********************************************************************"
  bunzip2 -c ncurses-%v.patch.bz2 | patch -p1
  perl -p -i -e 's|tic\$suffix|tic\$suffix -x|;' misc/run_tic*
  echo "***********************************************************************"
<<
BuildDepends: fink (>= 0.13.0), fink-prebinding
Depends: libncurses5-shlibs (>= %v-%r)
Replaces: libncurses5 (<< 5.4-20041023-4)
Essential: true
ConfigureParams: --without-ada --with-shared --with-debug --enable-termcap 
--mandir=%p/share/man 
--with-terminfo-dirs="%p/share/terminfo:/usr/share/terminfo" 
--with-default-terminfo-dir="%p/share/terminfo" --enable-no-padding 
--enable-sigwinch --enable-tcap-names --enable-hard-tabs --enable-overwrite
NoSetCFLAGS: true
NoSetLDFLAGS: true
SetLDFLAGS: -Wl,-search_paths_first
#NoSetCPPFLAGS: true
#SetCPPFLAGS: -no-cpp-precomp
NoSetMAKEFLAGS: true
SetMAKEFLAGS: -j1
CompileScript: <<
  #!/bin/sh -e
  ./configure %c --libdir=%p/lib/ncurses
  make
<<
InstallScript: <<
#!/bin/sh -e
  make install DESTDIR=%d DYLD_LIBRARY_PATH=`pwd`/lib:`pwd`/lib/ncurses
# add extra symlinks in the main lib directory
  ln -s ncurses/libform.5.dylib %i/lib/libform.dylib
  ln -s ncurses/libmenu.5.dylib %i/lib/libmenu.dylib
  ln -s ncurses/libncurses.5.dylib %i/lib/libncurses.dylib
  ln -s ncurses/libpanel.5.dylib %i/lib/libpanel.dylib
  ln -s ncurses/libncurses.5.dylib %i/lib/libcurses.dylib
<<
SplitOff: <<
 Package: libncurses5-shlibs
 Depends: base-files
 Essential: true
 Files: <<
  lib/ncurses/libform.*.dylib
  lib/ncurses/libmenu.*.dylib
  lib/ncurses/libncurses.*.dylib
  lib/ncurses/libpanel.*.dylib
 <<
 DocFiles: README ANNOUNCE NEWS INSTALL TO-DO MANIFEST
 Shlibs: <<
  %p/lib/ncurses/libform.5.dylib 5.0.0 %n (>= 5.4-20041023-1)
  %p/lib/ncurses/libmenu.5.dylib 5.0.0 %n (>= 5.4-20041023-1)
  %p/lib/ncurses/libncurses.5.dylib 5.0.0 %n (>= 5.4-20041023-1)
  %p/lib/ncurses/libpanel.5.dylib 5.0.0 %n (>= 5.4-20041023-1)
 <<
 Description: Shared libraries for libncurses5 package
<<
SplitOff2: <<
 Package: libncurses5
 Depends: libncurses5-shlibs (= %v-%r)
 BuildDependsOnly: true
 Conflicts: ncurses-dev
 Replaces: ncurses-dev, ncurses (<= 5.3-20031018-2)
 Files: lib/ncurses include lib/libcurses.dylib lib/libform.dylib 
lib/libmenu.dylib lib/libncurses.dylib lib/libpanel.dylib
 DocFiles: README ANNOUNCE NEWS INSTALL TO-DO MANIFEST
 Description: Full-screen ascii drawing library
<<
DocFiles: README ANNOUNCE NEWS INSTALL TO-DO MANIFEST tack/README:README.tack 
tack/COPYING:COPYING.tack
Description: Executable files for ncurses
DescPort: <<
More changes by Chris Zubrzycki to be more compatable with apple's lib
-udates to the (sometimes) monthly releases of ncurses (in patch form)

ncurses-5.4-20040711-patch.sh.bz2 is a roll-up patch script, that updates a 
vanilla source to the date specified.
ncurses-5.4-20041023.patch.bz2 is a patch created by catting all the updates to 
the rollup into a single file.
grab all the patches from ftp://invisible-island.net/ncurses/5.4 except the one 
the same date
as the rollup patch script, gunzip ncurses-5.4*.gz; cat ncurses-5.4*patch >> 
big.patch
to get to the current patch level.

The --enable-overwrite flag creates the libcurses.dylib symlink.
<<
DescPackaging: <<
First revision by David Ross.
Previous versions by Christoph Pfisterer.
All the hard work in this version done by Chris Zubrzycki.
<<
License: OSI-Approved
Maintainer: Fink Core Group <[EMAIL PROTECTED]>
Homepage: http://www.gnu.org/software/ncurses/ncurses.html

--- NEW FILE: gettext.info ---
Package: gettext
Version: 0.10.40
Revision: 19
Source: mirror:gnu:gettext/gettext-%v.tar.gz
Source-MD5: 6a17767b47ffb45b4866cec9fb0a39b0
Essential: yes
Depends: libiconv, libiconv-bin, base-files
BuildDepends: libiconv-dev, fink (>= 0.13.6), fink-prebinding
Shlibs: %p/lib/libintl.1.dylib 2.0.0 %n (>= 0.10.40-5)
DescPackaging: <<
 Shared libraries are in gettext for backward compatibility, to avoid
 breaking dpkg during an update.

 Previous versions by Christoph Pfisterer.

 This version of gettext has a new splitoff, gettext-tools, in preparation
 for the forthcoming update of gettext.  In this version *only*, gettext-bin 
 depends on gettext-tools.  In future versions, this will not be true,
 so modifications of .info files will be made to accomodate this change.
<<
Patch: %n.patch
SetCPPFLAGS: -no-cpp-precomp
ConfigureParams: --infodir=%p/share/info --mandir=%p/share/man 
--with-included-gettext
SetLDFLAGS: -L%b/intl/.libs
CompileScript: <<
 ./configure %c
 make lispdir=%p/share/emacs/site-lisp
<<
InstallScript: <<
 make install DESTDIR=%d docdir=%p/share/doc/%n
 sed 's;-L%b/intl/.libs;;' <%i/lib/libintl.la >%i/lib/libintl.la.tmp
 mv -f %i/lib/libintl.la.tmp %i/lib/libintl.la
 rm -f %i/lib/charset.alias
 rm -f %i/share/emacs/site-lisp/po-mode.elc
<<
DocFiles: README* AUTHORS BUGS COPYING* NEWS THANKS TODO
SplitOff: <<
 Package: gettext-bin
 Depends: %N (= %v-%r), gettext-tools
 Replaces: %N (<= 0.10.40-4)
 Files: bin/gettext bin/ngettext share/aclocal share/doc/gettext/*.html 
share/emacs share/gettext share/info share/locale share/man
 Description: Executables for gettext package
 InfoDocs: gettext.info
 DocFiles: README* AUTHORS BUGS COPYING* NEWS THANKS TODO
<<
SplitOff3: <<
 Package: gettext-tools
 Depends: %N (= %v-%r)
 Replaces: %N (<= 0.10.40-4), %N-bin (<= 0.10.40-18)
 Files: bin/gettextize bin/m* bin/xgettext
 Description: Developer executables for gettext package
 DocFiles: README* AUTHORS BUGS COPYING* NEWS THANKS TODO
<<
SplitOff2: <<
 Package: gettext-dev
 Depends: gettext (= %v-%r)
 Replaces: gettext (<= 0.10.40-4)
 BuildDependsOnly: true
 Files: include lib/libintl.dylib lib/*.a lib/*.la
 Description: Developer files for gettext package
 DocFiles: README* AUTHORS BUGS COPYING* NEWS THANKS TODO
<<
#
PostInstScript: <<
if [ -L %p/etc/alternatives/charset.alias ]; then
  update-alternatives --remove charset.alias %p/lib/charset.alias.gettext
fi
<<
#
Description: Message localization support
DescDetail: <<
The gettext package provides some of the i18n and l10n support used by
many GNU programs but missing from the Darwin C library.
<<
DescPort: <<
Uses libtool 1.4; needs a minimal patch for Mac OS X 10.1.

Needs help to link against the right copy of the library. Afterwards,
we remove the used flag from the .la file as it refers to the
temporary build directory.

charset.alias is deleted because it is empty on Darwin anyway and
causes unnecessary conflicts between packages.

po-mode.elc is deleted to comply with fink's emacs policy.  Better
compliance must wait for a further revision.

Force the correct lispdir even if user's system is misconfigured.
<<
License: GPL/LGPL
Maintainer: Fink Core Group <[EMAIL PROTECTED]>
Homepage: http://www.gnu.org/software/gettext/

--- NEW FILE: dpkg.info ---
Package: dpkg
Version: 1.10.21
Revision: 204
GCC: 3.3
Depends: gettext, libiconv, gzip, tar, ncurses (>= 5.3-12)
BuildDepends: gcc3.3
Essential: yes
Maintainer: Fink Core Group <[EMAIL PROTECTED]>
Source: mirror:sourceforge:fink/dpkg_%v.tar.gz
SourceDirectory: %n-%v
Source-MD5: a9f6c43891db74d727beab7dfc0ee663
PatchScript: sed 's|@PREFIX@|%p|g' <%a/%n.patch | patch -p1
SetCFLAGS: -no-cpp-precomp -I%p/include
NoSetMAKEFLAGS: true
SetMAKEFLAGS: -j1
CompileScript: <<
 %p/bin/fink -y install gettext-bin gettext-dev gettext-tools libiconv-dev 
ncurses-dev
 export CC=gcc-3.3; export CXX=g++-3.3; PERL=/usr/bin/perl ./configure 
--build=%m-apple-darwin %c
 make EXEFLAGS=-force_flat_namespace CC=gcc-3.3 CXX=g++-3.3
<<
ConfigureParams: --without-start-stop-daemon --without-sgml-doc 
--with-admindir=%p/var/lib/dpkg --mandir=%p/share/man --infodir=%p/share/info 
--srcdir=%b
InstallScript: <<
 mkdir -p %i/share/doc/dpkg
 make install DESTDIR=%d
 install -c -p -m 644 origin.fink %i/etc/dpkg/origins/fink
 rm -rf %i/lib/dpkg/methods/*
<<
Description: The Debian package manager
DescDetail: <<
dpkg installs and removes binary packages; it is the base of the
distribution. This package also contains some helper programs and
dselect, a full-screen console frontend to dpkg.
<<
DescPort: <<
1.10.9 
- Removed --without-zlib flag
- Gets confused about top_srcdir without the --srcdir arg.
- Fixed bug with BR manpage
- Patched update-rc.d out of the app check code, not needed on OS X.

Pre-Jaguar: Needed fixes to use the right architecture, disable code that uses
unimplemented functions on Darwin and other stuff.

Added code to support the pseudo package 'macosx' and 'darwin'.

Fix to install-info script to prevent a certain problem with section titles.

Patched to run 'fink-virtual-pkgs' to see what packages we have outside of 
$prefix.

Patched to suppress warning about BuildDependsOnly control field.

Previous versions by Christoph Pfisterer.
<<
#
PostInstScript: <<
if [ ! -f %p/var/lib/dpkg/diversions ]; then
  touch %p/var/lib/dpkg/diversions
  chmod 644 %p/var/lib/dpkg/diversions
fi
<<
License: GPL
Homepage: http://packages.qa.debian.org/d/dpkg.html

--- NEW FILE: apt.info ---
Package: apt
Version: 0.5.4
Revision: 51
GCC: 3.3
Depends: %N-shlibs (= %v-%r)
BuildDepends: fink-prebinding, gcc3.3
Source: mirror:sourceforge:fink/%n_%v.tar.gz
Source-MD5: 274fb64e2e67318b4c9c94599785c37d
SourceDirectory: %n-%v
PatchScript: <<
 sed -e 's|@PREFIX@|%p|g' -e 's|@DIST@|10.3|g' <%a/%n.patch | patch -p1
 sh patch_flush
 for i in `grep -rl '#ifdef __GNUG__' .` ; do perl -pi.bak -e 's/#ifdef 
__GNUG__/#if defined(__GNUG__) && !defined(__APPLE_CC__)/' $i; done
 for i in `grep -rl '#ifdef __GNUG__' .` ; do perl -pi.bak -e 's/#ifdef 
__GNUG__/#if defined(__GNUG__) && !defined(__APPLE_CC__)/' $i ; done
#perl -pi.bak -e 's/socklen_t/int/' methods/ftp.h methods/ftp.cc
<<
NoSetCPPFLAGS: true
NoSetLDFLAGS: true
SetCXXFLAGS: -O2 -DEMULATE_MMAP -D__USE_MISC -fconstant-cfstrings
CompileScript: <<
 export CC=gcc-3.3; export CXX=g++-3.3; ./configure %c
 make -f makefile.wrap NOISY=1
<<
InstallScript: <<
 mkdir -p %i/bin
 install -m 755 bin/apt-cache %i/bin/
 install -m 755 bin/apt-cdrom %i/bin/
 install -m 755 bin/apt-config %i/bin/
 install -m 755 bin/apt-extracttemplates %i/bin/
 install -m 755 bin/apt-get %i/bin/
 install -m 755 bin/apt-sortpkgs %i/bin/
 mkdir -p %i/lib
 install -m 644 bin/libapt-pkg.3.2.0.dylib %i/lib/
 cd %i/lib/ && ln -s libapt-pkg.3.2.0.dylib libapt-pkg.3.2.dylib && ln -s 
libapt-pkg.3.2.0.dylib libapt-pkg.dylib
 install -m 644 bin/libapt-inst.1.0.0.dylib %i/lib/
 cd %i/lib/ && ln -s libapt-inst.1.0.0.dylib libapt-inst.1.0.dylib && ln -s 
libapt-inst.1.0.0.dylib libapt-inst.dylib
 mkdir -p %i/lib/apt/methods
 install -m 755 bin/methods/cdrom %i/lib/apt/methods/
 install -m 755 bin/methods/copy %i/lib/apt/methods/
 install -m 755 bin/methods/file %i/lib/apt/methods/
 install -m 755 bin/methods/ftp %i/lib/apt/methods/
 install -m 755 bin/methods/gzip %i/lib/apt/methods/
 install -m 755 bin/methods/http %i/lib/apt/methods/
 install -m 755 bin/methods/rsh %i/lib/apt/methods/
 cd %i/lib/apt/methods && ln -s rsh ssh
 mkdir -p %i/lib/dpkg/methods/apt
 install -m 644 scripts/dselect/desc.apt %i/lib/dpkg/methods/apt/
 install -m 755 scripts/dselect/install %i/lib/dpkg/methods/apt/
 install -m 644 scripts/dselect/names %i/lib/dpkg/methods/apt/
 install -m 755 scripts/dselect/setup %i/lib/dpkg/methods/apt/
 install -m 755 scripts/dselect/update %i/lib/dpkg/methods/apt/
 mkdir -p %i/include/apt-pkg
 cp include/apt-pkg/*.h %i/include/apt-pkg/
 mkdir -p %i/share/man
 mkdir -p %i/share/man/man1
 mkdir -p %i/share/man/man5
 mkdir -p %i/share/man/man8
 install -m 644 doc/apt.8 %i/share/man/man8/
 install -m 644 docs/apt-cache.8 %i/share/man/man8/
 install -m 644 docs/apt-cdrom.8 %i/share/man/man8/
 install -m 644 docs/apt-config.8 %i/share/man/man8/
 install -m 644 docs/apt-extracttemplates.1 %i/share/man/man1/
 install -m 644 docs/apt-get.8 %i/share/man/man8/
 install -m 644 docs/apt-sortpkgs.1 %i/share/man/man1/
 install -m 644 docs/apt.conf.5 %i/share/man/man5/
 install -m 644 docs/apt_preferences.5 %i/share/man/man5/
 install -m 644 docs/sources.list.5 %i/share/man/man5/
 mkdir -p %i/etc/apt/apt.conf.d
 mkdir -p %i/var/cache/apt/archives/partial
 mkdir -p %i/var/lib/apt/lists/partial
<<
SplitOff: <<
  Package: %N-shlibs
  Depends: dpkg, fink (>> 0.20.6-1)
  Replaces: %N (<= 0.5.4-1)
  Files: lib/libapt-inst.1.0.0.dylib lib/libapt-pkg.3.2.0.dylib 
lib/libapt-inst.1.0.dylib lib/libapt-pkg.3.2.dylib
  Shlibs: <<
    %p/lib/libapt-inst.1.0.dylib 1.0.0 %n (>= 0.5.4-24)
    %p/lib/libapt-pkg.3.2.dylib 3.2.0 %n (>= 0.5.4-24)
  <<
  DocFiles: COPYING* AUTHORS
<<
SplitOff2: <<
  Package: %N-dev
  Depends: %N-shlibs (= %v-%r)
  BuildDependsOnly: true
  Files: lib/libapt-inst.dylib lib/libapt-pkg.dylib include
  DocFiles: COPYING* AUTHORS
<<
DocFiles: COPYING* AUTHORS
PostInstScript: <<
if [ ! -f %p/var/lib/dpkg/cmethopt ]; then
  echo "apt apt" >%p/var/lib/dpkg/cmethopt
  chmod 644 %p/var/lib/dpkg/cmethopt
else
  read a b <%p/var/lib/dpkg/cmethopt
  if [ "$a" != "apt" -o "$b" != "apt" ]; then
    echo
    echo "dselect is not set up to use apt as its access method. Downloading 
binary"
    echo -n "package will likely not work. Do you want to use apt instead?"
    read answer
    answer=`echo $answer | sed 's/^[yY].*$/y/'`
    if [ -z "$answer" -o "x$answer" = "xy" ]; then
      echo "apt apt" >%p/var/lib/dpkg/cmethopt
      chmod 644 %p/var/lib/dpkg/cmethopt
    fi
  fi
fi

rm -f %p/var/cache/apt/pkgcache.bin %p/var/cache/apt/srcpkgcache.bin
<<
#
Description: Advanced front-end for dpkg
DescPort: <<
There are three troublemakers when porting apt:
- It was written for Linux/ELF/glibc.
- It was written to maintain a distribution that is in charge of the
  system and hardcodes paths like /usr/bin, /usr/lib and /var/lib.
- There is no install target in the Makefiles because the Debian
  packaging files take care of what goes where.
There's also the usual trouble like not recognizing Darwin and
depending on a case-sensitive file system. All of this amounts to a
big, bad patch.

The patch also fixes some potential and some real crashing bugs.

Oh, one more thing: mmap() is broken for non-trivial uses in OS X
10.1. Luckily apt uses a wrapper class that can be equipped with a
workaround (malloc() + read() + write()...).

The -fno-rtti works around a bug in GCC 3.1 on Jaguar.

Ben Hines - added patch to make apt recognize macosx and darwin pkgs

The sources.list file is now supplied by the fink program rather than
by apt-get.

socklen_t exists starting in OS X 10.3

dmacks - Implemented "--ignore-breakage" cmdline flag to 'apt-get install'
(first appears in: 10.2-gcc3.3/0.5.4-41, 10.3/0.5.4-51)
<<
DescPackaging: <<
Previous versions by Christoph Pfisterer.
<<
License: GPL
Maintainer: Fink Core Group <[EMAIL PROTECTED]>
Homepage: http://packages.qa.debian.org/a/apt.html

--- NEW FILE: dpkg-bootstrap.info ---
Package: dpkg-bootstrap
Version: 1.10.21
Revision: 201
Depends: gzip, tar
BuildDepends: gettext-dev
Maintainer: Fink Core Group <[EMAIL PROTECTED]>
Source: mirror:sourceforge:fink/dpkg_%v.tar.gz
SourceDirectory: dpkg-%v
Source-MD5: a9f6c43891db74d727beab7dfc0ee663
PatchScript: sed 's|@PREFIX@|%p|g' <%a/dpkg.patch | patch -p1
SetCFLAGS: -no-cpp-precomp -I%p/include
NoSetMAKEFLAGS: true
SetMAKEFLAGS: -j1
ConfigureParams: --without-zlib --without-dselect --without-start-stop-daemon 
--without-sgml-doc --with-admindir=%P/var/lib/dpkg --mandir=%p/share/man 
--infodir=%p/share/info --srcdir=%b
CompileScript: <<
 PERL=/usr/bin/perl ./configure --build=%m-apple-darwin %c
 make EXEFLAGS=-force_flat_namespace
<<
InstallScript: <<
 mkdir -p %i/share/doc/dpkg
 make install DESTDIR=%d
<<
Description: The Debian package manager (bootstrap package)
DescDetail: <<
dpkg installs and removes binary packages; it is the base of the
distribution. This package also contains some helper programs. This
package does not build dselect and thus doesn't require ncurses. It is
intended to be used during bootstrap.
<<
DescPort: <<
Uses autoconf.

Needs fixes to use the right architecture, disable code that uses
unimplemented functions on Darwin and other stuff.

Previous versions by Christoph Pfisterer.
<<
License: GPL
Homepage: http://packages.qa.debian.org/d/dpkg.html

--- NEW FILE: libiconv.info ---
Package: libiconv
Version: 1.9.1
Revision: 11
Source: mirror:sourceforge:fink/%n-%v.tar.gz
Source-MD5: 0c99a05e0c3c153bac1c960f78711155
Essential: yes
Depends: base-files
BuildDepends: fink (>= 0.13.0), fink-prebinding
Shlibs: <<
 %p/lib/libcharset.1.dylib 2.0.0 %n (>= 1.7-7)
 %p/lib/libiconv.2.dylib 5.0.0 %n (>= 1.9.1-1)
<<
DescPackaging: <<
 Shared libraries are in libiconv for backward compatibility, to avoid
 breaking dpkg during an update.

 Previous versions by Christoph Pfisterer.
<<
NoSetLDFLAGS: true
SetLIBS: -L%p/lib
ConfigureParams: --mandir=%p/share/man
InstallScript: <<
mkdir -p %i/share/man %i/share/doc/%n
make install prefix=%i mandir=%i/share/man docdir=%i/share/doc/%n
rm -rf %i/doc
rm -f %i/lib/charset.alias
<<
DocFiles: README* AUTHORS COPYING.LIB DESIGN NEWS NOTES THANKS
#
PostInstScript: <<
if [ -L %p/etc/alternatives/charset.alias ]; then
  update-alternatives --remove charset.alias %p/lib/charset.alias.libiconv
fi
<<
#
SplitOff: <<
 Package: libiconv-bin
 Essential: true
 Depends: libiconv (= %v-%r)
 Replaces: libiconv (<= 1.7-6)
 Files: bin share/doc/libiconv/*.html share/man
 Description: Executables for libiconv package
 DocFiles: README* AUTHORS COPYING.LIB DESIGN NEWS NOTES THANKS
<<
SplitOff2: <<
 Package: libiconv-dev
 Depends: libiconv (= %v-%r)
 Replaces: libiconv (<= 1.7-6)
 BuildDependsOnly: true
 Files: include lib/libcharset.dylib lib/libiconv.dylib lib/*.a lib/*.la
 Description: Developer files for libiconv package
 DocFiles: README* AUTHORS COPYING.LIB DESIGN NEWS NOTES THANKS
<<
Description: Character set conversion library
DescDetail: <<
GNU libiconv provides an iconv() implemententation for systems that lack
it, or whose implementation cannot convert from/to Unicode.
<<
DescPort: <<
charset.alias is deleted because it is empty on Darwin anyway and
causes unnecessary conflicts between packages.
<<
License: LGPL
Maintainer: Fink Core Group <[EMAIL PROTECTED]>
Homepage: http://www.gnu.org/software/libiconv/

--- NEW FILE: ncurses-shlibs.patch ---
# ncurses 5.3 - patch 20031018 - T.Dickey
#
# ------------------------------------------------------------------------------
#
# Ncurses 5.3 is at
#       ftp.gnu.org:/pub/gnu
#
# Patches for ncurses 5.3 are in the subdirectory
#       ftp://dickey.his.com/ncurses/5.3
#
# ------------------------------------------------------------------------------
# NEWS              |   13 
# aclocal.m4        |   16 
# c++/Makefile.in   |    3 
# configure         | 1813 +++++++++++++++++++++++++---------------------------
# configure.in      |   12 
# dist.mk           |    4 
# progs/Makefile.in |    3 
# progs/infocmp.c   |   27 
[...8680 lines suppressed...]
 #include <curses.h>
 #include <term.h>
+#endif
 
 #if NCURSES_NOMACROS
 #include <nomacros.h>
Binary files ncurses-5.3/.configure.swo and ncurses-5.3-new/.configure.swo 
differ
Binary files ncurses-5.3/.configure.swp and ncurses-5.3-new/.configure.swp 
differ
diff -uNr ncurses-5.3/configure ncurses-5.3-new/configure
--- ncurses-5.3/configure       Wed Oct 22 09:41:57 2003
+++ ncurses-5.3-new/configure   Wed Oct 22 09:50:47 2003
@@ -4458,7 +4458,7 @@
        darwin*)
                EXTRA_CFLAGS="-no-cpp-precomp"
                CC_SHARED_OPTS="-dynamic"
-               MK_SHARED_LIB='$(CC) -dynamiclib -install_name 
$(DESTDIR)$(libdir)/`basename [EMAIL PROTECTED] -compatibility_version 
$(ABI_VERSION) -current_version $(ABI_VERSION) -o $@'
+               MK_SHARED_LIB='$(CC) -dynamiclib -install_name 
$(DESTDIR)$(libdir)/`basename [EMAIL PROTECTED] -compatibility_version 6 
-current_version 6.3 -o $@'
                test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=abi
                cf_cv_shlib_version_infix=yes
                ;;

--- NEW FILE: cctools-extra.patch ---
diff -uNr cctools-495/libstuff/guess_short_name.c 
cctools-495-new/libstuff/guess_short_name.c
--- cctools-495/libstuff/guess_short_name.c     Tue Aug 12 20:18:00 2003
+++ cctools-495-new/libstuff/guess_short_name.c Sun Jan 18 15:10:54 2004
@@ -205,6 +205,10 @@
                *return_suffix = allocate(s + 1);
                strncpy(*return_suffix, suffix, s);
                (*return_suffix)[s] = '\0';
+               if (strcmp(*return_suffix, "_debug") != 0 && 
strcmp(*return_suffix, "_profile") != 0) {
+                   l = l + strlen(*return_suffix);
+                   *return_suffix = NULL;
+               }
            }
            else
                l = a - (b+1);
diff -uNr cctools-495/misc/seg_addr_table.c 
cctools-495-new/misc/seg_addr_table.c
--- cctools-495/misc/seg_addr_table.c   Fri Aug 29 20:23:53 2003
+++ cctools-495-new/misc/seg_addr_table.c       Sun Jan 18 15:12:32 2004
@@ -42,13 +42,13 @@
  * These are the default addresses use when re-laying out the images.  These
  * changed in Mac OS X in the 10.2 release.
  */
-#define DEFAULT_SEG1ADDR_X10_1         0x41300000 /* low to high allocation */
-#define DEFAULT_READ_ONLY_ADDR_X10_1   0x70000000
-#define DEFAULT_READ_WRITE_ADDR_X10_1  0x80000000
+#define DEFAULT_SEG1ADDR_X10_1         0x00000000 /* low to high allocation */
+#define DEFAULT_READ_ONLY_ADDR_X10_1   0x50000000
+#define DEFAULT_READ_WRITE_ADDR_X10_1  0x60000000
 
-#define DEFAULT_SEG1ADDR_X10_2         0x8fe00000 /* high to low allocation */
-#define DEFAULT_READ_ONLY_ADDR_X10_2   0x90000000
-#define DEFAULT_READ_WRITE_ADDR_X10_2  0xa0000000
+#define DEFAULT_SEG1ADDR_X10_2         0x3fe00000 /* high to low allocation */
+#define DEFAULT_READ_ONLY_ADDR_X10_2   0x50000000
+#define DEFAULT_READ_WRITE_ADDR_X10_2  0x60000000
 
 /*
  * Starting in 10.3, we will put all the debug and profile libraries together,

--- NEW FILE: ncurses-shlibs.info ---
Package: ncurses-shlibs
Version: 5.3-20031018
Revision: 501
GCC: 3.3
Source: mirror:sourceforge:fink/ncurses-5.3.tar.gz
Source-MD5: 5dcc9faa93157eafa572494bffed131a
Source2: mirror:sourceforge:fink/ncurses-5.3-20031004-patch.sh.bz2
Source2-MD5: 3c1d1c4c78a4e2b9d99924ba8aa2a608
Source2ExtractDir: ncurses-5.3
PatchScript: <<
  #!/bin/sh -e
  bunzip2 ncurses-5.3-20031004-patch.sh.bz2
  chmod +x ncurses-5.3-20031004-patch.sh
  ./ncurses-5.3-20031004-patch.sh
  echo "***********************************************************************"
  patch -p1 < %a/%n.patch
  perl -p -i.bak -e 's|tic\$suffix|tic\$suffix -x|;' misc/run_tic*
  echo "***********************************************************************"
<<
Replaces: ncurses (<= 5.3-1)
Depends: base-files
Essential: yes
BuildDepends: fink (>= 0.13.0)
ConfigureParams: --without-ada --without-debug --with-shared --with-debug 
--enable-termcap --mandir=%p/share/man 
--with-terminfo-dirs="%p/share/terminfo:/usr/share/terminfo" 
--with-default-terminfo-dir="%p/share/terminfo" --enable-no-padding 
--enable-sigwinch --enable-tcap-names --enable-hard-tabs
NoSetCFLAGS: true
NoSetLDFLAGS: true
SetLDFLAGS: -Wl,-search_paths_first
NoSetMAKEFLAGS: true
SetMAKEFLAGS: -j1
CompileScript: <<
  #!/bin/sh -e
  ./configure %c
  make -j1
<<
InstallScript: <<
  #!/bin/sh -e
  make install.libs DESTDIR=%d DYLD_LIBRARY_PATH=`pwd`/lib
ln -s %p/lib/libform.5.dylib %i/lib/libform.dylib.5
ln -s %p/lib/libmenu.5.dylib %i/lib/libmenu.dylib.5
ln -s %p/lib/libncurses.5.dylib %i/lib/libncurses.dylib.5
ln -s %p/lib/libpanel.5.dylib %i/lib/libpanel.dylib.5

<<
Shlibs: <<
 %p/lib/libform.5.dylib 6.0.0 %n (>= 5.3-20030308-1)
 %p/lib/libmenu.5.dylib 6.0.0 %n (>= 5.3-20030308-1)
 %p/lib/libncurses.5.dylib 6.0.0 %n (>= 5.3-20030308-1)
 %p/lib/libpanel.5.dylib 6.0.0 %n (>= 5.3-20030308-1)
 %p/lib/libform.dylib.5 6.0.0 %n (>= 5.3-20030308-1)
 %p/lib/libmenu.dylib.5 6.0.0 %n (>= 5.3-20030308-1)
 %p/lib/libncurses.dylib.5 6.0.0 %n (>= 5.3-20030308-1)
 %p/lib/libpanel.dylib.5 6.0.0 %n (>= 5.3-20030308-1)
<<
Description: Shared libraries for ncurses package
SplitOff: <<
 Package: ncurses-dev
 Depends: ncurses-shlibs (= %v-%r)
 Replaces: ncurses (<= 5.3-1), libncurses5
 Conflicts: libncurses5
 BuildDependsOnly: True
 Files: include lib/libform.dylib lib/libmenu.dylib lib/libncurses.dylib 
lib/libpanel.dylib lib/*.a
 Description: Development files for ncurses package
<<

DocFiles: README ANNOUNCE NEWS INSTALL TO-DO MANIFEST
DescPort: <<
The -no-cpp-precomp is strictly needed.
More changes by Chris Zubrzycki to be more compatable with apple's lib
-udates to the (sometimes) monthly releases of ncurses (in patch form)
<<
DescPackaging: <<
First revision by David Ross.
Previous versions by Christoph Pfisterer.
<<
License: OSI-Approved
Maintainer: Fink Core Group <[EMAIL PROTECTED]>
Homepage: http://www.gnu.org/software/ncurses/ncurses.html

--- NEW FILE: gettext.patch ---
diff -ru gettext-0.10.40/configure gettext-0.10.40-patched/configure
--- gettext-0.10.40/configure   2001-09-14 20:47:29.000000000 -0400
+++ gettext-0.10.40-patched/configure   2002-06-13 11:52:03.000000000 -0400
@@ -3782,11 +3782,11 @@
     ;;
 
   darwin* | rhapsody*)
-    allow_undefined_flag='-undefined suppress'
+    allow_undefined_flag=''
     # FIXME: Relying on posixy $() will cause problems for
     #        cross-compilation, but unfortunately the echo tests do not
     #        yet detect zsh echo's removal of \ escapes.
-    archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo 
-dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts 
-install_name $rpath/$soname $(test -n "$verstring" -a x$verstring != x0.0 && 
echo $verstring)'
+    archive_cmds='$CC $(test .$module = .yes && echo -bundle || echo 
-dynamiclib) $allow_undefined_flag -o $lib $libobjs $deplibs$linkopts 
-install_name $rpath/$soname $tmp_verstring'
     # We need to add '_' to the symbols in $export_symbols first
     #archive_expsym_cmds="$archive_cmds"' && strip -s $export_symbols'
     hardcode_direct=yes
diff -ru gettext-0.10.40/ltmain.sh gettext-0.10.40-patched/ltmain.sh
--- gettext-0.10.40/ltmain.sh   2001-04-24 19:35:10.000000000 -0400
+++ gettext-0.10.40-patched/ltmain.sh   2002-06-13 11:52:54.000000000 -0400
@@ -2858,6 +2858,11 @@
        if test -n "$export_symbols" && test -n "$archive_expsym_cmds"; then
          eval cmds=\"$archive_expsym_cmds\"
        else
+          if test "x$verstring" = "x0.0"; then
+            tmp_verstring=
+          else
+            tmp_verstring="$verstring"
+          fi
          eval cmds=\"$archive_cmds\"
        fi
        IFS="${IFS=     }"; save_ifs="$IFS"; IFS='~'

--- NEW FILE: cctools-extra.info ---
Package: cctools-extra
Epoch: 1
Version: 525
Revision: 1

Source: mirror:sourceforge:fink/cctools-%v.tar.gz
Source-MD5: 3107c790a55595c6410696ebb7ea80a9
SourceDirectory: cctools-%v
Patch: %n.patch
Essential: yes
Depends: base-files
BuildDepends: gcc3.3
SetCC: gcc-3.3
SetCXX: g++-3.3
CompileScript: <<
#!/bin/sh

pushd libstuff
make
popd

pushd misc
make
popd
<<
InstallScript: <<
#!/bin/sh
 install -d -m 755 %i/sbin %i/share/man/man1 %i/share/man/man3 %i/share/man/man5

 install -c -m 755 misc/check_dylib.NEW     %i/sbin/check_dylib
 install -c -m 755 misc/checksyms.NEW       %i/sbin/checksyms
 install -c -m 755 misc/dylib_pcsampler.NEW %i/sbin/dylib_pcsampler
 install -c -m 755 misc/indr.NEW            %i/sbin/indr
 install -c -m 755 misc/kern_tool.NEW       %i/sbin/kern_tool
 install -c -m 755 misc/seg_addr_table.NEW  %i/sbin/seg_addr_table
 install -c -m 755 misc/seg_hack.NEW        %i/sbin/seg_hack

 install -c -m 644 man/check_dylib.1    %i/share/man/man1/
 install -c -m 644 man/checksyms.1      %i/share/man/man1/
 install -c -m 644 man/indr.1           %i/share/man/man1/
 install -c -m 644 man/seg_addr_table.1 %i/share/man/man1/
<<
DocFiles: APPLE_LICENSE
Description: Extra software from cctools
DescDetail: <<
This package contains some extra tools from the cctools source
distribution that aren't part of Apple's official dev tools.
<<
License: OSI-Approved
Maintainer: Fink Core Group <[EMAIL PROTECTED]>
Homepage: http://www.opendarwin.org/

--- NEW FILE: fink-prebinding.info ---
Package: fink-prebinding
Version: 0.7.1
Revision: 2

Source: mirror:sourceforge:fink/%n-%v.tar.bz2
Source-MD5: 6ab0e97ca25dbe9359eb1e0e5b44e851
Essential: yes
BuildDepends: fink (>= 0.17.0-1)
Depends: base-files, fink (>= 0.17.0-1), cctools-extra (>= 1:495-1)
CompileScript: make PREFIX='%p' MANDIR='%p/share/man'
InstallScript: make PREFIX='%p' MANDIR='%p/share/man' DESTDIR='%d' install
Description: Tools for enabling prebinding in Fink
DescDetail: <<
This package contains the files needed to enable
prebinding libraries and exectuables in Fink.
<<
License: OSI-Approved
Maintainer: Fink Core Group <[EMAIL PROTECTED]>
Homepage: http://fink.sourceforge.net/

--- NEW FILE: debianutils.info ---
Package: debianutils
Version: 1.23
Revision: 11
Essential: true
Maintainer: Fink Core Group <[EMAIL PROTECTED]>
Depends: base-files
BuildDepends: fink-prebinding
Conflicts: mktemp
Replaces: mktemp, tetex
Provides: mktemp
Source: mirror:sourceforge:fink/%n_%v.tar.gz
Source-MD5: 232b5bc916a1e2af43fde890f840a304
SourceDirectory: %n-%v
Patch: %n.patch
InstallScript: <<
  #!/bin/sh
  INSTALL=install
  INSTALL_FILE="$INSTALL -p -o root -g admin -m 644"
  INSTALL_PROGRAM="$INSTALL -p -o root -g admin -m 755"
  INSTALL_SCRIPT="$INSTALL -p -o root -g admin -m 755"
  INSTALL_DIR="$INSTALL -p -d -o root -g admin -m 755"
  $INSTALL_DIR %i/bin \
               %i/sbin \
               %i/share/man/man1 \
               %i/share/man/man8 \
               %i/share/man/fr/man8
  $INSTALL_PROGRAM readlink run-parts tempfile mktemp %i/sbin
  $INSTALL_SCRIPT which savelog sensible-editor sensible-pager %i/bin
  $INSTALL_FILE run-parts.8 savelog.8 %i/share/man/man8
  $INSTALL_FILE which.1 tempfile.1 sensible-editor.1 mktemp.1 readlink.1 \
                %i/share/man/man1
  $INSTALL_FILE savelog.fr.8 %i/share/man/fr/man8/savelog.8
  ln -s sensible-editor.1 %i/share/man/man1/sensible-pager.1
<<
DocFiles: debian/copyright debian/changelog
Description: Misc. utilities specific to Debian (and Fink)
DescDetail: Includes the commands: mktemp, readlink, tempfile, and run-parts
DescPort: <<
 Both run-parts and tempfile require the getopt() routines from glibc.
 The versions included here come from glibc-2.2.4
 Thanks to Justin Hallett for the 1.22.5 port.
<<
Homepage: http://packages.debian.org/unstable/base/debianutils.html
License: GPL

--- NEW FILE: gzip-1.2.4a-6.patch ---
--- gzip-1.2.4/gzip.c   Thu Aug 19 15:39:43 1993
+++ gzip-1.2.4b/gzip.c  Tue Jan  8 21:44:18 2002
@@ -1005,7 +1005,14 @@
 #ifdef NO_MULTIPLE_DOTS
     char *dot; /* pointer to ifname extension, or NULL */
 #endif
+    int max_suffix_len = (z_len > 3 ? z_len : 3);
 
+    /* Leave enough room in ifname or ofname for suffix: */
+    if (strlen(iname) >= sizeof(ifname) - max_suffix_len) {
+        strncpy(ifname, iname, sizeof(ifname) - 1);
+       /* last byte of ifname is already zero and never overwritten */
+        error("file name too long");
+    }
     strcpy(ifname, iname);
 
     /* If input file exists, return OK. */

--- NEW FILE: ChangeLog ---
2005-04-27  Dave Morrison  <[EMAIL PROTECTED]>

        * initializing 10.4-transitional tree

--- NEW FILE: fink-mirrors.info ---
Package: fink-mirrors
Version: 0.24.4.1
Revision: 1
Essential: yes
Source: mirror:custom:fink/%n-%v.tar.gz
Source-MD5: 1496ac9bf8efee017ece2a81d504cd11
Depends: fink (>= 0.17.3-1)
Replaces: fink (<< 0.17.2-1)
CompileScript:  sed -e "s|@PREFIX@|%p|g" < postinstall.pl.in > postinstall.pl
InstallScript: ./install.sh %i
PostInstScript: %p/lib/fink/mirror/postinstall.pl
#
Description: Mirror infrastructure
DescDetail: <<
The fink-mirrors package keeps a current list of the mirrors which are used 
by fink to download sourcefiles.
<<
License: GPL
Maintainer: Fink Core Group <[EMAIL PROTECTED]>
Homepage: http://fink.sourceforge.net/

CustomMirror: <<
 Primary: http://west.dl.sourceforge.net/sourceforge/
 nam-US: http://us.dl.sourceforge.net/sourceforge/
 eur: http://eu.dl.sourceforge.net/sourceforge/
<<


--- NEW FILE: apt.patch ---
diff -ruN apt-0.5.4/apt-inst/makefile apt-0.5.4-patched/apt-inst/makefile
--- apt-0.5.4/apt-inst/makefile Mon Feb 26 23:16:05 2001
+++ apt-0.5.4-patched/apt-inst/makefile Sun Nov  9 14:02:47 2003
@@ -10,6 +10,7 @@
 include ../buildlib/defaults.mak
 
 # The library name
+LDFLAGS += -L../apt-pkg -lapt-pkg
 LIBRARY=apt-inst
 LIBEXT=$(GLIBC_VER)$(LIBSTDCPP_VER)
 MAJOR=1.0
diff -ruN apt-0.5.4/apt-pkg/contrib/mmap.cc 
apt-0.5.4-patched/apt-pkg/contrib/mmap.cc
--- apt-0.5.4/apt-pkg/contrib/mmap.cc   Sun May 27 01:19:30 2001
+++ apt-0.5.4-patched/apt-pkg/contrib/mmap.cc   Sun Nov  9 14:02:47 2003
@@ -41,7 +41,7 @@
 // ---------------------------------------------------------------------
 /* */
 MMap::MMap(FileFd &F,unsigned long Flags) : Flags(Flags), iSize(0),
-                     Base(0)
[...1108 lines suppressed...]
+  #ifndef NI_DATAGRAM
+  #define NI_DATAGRAM NI_DGRAM
   #endif
 
   #define sockaddr_storage sockaddr_in
diff -ruN apt-0.5.4/patch_flush apt-0.5.4-patched/patch_flush
--- apt-0.5.4/patch_flush       Wed Dec 31 19:00:00 1969
+++ apt-0.5.4-patched/patch_flush       Sun Nov  9 14:02:48 2003
@@ -0,0 +1,11 @@
+#!/bin/sh
+set -e
+
+files=`find . -name '*.cc' -print | xargs grep -l 'flush;'`
+
+for i in $files ; do
+  sed 's/<< flush;/<< flush, fflush(NULL);/g' <$i >$i.tmp
+  mv $i.tmp $i
+done
+
+exit 0

--- NEW FILE: debianutils.patch ---
diff -ruN debianutils-1.22.5.orig/Makefile.am debianutils-1.22.5/Makefile.am
--- debianutils-1.22.5.orig/Makefile.am 2002-11-18 13:36:54.000000000 -0700
+++ debianutils-1.22.5/Makefile.am      2002-11-19 09:35:57.000000000 -0700
@@ -3,5 +3,5 @@
 bin_PROGRAMS = mktemp readlink run-parts tempfile
 mktemp_SOURCES = mktemp.c
 readlink_SOURCES = readlink.c
-run_parts_SOURCES = run-parts.c
-tempfile_SOURCES = tempfile.c
+run_parts_SOURCES = run-parts.c getopt.c getopt1.c
+tempfile_SOURCES = tempfile.c getopt.c getopt1.c
diff -ruN debianutils-1.22.5.orig/Makefile.in debianutils-1.22.5/Makefile.in
--- debianutils-1.22.5.orig/Makefile.in 2002-11-18 14:06:08.000000000 -0700
+++ debianutils-1.22.5/Makefile.in      2002-11-19 09:36:00.000000000 -0700
@@ -1,4 +1,4 @@
-# Makefile.in generated by automake 1.7.1 from Makefile.am.
+# Makefile.in generated by automake 1.6.3 from Makefile.am.
 # @configure_input@
 
[...1794 lines suppressed...]
+         break;
+
+       default:
+         printf ("?? getopt returned character code 0%o ??\n", c);
+       }
+    }
+
+  if (optind < argc)
+    {
+      printf ("non-option ARGV-elements: ");
+      while (optind < argc)
+       printf ("%s ", argv[optind++]);
+      printf ("\n");
+    }
+
+  exit (0);
+}
+
+#endif /* TEST */
Binary files debianutils-1.22.5.orig/getopt1.o and debianutils-1.22.5/getopt1.o 
differ

--- NEW FILE: storable-pm.info ---
Package: storable-pm
Version: 1.0.14
Revision: 9
Type: bundle
Depends: storable-pm560 | storable-pm561 | perl580-core | perl581-core | 
perl582-core | perl584-core | perl586-core
Description: Placeholder for versioned Storable packages
DescPackaging: <<
  This version of storable-pm can be installed when /usr/bin/perl is either 
  5.6.0, 5.6.1, 5.8.0, 5.8.1, 5.8.2, 5.8.4 or 5.8.6
<<
Maintainer: Fink Core Group <[EMAIL PROTECTED]>
Homepage: http://search.cpan.org/author/RAM/

--- NEW FILE: bzip2.info ---
Package: bzip2
Version: 1.0.2
Revision: 12
Essential: yes
Depends: %N-shlibs (= %v-%r)
BuildDepends: fink (>= 0.13.0), fink-prebinding
Maintainer: Fink Core Group <[EMAIL PROTECTED]>
Source: mirror:sourceforge:fink/%n-%v.tar.gz
Source-MD5: ee76864958d568677f03db8afad92beb
Patch: %n.patch
CompileScript: make PREFIX=%p
InstallScript: make install PREFIX=%i
DocFiles: LICENSE README CHANGES manual*.html
SplitOff: <<
 Package: %N-shlibs
 Replaces: %N (<= 1.0.2-1)
 Depends: base-files
 Essential: true
 Files: lib/libbz2.*.dylib
 Shlibs: %p/lib/libbz2.1.dylib 1.0.1 %n (>= 1.0.2-2)
 Description: Shared libraries for bzip2 package
 DocFiles: LICENSE README CHANGES manual*.html
<<
SplitOff2: <<
 Package: %N-dev
 Depends: %N-shlibs (= %v-%r)
 Replaces: %N (<= 1.0.2-1)
 BuildDependsOnly: true
 Files: include lib/libbz2.dylib
 Description: Developer files for bzip2 package
 DocFiles: LICENSE README CHANGES manual*.html
<<
Description: Block-sorting file compressor
DescDetail: <<
bzip2 is a portable, lossless data compressor based on the
Burrows-Wheeler transform. It achieves good compression and runs on
practically every (32/64-bit) platform in the known universe.
<<
DescPort: <<
Doesn't use autoconf, but comes with a useful Makefile. Anyway, the
patch modifies it to build a shared library instead of a static one.
<<
License: OSI-Approved
Homepage: http://sources.redhat.com/bzip2/

--- NEW FILE: base-files.info ---
Package: base-files
Version: 1.9.5
Revision: 1
Source: mirror:custom:fink/%n-%v.tar.gz

Essential: yes
Source-MD5: cda64cdfdcb78af875e9ad48cc14fd73
CompileScript: ./setup.sh %p
InstallScript: ./install.sh %i
#
PostInstScript: <<
# install info dir file
if [ ! -f %p/share/info/dir ]; then
  cp %p/share/base-files/dir-base %p/share/info/dir
  chmod 644 %p/share/info/dir
fi
<<
#
Description: Directory infrastructure
DescDetail: <<
The base-files package contains the basic directory infrastructure for
a Fink installation. It makes sure the usual directories are present
and have the right permissions.
<<
License: GPL
Maintainer: Fink Core Group <[EMAIL PROTECTED]>
CustomMirror: <<
 Primary: http://west.dl.sourceforge.net/sourceforge/
 nam-US: http://us.dl.sourceforge.net/sourceforge/
 eur: http://eu.dl.sourceforge.net/sourceforge/
<<

--- NEW FILE: bzip2.patch ---
diff -ru bzip2-1.0.2/Makefile bzip2-1.0.2-patched/Makefile
--- bzip2-1.0.2/Makefile        Sat Jan 26 00:34:53 2002
+++ bzip2-1.0.2-patched/Makefile        Sun Mar 31 00:15:27 2002
@@ -1,15 +1,18 @@
+# This Makefile builds a shared version of the library,
+# libbz2.1.0.2.dylib, with install_name .../libbz2.1.dylib,
+# on Darwin and Mac OS X.
 
 SHELL=/bin/sh
 
 # To assist in cross-compiling
-CC=gcc
+CC=cc
 AR=ar
 RANLIB=ranlib
 LDFLAGS=
 
 # Suitably paranoid flags to avoid bugs in gcc-2.7
 BIGFILES=-D_FILE_OFFSET_BITS=64
-CFLAGS=-Wall -Winline -O2 -fomit-frame-pointer -fno-strength-reduce $(BIGFILES)
+CFLAGS=-fno-common -Wall -Winline -O2 -fomit-frame-pointer 
-fno-strength-reduce $(BIGFILES)
 
 # Where you want it installed when you do 'make install'
 PREFIX=/usr
@@ -23,32 +26,29 @@
       decompress.o \
       bzlib.o
 
-all: libbz2.a bzip2 bzip2recover test
+all: libbz2.dylib bzip2 bzip2recover test
 
-bzip2: libbz2.a bzip2.o
+bzip2: libbz2.dylib bzip2.o
        $(CC) $(CFLAGS) $(LDFLAGS) -o bzip2 bzip2.o -L. -lbz2
 
 bzip2recover: bzip2recover.o
        $(CC) $(CFLAGS) $(LDFLAGS) -o bzip2recover bzip2recover.o
 
-libbz2.a: $(OBJS)
-       rm -f libbz2.a
-       $(AR) cq libbz2.a $(OBJS)
-       @if ( test -f $(RANLIB) -o -f /usr/bin/ranlib -o \
-               -f /bin/ranlib -o -f /usr/ccs/bin/ranlib ) ; then \
-               echo $(RANLIB) libbz2.a ; \
-               $(RANLIB) libbz2.a ; \
-       fi
+libbz2.dylib: $(OBJS)
+       rm -f libbz2.dylib libbz2.*.dylib
+       $(CC) -dynamiclib -o libbz2.1.0.2.dylib $(OBJS) -install_name 
$(PREFIX)/lib/libbz2.1.dylib -compatibility_version 1.0.1 -current_version 1.0.2
+       ln -s libbz2.1.0.2.dylib libbz2.1.dylib
+       ln -s libbz2.1.0.2.dylib libbz2.dylib
 
 check: test
 test: bzip2
        @cat words1
-       ./bzip2 -1  < sample1.ref > sample1.rb2
-       ./bzip2 -2  < sample2.ref > sample2.rb2
-       ./bzip2 -3  < sample3.ref > sample3.rb2
-       ./bzip2 -d  < sample1.bz2 > sample1.tst
-       ./bzip2 -d  < sample2.bz2 > sample2.tst
-       ./bzip2 -ds < sample3.bz2 > sample3.tst
+       DYLD_LIBRARY_PATH=. ./bzip2 -1  < sample1.ref > sample1.rb2
+       DYLD_LIBRARY_PATH=. ./bzip2 -2  < sample2.ref > sample2.rb2
+       DYLD_LIBRARY_PATH=. ./bzip2 -3  < sample3.ref > sample3.rb2
+       DYLD_LIBRARY_PATH=. ./bzip2 -d  < sample1.bz2 > sample1.tst
+       DYLD_LIBRARY_PATH=. ./bzip2 -d  < sample2.bz2 > sample2.tst
+       DYLD_LIBRARY_PATH=. ./bzip2 -ds < sample3.bz2 > sample3.tst
        cmp sample1.bz2 sample1.rb2 
        cmp sample2.bz2 sample2.rb2
        cmp sample3.bz2 sample3.rb2
@@ -60,8 +60,9 @@
 install: bzip2 bzip2recover
        if ( test ! -d $(PREFIX)/bin ) ; then mkdir -p $(PREFIX)/bin ; fi
        if ( test ! -d $(PREFIX)/lib ) ; then mkdir -p $(PREFIX)/lib ; fi
-       if ( test ! -d $(PREFIX)/man ) ; then mkdir -p $(PREFIX)/man ; fi
-       if ( test ! -d $(PREFIX)/man/man1 ) ; then mkdir -p $(PREFIX)/man/man1 
; fi
+       if ( test ! -d $(PREFIX)/share ) ; then mkdir -p $(PREFIX)/share ; fi
+       if ( test ! -d $(PREFIX)/share/man ) ; then mkdir -p 
$(PREFIX)/share/man ; fi
+       if ( test ! -d $(PREFIX)/share/man/man1 ) ; then mkdir -p 
$(PREFIX)/share/man/man1 ; fi
        if ( test ! -d $(PREFIX)/include ) ; then mkdir -p $(PREFIX)/include ; 
fi
        cp -f bzip2 $(PREFIX)/bin/bzip2
        cp -f bzip2 $(PREFIX)/bin/bunzip2
@@ -71,12 +72,14 @@
        chmod a+x $(PREFIX)/bin/bunzip2
        chmod a+x $(PREFIX)/bin/bzcat
        chmod a+x $(PREFIX)/bin/bzip2recover
-       cp -f bzip2.1 $(PREFIX)/man/man1
-       chmod a+r $(PREFIX)/man/man1/bzip2.1
+       cp -f bzip2.1 $(PREFIX)/share/man/man1
+       chmod a+r $(PREFIX)/share/man/man1/bzip2.1
        cp -f bzlib.h $(PREFIX)/include
        chmod a+r $(PREFIX)/include/bzlib.h
-       cp -f libbz2.a $(PREFIX)/lib
-       chmod a+r $(PREFIX)/lib/libbz2.a
+       cp -f libbz2.1.0.2.dylib $(PREFIX)/lib
+       chmod a+rx $(PREFIX)/lib/libbz2.1.0.2.dylib
+       (cd $(PREFIX)/lib && rm -f libbz2.1.dylib && ln -s libbz2.1.0.2.dylib 
libbz2.1.dylib)
+       (cd $(PREFIX)/lib && rm -f libbz2.dylib && ln -s libbz2.1.0.2.dylib 
libbz2.dylib)
        cp -f bzgrep $(PREFIX)/bin/bzgrep
        ln $(PREFIX)/bin/bzgrep $(PREFIX)/bin/bzegrep
        ln $(PREFIX)/bin/bzgrep $(PREFIX)/bin/bzfgrep
@@ -87,18 +90,18 @@
        cp -f bzdiff $(PREFIX)/bin/bzdiff
        ln $(PREFIX)/bin/bzdiff $(PREFIX)/bin/bzcmp
        chmod a+x $(PREFIX)/bin/bzdiff
-       cp -f bzgrep.1 bzmore.1 bzdiff.1 $(PREFIX)/man/man1
-       chmod a+r $(PREFIX)/man/man1/bzgrep.1
-       chmod a+r $(PREFIX)/man/man1/bzmore.1
-       chmod a+r $(PREFIX)/man/man1/bzdiff.1
-       echo ".so man1/bzgrep.1" > $(PREFIX)/man/man1/bzegrep.1
-       echo ".so man1/bzgrep.1" > $(PREFIX)/man/man1/bzfgrep.1
-       echo ".so man1/bzmore.1" > $(PREFIX)/man/man1/bzless.1
-       echo ".so man1/bzdiff.1" > $(PREFIX)/man/man1/bzcmp.1
+       cp -f bzgrep.1 bzmore.1 bzdiff.1 $(PREFIX)/share/man/man1
+       chmod a+r $(PREFIX)/share/man/man1/bzgrep.1
+       chmod a+r $(PREFIX)/share/man/man1/bzmore.1
+       chmod a+r $(PREFIX)/share/man/man1/bzdiff.1
+       echo ".so man1/bzgrep.1" > $(PREFIX)/share/man/man1/bzegrep.1
+       echo ".so man1/bzgrep.1" > $(PREFIX)/share/man/man1/bzfgrep.1
+       echo ".so man1/bzmore.1" > $(PREFIX)/share/man/man1/bzless.1
+       echo ".so man1/bzdiff.1" > $(PREFIX)/share/man/man1/bzcmp.1
 
 distclean: clean
 clean: 
-       rm -f *.o libbz2.a bzip2 bzip2recover \
+       rm -f *.o libbz2.dylib bzip2 bzip2recover \
        sample1.rb2 sample2.rb2 sample3.rb2 \
        sample1.tst sample2.tst sample3.tst
 



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to