🔒 Repository is read-only – file editing is disabled.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
pkgname: rpcbind
pkgver: '1.3.1'
pkgrel: '1'
pkgdesc: portmap replacement which supports RPC over various protocols
url: 'https://rpcbind.sourceforge.net/'
arch: x86_64
license:
- BSD-3 Clause
depends:
- libtirpc
- systemd
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
- 8e551b445f5172f8ef218845af342fb2a2d741b57ce8c777c781a01ea92f92a5
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