summaryrefslogtreecommitdiff
path: root/network/tntnet/tntnet.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-08 21:58:36 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-08 21:58:36 +0700
commitca69e17804c5375c5967604897e8529230e2d6bd (patch)
tree0e50aa171e87674b5b3cac5f6c5c855b96aee4db /network/tntnet/tntnet.SlackBuild
parent062099b2dce06ba2e41eeaa40170f213b10fd371 (diff)
downloadslackbuilds-ca69e17804c5375c5967604897e8529230e2d6bd.tar.gz
network/tntnet: Updated for version 3.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/tntnet/tntnet.SlackBuild')
-rw-r--r--network/tntnet/tntnet.SlackBuild8
1 files changed, 3 insertions, 5 deletions
diff --git a/network/tntnet/tntnet.SlackBuild b/network/tntnet/tntnet.SlackBuild
index 1aab164252..bffd222889 100644
--- a/network/tntnet/tntnet.SlackBuild
+++ b/network/tntnet/tntnet.SlackBuild
@@ -24,8 +24,8 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=tntnet
-VERSION=${VERSION:-2.2.1}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-3.0}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -97,8 +97,6 @@ make install DESTDIR=$PKG
mv $PKG/etc/$PRGNAM/$PRGNAM.xml{,.new}
sed -i "s|www-data|apache|" $PKG/etc/$PRGNAM/$PRGNAM.xml.new
-install -m 0755 -D $PKG/etc/init.d/$PRGNAM $PKG/etc/rc.d/rc.$PRGNAM.new
-rm -fr $PKG/etc/init.d
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
@@ -108,7 +106,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
- AUTHORS ChangeLog COPYING INSTALL NEWS README TODO \
+ AUTHORS ChangeLog COPYING INSTALL README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild