diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2007-07-19 11:21:20 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2007-07-19 11:21:20 +0100 |
commit | b30aa0ec229b851b25ea07c758283f502a3f2cba (patch) | |
tree | a4a96c1f83f177d19df83a49da9cb56c51041d6b | |
parent | 66f5cecdadbaff7b414eaa0bd446136d3184f043 (diff) | |
parent | b574dd1fac99ba71b1d0adf0aa164100fcf0cb91 (diff) |
merge logrotate support
-rw-r--r-- | debian/apt.dirs | 1 | ||||
-rw-r--r-- | debian/apt.logrotate | 8 | ||||
-rwxr-xr-x | debian/rules | 1 |
3 files changed, 10 insertions, 0 deletions
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..3e8b2d35a 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/logrotate.d/apt cp share/debian-archive.gpg debian/$@/usr/share/$@ cp debian/apt.conf.autoremove debian/$@/etc/apt/apt.conf.d/01autoremove |