From 9508d45935417c1e8db57cae068e9169376cd442498df388d2389a0cc3f9cb73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20M=C3=BCller?= Date: Fri, 12 Feb 2016 19:11:31 +0000 Subject: [PATCH 1/3] Accepting request 359100 from home:elvigia:branches:network - Build with --with-randomdev=/dev/urandom otherwise libisc will use /dev/random to gather entropy and that might block, short read etc.. OBS-URL: https://build.opensuse.org/request/show/359100 OBS-URL: https://build.opensuse.org/package/show/network/bind?expand=0&rev=185 --- bind.changes | 7 +++++++ bind.spec | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/bind.changes b/bind.changes index 418340c..41db4bd 100644 --- a/bind.changes +++ b/bind.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Fri Feb 12 18:56:28 UTC 2016 - crrodriguez@opensuse.org + +- Build with --with-randomdev=/dev/urandom otherwise + libisc will use /dev/random to gather entropy and that might + block, short read etc.. + ------------------------------------------------------------------- Wed Jan 20 10:58:15 UTC 2016 - max@suse.com diff --git a/bind.spec b/bind.spec index e1034f3..c284b96 100644 --- a/bind.spec +++ b/bind.spec @@ -441,7 +441,8 @@ CONFIGURE_OPTIONS="\ --with-libxml2 \ --with-dlz-mysql \ --with-dlz-ldap \ - --enable-rrl + --enable-rrl \ + --with-randomdev=/dev/urandom " cp -f -p config.guess config.sub contrib/idn/idnkit-1.0-src/ ./configure ${CONFIGURE_OPTIONS} From fd2b5862697acc9b4853712ac838e645fe1ffc2b0d6c505aaaa7ba2c88fc13aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20M=C3=BCller?= Date: Fri, 12 Feb 2016 21:48:50 +0000 Subject: [PATCH 2/3] Sligthly enhance the last commmit - \ at the last option line allows us to keep the full history - a tab is no a space OBS-URL: https://build.opensuse.org/package/show/network/bind?expand=0&rev=186 --- bind.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bind.spec b/bind.spec index c284b96..f28275c 100644 --- a/bind.spec +++ b/bind.spec @@ -442,7 +442,7 @@ CONFIGURE_OPTIONS="\ --with-dlz-mysql \ --with-dlz-ldap \ --enable-rrl \ - --with-randomdev=/dev/urandom + --with-randomdev=/dev/urandom \ " cp -f -p config.guess config.sub contrib/idn/idnkit-1.0-src/ ./configure ${CONFIGURE_OPTIONS} From 0f06af6f9d59686c9e033ce9019d5cabb51f99e6379743c173c9b5da480b2450 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Fri, 26 Feb 2016 07:55:47 +0000 Subject: [PATCH 3/3] Accepting request 361463 from home:bmwiedemann:branches:network - drop a changing timestamp making build reproducible OBS-URL: https://build.opensuse.org/request/show/361463 OBS-URL: https://build.opensuse.org/package/show/network/bind?expand=0&rev=187 --- bind.changes | 5 +++++ bind.spec | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/bind.changes b/bind.changes index 41db4bd..304db61 100644 --- a/bind.changes +++ b/bind.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Feb 25 16:10:45 UTC 2016 - bwiedemann@suse.com + +- drop a changing timestamp making build reproducible + ------------------------------------------------------------------- Fri Feb 12 18:56:28 UTC 2016 - crrodriguez@opensuse.org diff --git a/bind.spec b/bind.spec index f28275c..1241293 100644 --- a/bind.spec +++ b/bind.spec @@ -377,6 +377,10 @@ Name Domain (BIND) DNS server is found in the package named bind. %patch53 %patch101 -p1 %patch102 -p1 +# use the year from source gzip header instead of current one to make reproducible rpms +year=$(perl -e 'sysread(STDIN, $h, 8); print (1900+(gmtime(unpack("l",substr($h,4))))[5])' < %{S:0}) +sed -i "s/stdout, copyright, year/stdout, copyright, \"-$year\"/" lib/dns/gen.c + # modify settings of some files regarding to OS version and vendor function replaceStrings() {