diff options
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/libdaemon/README | 7 | ||||
-rw-r--r-- | libraries/libdaemon/libdaemon.SlackBuild | 16 | ||||
-rw-r--r-- | libraries/libdaemon/libdaemon.info | 12 |
3 files changed, 22 insertions, 13 deletions
diff --git a/libraries/libdaemon/README b/libraries/libdaemon/README index a85669a339464..f2ac6e5ba2d24 100644 --- a/libraries/libdaemon/README +++ b/libraries/libdaemon/README @@ -1,5 +1,8 @@ -Libdaemon is a lightweight C library that eases the writing of UNIX daemons. +Libdaemon is a lightweight C library that eases the writing of UNIX +daemons. + It consists of the following parts: + * A wrapper around fork() which does the correct daemonization procedure of a process * A wrapper around syslog() for simpler and compatible log output to @@ -8,4 +11,4 @@ It consists of the following parts: * An API for serializing UNIX signals into a pipe for usage with select() or poll() * An API for running subprocesses with STDOUT and STDERR redirected - to syslog.
\ No newline at end of file + to syslog. diff --git a/libraries/libdaemon/libdaemon.SlackBuild b/libraries/libdaemon/libdaemon.SlackBuild index 78c5be9d3d2a0..b6ce746ac0014 100644 --- a/libraries/libdaemon/libdaemon.SlackBuild +++ b/libraries/libdaemon/libdaemon.SlackBuild @@ -1,6 +1,8 @@ #!/bin/sh # Copyright 2007 by ktabic (rdc@ktabic.co.uk) +# Copyright 2010 by Niels Horn <niels.horn@gmail.com> + # Permission to use, copy, modify, and distribute this software for # any purpose with or without fee is hereby granted, provided that # the above copyright notice and this permission notice appear in all @@ -19,17 +21,18 @@ # OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF # SUCH DAMAGE. +# Maintained as of version 0.14 by Niels Horn <niels.horn@gmail.com> +# Revision date: 2010/12/29 + PRGNAM=libdaemon -VERSION=0.13 +VERSION=${VERSION:-0.14} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -53,7 +56,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -82,7 +85,10 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + LICENSE README \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc diff --git a/libraries/libdaemon/libdaemon.info b/libraries/libdaemon/libdaemon.info index ee166115a1592..ab329ad78e328 100644 --- a/libraries/libdaemon/libdaemon.info +++ b/libraries/libdaemon/libdaemon.info @@ -1,10 +1,10 @@ PRGNAM="libdaemon" -VERSION="0.13" +VERSION="0.14" HOMEPAGE="http://0pointer.de/lennart/projects/libdaemon/" -DOWNLOAD="http://0pointer.de/lennart/projects/libdaemon/libdaemon-0.13.tar.gz" -MD5SUM="ae9113fcd825d5a7f07e5ddccb3c3102" +DOWNLOAD="http://0pointer.de/lennart/projects/libdaemon/libdaemon-0.14.tar.gz" +MD5SUM="509dc27107c21bcd9fbf2f95f5669563" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -MAINTAINER="Rodney Cobb" -EMAIL="rdc@ktabic.co.uk" -APPROVED="rworkman,pprkut" +MAINTAINER="Niels Horn" +EMAIL="niels.horn@gmail.com" +APPROVED="dsomero" |