diff options
author | Juergen Daubert <jue@jue.li> | 2015-02-17 13:44:45 +0100 |
---|---|---|
committer | Juergen Daubert <jue@jue.li> | 2015-02-17 13:44:45 +0100 |
commit | 6fc31100b90bf863bd5ccb01de56e17affd5b835 (patch) | |
tree | afb5aefc30f835b7e3a43e4f725e57ea891ae7d4 /start-stop-daemon | |
parent | 4977dcffdbafd07ee6fae6fe2b7f393db555bca3 (diff) | |
download | core-6fc31100b90bf863bd5ccb01de56e17affd5b835.tar.gz core-6fc31100b90bf863bd5ccb01de56e17affd5b835.tar.xz |
[notify] start-stop-daemon: new core port
start-stop-daemon [1] is a small program from debian used to
control the creation and termination of system-level processes
in a reliable and secure way.
We decided to add start-stop-daemon to our core collection and
as with most core ports it is a requirement for a working CRUX
system. Please install.
We encourage all port maintainers to use start-stop-daemon in
their rc scripts. This will improve the scripts a lot without
the need for complex shell scripting.
[1] http://man7.org/linux/man-pages/man8/start-stop-daemon.8.html
Diffstat (limited to 'start-stop-daemon')
-rw-r--r-- | start-stop-daemon/.footprint | 6 | ||||
-rw-r--r-- | start-stop-daemon/.md5sum | 1 | ||||
-rw-r--r-- | start-stop-daemon/Pkgfile | 21 |
3 files changed, 28 insertions, 0 deletions
diff --git a/start-stop-daemon/.footprint b/start-stop-daemon/.footprint new file mode 100644 index 00000000..c51d918e --- /dev/null +++ b/start-stop-daemon/.footprint @@ -0,0 +1,6 @@ +drwxr-xr-x root/root sbin/ +-rwxr-xr-x root/root sbin/start-stop-daemon +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/man/ +drwxr-xr-x root/root usr/man/man8/ +-rw-r--r-- root/root usr/man/man8/start-stop-daemon.8.gz diff --git a/start-stop-daemon/.md5sum b/start-stop-daemon/.md5sum new file mode 100644 index 00000000..e14ce0fa --- /dev/null +++ b/start-stop-daemon/.md5sum @@ -0,0 +1 @@ +1d4b8eba5823e0a2b1c6f1f690fecbee dpkg_1.17.23.tar.xz diff --git a/start-stop-daemon/Pkgfile b/start-stop-daemon/Pkgfile new file mode 100644 index 00000000..604c8ddd --- /dev/null +++ b/start-stop-daemon/Pkgfile @@ -0,0 +1,21 @@ +# Description: Control the creation and termination of system-level processes +# URL: http://man7.org/linux/man-pages/man8/start-stop-daemon.8.html +# Maintainer: CRUX System Team, core-ports at crux dot nu + +name=start-stop-daemon +version=1.17.23 +release=1 +source=(http://ftp.de.debian.org/debian/pool/main/d/dpkg/dpkg_${version}.tar.xz) + +build () { + cd dpkg-$version + + ./configure --disable-update-alternatives + + make -C lib/compat + make -C utils + + install -d $PKG/{sbin,usr/man/man8} + install -m 755 utils/$name $PKG/sbin/ + install -m 644 man/$name.8 $PKG/usr/man/man8/ +} |