pkgname: rpcbind pkgver: '1.2.9' pkgrel: '1' pkgdesc: portmap replacement which supports RPC over various protocols url: 'https://rpcbind.sourceforge.net/' arch: x86_64 license: - BSD-3 Clause depends: [] makedepends: - libtirpc - systemd source: - 'https://repo.paganlinux.eu/sources/pagan-scripts-20260822.tar.gz' - 'https://downloads.sourceforge.net/rpcbind/rpcbind-${pkgver}.tar.bz2' sha256sums: - 32e0aec88cc56a8afe0b2671debe47d19357792a6ffaffaf6e3db8a021a57072 - ce5f1a87c566ef0b2897a28f50a75c1dc23fec413a46a7f4183423b6b6aa991b hooks: post-install: | name=rpcbind version=1.2.9 release=1 INFO="\033[1;36m" NORMAL="\033[0;39m" UN=rpc ID=28 if ! (getent group $UN > /dev/null); then printf "${INFO}Creating $UN group${NORMAL}\n" groupadd -g $ID $UN fi if ! (getent passwd $UN > /dev/null); then printf "${INFO}Creating $UN user${NORMAL}\n" useradd -c "RPC Bind Daemon Owner" -d /dev/null \ -g $UN -s /usr/bin/false -u $ID $UN fi systemctl enable rpcbind build: | groupadd -g 28 rpc && useradd -c "RPC Bind Daemon Owner" -d /dev/null -g rpc \ -s /usr/bin/false -u 28 rpc cd rpcbind-${pkgver} sed -i "/servname/s:rpcbind:sunrpc:" src/rpcbind.c ./configure --prefix=/usr \ --with-rpcuser=root \ --sbindir=/usr/bin \ --enable-warmstarts make make DESTDIR=${PKGDIR} install package: | true