Update of /cvsroot/fink/experimental/dazjorz/finkinfo
In directory vz-cvs-3.sog:/tmp/cvs-serv32452
Modified Files:
apt.info apt.patch
Log Message:
Fix apt bailing out when downloading conflicting packages from a bindist in
ignore-breakage download-only mode.
Index: apt.patch
===================================================================
RCS file: /cvsroot/fink/experimental/dazjorz/finkinfo/apt.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- apt.patch 6 Jun 2011 06:12:09 -0000 1.3
+++ apt.patch 7 Jun 2011 15:43:39 -0000 1.4
@@ -1,6 +1,6 @@
-diff -Nurd apt-0.7.25.3-orig/apt-inst/contrib/extracttar.cc
apt-0.7.25.3/apt-inst/contrib/extracttar.cc
---- apt-0.7.25.3-orig/apt-inst/contrib/extracttar.cc 2011-05-04
16:24:31.000000000 +0200
-+++ apt-0.7.25.3/apt-inst/contrib/extracttar.cc 2011-05-04
16:24:56.000000000 +0200
+diff -Nurd apt-0.7.25.3/apt-inst/contrib/extracttar.cc
apt-0.7.25.3-patched/apt-inst/contrib/extracttar.cc
+--- apt-0.7.25.3/apt-inst/contrib/extracttar.cc 2010-02-01
20:44:40.000000000 +0100
++++ apt-0.7.25.3-patched/apt-inst/contrib/extracttar.cc 2011-06-07
17:08:38.000000000 +0200
@@ -148,6 +148,18 @@
return true;
}
@@ -31,9 +31,9 @@
StrToNum(Tar->Size,Itm.Size,sizeof(Tar->Size),8) == false ||
StrToNum(Tar->MTime,Itm.MTime,sizeof(Tar->MTime),8) == false ||
StrToNum(Tar->Major,Itm.Major,sizeof(Tar->Major),8) == false ||
-diff -Nurd apt-0.7.25.3-orig/apt-inst/deb/dpkgdb.cc
apt-0.7.25.3/apt-inst/deb/dpkgdb.cc
---- apt-0.7.25.3-orig/apt-inst/deb/dpkgdb.cc 2011-05-04 16:24:31.000000000
+0200
-+++ apt-0.7.25.3/apt-inst/deb/dpkgdb.cc 2011-05-04 16:24:56.000000000
+0200
+diff -Nurd apt-0.7.25.3/apt-inst/deb/dpkgdb.cc
apt-0.7.25.3-patched/apt-inst/deb/dpkgdb.cc
+--- apt-0.7.25.3/apt-inst/deb/dpkgdb.cc 2010-02-01 20:44:40.000000000
+0100
++++ apt-0.7.25.3-patched/apt-inst/deb/dpkgdb.cc 2011-06-07
17:08:38.000000000 +0200
@@ -24,6 +24,7 @@
#include <errno.h>
#include <sys/stat.h>
@@ -42,9 +42,9 @@
#include <fcntl.h>
#include <unistd.h>
#include <ctype.h>
-diff -Nurd apt-0.7.25.3-orig/apt-pkg/aptconfiguration.cc
apt-0.7.25.3/apt-pkg/aptconfiguration.cc
---- apt-0.7.25.3-orig/apt-pkg/aptconfiguration.cc 2011-05-04
16:24:31.000000000 +0200
-+++ apt-0.7.25.3/apt-pkg/aptconfiguration.cc 2011-05-04 16:24:56.000000000
+0200
+diff -Nurd apt-0.7.25.3/apt-pkg/aptconfiguration.cc
apt-0.7.25.3-patched/apt-pkg/aptconfiguration.cc
+--- apt-0.7.25.3/apt-pkg/aptconfiguration.cc 2010-02-01 20:44:40.000000000
+0100
++++ apt-0.7.25.3-patched/apt-pkg/aptconfiguration.cc 2011-06-07
17:08:38.000000000 +0200
@@ -36,8 +36,8 @@
_config->CndSet("Acquire::CompressionTypes::gz","gzip");
@@ -56,9 +56,9 @@
// accept non-list order as override setting for config settings on
commandline
std::string const overrideOrder =
_config->Find("Acquire::CompressionTypes::Order","");
-diff -Nurd apt-0.7.25.3-orig/apt-pkg/contrib/fink.cc
apt-0.7.25.3/apt-pkg/contrib/fink.cc
---- apt-0.7.25.3-orig/apt-pkg/contrib/fink.cc 1970-01-01 01:00:00.000000000
+0100
-+++ apt-0.7.25.3/apt-pkg/contrib/fink.cc 2011-05-04 16:24:56.000000000
+0200
+diff -Nurd apt-0.7.25.3/apt-pkg/contrib/fink.cc
apt-0.7.25.3-patched/apt-pkg/contrib/fink.cc
+--- apt-0.7.25.3/apt-pkg/contrib/fink.cc 1970-01-01 01:00:00.000000000
+0100
++++ apt-0.7.25.3-patched/apt-pkg/contrib/fink.cc 2011-06-07
17:08:38.000000000 +0200
@@ -0,0 +1,84 @@
+/* FINK LOCAL begin */
+#include <sys/utsname.h>
@@ -144,9 +144,9 @@
+}
+
+/* FINK LOCAL end */
-diff -Nurd apt-0.7.25.3-orig/apt-pkg/contrib/macros.h
apt-0.7.25.3/apt-pkg/contrib/macros.h
---- apt-0.7.25.3-orig/apt-pkg/contrib/macros.h 2011-05-04 16:24:31.000000000
+0200
-+++ apt-0.7.25.3/apt-pkg/contrib/macros.h 2011-05-04 16:24:56.000000000
+0200
+diff -Nurd apt-0.7.25.3/apt-pkg/contrib/macros.h
apt-0.7.25.3-patched/apt-pkg/contrib/macros.h
+--- apt-0.7.25.3/apt-pkg/contrib/macros.h 2010-02-01 20:44:40.000000000
+0100
++++ apt-0.7.25.3-patched/apt-pkg/contrib/macros.h 2011-06-07
17:08:38.000000000 +0200
@@ -24,12 +24,6 @@
#define MAX(x,y) _max(x,y)
#endif
@@ -170,9 +170,9 @@
/* likely() and unlikely() can be used to mark boolean expressions
as (not) likely true which will help the compiler to optimise */
#define likely(x) __builtin_expect (!!(x), 1)
-diff -Nurd apt-0.7.25.3-orig/apt-pkg/contrib/mmap.cc
apt-0.7.25.3/apt-pkg/contrib/mmap.cc
---- apt-0.7.25.3-orig/apt-pkg/contrib/mmap.cc 2011-05-04 16:24:31.000000000
+0200
-+++ apt-0.7.25.3/apt-pkg/contrib/mmap.cc 2011-05-04 16:24:56.000000000
+0200
+diff -Nurd apt-0.7.25.3/apt-pkg/contrib/mmap.cc
apt-0.7.25.3-patched/apt-pkg/contrib/mmap.cc
+--- apt-0.7.25.3/apt-pkg/contrib/mmap.cc 2010-02-01 20:44:40.000000000
+0100
++++ apt-0.7.25.3-patched/apt-pkg/contrib/mmap.cc 2011-06-07
17:08:38.000000000 +0200
@@ -172,6 +172,13 @@
return;
@@ -187,9 +187,9 @@
// Set the permissions.
int Prot = PROT_READ;
int Map = MAP_PRIVATE | MAP_ANONYMOUS;
-diff -Nurd apt-0.7.25.3-orig/apt-pkg/contrib/netrc.cc
apt-0.7.25.3/apt-pkg/contrib/netrc.cc
---- apt-0.7.25.3-orig/apt-pkg/contrib/netrc.cc 2011-05-04 16:24:31.000000000
+0200
-+++ apt-0.7.25.3/apt-pkg/contrib/netrc.cc 2011-05-04 16:24:56.000000000
+0200
+diff -Nurd apt-0.7.25.3/apt-pkg/contrib/netrc.cc
apt-0.7.25.3-patched/apt-pkg/contrib/netrc.cc
+--- apt-0.7.25.3/apt-pkg/contrib/netrc.cc 2010-02-01 20:44:40.000000000
+0100
++++ apt-0.7.25.3-patched/apt-pkg/contrib/netrc.cc 2011-06-07
17:08:38.000000000 +0200
@@ -160,10 +160,18 @@
{
char login[64] = "";
@@ -234,9 +234,9 @@
}
}
}
-diff -Nurd apt-0.7.25.3-orig/apt-pkg/deb/debsystem.cc
apt-0.7.25.3/apt-pkg/deb/debsystem.cc
---- apt-0.7.25.3-orig/apt-pkg/deb/debsystem.cc 2011-05-04 16:24:31.000000000
+0200
-+++ apt-0.7.25.3/apt-pkg/deb/debsystem.cc 2011-05-04 16:31:48.000000000
+0200
+diff -Nurd apt-0.7.25.3/apt-pkg/deb/debsystem.cc
apt-0.7.25.3-patched/apt-pkg/deb/debsystem.cc
+--- apt-0.7.25.3/apt-pkg/deb/debsystem.cc 2010-02-01 20:44:40.000000000
+0100
++++ apt-0.7.25.3-patched/apt-pkg/deb/debsystem.cc 2011-06-07
17:08:38.000000000 +0200
@@ -23,6 +23,12 @@
#include <unistd.h>
#include <dirent.h>
@@ -355,9 +355,9 @@
}
return false;
-diff -Nurd apt-0.7.25.3-orig/apt-pkg/deb/debsystem.h
apt-0.7.25.3/apt-pkg/deb/debsystem.h
---- apt-0.7.25.3-orig/apt-pkg/deb/debsystem.h 2011-05-04 16:24:31.000000000
+0200
-+++ apt-0.7.25.3/apt-pkg/deb/debsystem.h 2011-05-04 16:24:56.000000000
+0200
+diff -Nurd apt-0.7.25.3/apt-pkg/deb/debsystem.h
apt-0.7.25.3-patched/apt-pkg/deb/debsystem.h
+--- apt-0.7.25.3/apt-pkg/deb/debsystem.h 2010-02-01 20:44:40.000000000
+0100
++++ apt-0.7.25.3-patched/apt-pkg/deb/debsystem.h 2011-06-07
17:08:38.000000000 +0200
@@ -12,6 +12,19 @@
#include <apt-pkg/pkgsystem.h>
@@ -386,9 +386,9 @@
public:
-diff -Nurd apt-0.7.25.3-orig/apt-pkg/deb/dpkgpm.cc
apt-0.7.25.3/apt-pkg/deb/dpkgpm.cc
---- apt-0.7.25.3-orig/apt-pkg/deb/dpkgpm.cc 2011-05-04 16:24:31.000000000
+0200
-+++ apt-0.7.25.3/apt-pkg/deb/dpkgpm.cc 2011-05-04 16:24:56.000000000 +0200
+diff -Nurd apt-0.7.25.3/apt-pkg/deb/dpkgpm.cc
apt-0.7.25.3-patched/apt-pkg/deb/dpkgpm.cc
+--- apt-0.7.25.3/apt-pkg/deb/dpkgpm.cc 2010-02-01 20:44:40.000000000 +0100
++++ apt-0.7.25.3-patched/apt-pkg/deb/dpkgpm.cc 2011-06-07 17:08:38.000000000
+0200
@@ -22,6 +22,7 @@
#include <sys/select.h>
#include <sys/types.h>
@@ -443,9 +443,9 @@
sighandler_t old_SIGQUIT = signal(SIGQUIT,SIG_IGN);
sighandler_t old_SIGINT = signal(SIGINT,SIG_IGN);
-diff -Nurd apt-0.7.25.3-orig/apt-pkg/indexcopy.cc
apt-0.7.25.3/apt-pkg/indexcopy.cc
---- apt-0.7.25.3-orig/apt-pkg/indexcopy.cc 2011-05-04 16:24:31.000000000
+0200
-+++ apt-0.7.25.3/apt-pkg/indexcopy.cc 2011-05-04 16:24:56.000000000 +0200
+diff -Nurd apt-0.7.25.3/apt-pkg/indexcopy.cc
apt-0.7.25.3-patched/apt-pkg/indexcopy.cc
+--- apt-0.7.25.3/apt-pkg/indexcopy.cc 2010-02-01 20:44:40.000000000 +0100
++++ apt-0.7.25.3-patched/apt-pkg/indexcopy.cc 2011-06-07 17:08:38.000000000
+0200
@@ -603,8 +603,8 @@
const char *Args[400];
unsigned int i = 0;
@@ -457,9 +457,9 @@
string releasegpg = *I+"Release.gpg";
string release = *I+"Release";
-diff -Nurd apt-0.7.25.3-orig/apt-pkg/init.cc apt-0.7.25.3/apt-pkg/init.cc
---- apt-0.7.25.3-orig/apt-pkg/init.cc 2011-05-04 16:24:31.000000000 +0200
-+++ apt-0.7.25.3/apt-pkg/init.cc 2011-05-04 16:24:56.000000000 +0200
+diff -Nurd apt-0.7.25.3/apt-pkg/init.cc apt-0.7.25.3-patched/apt-pkg/init.cc
+--- apt-0.7.25.3/apt-pkg/init.cc 2010-02-01 20:44:40.000000000 +0100
++++ apt-0.7.25.3-patched/apt-pkg/init.cc 2011-06-07 17:08:38.000000000
+0200
@@ -16,6 +16,8 @@
#include <config.h>
#include <cstdlib>
@@ -496,9 +496,9 @@
Sys = 0;
string Label = Cnf.Find("Apt::System","");
if (Label.empty() == false)
-diff -Nurd apt-0.7.25.3-orig/apt-pkg/makefile apt-0.7.25.3/apt-pkg/makefile
---- apt-0.7.25.3-orig/apt-pkg/makefile 2011-05-04 16:24:31.000000000 +0200
-+++ apt-0.7.25.3/apt-pkg/makefile 2011-05-04 16:24:56.000000000 +0200
+diff -Nurd apt-0.7.25.3/apt-pkg/makefile apt-0.7.25.3-patched/apt-pkg/makefile
+--- apt-0.7.25.3/apt-pkg/makefile 2010-02-01 20:44:40.000000000 +0100
++++ apt-0.7.25.3-patched/apt-pkg/makefile 2011-06-07 17:08:38.000000000
+0200
@@ -22,7 +22,7 @@
contrib/configuration.cc contrib/progress.cc contrib/cmndline.cc \
contrib/md5.cc contrib/sha1.cc contrib/sha256.cc contrib/hashes.cc \
@@ -508,9 +508,9 @@
HEADERS = mmap.h error.h configuration.h fileutl.h cmndline.h netrc.h\
md5.h crc-16.h cdromutl.h strutl.h sptr.h sha1.h sha256.h hashes.h \
macros.h
-diff -Nurd apt-0.7.25.3-orig/apt-pkg/pkgcachegen.cc
apt-0.7.25.3/apt-pkg/pkgcachegen.cc
---- apt-0.7.25.3-orig/apt-pkg/pkgcachegen.cc 2011-05-04 16:24:31.000000000
+0200
-+++ apt-0.7.25.3/apt-pkg/pkgcachegen.cc 2011-05-04 16:24:56.000000000
+0200
+diff -Nurd apt-0.7.25.3/apt-pkg/pkgcachegen.cc
apt-0.7.25.3-patched/apt-pkg/pkgcachegen.cc
+--- apt-0.7.25.3/apt-pkg/pkgcachegen.cc 2010-02-01 20:44:40.000000000
+0100
++++ apt-0.7.25.3-patched/apt-pkg/pkgcachegen.cc 2011-06-07
17:08:38.000000000 +0200
@@ -827,7 +827,7 @@
MMap **OutMap,bool AllowMem)
{
@@ -520,9 +520,9 @@
vector<pkgIndexFile *> Files;
for (vector<metaIndex *>::const_iterator i = List.begin();
-diff -Nurd apt-0.7.25.3-orig/buildlib/configure.mak
apt-0.7.25.3/buildlib/configure.mak
---- apt-0.7.25.3-orig/buildlib/configure.mak 2011-05-04 16:24:31.000000000
+0200
-+++ apt-0.7.25.3/buildlib/configure.mak 2011-05-04 16:24:56.000000000
+0200
+diff -Nurd apt-0.7.25.3/buildlib/configure.mak
apt-0.7.25.3-patched/buildlib/configure.mak
+--- apt-0.7.25.3/buildlib/configure.mak 2010-02-01 20:44:40.000000000
+0100
++++ apt-0.7.25.3-patched/buildlib/configure.mak 2011-06-07
17:08:38.000000000 +0200
@@ -28,7 +28,7 @@
aclocal -I buildlib
@@ -532,9 +532,9 @@
(HERE=`pwd`; cd $(BUILDDIR) && $$HERE/configure)
$(addprefix $(BUILDDIR)/,$(CONVERTED)):
-diff -Nurd apt-0.7.25.3-orig/buildlib/environment.mak.in
apt-0.7.25.3/buildlib/environment.mak.in
---- apt-0.7.25.3-orig/buildlib/environment.mak.in 2011-05-04
16:24:31.000000000 +0200
-+++ apt-0.7.25.3/buildlib/environment.mak.in 2011-05-04 16:24:56.000000000
+0200
+diff -Nurd apt-0.7.25.3/buildlib/environment.mak.in
apt-0.7.25.3-patched/buildlib/environment.mak.in
+--- apt-0.7.25.3/buildlib/environment.mak.in 2010-02-01 20:44:40.000000000
+0100
++++ apt-0.7.25.3-patched/buildlib/environment.mak.in 2011-06-07
17:08:38.000000000 +0200
@@ -11,8 +11,8 @@
NUM_PROCS = @NUM_PROCS@
@@ -567,9 +567,9 @@
+#endif
+SONAME_MAGIC=-install_name @PREFIX@/lib/
+LFLAGS_SO=-dynamiclib
-diff -Nurd apt-0.7.25.3-orig/buildlib/library.mak
apt-0.7.25.3/buildlib/library.mak
---- apt-0.7.25.3-orig/buildlib/library.mak 2011-05-04 16:24:31.000000000
+0200
-+++ apt-0.7.25.3/buildlib/library.mak 2011-05-04 16:24:56.000000000 +0200
+diff -Nurd apt-0.7.25.3/buildlib/library.mak
apt-0.7.25.3-patched/buildlib/library.mak
+--- apt-0.7.25.3/buildlib/library.mak 2010-02-01 20:44:40.000000000 +0100
++++ apt-0.7.25.3-patched/buildlib/library.mak 2011-06-07 17:08:38.000000000
+0200
@@ -16,11 +16,11 @@
# See defaults.mak for information about LOCAL
@@ -624,9 +624,9 @@
$(filter %.opic,$^) \
$($(@F)-SLIBS)
-diff -Nurd apt-0.7.25.3-orig/buildlib/libversion.mak
apt-0.7.25.3/buildlib/libversion.mak
---- apt-0.7.25.3-orig/buildlib/libversion.mak 2011-05-04 16:24:31.000000000
+0200
-+++ apt-0.7.25.3/buildlib/libversion.mak 2011-05-04 16:24:56.000000000
+0200
+diff -Nurd apt-0.7.25.3/buildlib/libversion.mak
apt-0.7.25.3-patched/buildlib/libversion.mak
+--- apt-0.7.25.3/buildlib/libversion.mak 2010-02-01 20:44:40.000000000
+0100
++++ apt-0.7.25.3-patched/buildlib/libversion.mak 2011-06-07
17:08:38.000000000 +0200
@@ -18,4 +18,5 @@
# want to drop this, but this a ABI break.
# And we don't want to do this now. So we hardcode a value here,
@@ -634,9 +634,9 @@
-LIBEXT=-libc6.9-6
+# FINK LOCAL empty here
+LIBEXT=
-diff -Nurd apt-0.7.25.3-orig/cmdline/apt-get.cc apt-0.7.25.3/cmdline/apt-get.cc
---- apt-0.7.25.3-orig/cmdline/apt-get.cc 2011-05-04 16:24:31.000000000
+0200
-+++ apt-0.7.25.3/cmdline/apt-get.cc 2011-05-04 16:24:56.000000000 +0200
+diff -Nurd apt-0.7.25.3/cmdline/apt-get.cc
apt-0.7.25.3-patched/cmdline/apt-get.cc
+--- apt-0.7.25.3/cmdline/apt-get.cc 2010-02-01 20:44:41.000000000 +0100
++++ apt-0.7.25.3-patched/cmdline/apt-get.cc 2011-06-07 17:33:24.000000000
+0200
@@ -53,7 +53,12 @@
#include <termios.h>
#include <sys/ioctl.h>
@@ -708,7 +708,27 @@
Cache.MarkInstall(Pkg,true);
return true;
-@@ -1790,7 +1810,9 @@
+@@ -1526,7 +1546,18 @@
+ c1out << _("Use 'apt-get autoremove' to remove them.") << std::endl;
+ }
+ // Now see if we had destroyed anything (if we had done anything)
+- else if (Cache->BrokenCount() != 0)
++ // FINK LOCAL begin
++ // This code can be hit in download-only mode. It is possible
++ // that Fink asks apt to download two conflicting packages, but it will
++ // not install them at the same time. For example, package "a" depends on
++ // gmp, "b" depends on gmp5, Fink decides to upgrade "a" and "b", and pulls
++ // gmp and gmp5 from a binary distribution. Apt would notice earlier
++ // breakage but ignore it because of --ignore-breakage.
++ // TRWTF is why apt runs automatic removal in download-only mode, but let's
++ // stick to the original code as close as possible.
++ else if (Cache->BrokenCount() != 0
++ && _config->FindB("APT::Get::Ignore-Breakage", false) == true)
++ // FINK LOCAL end
+ {
+ c1out << _("Hmm, seems like the AutoRemover destroyed something which
really\n"
+ "shouldn't happen. Please file a bug report against apt.") <<
endl;
+@@ -1790,7 +1821,9 @@
/* If we are in the Broken fixing mode we do not attempt to fix the
problems. This is if the user invoked install without -f and gave
packages */
@@ -719,7 +739,7 @@
{
c1out << _("You might want to run `apt-get -f install' to correct
these:") << endl;
ShowBroken(c1out,Cache,false);
-@@ -1800,11 +1822,15 @@
+@@ -1800,11 +1833,15 @@
// Call the scored problem resolver
Fix.InstallProtect();
@@ -737,7 +757,7 @@
{
c1out <<
_("Some packages could not be installed. This may mean that you
have\n"
-@@ -2773,6 +2799,8 @@
+@@ -2773,6 +2810,8 @@
_config->Set("APT::Get::Simulate",false);
_config->Set("APT::Get::Assume-Yes",false);
_config->Set("APT::Get::Fix-Broken",false);
@@ -746,7 +766,7 @@
_config->Set("APT::Get::Force-Yes",false);
_config->Set("APT::Get::List-Cleanup",true);
_config->Set("APT::Get::AutomaticRemove",false);
-@@ -2811,6 +2839,8 @@
+@@ -2811,6 +2850,8 @@
{'y',"yes","APT::Get::Assume-Yes",0},
{'y',"assume-yes","APT::Get::Assume-Yes",0},
{'f',"fix-broken","APT::Get::Fix-Broken",0},
@@ -755,7 +775,7 @@
{'u',"show-upgraded","APT::Get::Show-Upgraded",0},
{'m',"ignore-missing","APT::Get::Fix-Missing",0},
{'t',"target-release","APT::Default-Release",CommandLine::HasArg},
-@@ -2895,6 +2925,23 @@
+@@ -2895,6 +2936,23 @@
_config->Set("Debug::NoLocking",true);
}
@@ -779,9 +799,9 @@
// Deal with stdout not being a tty
if (!isatty(STDOUT_FILENO) && _config->FindI("quiet",0) < 1)
_config->Set("quiet","1");
-diff -Nurd apt-0.7.25.3-orig/cmdline/apt-key apt-0.7.25.3/cmdline/apt-key
---- apt-0.7.25.3-orig/cmdline/apt-key 2011-05-04 16:24:31.000000000 +0200
-+++ apt-0.7.25.3/cmdline/apt-key 2011-05-04 16:24:56.000000000 +0200
+diff -Nurd apt-0.7.25.3/cmdline/apt-key apt-0.7.25.3-patched/cmdline/apt-key
+--- apt-0.7.25.3/cmdline/apt-key 2010-02-01 20:44:41.000000000 +0100
++++ apt-0.7.25.3-patched/cmdline/apt-key 2011-06-07 17:08:38.000000000
+0200
@@ -5,7 +5,7 @@
# We don't use a secret keyring, of course, but gpg panics and
@@ -806,9 +826,9 @@
if [ -d "$TRUSTEDPARTS" ]; then
#echo "parts active"
for trusted in $(run-parts --list $TRUSTEDPARTS --regex
'^.*\.gpg$'); do
-diff -Nurd apt-0.7.25.3-orig/debian/bugscript apt-0.7.25.3/debian/bugscript
---- apt-0.7.25.3-orig/debian/bugscript 2011-05-04 16:24:31.000000000 +0200
-+++ apt-0.7.25.3/debian/bugscript 2011-05-04 16:24:56.000000000 +0200
+diff -Nurd apt-0.7.25.3/debian/bugscript apt-0.7.25.3-patched/debian/bugscript
+--- apt-0.7.25.3/debian/bugscript 2010-02-01 20:44:41.000000000 +0100
++++ apt-0.7.25.3-patched/debian/bugscript 2011-06-07 17:08:38.000000000
+0200
@@ -11,14 +11,14 @@
EOF
@@ -826,9 +846,9 @@
if [ -f $config ]; then
yesno "May I include your $config configuration file? [Y/n] " yep
if [ "$REPLY" = "yep" ]; then
-diff -Nurd apt-0.7.25.3-orig/doc/apt-get.8.xml apt-0.7.25.3/doc/apt-get.8.xml
---- apt-0.7.25.3-orig/doc/apt-get.8.xml 2011-05-04 16:24:31.000000000
+0200
-+++ apt-0.7.25.3/doc/apt-get.8.xml 2011-05-04 16:24:56.000000000 +0200
+diff -Nurd apt-0.7.25.3/doc/apt-get.8.xml
apt-0.7.25.3-patched/doc/apt-get.8.xml
+--- apt-0.7.25.3/doc/apt-get.8.xml 2010-02-01 20:44:41.000000000 +0100
++++ apt-0.7.25.3-patched/doc/apt-get.8.xml 2011-06-07 17:08:38.000000000
+0200
@@ -344,6 +344,19 @@
Configuration Item:
<literal>APT::Get::Fix-Broken</literal>.</para></listitem>
</varlistentry>
@@ -849,9 +869,9 @@
<varlistentry><term><option>-m</option></term><term><option>--ignore-missing</option></term>
<term><option>--fix-missing</option></term>
<listitem><para>Ignore missing packages; If packages cannot be retrieved
or fail the
-diff -Nurd apt-0.7.25.3-orig/doc/examples/apt-https-method-example.conf
apt-0.7.25.3/doc/examples/apt-https-method-example.conf
---- apt-0.7.25.3-orig/doc/examples/apt-https-method-example.conf
2011-05-04 16:24:31.000000000 +0200
-+++ apt-0.7.25.3/doc/examples/apt-https-method-example.conf 2011-05-04
16:24:56.000000000 +0200
+diff -Nurd apt-0.7.25.3/doc/examples/apt-https-method-example.conf
apt-0.7.25.3-patched/doc/examples/apt-https-method-example.conf
+--- apt-0.7.25.3/doc/examples/apt-https-method-example.conf 2010-02-01
20:44:41.000000000 +0100
++++ apt-0.7.25.3-patched/doc/examples/apt-https-method-example.conf
2011-06-07 17:08:38.000000000 +0200
@@ -59,11 +59,15 @@
// server certificate using its cert.
Acquire::https::secure.dom1.tld::CaInfo "/etc/apt/certs/ca-dom1-crt.pem";
@@ -886,9 +906,9 @@
Acquire::https[::repo.domain.tld]::IssuerCert "/path/to/issuer/cert.pem";
-diff -Nurd apt-0.7.25.3-orig/doc/manpage-style.xsl
apt-0.7.25.3/doc/manpage-style.xsl
---- apt-0.7.25.3-orig/doc/manpage-style.xsl 2011-05-04 16:24:31.000000000
+0200
-+++ apt-0.7.25.3/doc/manpage-style.xsl 2011-05-04 16:24:56.000000000 +0200
+diff -Nurd apt-0.7.25.3/doc/manpage-style.xsl
apt-0.7.25.3-patched/doc/manpage-style.xsl
+--- apt-0.7.25.3/doc/manpage-style.xsl 2010-02-01 20:44:41.000000000 +0100
++++ apt-0.7.25.3-patched/doc/manpage-style.xsl 2011-06-07 17:08:38.000000000
+0200
@@ -2,7 +2,7 @@
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
@@ -898,9 +918,9 @@
<xsl:param name="man.output.encoding" select="'UTF-8'" />
-diff -Nurd apt-0.7.25.3-orig/dselect/install apt-0.7.25.3/dselect/install
---- apt-0.7.25.3-orig/dselect/install 2011-05-04 16:24:31.000000000 +0200
-+++ apt-0.7.25.3/dselect/install 2011-05-04 16:24:56.000000000 +0200
+diff -Nurd apt-0.7.25.3/dselect/install apt-0.7.25.3-patched/dselect/install
+--- apt-0.7.25.3/dselect/install 2010-02-01 20:44:41.000000000 +0100
++++ apt-0.7.25.3-patched/dselect/install 2011-06-07 17:08:38.000000000
+0200
@@ -6,8 +6,8 @@
# Get the configuration from /etc/apt/apt.conf
CLEAN="prompt"
@@ -912,9 +932,9 @@
DPKG_OPTS="--admindir=$1"
APT_OPT0="-oDir::State::status=$1/status"
APT_OPT1="-oDPkg::Options::=$DPKG_OPTS"
-diff -Nurd apt-0.7.25.3-orig/dselect/setup apt-0.7.25.3/dselect/setup
---- apt-0.7.25.3-orig/dselect/setup 2011-05-04 16:24:31.000000000 +0200
-+++ apt-0.7.25.3/dselect/setup 2011-05-04 16:24:56.000000000 +0200
+diff -Nurd apt-0.7.25.3/dselect/setup apt-0.7.25.3-patched/dselect/setup
+--- apt-0.7.25.3/dselect/setup 2010-02-01 20:44:41.000000000 +0100
++++ apt-0.7.25.3-patched/dselect/setup 2011-06-07 17:08:38.000000000 +0200
@@ -23,15 +23,20 @@
my $vardir=$ARGV[0];
my $method=$ARGV[1];
@@ -989,9 +1009,9 @@
my $answer = <STDIN>;
chomp ($answer);
$answer =~ s/\s+/ /og;
-diff -Nurd apt-0.7.25.3-orig/dselect/update apt-0.7.25.3/dselect/update
---- apt-0.7.25.3-orig/dselect/update 2011-05-04 16:24:31.000000000 +0200
-+++ apt-0.7.25.3/dselect/update 2011-05-04 16:24:56.000000000 +0200
+diff -Nurd apt-0.7.25.3/dselect/update apt-0.7.25.3-patched/dselect/update
+--- apt-0.7.25.3/dselect/update 2010-02-01 20:44:41.000000000 +0100
++++ apt-0.7.25.3-patched/dselect/update 2011-06-07 17:08:38.000000000
+0200
@@ -7,13 +7,13 @@
# Get the configuration from /etc/apt/apt.conf
CLEAN="prompt"
@@ -1010,9 +1030,9 @@
PROMPT="false"
RES=`apt-config shell CLEAN DSelect::Clean OPTS DSelect::UpdateOptions \
DPKG Dir::Bin::dpkg/f APTGET Dir::Bin::apt-get/f \
-diff -Nurd apt-0.7.25.3-orig/fink/fink_unauthenticated.conf
apt-0.7.25.3/fink/fink_unauthenticated.conf
---- apt-0.7.25.3-orig/fink/fink_unauthenticated.conf 1970-01-01
01:00:00.000000000 +0100
-+++ apt-0.7.25.3/fink/fink_unauthenticated.conf 2011-05-04
16:24:56.000000000 +0200
+diff -Nurd apt-0.7.25.3/fink/fink_unauthenticated.conf
apt-0.7.25.3-patched/fink/fink_unauthenticated.conf
+--- apt-0.7.25.3/fink/fink_unauthenticated.conf 1970-01-01
01:00:00.000000000 +0100
++++ apt-0.7.25.3-patched/fink/fink_unauthenticated.conf 2011-06-07
17:08:38.000000000 +0200
@@ -0,0 +1,9 @@
+# Fink's apt was updated in may 2010. It now features cryptographic signing of
+# packages, but Fink doesn't do this at all yet. In order to have a clean
@@ -1023,9 +1043,9 @@
+ AllowUnauthenticated "true";
+ }
+}
-diff -Nurd apt-0.7.25.3-orig/methods/connect.cc apt-0.7.25.3/methods/connect.cc
---- apt-0.7.25.3-orig/methods/connect.cc 2011-05-04 16:24:31.000000000
+0200
-+++ apt-0.7.25.3/methods/connect.cc 2011-05-04 16:24:56.000000000 +0200
+diff -Nurd apt-0.7.25.3/methods/connect.cc
apt-0.7.25.3-patched/methods/connect.cc
+--- apt-0.7.25.3/methods/connect.cc 2010-02-01 20:44:41.000000000 +0100
++++ apt-0.7.25.3-patched/methods/connect.cc 2011-06-07 17:08:38.000000000
+0200
@@ -107,7 +107,7 @@
// Check the socket for an error condition
@@ -1035,9 +1055,9 @@
if (getsockopt(Fd,SOL_SOCKET,SO_ERROR,&Err,&Len) != 0)
return _error->Errno("getsockopt",_("Failed"));
-diff -Nurd apt-0.7.25.3-orig/methods/ftp.cc apt-0.7.25.3/methods/ftp.cc
---- apt-0.7.25.3-orig/methods/ftp.cc 2011-05-04 16:24:31.000000000 +0200
-+++ apt-0.7.25.3/methods/ftp.cc 2011-05-04 16:24:56.000000000 +0200
+diff -Nurd apt-0.7.25.3/methods/ftp.cc apt-0.7.25.3-patched/methods/ftp.cc
+--- apt-0.7.25.3/methods/ftp.cc 2010-02-01 20:44:41.000000000 +0100
++++ apt-0.7.25.3-patched/methods/ftp.cc 2011-06-07 17:08:38.000000000
+0200
@@ -703,7 +703,7 @@
if (WaitFd(DataFd,true,TimeOut) == false)
return _error->Error(_("Could not connect data socket, connection
timed out"));
@@ -1047,9 +1067,9 @@
if (getsockopt(DataFd,SOL_SOCKET,SO_ERROR,&Err,&Len) != 0)
return _error->Errno("getsockopt",_("Failed"));
if (Err != 0)
-diff -Nurd apt-0.7.25.3-orig/methods/gpgv.cc apt-0.7.25.3/methods/gpgv.cc
---- apt-0.7.25.3-orig/methods/gpgv.cc 2011-05-04 16:24:31.000000000 +0200
-+++ apt-0.7.25.3/methods/gpgv.cc 2011-05-04 16:24:56.000000000 +0200
+diff -Nurd apt-0.7.25.3/methods/gpgv.cc apt-0.7.25.3-patched/methods/gpgv.cc
+--- apt-0.7.25.3/methods/gpgv.cc 2010-02-01 20:44:41.000000000 +0100
++++ apt-0.7.25.3-patched/methods/gpgv.cc 2011-06-07 17:08:38.000000000
+0200
@@ -59,8 +59,8 @@
string const gpgvpath = _config->Find("Dir::Bin::gpg", "/usr/bin/gpgv");
// FIXME: remove support for deprecated APT::GPGV setting
@@ -1061,9 +1081,9 @@
if (Debug == true)
{
std::clog << "gpgv path: " << gpgvpath << std::endl;
-diff -Nurd apt-0.7.25.3-orig/methods/https.cc apt-0.7.25.3/methods/https.cc
---- apt-0.7.25.3-orig/methods/https.cc 2011-05-04 16:24:31.000000000 +0200
-+++ apt-0.7.25.3/methods/https.cc 2011-05-04 16:24:56.000000000 +0200
+diff -Nurd apt-0.7.25.3/methods/https.cc apt-0.7.25.3-patched/methods/https.cc
+--- apt-0.7.25.3/methods/https.cc 2010-02-01 20:44:41.000000000 +0100
++++ apt-0.7.25.3-patched/methods/https.cc 2011-06-07 17:08:38.000000000
+0200
@@ -151,12 +151,14 @@
default_verify = 0;
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, verify);
@@ -1094,9 +1114,9 @@
// cache-control
if(_config->FindB("Acquire::https::No-Cache",
-diff -Nurd apt-0.7.25.3-orig/methods/rfc2553emu.h
apt-0.7.25.3/methods/rfc2553emu.h
---- apt-0.7.25.3-orig/methods/rfc2553emu.h 2011-05-04 16:24:31.000000000
+0200
-+++ apt-0.7.25.3/methods/rfc2553emu.h 2011-05-04 16:24:56.000000000 +0200
+diff -Nurd apt-0.7.25.3/methods/rfc2553emu.h
apt-0.7.25.3-patched/methods/rfc2553emu.h
+--- apt-0.7.25.3/methods/rfc2553emu.h 2010-02-01 20:44:41.000000000 +0100
++++ apt-0.7.25.3-patched/methods/rfc2553emu.h 2011-06-07 17:08:38.000000000
+0200
@@ -26,6 +26,11 @@
#include <sys/types.h>
#include <sys/socket.h>
@@ -1128,9 +1148,9 @@
#define sockaddr_storage sockaddr_in
#endif
-diff -Nurd apt-0.7.25.3-orig/patch_flush apt-0.7.25.3/patch_flush
---- apt-0.7.25.3-orig/patch_flush 1970-01-01 01:00:00.000000000 +0100
-+++ apt-0.7.25.3/patch_flush 2011-05-04 16:24:56.000000000 +0200
+diff -Nurd apt-0.7.25.3/patch_flush apt-0.7.25.3-patched/patch_flush
+--- apt-0.7.25.3/patch_flush 1970-01-01 01:00:00.000000000 +0100
++++ apt-0.7.25.3-patched/patch_flush 2011-06-07 17:08:38.000000000 +0200
@@ -0,0 +1,11 @@
+#!/bin/sh
+set -e
Index: apt.info
===================================================================
RCS file: /cvsroot/fink/experimental/dazjorz/finkinfo/apt.info,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- apt.info 6 Jun 2011 06:12:09 -0000 1.5
+++ apt.info 7 Jun 2011 15:43:39 -0000 1.6
@@ -1,6 +1,6 @@
Package: apt
Version: 0.7.25.3
-Revision: 8
+Revision: 9
GCC: 4.0
BuildDepends: fink (>= 0.24.12), libtool2, docbook-xsl
Depends: %N-inst4-shlibs (= %v-%r), %N-pkg1-shlibs (= %v-%r), dpkg (>=
1.15.5.6-9)
@@ -8,7 +8,7 @@
Source-MD5: ee59a90b91764aefeb5eb0f29d5cab96
SourceDirectory: %n-%v
PatchFile: %n.patch
-PatchFile-MD5: d72468229a31c07e0cd9db16d3fc78c3
+PatchFile-MD5: a6328a695e00f56dd44d9db7c3f5822d
PatchScript: <<
sed -e 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1
sh patch_flush
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs