mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
libraries/libdaemon: Updated for version 0.14 + new maintainer.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
parent
a5d362da51
commit
30116c2d3c
3 changed files with 22 additions and 13 deletions
|
@ -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.
|
||||
to syslog.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue