1
0
forked from pool/openldap2

Accepting request 1041973 from network:ldap

- add reproducible.patch to avoid using compile-time specific date/time
  constructs (forwarded request 1041971 from dirkmueller)

OBS-URL: https://build.opensuse.org/request/show/1041973
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/openldap2?expand=0&rev=178
This commit is contained in:
Dominique Leuenberger 2022-12-11 16:16:24 +00:00 committed by Git OBS Bridge
commit 0ee90ed283
3 changed files with 21 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Dec 10 09:46:56 UTC 2022 - Dirk Müller <dmueller@suse.com>
- add reproducible.patch to avoid using compile-time specific date/time
constructs
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Sep 26 05:16:18 UTC 2022 - William Brown <william.brown@suse.com> Mon Sep 26 05:16:18 UTC 2022 - William Brown <william.brown@suse.com>

View File

@ -52,6 +52,7 @@ Source21: slapd-ldif-update-crc.sh
Source22: update-crc.sh Source22: update-crc.sh
Source23: slapd.conf Source23: slapd.conf
Source24: slapd.conf.olctemplate Source24: slapd.conf.olctemplate
Patch1: reproducible.patch
Patch3: 0003-LDAPI-socket-location.dif Patch3: 0003-LDAPI-socket-location.dif
Patch5: 0005-pie-compile.dif Patch5: 0005-pie-compile.dif
Patch8: 0008-In-monitor-backend-do-not-return-Connection0-entries.patch Patch8: 0008-In-monitor-backend-do-not-return-Connection0-entries.patch
@ -239,6 +240,7 @@ Servers
%prep %prep
%setup -q -a 9 -n openldap-%{version_main} %setup -q -a 9 -n openldap-%{version_main}
%patch1 -p1
%patch3 -p1 %patch3 -p1
%patch5 -p1 %patch5 -p1
%patch8 -p1 %patch8 -p1

13
reproducible.patch Normal file
View File

@ -0,0 +1,13 @@
Index: openldap-2.6.3/build/mkversion
===================================================================
--- openldap-2.6.3.orig/build/mkversion
+++ openldap-2.6.3/build/mkversion
@@ -77,7 +77,7 @@ static const char copyright[] =
"COPYING RESTRICTIONS APPLY\n";
$static $const char $SYMBOL[] =
-"@(#) \$$PACKAGE: $APPLICATION $VERSION (" __DATE__ " " __TIME__ ") \$\n"
+"@(#) \$$PACKAGE: $APPLICATION $VERSION \$\n"
"\t$WHOWHERE\n";
__EOF__