From c1cde32ed651337684f52f9aee6eead01b70d352 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Wed, 15 Sep 2010 13:24:51 +0200 Subject: * debian/apt.cron.daily: - handle absolut directory paths correctly by loading directories directly instead of building the paths on our own (Closes: #596421) --- debian/apt.cron.daily | 43 +++++++++++++++---------------------------- debian/changelog | 5 ++++- 2 files changed, 19 insertions(+), 29 deletions(-) (limited to 'debian') diff --git a/debian/apt.cron.daily b/debian/apt.cron.daily index 8c0e4c416..8ace14a31 100644 --- a/debian/apt.cron.daily +++ b/debian/apt.cron.daily @@ -11,7 +11,7 @@ # Dir::Cache "var/apt/cache/"; # - Set apt package cache directory # -# Dir::Cache::Archive "archives/"; +# Dir::Cache::Archives "archives/"; # - Set package archive directory # # APT::Periodic::Enable "1"; @@ -147,21 +147,14 @@ check_size_constraints() eval $(apt-config shell MaxSize APT::Archives::MaxSize) eval $(apt-config shell MaxSize APT::Periodic::MaxSize) - CacheDir="var/cache/apt/" - eval $(apt-config shell CacheDir Dir::Cache) - CacheDir=${CacheDir%/} - - CacheArchive="archives/" - eval $(apt-config shell CacheArchive Dir::Cache::archives) - CacheArchive=${CacheArchive%/} + Cache="/var/cache/apt/archives/" + eval $(apt-config shell Cache Dir::Cache::archives/d) # sanity check - if [ -z "$CacheDir" -o -z "$CacheArchive" ]; then - echo "empty Dir::Cache or Dir::Cache::archives, exiting" + if [ -z "$Cache" ]; then + echo "empty Dir::Cache::archives, exiting" exit fi - - Cache="${Dir%/}/${CacheDir%/}/${CacheArchive%/}/" # check age if [ ! $MaxAge -eq 0 ] && [ ! $MinAge -eq 0 ]; then @@ -225,22 +218,17 @@ do_cache_backup() fi # Set default values and normalize - Dir="/" - eval $(apt-config shell Dir Dir) - Dir=${Dir%/} - - CacheDir="var/cache/apt/" - eval $(apt-config shell CacheDir Dir::Cache) + CacheDir="/var/cache/apt" + eval $(apt-config shell CacheDir Dir::Cache/d) CacheDir=${CacheDir%/} if [ -z "$CacheDir" ]; then debug_echo "practically empty Dir::Cache, exiting" return 0 fi - CacheArchive="archives/" - eval $(apt-config shell CacheArchive Dir::Cache::Archives) - CacheArchive=${CacheArchive%/} - if [ -z "$CacheArchive" ]; then + Cache="${CacheDir}/archives/" + eval $(apt-config shell Cache Dir::Cache::Archives/d) + if [ -z "$Cache" ]; then debug_echo "practically empty Dir::Cache::archives, exiting" return 0 fi @@ -251,16 +239,15 @@ do_cache_backup() BackupLevel=2 ; fi - CacheBackup="backup/" - eval $(apt-config shell CacheBackup Dir::Cache::Backup) - CacheBackup=${CacheBackup%/} - if [ -z "$CacheBackup" ]; then + Back="${CacheDir}/backup/" + eval $(apt-config shell Back Dir::Cache::Backup/d) + if [ -z "$Back" ]; then echo "practically empty Dir::Cache::Backup, exiting" 1>&2 return fi - Cache="${Dir}/${CacheDir}/${CacheArchive}/" - Back="${Dir}/${CacheDir}/${CacheBackup}/" + CacheArchive="$(basename "${Cache}")" + test -n "${CacheArchive}" || CacheArchive="archives" BackX="${Back}${CacheArchive}/" for x in $(seq 0 1 $((${BackupLevel}-1))); do eval "Back${x}=${Back}${x}/" diff --git a/debian/changelog b/debian/changelog index 174a263a9..bc862870b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,8 +6,11 @@ apt (0.8.5) UNRELEASED; urgency=low as requested by the backports crew (Closes: #596097) * apt-pkg/deb/deblistparser.cc: - overrule NotAutomatic in case of ButAutomaticUpgrades + * debian/apt.cron.daily: + - handle absolut directory paths correctly by loading directories + directly instead of building the paths on our own (Closes: #596421) - -- David Kalnischkies Tue, 14 Sep 2010 18:56:23 +0200 + -- David Kalnischkies Wed, 15 Sep 2010 13:24:16 +0200 apt (0.8.4) unstable; urgency=low -- cgit v1.2.3 From 6422a70461fe89041d6112fed831b1c07cd45a3f Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Fri, 17 Sep 2010 09:55:12 +0200 Subject: * debian/control: - build-depend on docbook-xml to ensure that the xml DTDs are always available on the buildds (Closes: #597145) --- debian/changelog | 5 ++++- debian/control | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index bc862870b..7e70d16db 100644 --- a/debian/changelog +++ b/debian/changelog @@ -9,8 +9,11 @@ apt (0.8.5) UNRELEASED; urgency=low * debian/apt.cron.daily: - handle absolut directory paths correctly by loading directories directly instead of building the paths on our own (Closes: #596421) + * debian/control: + - build-depend on docbook-xml to ensure that the xml DTDs are always + available on the buildds (Closes: #597145) - -- David Kalnischkies Wed, 15 Sep 2010 13:24:16 +0200 + -- David Kalnischkies Fri, 17 Sep 2010 09:53:04 +0200 apt (0.8.4) unstable; urgency=low diff --git a/debian/control b/debian/control index f03b96f67..87e885f6a 100644 --- a/debian/control +++ b/debian/control @@ -6,7 +6,7 @@ Uploaders: Michael Vogt , Otavio Salvador , Christian Perrier , Daniel Burrows , Luca Bruno , Julian Andres Klode Standards-Version: 3.9.0 -Build-Depends: debhelper (>= 5.0), libdb-dev, gettext (>= 0.12), libcurl4-gnutls-dev (>= 7.19.0), zlib1g-dev | libz-dev, debiandoc-sgml, xsltproc, docbook-xsl, po4a (>= 0.34-2), autotools-dev, autoconf, automake, doxygen +Build-Depends: debhelper (>= 5.0), libdb-dev, gettext (>= 0.12), libcurl4-gnutls-dev (>= 7.19.0), zlib1g-dev | libz-dev, debiandoc-sgml, xsltproc, docbook-xsl, docbook-xml, po4a (>= 0.34-2), autotools-dev, autoconf, automake, doxygen Build-Conflicts: autoconf2.13, automake1.4 Vcs-Bzr: http://bzr.debian.org/apt/debian-sid/ -- cgit v1.2.3 From b6d189cab739eb23fc8d86c051b4081d52705ab0 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Fri, 17 Sep 2010 10:02:38 +0200 Subject: * buildlib/debiandoc.mak, buildlib/po4a_manpage.mak: - ensure that the build fails if documentation building fails --- debian/changelog | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 7e70d16db..75ac29a71 100644 --- a/debian/changelog +++ b/debian/changelog @@ -12,8 +12,10 @@ apt (0.8.5) UNRELEASED; urgency=low * debian/control: - build-depend on docbook-xml to ensure that the xml DTDs are always available on the buildds (Closes: #597145) + * buildlib/debiandoc.mak, buildlib/po4a_manpage.mak: + - ensure that the build fails if documentation building fails - -- David Kalnischkies Fri, 17 Sep 2010 09:53:04 +0200 + -- David Kalnischkies Fri, 17 Sep 2010 10:01:45 +0200 apt (0.8.4) unstable; urgency=low -- cgit v1.2.3 From 481f7e8ce289e8563e4516e204fc582c17c3ce58 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Fri, 17 Sep 2010 10:07:24 +0200 Subject: * doc/po/fr.po: - correct two syntax issues to ensure we can build fine --- debian/changelog | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 75ac29a71..cc2c601e6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -14,8 +14,10 @@ apt (0.8.5) UNRELEASED; urgency=low available on the buildds (Closes: #597145) * buildlib/debiandoc.mak, buildlib/po4a_manpage.mak: - ensure that the build fails if documentation building fails + * doc/po/fr.po: + - correct two syntax issues to ensure we can build fine - -- David Kalnischkies Fri, 17 Sep 2010 10:01:45 +0200 + -- David Kalnischkies Fri, 17 Sep 2010 10:04:35 +0200 apt (0.8.4) unstable; urgency=low -- cgit v1.2.3 From 9ef21af3d8325ef6889fdf9f015b497a71c9f845 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Fri, 17 Sep 2010 10:32:37 +0200 Subject: German manpage translation (Chris Leick). Closes: #597163 --- debian/changelog | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index cc2c601e6..573cab419 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,8 @@ apt (0.8.5) UNRELEASED; urgency=low + [ Manpages translations ] + * German (Chris Leick). Closes: #597163 + [ David Kalnischkies ] * apt-pkg/policy.cc: - support 100-pinning in Release file with ButAutomaticUpgrades @@ -17,7 +20,7 @@ apt (0.8.5) UNRELEASED; urgency=low * doc/po/fr.po: - correct two syntax issues to ensure we can build fine - -- David Kalnischkies Fri, 17 Sep 2010 10:04:35 +0200 + -- David Kalnischkies Fri, 17 Sep 2010 10:26:17 +0200 apt (0.8.4) unstable; urgency=low -- cgit v1.2.3