pkgname: nfs-utils pkgver: '2.9.2' pkgrel: '1' pkgdesc: Userspace server and client tools necessary to use the kernel's NFS abilities. url: 'https://nfs.sourceforge.net' arch: x86_64 license: - GPL-2.0-or-later depends: - rpcbind makedepends: - util-linux - libnl - libxml2 - sqlite - libevent - libtirpc - rpcbind - rpcsvc-proto source: - 'https://repo.paganlinux.eu/sources/pagan-scripts-20260822.tar.gz' - 'https://downloads.sourceforge.net/nfs/${pkgname}-${pkgver}.tar.gz' sha256sums: - 32e0aec88cc56a8afe0b2671debe47d19357792a6ffaffaf6e3db8a021a57072 - SKIP hooks: post-install: | name=nfs-utils version=2.9.2 release=1 systemctl enable nfs-client.target systemctl enable nfs-server.service build: | cd ${pkgname}-${pkgver} sed -i "s|sbindir = /sbin|sbindir = /usr/bin|g" utils/*/Makefile.am autoreconf -vfi # build package ./configure --prefix=/usr \ --sysconfdir=/etc \ --sbindir=/usr/bin \ --disable-nfsv4 \ --disable-gss \ LIBS="-lsqlite3 -levent_core" \ --with-systemd make make DESTDIR=${PKGDIR} install chmod u+w,go+r ${PKGDIR}/usr/bin/mount.nfs chown nobody.nogroup ${PKGDIR}/var/lib/nfs # Services cd ../pagan-scripts-20260822 make DESTDIR=${PKGDIR} install-sysd-nfs-server make DESTDIR=${PKGDIR} install-sysd-nfs-client package: | true