diff --git a/openldap2.changes b/openldap2.changes index d2b9a6d..6e20edc 100644 --- a/openldap2.changes +++ b/openldap2.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Dec 10 09:46:56 UTC 2022 - Dirk Müller + +- add reproducible.patch to avoid using compile-time specific date/time + constructs + ------------------------------------------------------------------- Mon Sep 26 05:16:18 UTC 2022 - William Brown diff --git a/openldap2.spec b/openldap2.spec index e94685d..1e5198f 100644 --- a/openldap2.spec +++ b/openldap2.spec @@ -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 diff --git a/reproducible.patch b/reproducible.patch new file mode 100644 index 0000000..006a7a0 --- /dev/null +++ b/reproducible.patch @@ -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__