Control: reopen -1

Hi!

> Changes:
>  sed (4.2.2-5) unstable; urgency=medium
>  .
>    [ Jérémy Bobbio ]
>    * Fix mtimes before building binary packages.  closes: #774347.
>    * Stop recording current time when using gzip.

Sorry Clint. This is not enough as we've introduced umask variations.
The attached patch should make it right.

(and there's a little bonus)

-- 
Lunar                                .''`. 
lu...@debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   
From 5649d56def2a68c074f6319eff5f45059935132f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Bobbio?= <lu...@debian.org>
Date: Mon, 4 May 2015 10:12:04 +0200
Subject: [PATCH 1/2] Fix comment typo in debian/rules

---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index f5f777a..52284d0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -108,7 +108,7 @@ endif
 
 	cd debian/tmp && find * -type f ! -regex '^DEBIAN/.*' -print0 | xargs -r0 md5sum > DEBIAN/md5sums
 
-# Build the packgae
+# Build the package
 	dpkg-shlibdeps -dPre-Depends $(tmpdir)/bin/sed
 	dpkg-gencontrol -isp
 	find debian/tmp -depth -newermt '$(BUILD_DATE)' -print0 | \
-- 
1.9.1

From c460ef042467cdac173794c7bd798f870642a019 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Bobbio?= <lu...@debian.org>
Date: Mon, 4 May 2015 10:13:52 +0200
Subject: [PATCH 2/2] Ensure consistent permissions with different umasks

---
 debian/rules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/rules b/debian/rules
index 52284d0..1fdb5c6 100755
--- a/debian/rules
+++ b/debian/rules
@@ -109,6 +109,8 @@ endif
 	cd debian/tmp && find * -type f ! -regex '^DEBIAN/.*' -print0 | xargs -r0 md5sum > DEBIAN/md5sums
 
 # Build the package
+	find $(tmpdir) ! -type l -print0 | xargs -0r chmod go=rX,u+rw,a-s
+
 	dpkg-shlibdeps -dPre-Depends $(tmpdir)/bin/sed
 	dpkg-gencontrol -isp
 	find debian/tmp -depth -newermt '$(BUILD_DATE)' -print0 | \
-- 
1.9.1

Attachment: signature.asc
Description: Digital signature

Reply via email to