[arch-commits] Commit in pam_ldap/repos/extra-x86_64 (3 files)

Jelle van der Waa jelle at gemini.archlinux.org
Wed Dec 29 21:27:32 UTC 2021


    Date: Wednesday, December 29, 2021 @ 21:27:32
  Author: jelle
Revision: 433249

archrelease: copy trunk to extra-x86_64

Added:
  pam_ldap/repos/extra-x86_64/PKGBUILD
    (from rev 433248, pam_ldap/trunk/PKGBUILD)
  pam_ldap/repos/extra-x86_64/pam_ldap-reproducible.patch
    (from rev 433248, pam_ldap/trunk/pam_ldap-reproducible.patch)
Deleted:
  pam_ldap/repos/extra-x86_64/PKGBUILD

-----------------------------+
 PKGBUILD                    |   66 ++++++++++++++++++++++--------------------
 pam_ldap-reproducible.patch |   24 +++++++++++++++
 2 files changed, 60 insertions(+), 30 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-29 21:27:22 UTC (rev 433248)
+++ PKGBUILD	2021-12-29 21:27:32 UTC (rev 433249)
@@ -1,30 +0,0 @@
-# Maintainer:
-# Contributor: Comete <la_comete at tiscali.fr>
-
-pkgname=pam_ldap
-pkgver=186
-pkgrel=8
-pkgdesc="LDAP authentication module for the PAM framework"
-arch=('x86_64')
-url="http://www.padl.com/OSS/pam_ldap.html"
-license=('LGPL')
-depends=('libldap' 'pam')
-backup=('etc/pam_ldap.conf')
-options=('!makeflags')
-#source=("https://www.padl.com/download/${pkgname}-${pkgver}.tar.gz")
-source=("https://sources.archlinux.org/other/packages/pam_ldap/$pkgname-$pkgver.tar.gz")
-md5sums=('58c8689921c5c4578363438acd8503c2')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure --libdir=/usr/lib \
-      --with-ldap-conf-file=/etc/pam_ldap.conf \
-      --mandir=/usr/share/man
-  PERL5LIB="$PWD" PATH="${PATH}:${srcdir}/${pkgname}-${pkgver}" make
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-  mv "${pkgdir}/etc/ldap.conf" "${pkgdir}/etc/pam_ldap.conf"
-}

Copied: pam_ldap/repos/extra-x86_64/PKGBUILD (from rev 433248, pam_ldap/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-29 21:27:32 UTC (rev 433249)
@@ -0,0 +1,36 @@
+# Maintainer:
+# Contributor: Comete <la_comete at tiscali.fr>
+
+pkgname=pam_ldap
+pkgver=186
+pkgrel=9
+pkgdesc="LDAP authentication module for the PAM framework"
+arch=('x86_64')
+url="http://www.padl.com/OSS/pam_ldap.html"
+license=('LGPL')
+depends=('libldap' 'pam')
+backup=('etc/pam_ldap.conf')
+options=('!makeflags')
+#source=("https://www.padl.com/download/${pkgname}-${pkgver}.tar.gz")
+source=("https://sources.archlinux.org/other/packages/pam_ldap/$pkgname-$pkgver.tar.gz" "pam_ldap-reproducible.patch")
+md5sums=('58c8689921c5c4578363438acd8503c2'
+         'a79a0629fe04eaa350e0a94f00dde7c8')
+
+prepare() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  patch -Np1 -i ${srcdir}/pam_ldap-reproducible.patch
+}
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --libdir=/usr/lib \
+      --with-ldap-conf-file=/etc/pam_ldap.conf \
+      --mandir=/usr/share/man
+  PERL5LIB="$PWD" PATH="${PATH}:${srcdir}/${pkgname}-${pkgver}" make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+  mv "${pkgdir}/etc/ldap.conf" "${pkgdir}/etc/pam_ldap.conf"
+}

Copied: pam_ldap/repos/extra-x86_64/pam_ldap-reproducible.patch (from rev 433248, pam_ldap/trunk/pam_ldap-reproducible.patch)
===================================================================
--- pam_ldap-reproducible.patch	                        (rev 0)
+++ pam_ldap-reproducible.patch	2021-12-29 21:27:32 UTC (rev 433249)
@@ -0,0 +1,24 @@
+diff -aur pam_ldap-186.old/vers_string pam_ldap-186/vers_string
+--- pam_ldap-186.old/vers_string	2021-12-29 21:45:36.010231609 +0100
++++ pam_ldap-186/vers_string	2021-12-29 22:24:03.167959325 +0100
+@@ -3,17 +3,19 @@
+ #ident $Id: vers_string,v 1.2 2010/02/25 14:40:39 lukeh Exp $
+ #
+ # Implementation of SGS vers_string which uses CVSVersionInfo.txt.
++use POSIX qw(strftime);
++
+ 
+ require "cvslib.pl";
+ 
+ $OUTFILE = (-f "version.h") ? "version.h" : "vers.c";
+ $AUTHOR = `whoami`;
+ $HEADER = '$Id: vers_string,v 1.2 2010/02/25 14:40:39 lukeh Exp $';
++$DATE = strftime("%Y-%m-%d", gmtime($ENV{SOURCE_DATE_EPOCH} || time));
+ 
+ if ($ENV{'PROGRAM'}) { $PROGRAM = $ENV{'PROGRAM'}; }
+ 
+ chop($AUTHOR);
+-chop($DATE=`date -u`);
+ chop($CWD=`pwd`);
+ 
+ ($PROJECT, $VERSION) = split(/\-/, &getCVSVersionInfo());



More information about the arch-commits mailing list