wok annotate pam_ldap/receipt @ rev 25158

updated pure-ftpd and pure-ftpd-pam (1.0.49 -> 1.0.51)
author Hans-G?nter Theisgen
date Thu Jun 30 17:50:07 2022 +0100 (2022-06-30)
parents e1e1678c5265
children c965782a38e0
rev   line source
pascal@1949 1 # SliTaz package receipt.
pascal@1949 2
pascal@1949 3 PACKAGE="pam_ldap"
Hans-G?nter@23273 4 VERSION="186"
pascal@1949 5 CATEGORY="system-tools"
pascal@1949 6 SHORT_DESC="Get and update authenticate from LDAP."
pascal@1949 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15375 8 LICENSE="GPL2"
pascal@21178 9 #WEB_SITE="https://www.padl.com/OSS/pam_ldap.html"
pascal@21178 10 WEB_SITE="https://github.com/PADL/pam_ldap"
Hans-G?nter@23273 11
Hans-G?nter@23273 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@25042 13 WGET_URL="https://fossies.org/linux/privat/old/$TARBALL"
pascal@15375 14
Hans-G?nter@23273 15 BUILD_DEPENDS="libldap openldap-dev pam-dev perl"
Hans-G?nter@23273 16 DEPENDS="cyrus-sasl libcomerr3 libldap nss_ldap openssl pam"
pascal@1949 17
pascal@24497 18 # What is the latest version available today?
pascal@24497 19 current_version()
pascal@24497 20 {
pascal@24497 21 wget -O - $WEB_SITE/commits/master 2>/dev/null | \
pascal@24974 22 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d
pascal@24497 23 }
pascal@24497 24
pascal@1949 25 # Rules to configure and make the package.
pascal@1949 26 compile_rules()
pascal@1949 27 {
pascal@5879 28 ./vers_string -v
Hans-G?nter@23273 29 ./configure \
Hans-G?nter@23273 30 --prefix=/usr \
Hans-G?nter@23273 31 --infodir=/usr/share/info \
Hans-G?nter@23273 32 --sysconfdir=/etc \
Hans-G?nter@23273 33 --mandir=/usr/share/man \
Hans-G?nter@23273 34 $CONFIGURE_ARGS &&
gokhlayeh@11574 35 make $MAKEFLAGS &&
pascal@15375 36 make DESTDIR=$DESTDIR install
pascal@1949 37 }
pascal@1949 38
pascal@1949 39 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1949 40 genpkg_rules()
pascal@1949 41 {
Hans-G?nter@23273 42 cp -a $install/usr/lib $fs
pascal@1949 43 }