autofs: update to 5.1.5, adopt package

This commit is contained in:
Helmut Pozimski 2018-11-01 08:43:36 +01:00
parent 3effec5dd7
commit 4196d371c9
1 changed files with 7 additions and 5 deletions

View File

@ -1,18 +1,18 @@
# Template file for 'autofs'
pkgname=autofs
version=5.1.4
revision=2
version=5.1.5
revision=1
build_style=gnu-configure
conf_files="/etc/autofs/*"
configure_args="--with-libtirpc --with-mapdir=/etc/autofs --sbindir=/usr/bin"
hostmakedepends="pkg-config flex kmod rpcgen"
makedepends="libtirpc-devel libxml2-devel"
short_desc="A kernel-based automounter for Linux"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2"
maintainer="Helmut Pozimski <helmut@pozimski.eu>"
license="GPL-2.0-or-later"
homepage="${KERNEL_SITE}/daemons/autofs"
distfiles="${KERNEL_SITE}/daemons/autofs/v5/autofs-${version}.tar.xz"
checksum=8fce30ee51ffd528fe1a4e8374ef57f43367e1f123030e175fb1b1cf15bc1722
checksum=23afdad9e2fd6d41b1900be8cfecfd5aae0ad174c7708ff685ec27e280f9c0da
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/gssglue -I${XBPS_CROSS_BASE}/usr/include/tirpc"
@ -27,8 +27,10 @@ pre_configure() {
sed -i 's,nfs/nfs.h,linux/nfs.h,g' */*.[ch]
sed -i 's,__S_IEXEC,S_IXUSR,g' */*.[ch]
}
post_install() {
vsv $pkgname
make DESTDIR=${DESTDIR} -C samples install
# Remove unused stuff
rm ${DESTDIR}/usr/share/man/man5/autofs.5
rm -r ${DESTDIR}/etc/default || :