Accepting request 1041971 from home:dirkmueller:Factory

- add reproducible.patch to avoid using compile-time specific date/time
  constructs

OBS-URL: https://build.opensuse.org/request/show/1041971
OBS-URL: https://build.opensuse.org/package/show/network:ldap/openldap2?expand=0&rev=309
This commit is contained in:
Jan Engelhardt 2022-12-10 10:45:40 +00:00 committed by Git OBS Bridge
parent 8644a7376a
commit 0da1e6801e
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>

View File

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