aboutsummaryrefslogtreecommitdiff
path: root/network/xinetd/xinetd.SlackBuild
diff options
context:
space:
mode:
authorChris Abela <kristofru@gmail.com>2012-11-25 20:41:40 -0600
committerdsomero <xgizzmo@slackbuilds.org>2012-12-11 16:20:48 -0500
commitdfb782844d895d93cc8abb8bb326d85487b01e16 (patch)
treedf649250683435fd4768a04b8270b763ab2eb8e2 /network/xinetd/xinetd.SlackBuild
parent4ed01224d9fc8d361d37e0ecd91a1f4df9f909b9 (diff)
network/xinetd: Updated for version 2.3.15.
Also create /var/lock/subsys/ in rc.xinetd instead of putting it inside the package; this handles the case where a sysadmin puts /var/lock as tmpfs (e.g. /var/lock -> /run/lock) Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/xinetd/xinetd.SlackBuild')
-rw-r--r--network/xinetd/xinetd.SlackBuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/network/xinetd/xinetd.SlackBuild b/network/xinetd/xinetd.SlackBuild
index 7298ba7179848..7abc64fce73ab 100644
--- a/network/xinetd/xinetd.SlackBuild
+++ b/network/xinetd/xinetd.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for xinetd
-# Copyright 2010 Chris Abela <chris.abela@maltats.com>
+# Copyright 2012 Chris Abela, Malta
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=xinetd
-VERSION=${VERSION:-2.3.14}
+VERSION=${VERSION:-2.3.15}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,7 +71,7 @@ find . \
-exec chmod 644 {} \;
# Add DESTDIR support
-patch -p1 < $CWD/xinetd-2.3.14-add_destdir.patch
+patch -p1 < $CWD/xinetd-add_destdir.patch
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -100,10 +100,6 @@ mkdir -p $PKG/etc/rc.d
cat $CWD/rc.xinetd > $PKG/etc/rc.d/rc.xinetd.new
chmod 0755 $PKG/etc/rc.d/rc.xinetd.new
-# Make sure /var/lock/subsys exists and keeps correct permissions
-mkdir -p $PKG/var/lock/subsys
-chmod 1777 $PKG/var/lock
-
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true