libnss-extrausers/PKGBUILD

36 lines
1.2 KiB
Text
Raw Normal View History

2017-11-09 02:32:13 +01:00
# Maintainer: lod <aur@cyber-anlage.de>
pkgname=libnss-extrausers
pkgver=0.6
2019-06-11 02:24:19 +02:00
pkgrel=4
2017-11-09 02:32:13 +01:00
pkgdesc="nss module to have an additional passwd, shadow and group file"
arch=('any')
2017-11-18 17:26:54 +01:00
url="https://packages.debian.org/de/source/sid/libnss-extrausers"
2017-11-09 02:32:13 +01:00
license=('GPL')
makedepends=('gcc')
2017-11-18 17:26:54 +01:00
conflicts=('libnss-extrausers-git')
2019-06-11 02:24:19 +02:00
source=(http://http.debian.net/debian/pool/main/libn/$pkgname/${pkgname}_$pkgver.orig.tar.gz
http://deb.debian.org/debian/pool/main/libn/$pkgname/${pkgname}_$pkgver-4.debian.tar.xz)
sha256sums=('6a37c3cf6ff5dfd46b1b3127e1226404e43185fa73cd40e8144d5f7736eee9f0'
'851aeea268c0212702b78b66f8f16be15c0eddc241c5bc2df41b0825f3a65a5b')
prepare() {
cd ${pkgname}-${pkgver}
patch -Np1 -i ../debian/patches/0001-Bug-29915-CLO_EXEC.patch
patch -Np1 -i ../debian/patches/0002-Bug-29915-NSS-error-reporting.patch
patch -Np1 -i ../debian/patches/0003-Bug-29915-min-GID.patch
patch -Np1 -i ../debian/patches/0004-Bug-29915-fseek-thread-safety.patch
patch -Np1 -i ../debian/patches/0005-Bug-29915-strip-trailing-whitespace.patch
patch -Np1 -i ../debian/patches/0006-Bug-39775-Fix-setgrent.patch
}
2017-11-09 02:32:13 +01:00
build() {
2019-06-11 02:24:19 +02:00
cd ${pkgname}-${pkgver}
2017-11-09 02:32:13 +01:00
make
}
package() {
2019-06-11 02:24:19 +02:00
cd ${pkgname}-${pkgver}
2017-11-09 02:32:13 +01:00
make DESTDIR="$pkgdir" install
}