From ff56e98015b17c73a3f1aacf3deef5ec4ef4e21b Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Thu, 19 Jul 2007 10:37:05 +0100 Subject: apt-pkg/deb/dpkgpm.{cc,h} - a bit cleanup - move the log date to the right place - write log to dir::log::name apt-pkg/init.cc: - init dir::log::name "/var/log/apt/term.log" debian/apt.dirs: - create /var/log/apt/ doc/examples/configure-index: - add new dir::log::name to the index --- debian/apt.dirs | 1 + 1 file changed, 1 insertion(+) (limited to 'debian') diff --git a/debian/apt.dirs b/debian/apt.dirs index 1543e8bb1..26bb0683c 100644 --- a/debian/apt.dirs +++ b/debian/apt.dirs @@ -7,4 +7,5 @@ etc/apt/sources.list.d var/cache/apt/archives/partial var/lib/apt/lists/partial var/lib/apt/periodic +var/log/apt usr/share/bug/apt -- cgit v1.2.3 From b574dd1fac99ba71b1d0adf0aa164100fcf0cb91 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Thu, 19 Jul 2007 10:46:47 +0100 Subject: add logrotate support --- debian/apt.dirs | 1 + debian/apt.logrotate | 8 ++++++++ debian/rules | 1 + 3 files changed, 10 insertions(+) create mode 100644 debian/apt.logrotate (limited to 'debian') diff --git a/debian/apt.dirs b/debian/apt.dirs index 26bb0683c..8ce9b175a 100644 --- a/debian/apt.dirs +++ b/debian/apt.dirs @@ -4,6 +4,7 @@ usr/lib/dpkg/methods/apt etc/apt etc/apt/apt.conf.d etc/apt/sources.list.d +etc/logrotate.d var/cache/apt/archives/partial var/lib/apt/lists/partial var/lib/apt/periodic diff --git a/debian/apt.logrotate b/debian/apt.logrotate new file mode 100644 index 000000000..3e924d383 --- /dev/null +++ b/debian/apt.logrotate @@ -0,0 +1,8 @@ +/var/log/apt/term.log { + rotate 6 + monthly + compress + missingok + notifempty +} + diff --git a/debian/rules b/debian/rules index 3ebecfba4..dfee44fde 100755 --- a/debian/rules +++ b/debian/rules @@ -209,6 +209,7 @@ apt: build debian/shlibs.local cp -r $(BLD)/locale debian/$@/usr/share/ cp debian/bugscript debian/$@/usr/share/bug/apt/script + cp debian/apt.logrotate debian/$@/etc/logrorate.d/apt cp share/debian-archive.gpg debian/$@/usr/share/$@ cp debian/apt.conf.autoremove debian/$@/etc/apt/apt.conf.d/01autoremove -- cgit v1.2.3 From 57539d9e0512081f18267d125d9d1257b238e7c9 Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Thu, 2 Aug 2007 11:56:54 +0200 Subject: * apt-inst/contrib/extracttar.cc: - fix fd leak for zero size files --- debian/changelog | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index 873df1693..d7f844f5c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +apt (0.7.7) UNRELEASED; urgency=low + + * apt-inst/contrib/extracttar.cc: + - fix fd leak for zero size files + + -- Michael Vogt Thu, 02 Aug 2007 11:55:54 +0200 + apt (0.7.6) unstable; urgency=low * Applied patch from Aurelien Jarno to fix wrong -- cgit v1.2.3 From a1e9299a9485a219f3a1e3736b1cec21aa24577f Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Fri, 3 Aug 2007 00:56:57 +0200 Subject: debian/changelog: updated credits --- debian/changelog | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'debian') diff --git a/debian/changelog b/debian/changelog index d7f844f5c..75db9cc72 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,7 +1,8 @@ apt (0.7.7) UNRELEASED; urgency=low * apt-inst/contrib/extracttar.cc: - - fix fd leak for zero size files + - fix fd leak for zero size files (thanks to Bill Broadley for + reporting this bug) -- Michael Vogt Thu, 02 Aug 2007 11:55:54 +0200 -- cgit v1.2.3