Package: release.debian.org
Severity: normal
Tags: jessie
User: release.debian....@packages.debian.org
Usertags: pu
Dear release team:
I'd like to see Bugs #774347 and #835516 fixed in jessie.
(This is the bug that makes /bin to be 775, not 755, on new installs).
(Well, maybe not the only one, but the one happening on a required package).
The debdiff would be the attached one, which I've initially extracted from
the jessie branch in git (as indicated by the maintainer in Bug #835516),
and then cleaned up a little bit to be free from artifacts.
I have the ok from the maintainer here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=835516#89
so this would be more a "sponsored upload" than a NMU.
Thanks.
diff -Nru sed-4.2.2/debian/changelog sed-4.2.2/debian/changelog
--- sed-4.2.2/debian/changelog 2014-02-09 17:41:05.000000000 +0000
+++ sed-4.2.2/debian/changelog 2016-09-12 13:50:16.000000000 +0100
@@ -1,3 +1,11 @@
+sed (4.2.2-4+deb8u1) stable; urgency=medium
+
+ [ Jérémy Bobbio ]
+ * Ensure consistent permissions with different umasks.
+ closes: #774347, #835516.
+
+ -- Clint Adams <cl...@debian.org> Fri, 09 Sep 2016 18:07:57 -0400
+
sed (4.2.2-4) unstable; urgency=medium
* Add Samuel Thibault's backport of upstream patch to define
diff -Nru sed-4.2.2/debian/rules sed-4.2.2/debian/rules
--- sed-4.2.2/debian/rules 2013-12-14 04:38:32.000000000 +0000
+++ sed-4.2.2/debian/rules 2016-09-12 13:50:16.000000000 +0100
@@ -107,6 +107,8 @@
cd debian/tmp && find * -type f ! -regex '^DEBIAN/.*' -print0 | xargs
-r0 md5sum > DEBIAN/md5sums
# Build the packgae
+ find $(tmpdir) ! -type l -print0 | xargs -0r chmod go=rX,u+rw,a-s
+
dpkg-shlibdeps -dPre-Depends $(tmpdir)/bin/sed
dpkg-gencontrol -isp
dpkg --build debian/tmp ..