[debrepatch] 01/01: patches: add glibc as incomplete, mark bash as incomplete

Ximin Luo infinity0 at debian.org
Fri Dec 9 10:52:33 UTC 2016


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

infinity0 pushed a commit to branch master
in repository debrepatch.

commit 54d1369068fa1e675b7bac7b10e0d8cc7ad02b77
Author: Ximin Luo <infinity0 at debian.org>
Date:   Fri Dec 9 11:52:10 2016 +0100

    patches: add glibc as incomplete, mark bash as incomplete
---
 ...h_806945.patch => bash_806945_incomplete.patch} |  0
 patches/glibc_783210_incomplete.patch              | 62 ++++++++++++++++++++++
 2 files changed, 62 insertions(+)

diff --git a/patches/bash_806945.patch b/patches/bash_806945_incomplete.patch
similarity index 100%
rename from patches/bash_806945.patch
rename to patches/bash_806945_incomplete.patch
diff --git a/patches/glibc_783210_incomplete.patch b/patches/glibc_783210_incomplete.patch
new file mode 100644
index 0000000..40d379f
--- /dev/null
+++ b/patches/glibc_783210_incomplete.patch
@@ -0,0 +1,62 @@
+diff -Nru glibc-2.24/debian/changelog glibc-2.24/debian/changelog
+--- glibc-2.24/debian/changelog	2016-11-25 22:09:39.000000000 +0000
++++ glibc-2.24/debian/changelog	2016-11-15 18:03:37.000000000 +0000
+@@ -1,3 +1,10 @@
++glibc (2.24-7.1) UNRELEASED; urgency=medium
++
++  * Non-maintainer upload.
++  * Try for reproducibility.
++
++ -- Ximin Luo <infinity0 at profitbricks-build17-amd64>  Tue, 15 Nov 2016 18:03:37 +0000
++
+ glibc (2.24-7) unstable; urgency=medium
+ 
+   [ Samuel Thibault ]
+diff -Nru glibc-2.24/debian/rules glibc-2.24/debian/rules
+--- glibc-2.24/debian/rules	2016-11-25 21:59:04.000000000 +0000
++++ glibc-2.24/debian/rules	2016-11-15 18:03:37.000000000 +0000
+@@ -45,6 +45,7 @@
+ 
+ DEB_SOURCE_PACKAGE := $(strip $(shell egrep '^Source: ' debian/control | cut -f 2 -d ':'))
+ 
++SOURCE_DATE_EPOCH ?= $(shell dpkg-parsechangelog -STimestamp)
+ DEB_VERSION := $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ')
+ GLIBC_VERSION = $(shell echo $(DEB_VERSION) | sed -e 's/.*://' -e 's/[+-].*//')
+ 
+diff -Nru glibc-2.24/debian/rules.d/build.mk glibc-2.24/debian/rules.d/build.mk
+--- glibc-2.24/debian/rules.d/build.mk	2016-11-25 12:02:24.000000000 +0000
++++ glibc-2.24/debian/rules.d/build.mk	2016-11-15 18:03:37.000000000 +0000
+@@ -316,18 +316,16 @@
+ $(stamp)source: $(stamp)patch
+ 	mkdir -p $(build-tree)
+ 	cd .. && \
+-	       find $(GLIBC_SOURCES) -depth -newermt '$(DEB_BUILD_DATE)' \
+-			-print0 | \
+-               xargs -0r touch --no-dereference --date='$(DEB_BUILD_DATE)'
+-	cd .. && \
+ 		find $(GLIBC_SOURCES) -print0 | \
+ 		LC_ALL=C sort -z | \
+ 		tar -c -J --null -T - --no-recursion \
+ 			--mode=go=rX,u+rw,a-s \
++			--clamp-mtime --mtime "@$(SOURCE_DATE_EPOCH)" \
+ 			--owner=root --group=root --numeric-owner \
+ 			-f $(CURDIR)/$(build-tree)/glibc-$(GLIBC_VERSION).tar.xz
+ 	mkdir -p debian/glibc-source/usr/src/glibc
+ 	tar cf - --files-from debian/glibc-source.filelist \
++		--clamp-mtime --mtime "@$(SOURCE_DATE_EPOCH)" \
+ 	  | tar -x -C debian/glibc-source/usr/src/glibc -f -
+ 
+ 	touch $@
+diff -Nru glibc-2.24/debian/rules.d/debhelper.mk glibc-2.24/debian/rules.d/debhelper.mk
+--- glibc-2.24/debian/rules.d/debhelper.mk	2016-11-25 22:08:30.000000000 +0000
++++ glibc-2.24/debian/rules.d/debhelper.mk	2016-11-15 18:03:37.000000000 +0000
+@@ -77,8 +77,7 @@
+ 		-exec chmod a+x '{}' ';'
+ 	dh_makeshlibs -Xgconv/ -p$(curpass) -V "$(call xx,shlib_dep)"
+ 	# Add relevant udeb: lines in shlibs files
+-	chmod a+x debian/shlibs-add-udebs
+-	./debian/shlibs-add-udebs $(curpass)
++	sh ./debian/shlibs-add-udebs $(curpass)
+ 
+ 	dh_installdeb -p$(curpass)
+ 	dh_shlibdeps -p$(curpass)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/debrepatch.git



More information about the Reproducible-commits mailing list