[debsums] 17/184: Added cron job to run debsums, added ignore file, updated rules to install these.

Axel Beckert abe at deuxchevaux.org
Mon Mar 2 21:21:14 UTC 2015


This is an automated email from the git hooks/post-receive script.

abe pushed a commit to branch master
in repository debsums.

commit e308d955989099328eefea2fea2caf564cb52419
Author: Mike Forbes <mike at nothing.net.nz>
Date:   Mon Jul 7 13:09:28 2008 +1200

    Added cron job to run debsums, added ignore file, updated rules to install these.
---
 debian/rules   | 5 +++--
 debsums-ignore | 5 +++++
 debsums-update | 1 +
 3 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 3691992..06d1eee 100755
--- a/debian/rules
+++ b/debian/rules
@@ -21,13 +21,14 @@ binary-indep:
 	dh_testroot
 	dh_clean -k
 
-	mkdir -p $(tmp)/usr/bin $(tmp)/usr/sbin
+	mkdir -p $(tmp)/usr/bin $(tmp)/usr/sbin $(tmp)/etc $(tmp)/etc/cron.d
 	sed 's/#VERSION#/$(version)/' debsums.in >$(tmp)/usr/bin/debsums
 	cp debsums_gen debsums_init $(tmp)/usr/sbin
 	cp rdebsums $(tmp)/usr/bin
 	chmod 755 $(tmp)/usr/bin/debsums $(tmp)/usr/sbin/debsums_gen \
 	    $(tmp)/usr/sbin/debsums_init $(tmp)/usr/bin/rdebsums
-
+	cp debsums-update $(tmp)/etc/cron.d
+	cp debsums-ignore $(tmp)/etc
 	dh_installdocs README
 	cd man && po4a --rm-backups po4a.cfg
 	dh_installman `find man -type f -name '*.[18]'`
diff --git a/debsums-ignore b/debsums-ignore
new file mode 100644
index 0000000..b372ccf
--- /dev/null
+++ b/debsums-ignore
@@ -0,0 +1,5 @@
+  ^/usr/bin/module-assistant$
+  ^/usr/share/misc/pci.ids$
+  ^/var/lib/usbutils/usb.ids$
+  ^/usr/share/vim/vim71/doc/help.txt.vim-tiny$
+  ^/usr/share/vim/vim71/doc/tags.vim-tiny$
diff --git a/debsums-update b/debsums-update
new file mode 100644
index 0000000..227a4ea
--- /dev/null
+++ b/debsums-update
@@ -0,0 +1 @@
+  0 5 * * 1-5   root    /usr/bin/debsums -cs | egrep -v "`cat /etc/debsums-ignore`"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/debsums.git



More information about the Pkg-perl-cvs-commits mailing list