[dpkg] 141/192: debian: Split alternatives logrotate into its own configuration file
Ximin Luo
infinity0 at debian.org
Tue Oct 17 11:04:11 UTC 2017
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch pu/reproducible_builds
in repository dpkg.
commit 72182989948d4bc9711174741c22b0fc66c348f1
Author: Guillem Jover <guillem at debian.org>
Date: Sun Sep 24 18:11:05 2017 +0200
debian: Split alternatives logrotate into its own configuration file
This should help some downstreams and derivatives which package
update-alternatives on its own package, for example.
---
Makefile.am | 1 +
debian/changelog | 2 ++
debian/{dpkg.logrotate => dpkg.alternatives.logrotate} | 9 ---------
debian/dpkg.logrotate | 9 ---------
debian/rules | 1 +
5 files changed, 4 insertions(+), 18 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index b380b02..46a35cb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -51,6 +51,7 @@ EXTRA_DIST = \
debian/dpkg-dev.install \
debian/dpkg-dev.manpages \
debian/dpkg-dev.lintian-overrides \
+ debian/dpkg.alternatives.logrotate \
debian/dpkg.cfg \
debian/dpkg.cron.daily \
debian/dpkg.docs \
diff --git a/debian/changelog b/debian/changelog
index 098b3cd..766dbd0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -125,6 +125,8 @@ dpkg (1.19.0) UNRELEASED; urgency=medium
- Do not set redundant source compression to xz.
- Bump Standards-Version to 4.1.0 (no changes needed).
- Switch to debhelper compatibility level 10.
+ - Split alternatives logrotate into its own configuration file to help
+ downstreams and derivatives.
* Test suite:
- Enable perlcritic Documentation::RequirePodSections and
Miscellanea::ProhibitTies.
diff --git a/debian/dpkg.logrotate b/debian/dpkg.alternatives.logrotate
similarity index 51%
copy from debian/dpkg.logrotate
copy to debian/dpkg.alternatives.logrotate
index b071698..41c8a9c 100644
--- a/debian/dpkg.logrotate
+++ b/debian/dpkg.alternatives.logrotate
@@ -1,12 +1,3 @@
-/var/log/dpkg.log {
- monthly
- rotate 12
- compress
- delaycompress
- missingok
- notifempty
- create 644 root root
-}
/var/log/alternatives.log {
monthly
rotate 12
diff --git a/debian/dpkg.logrotate b/debian/dpkg.logrotate
index b071698..cf36f08 100644
--- a/debian/dpkg.logrotate
+++ b/debian/dpkg.logrotate
@@ -7,12 +7,3 @@
notifempty
create 644 root root
}
-/var/log/alternatives.log {
- monthly
- rotate 12
- compress
- delaycompress
- missingok
- notifempty
- create 644 root root
-}
diff --git a/debian/rules b/debian/rules
index 6e0115e..ea0c762 100755
--- a/debian/rules
+++ b/debian/rules
@@ -110,6 +110,7 @@ binary-arch: install
dh_install -a
dh_installcron -a
dh_installlogrotate -a
+ dh_installlogrotate -a --name=alternatives
dh_installchangelogs -a ChangeLog*
dh_installdocs -a
$(call dpkg-installmanl10n,dpkg)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/dpkg.git
More information about the Reproducible-commits
mailing list