Skip to content

Commit

Permalink
Add rpcbind
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
donald committed Dec 29, 2018
1 parent 02756d4 commit ec4d6fd
Showing 1 changed file with 79 additions and 0 deletions.
79 changes: 79 additions & 0 deletions rpcbind.be0
Original file line number Diff line number Diff line change
@@ -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/
##

0 comments on commit ec4d6fd

Please sign in to comment.