diff --git a/apt-0.5.15cnc6-alt-defaults.patch b/apt-0.5.15cnc6-alt-defaults.patch deleted file mode 100644 index 70593c9..0000000 --- a/apt-0.5.15cnc6-alt-defaults.patch +++ /dev/null @@ -1,80 +0,0 @@ -diff -upk.orig apt-0.5.15cnc6.orig/apt-pkg/rpm/rpmpackagedata.cc apt-0.5.15cnc6/apt-pkg/rpm/rpmpackagedata.cc ---- apt-0.5.15cnc6.orig/apt-pkg/rpm/rpmpackagedata.cc 2004-03-08 16:44:08 +0000 -+++ apt-0.5.15cnc6/apt-pkg/rpm/rpmpackagedata.cc 2005-05-18 16:07:03 +0000 -@@ -21,7 +21,7 @@ RPMPackageData::RPMPackageData() - #endif - { - // Populate priorities -- string FileName = _config->FindFile("Dir::Etc::rpmpriorities"); -+ string FileName = _config->FindFile("Dir::Etc::pkgpriorities"); - FileFd F(FileName, FileFd::ReadOnly); - if (_error->PendingError()) - { -diff -upk.orig apt-0.5.15cnc6.orig/apt-pkg/rpm/rpmsystem.cc apt-0.5.15cnc6/apt-pkg/rpm/rpmsystem.cc ---- apt-0.5.15cnc6.orig/apt-pkg/rpm/rpmsystem.cc 2005-05-18 16:01:23 +0000 -+++ apt-0.5.15cnc6/apt-pkg/rpm/rpmsystem.cc 2005-05-18 16:07:32 +0000 -@@ -136,13 +136,13 @@ - bool rpmSystem::Initialize(Configuration &Cnf) - { - Cnf.CndSet("Dir::Bin::rpm","/bin/rpm"); -- Cnf.CndSet("Dir::Etc::rpmpriorities", "rpmpriorities"); -+ Cnf.CndSet("Dir::Etc::pkgpriorities", "pkgpriorities"); - Cnf.CndSet("Dir::Etc::translatelist", "translate.list"); - Cnf.CndSet("Dir::Etc::translateparts", "translate.list.d"); - Cnf.CndSet("Dir::State::prefetch", "prefetch"); - Cnf.CndSet("Dir::Locale","/usr/share/locale"); - Cnf.CndSet("Acquire::DistroID","ALT Linux"); // hee hee -- Cnf.CndSet("Acquire::CDROM::Mount", "/mnt/cdrom"); -+ Cnf.CndSet("Acquire::CDROM::Mount", "/media/ALTLinux"); - Cnf.CndSet("Acquire::CDROM::Copy-All", "true"); - - // Compatibility with obsoleted options -@@ -577,7 +577,7 @@ - HashOptionTree(Hash, "RPM::Allow-Duplicated"); - HashOptionTree(Hash, "RPM::MultiArch"); - HashOptionTree(Hash, "RPM::Ignore"); -- HashOptionFile(Hash, "Dir::Etc::rpmpriorities"); -+ HashOptionFile(Hash, "Dir::Etc::pkgpriorities"); - HashEnv(Hash, "LANG"); - HashEnv(Hash, "LC_ALL"); - HashEnv(Hash, "LC_MESSAGES"); -diff -upk.orig apt-0.5.15cnc6.orig/buildlib/archtable apt-0.5.15cnc6/buildlib/archtable ---- apt-0.5.15cnc6.orig/buildlib/archtable 2003-04-14 17:15:31 +0000 -+++ apt-0.5.15cnc6/buildlib/archtable 2005-05-18 16:07:03 +0000 -@@ -5,8 +5,10 @@ - - # The left side is a regex for awk - --i.86 i386 --pentium i386 -+i[34]86 i386 -+i.86 i586 -+pentium.* i586 -+athlon i586 - sparc sparc - sparc64 sparc - alpha.* alpha -diff -upk.orig apt-0.5.15lorg2.orig/cmdline/apt-get.cc apt-0.5.15lorg2/cmdline/apt-get.cc ---- apt-0.5.15lorg2.orig/cmdline/apt-get.cc 2006-01-17 18:41:29 +0000 -+++ apt-0.5.15lorg2/cmdline/apt-get.cc 2006-04-01 16:26:19 +0000 -@@ -1752,7 +1752,7 @@ bool DoUpdate(CommandLine &CmdL) - #endif - - // CNC:2004-04-19 -- if (Failed == false && _config->FindB("APT::Get::Archive-Cleanup",true) == true) -+ if (Failed == false && _config->FindB("APT::Get::Archive-Cleanup",false) == true) - { - UpdateLogCleaner Cleaner; - Cleaner.Go(_config->FindDir("Dir::Cache::archives"), *Cache); -diff -upk.orig apt-0.5.15lorg2.orig/cmdline/apt-shell.cc apt-0.5.15lorg2/cmdline/apt-shell.cc ---- apt-0.5.15lorg2.orig/cmdline/apt-shell.cc 2006-01-16 23:10:47 +0000 -+++ apt-0.5.15lorg2/cmdline/apt-shell.cc 2006-04-01 16:26:29 +0000 -@@ -1812,7 +1812,7 @@ bool DoUpdate(CommandLine &CmdL) - #endif - - // CNC:2004-04-19 -- if (Failed == false && _config->FindB("APT::Get::Archive-Cleanup",true) == true) -+ if (Failed == false && _config->FindB("APT::Get::Archive-Cleanup",false) == true) - { - UpdateLogCleaner Cleaner; - Cleaner.Go(_config->FindDir("Dir::Cache::archives"), *GCache); diff --git a/apt/apt-pkg/rpm/rpmpackagedata.cc b/apt/apt-pkg/rpm/rpmpackagedata.cc index 718a16b..b0943f0 100644 --- a/apt/apt-pkg/rpm/rpmpackagedata.cc +++ b/apt/apt-pkg/rpm/rpmpackagedata.cc @@ -39,7 +39,7 @@ RPMPackageData::RPMPackageData() } // Populate priorities - string FileName = _config->FindFile("Dir::Etc::rpmpriorities"); + string FileName = _config->FindFile("Dir::Etc::pkgpriorities"); FileFd F(FileName, FileFd::ReadOnly); if (_error->PendingError()) { diff --git a/apt/apt-pkg/rpm/rpmsystem.cc b/apt/apt-pkg/rpm/rpmsystem.cc index 5a8179f..2c08839 100644 --- a/apt/apt-pkg/rpm/rpmsystem.cc +++ b/apt/apt-pkg/rpm/rpmsystem.cc @@ -136,13 +136,13 @@ pkgPackageManager *rpmSystem::CreatePM(pkgDepCache *Cache) const bool rpmSystem::Initialize(Configuration &Cnf) { Cnf.CndSet("Dir::Bin::rpm","/bin/rpm"); - Cnf.CndSet("Dir::Etc::rpmpriorities", "rpmpriorities"); + Cnf.CndSet("Dir::Etc::pkgpriorities", "pkgpriorities"); Cnf.CndSet("Dir::Etc::translatelist", "translate.list"); Cnf.CndSet("Dir::Etc::translateparts", "translate.list.d"); Cnf.CndSet("Dir::State::prefetch", "prefetch"); Cnf.CndSet("Dir::Locale","/usr/share/locale"); Cnf.CndSet("Acquire::DistroID","ALT Linux"); // hee hee - Cnf.CndSet("Acquire::CDROM::Mount", "/mnt/cdrom"); + Cnf.CndSet("Acquire::CDROM::Mount", "/media/ALTLinux"); Cnf.CndSet("Acquire::CDROM::Copy-All", "true"); // Compatibility with obsoleted options @@ -596,7 +596,7 @@ unsigned long rpmSystem::OptionsHash() const HashOptionTree(Hash, "RPM::Allow-Duplicated"); HashOptionTree(Hash, "RPM::MultiArch"); HashOptionTree(Hash, "RPM::Ignore"); - HashOptionFile(Hash, "Dir::Etc::rpmpriorities"); + HashOptionFile(Hash, "Dir::Etc::pkgpriorities"); HashEnv(Hash, "LANG"); HashEnv(Hash, "LC_ALL"); HashEnv(Hash, "LC_MESSAGES"); diff --git a/apt/buildlib/archtable b/apt/buildlib/archtable index 810f444..7423e58 100644 --- a/apt/buildlib/archtable +++ b/apt/buildlib/archtable @@ -5,8 +5,10 @@ # The left side is a regex for awk -i.86 i386 -pentium i386 +i[34]86 i386 +i.86 i586 +pentium.* i586 +athlon i586 sparc sparc sparc64 sparc alpha.* alpha diff --git a/apt/cmdline/apt-get.cc b/apt/cmdline/apt-get.cc index 80a4d42..460f959 100644 --- a/apt/cmdline/apt-get.cc +++ b/apt/cmdline/apt-get.cc @@ -1755,7 +1755,7 @@ bool DoUpdate(CommandLine &CmdL) #endif // CNC:2004-04-19 - if (Failed == false && _config->FindB("APT::Get::Archive-Cleanup",true) == true) + if (Failed == false && _config->FindB("APT::Get::Archive-Cleanup",false) == true) { UpdateLogCleaner Cleaner; Cleaner.Go(_config->FindDir("Dir::Cache::archives"), *Cache); diff --git a/apt/cmdline/apt-shell.cc b/apt/cmdline/apt-shell.cc index 6b39803..cfdff8b 100644 --- a/apt/cmdline/apt-shell.cc +++ b/apt/cmdline/apt-shell.cc @@ -1809,7 +1809,7 @@ bool DoUpdate(CommandLine &CmdL) #endif // CNC:2004-04-19 - if (Failed == false && _config->FindB("APT::Get::Archive-Cleanup",true) == true) + if (Failed == false && _config->FindB("APT::Get::Archive-Cleanup",false) == true) { UpdateLogCleaner Cleaner; Cleaner.Go(_config->FindDir("Dir::Cache::archives"), *GCache);