Репозитории ALT
S: | 0.5.15lorg2-alt86 |
5.1: | 0.5.15lorg2-alt33.M50P.1 |
4.1: | 0.5.15lorg2-alt20.M41.1 |
4.0: | 0.5.15lorg2-alt18.M40.1 |
+updates: | 0.5.15lorg2-alt18 |
3.0: | 0.5.15cnc6-alt16 |
Группа :: Система/Настройка/Пакеты
Пакет: apt
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: apt-0.5.15cnc6-alt-defaults.patch
Скачать
Скачать
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
@@ -129,13 +129,13 @@ pkgPackageManager *rpmSystem::CreatePM(p
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/cdrom");
Cnf.CndSet("Acquire::CDROM::Copy-All", "true");
// Compatibility with obsoleted options
@@ -530,7 +530,7 @@ unsigned long rpmSystem::OptionsHash() c
HashOption(Hash, "RPM::Architecture");
HashOptionTree(Hash, "RPM::Allow-Duplicated");
HashOptionTree(Hash, "RPM::Ignore");
- HashOptionFile(Hash, "Dir::Etc::rpmpriorities");
+ HashOptionFile(Hash, "Dir::Etc::pkgpriorities");
return Hash;
}
/*}}}*/
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