From ec4d6fd9c55bd76eaea060cc3717d5acf83bbccc Mon Sep 17 00:00:00 2001 From: Donald Buczek <buczek@molgen.mpg.de> Date: Thu, 27 Dec 2018 13:58:12 +0100 Subject: [PATCH] Add rpcbind The package rpcbind is a replacement for the older portmapper and rpcinfo packages. It is required by current nfs-utils package (rpc.mountd). Homepage: https://linux-nfs.org/wiki/index.php/Main_Page Repository: git://linux-nfs.org/~steved/rpcbind This package installs systemd socket and unit files for socket activation. If the daemon is started manually, however, it requires the alias "portmapper" or "rpcbind" to be available in /etc/services, e.g.: sunrpc 111/tcp portmapper rpcbind # SUN Remote Procedure Call sunrpc 111/udp portmapper rpcbind # SUN Remote Procedure Call We don't need to add dependencies for the users of this service (nis.service,i nfsd.service) because these have an After= dependency on basic.target by DefaultDependencies. basic.target has an After= dependency on sockets.target. We don't need to start the service manually, because it is socket activated. The rpcbind.socket unit needs to be enabled, however. Create bee file from template without changes. --- rpcbind.be0 | 79 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100755 rpcbind.be0 diff --git a/rpcbind.be0 b/rpcbind.be0 new file mode 100755 index 000000000..7d0cd7742 --- /dev/null +++ b/rpcbind.be0 @@ -0,0 +1,79 @@ +#!/usr/bin/env beesh + +# BEE_VERSION rpcbind-1.2.5-0 + +## this file was created by bee init and should be executed to build a +## bee-package. (Additional hints are located at the end of this file.) + +############################################################################### +## The source URL(s) define the location of the sources that will be +## downloaded. Version variables may be used to simplify reuse of this bee-file. + +SRCURL[0]="https://sourceforge.net/projects/rpcbind/files/rpcbind/${PKGVERSION}/rpcbind-${PKGVERSION}.tar.bz2/download" + +############################################################################### +## Add URLs/pathes to patch files to the PATCHURL array. +## The sources will be patched in the order of the array. + +# PATCHURL+=() + +############################################################################### +## Uncomment the next statement, if the software may not be able to be built +## outside the source directory and needs to be built inside the source +## directory. + +# build_in_sourcedir + +############################################################################### +## bee cannot detect buildtypes specified in subdirectories. +## Sometimes packages "hide" the real sources in a subdirectory named +## 'src' or 'cmake' or .. +## use 'sourcesubdir_append' to specify this directory if known. + +# sourcesubdir_append src + + +############################################################################### +## Change the default (auto-detected) steps to +## extract, patch, configure/setup, build and install the software. +## Make sure the mee_install function does install everything to the +## image directory "${D}" + +#mee_extract() { +# bee_extract "${@}" +#} + +#mee_patch() { +# bee_patch "${@}" +#} + +#mee_configure() { +# bee_configure +#} + +#mee_build() { +# bee_build +#} + +#mee_install() { +# bee_install +#} +## by default this may be 'make install DESTDIR="${D}"' + +############################################################################### +## +## Additional hints: +## +## The name of this bee-file should follow the following naming convention: +## pkgname-pkgversion-pkgrevision.bee +## +## You may remove all comments as long as SRCURL[0] is set. +## +## Everything in this file will be executed in a bash environment. +## +## Build the package by executing +## './pkg-version-N.bee' or +## 'beesh ./pkg-version-N.bee' +## +## see http://beezinga.org/ +##