[debian-edu-commits] debian-edu/ 06/07: Include md5sums for package files in package.

Mike Gabriel sunweaver at debian.org
Thu Feb 27 08:39:42 UTC 2014


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

sunweaver pushed a commit to branch master
in repository debian-edu-archive-keyring.

commit 69da98ca8fa99b3fd979986b0f248e3b7052dd6f
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Thu Feb 27 09:32:02 2014 +0100

    Include md5sums for package files in package.
---
 debian/changelog | 1 +
 debian/rules     | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 8a0d052..fa0e4a9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -13,6 +13,7 @@ debian-edu-archive-keyring (2013.07.13) UNRELEASED; urgency=low
   * debian/source/format:
     + Add file. Source format is 1.0 (for compatibility with
       dak instance running on ftp.skolelinux.org).
+  * Include md5sums for package files in package.
 
  -- Holger Levsen <holger at debian.org>  Sat, 13 Jul 2013 10:57:27 +0200
 
diff --git a/debian/rules b/debian/rules
index 364b6ac..eb8a429 100755
--- a/debian/rules
+++ b/debian/rules
@@ -44,6 +44,8 @@ binary-indep: checkroot
 	gzip -9v debian/tmp/usr/share/doc/debian-edu-archive-keyring/*
 	$(install_file) debian/copyright debian/tmp/usr/share/doc/debian-edu-archive-keyring/
 
+	cd debian/tmp && find -type f | egrep -v "^./DEBIAN/.*" | LC_ALL=C sort -z | while read file; do md5sum "$$file" | sed 's@ ./@ @'; done 1> DEBIAN/md5sums; cd - 1>/dev/null
+
 	dpkg-gencontrol -pdebian-edu-archive-keyring -isp
 	chown -R root.root debian/tmp
 	chmod -R go=rX debian/tmp
@@ -62,6 +64,7 @@ binary-indep: checkroot
 	dpkg-distaddfile debian-edu-archive-keyring-udeb_$(VERSION)_all.udeb debian-installer optional
 	chown -R root.root debian/debian-edu-archive-keyring-udeb
 	chmod -R go=rX debian/debian-edu-archive-keyring-udeb
+
 	dpkg --build debian/debian-edu-archive-keyring-udeb ../debian-edu-archive-keyring-udeb_$(VERSION)_all.udeb
 
 binary-arch:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-edu/debian-edu-archive-keyring.git



More information about the debian-edu-commits mailing list