upg openldap

This commit is contained in:
joborun linux 2023-04-02 22:57:40 +03:00
parent eca4bb2693
commit b5e55abd2a
5 changed files with 7 additions and 18 deletions

View file

@ -1 +0,0 @@
/usr/bin/jobo-setup.sh

View file

@ -1 +0,0 @@
/src/pkg/jobcore/jobo-setup/README.txt

View file

@ -1 +0,0 @@
/src/pkg/jobcore/jobo-setup/jobo-setup.sh

View file

@ -9,7 +9,8 @@ pkgbase=openldap
pkgname=('openldap' 'libldap')
pkgdesc='Lightweight Directory Access Protocol (LDAP) client, libraries, and server, w/o ipv6 & systemd'
pkgver=2.6.4
pkgrel=02
pkgrel=01
arch=(x86_64)
url='https://www.openldap.org'
source=($url/software/download/OpenLDAP/openldap-release/$pkgbase-$pkgver.tgz{,.asc}
openldap.tmpfiles
@ -20,8 +21,6 @@ _extra_modules=(
'autogroup'
'lastbind'
'passwd/sha2'
'allowed'
'noopsrch'
)
makedepends=('libtool' 'libsasl' 'util-linux' 'chrpath' 'unixodbc' 'libsodium')
@ -133,7 +132,7 @@ package_openldap() {
DESTDIR="$pkgdir" install
# passwd/sha2 has no man page, so skip it
if [ -f "contrib/slapd-modules/$module/slapo-$module.5" ]; then
if [ "$module" != "passwd/sha2" ]; then
install -m644 -t "$pkgdir/usr/share/man/man5" \
"contrib/slapd-modules/$module/slapo-$module.5"
fi
@ -164,9 +163,7 @@ package_openldap() {
install -Dm644 -t "${pkgdir}"/usr/share/licenses/"${pkgname}" LICENSE
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
#---- license gpg-key sha256sums ----
license=(custom)
@ -177,6 +174,3 @@ sha256sums=(d51704e50178430c06cf3d8aa174da66badf559747a47d920bb54b2d4aa40991 #
0be46138e53ff2fa6d4b4c06bfbdd2100426e0bd2ed29bf3419ade6b5974e9a0 # openldap.tmpfiles
c6e3fa72138edfebb4ecb17f677e217c885ff9eef805b5c8ad1c09169bb0ff8e) # openldap.sysusers
## 913229cd21593c419ff2c6b114e7cb234e240cd560f0407342c6c68f95603809 libldap-2.6.4-02-x86_64.pkg.tar.lz
## 3681a59ce80630a8da8dbe62e49518c1b8782c10fc9dcbd3a3ef3740c3139935 openldap-2.6.4-02-x86_64.pkg.tar.lz

View file

@ -4,7 +4,7 @@
pkgbase=openldap
pkgname=('openldap' 'libldap')
pkgver=2.6.4
pkgrel=2
pkgrel=1
arch=('x86_64')
url="https://www.openldap.org/"
license=('custom')
@ -27,8 +27,6 @@ _extra_modules=(
'autogroup'
'lastbind'
'passwd/sha2'
'allowed'
'noopsrch'
)
prepare() {
@ -91,7 +89,7 @@ check() {
package_libldap() {
pkgdesc="Lightweight Directory Access Protocol (LDAP) client libraries"
depends=('libsasl')
depends=('libsasl' 'e2fsprogs')
backup=('etc/openldap/ldap.conf')
cd ${pkgbase}-${pkgver}
@ -134,7 +132,7 @@ package_openldap() {
DESTDIR="$pkgdir" install
# passwd/sha2 has no man page, so skip it
if [ -f "contrib/slapd-modules/$module/slapo-$module.5" ]; then
if [ "$module" != "passwd/sha2" ]; then
install -m644 -t "$pkgdir/usr/share/man/man5" \
"contrib/slapd-modules/$module/slapo-$module.5"
fi