Accepting request 361595 from network

1

OBS-URL: https://build.opensuse.org/request/show/361595
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/bind?expand=0&rev=113
This commit is contained in:
Dominique Leuenberger 2016-03-01 08:38:53 +00:00 committed by Git OBS Bridge
commit c470e3f7b2
2 changed files with 18 additions and 1 deletions

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
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
- 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

View File

@ -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()
{
@ -441,7 +445,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}