Update of /cvsroot/fink/experimental/jackfink/finkinfo
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv3340

Added Files:
        dpkg.info dpkg.patch 
Log Message:
voila, new dpkg - done by Sjors

--- NEW FILE: dpkg.patch ---
diff -Nurd dpkg-1.15.5.6/configure dpkg-1.15.5.6-patched/configure
--- dpkg-1.15.5.6/configure     2010-01-08 19:02:47.000000000 +0100
+++ dpkg-1.15.5.6-patched/configure     2010-05-09 05:10:12.000000000 +0200
@@ -9745,11 +9745,7 @@
 if test "${enable_linker_optimisations+set}" = set; then :
   enableval=$enable_linker_optimisations; if test 
"x$enable_linker_optimisations" = "xno"; then
        LDFLAGS=$(echo "$LDFLAGS" | sed -e "s/ -Wl,-O[0-9]*\b//g")
-else
-       LDFLAGS="$LDFLAGS -Wl,-O1"
 fi
-else
-  LDFLAGS="$LDFLAGS -Wl,-O1"
 fi
 
 
diff -Nurd dpkg-1.15.5.6/dpkg-deb/build.c dpkg-1.15.5.6-patched/dpkg-deb/build.c
--- dpkg-1.15.5.6/dpkg-deb/build.c      2010-01-08 18:23:06.000000000 +0100
+++ dpkg-1.15.5.6-patched/dpkg-deb/build.c      2010-05-09 04:23:57.000000000 
+0200
@@ -67,6 +67,7 @@
[...1065 lines suppressed...]
+        virt_pkg = virt_pkg->next;
+      }
+
+/*
+      if (0==strcmp(possi->ed->name,"darwin") && darwin_version.version) {
+        debug(dbg_depcondetail,"        pseudo package darwin");
+        found= 
check_pseudo_package(&darwin_version,possi,&interestingwarnings,&oemsgs);
+        break;
+      }
+      else if (0==strcmp(possi->ed->name,"macosx") && macsox_version.version) {
+        debug(dbg_depcondetail,"        pseudo package macosx");
+        found= 
check_pseudo_package(&macosx_version,possi,&interestingwarnings,&oemsgs);
+        break;
+      }
+*/
+      /* FINK LOCAL end */
+
       if (possi->cyclebreak) {
         debug(dbg_depcondetail,"      break cycle so ok and found");
         found= 3; break;

--- NEW FILE: dpkg.info ---
Package: dpkg
Version: 1.15.5.6
Revision: 4
GCC: 4.0
BuildDepends: fink (>= 0.24.12), libgettext8-dev, gettext-tools
Conflicts: dpkg-bootstrap
Replaces: dpkg-bootstrap
Depends: libgettext8-shlibs, libiconv (>= 1.11-1), gzip, tar, 
libncurses5-shlibs (>= 5.4-20041023-1006)
Essential: yes
Maintainer: Fink Core Group <fink-c...@lists.sourceforge.net>

Source: 
http://snapshot.debian.org/archive/debian/20100108T213813Z/pool/main/d/dpkg/dpkg_1.15.5.6.tar.bz2
SourceDirectory: dpkg-%v
Source-MD5: 4dcb0de9af234d16a62272bcc61b8873

PatchFile: %n.patch
PatchFile-MD5: a9b7dc03bb85e68b9a66104c3a71cdbf
PatchScript: <<
 cd %b/..; sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p0

 # fix paths in the manpages
 perl -pi -e 's|/usr|%p|g' $(find . -name '*.1' -or -name '*.3' -or \
    -name '*.5' -or -name '*.8') scripts/dpkg-name.pl;
 perl -pi -e 's|/etc|%p/etc|g' $(find . -name '*.1' -or -name '*.3' -or \
    -name '*.5' -or -name '*.8') scripts/update-alternatives.pl;
<<

SetCFLAGS: -I%p/include -F/System/Library/Frameworks/CoreFoundation.framework
SetLDFLAGS: -framework CoreFoundation
CompileScript: <<
 PERL=/usr/bin/perl ./configure --build=%m-apple-darwin %c
 /usr/bin/make
<<
ConfigureParams: --without-start-stop-daemon --with-admindir=%p/var/lib/dpkg 
--mandir=%p/share/man --infodir=%p/share/info --srcdir=%b --disable-silent-rules
InstallScript: <<
 mkdir -p %i/share/doc/dpkg
 /usr/bin/make install DESTDIR=%d
 mkdir -p %i/etc/dpkg/origins
 install -c -p -m 644 origin.fink %i/etc/dpkg/origins/fink
 rm -rf %i/lib/dpkg/methods/*

 # some files that were previously installed in sbin are now in bin
 # but some stuff still expects it in sbin
 ln -s %i/bin/dpkg-divert %i/sbin/dpkg-divert
 ln -s %i/bin/dpkg-statoverride %i/sbin/dpkg-statoverride
 ln -s %i/bin/update-alternatives %i/sbin/update-alternatives
 cp fink/md5sum %i/bin
 chmod +x %i/bin/md5sum

 # and move the Perl libraries, 'cause they are consistently installed in the
 # wrong place whatever PERL_LIBDIR is
 mkdir -p %i/lib/perl5
 mv %d/Network/Library/Perl/* %i/lib/perl5
 rmdir %d/Network/Library/Perl %d/Network/Library %d/Network
<<
DocFiles: <<
  ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS
  README README.translators THANKS TODO
<<
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.
<<
DescPackaging: <<
 In may of 2010, version 1.10.21 which had been used by Fink since 2002, was
 bumped to 1.15.5.6. Between those versions, some files were removed and some
 were added. For example, 822-date, md5sum and cleanup-info were removed from
 the package, and dpkg-trigger, dpkg-vendor and dpkg-gensymbols were removed.

 Because 'md5sum' is often used and no longer available, this package adds
 an md5sum tool in the patch. This tool, written in Perl and using the standard
 Perl on OSX, does not have any dependencies apart from the 'md5' executable
 installed on every OS X system.
<<
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.

Patched to not remove Darwin's system-critical symlinks (/etc /tmp /var)

Patched to hardcode complete paths to our component executables
instead of relying on PATH

Patch 'dpkg -b' tar invocation to avoid warning under tar>=1.16
See: http://permalink.gmane.org/gmane.os.apple.fink.core/1281

Patch 'dpkg -b' tar invocation to not die if tar returns exit code 1.  
(Exit 1 is a non-fatal error for tar; exit 2 is fatal.)  patch written by vasi

Fink's make-3.81-1 breaks compiling so use Apple's to be safe.

The on-board getopt needs tweaking for darwin, but isn't needed at all
because libSystem has what dpkg needs, so just scrap it.

Remove un/misused variable in dpkg enquiry.c (solve bus error in --architecture)

Filesystem may be case-insensitive, so do case-insensitive check for
"dpkg -i" replacing files in an already-installed other package
<<
#
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


------------------------------------------------------------------------------

_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to