diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-08 21:58:36 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-08 21:58:36 +0700 |
commit | ca69e17804c5375c5967604897e8529230e2d6bd (patch) | |
tree | 0e50aa171e87674b5b3cac5f6c5c855b96aee4db /network/tntnet | |
parent | 062099b2dce06ba2e41eeaa40170f213b10fd371 (diff) |
network/tntnet: Updated for version 3.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/tntnet')
-rw-r--r-- | network/tntnet/doinst.sh | 15 | ||||
-rw-r--r-- | network/tntnet/tntnet.SlackBuild | 8 | ||||
-rw-r--r-- | network/tntnet/tntnet.info | 6 |
3 files changed, 7 insertions, 22 deletions
diff --git a/network/tntnet/doinst.sh b/network/tntnet/doinst.sh index 6a3d11314c827..8a616bc76c4dc 100644 --- a/network/tntnet/doinst.sh +++ b/network/tntnet/doinst.sh @@ -11,17 +11,4 @@ config() { # Otherwise, we leave the .new copy for the admin to consider... } -preserve_perms() { - NEW="$1" - OLD="$(dirname $NEW)/$(basename $NEW .new)" - if [ -e $OLD ]; then - cp -a $OLD ${NEW}.incoming - cat $NEW > ${NEW}.incoming - mv ${NEW}.incoming $NEW - fi - config $NEW -} - -config etc/tntnet/mime.conf.new -config etc/tntnet/tntnet.conf.new -preserve_perms etc/rc.d/rc.tntnet.new +config etc/tntnet/tntnet.xml.new diff --git a/network/tntnet/tntnet.SlackBuild b/network/tntnet/tntnet.SlackBuild index 1aab164252419..bffd222889e73 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 diff --git a/network/tntnet/tntnet.info b/network/tntnet/tntnet.info index d320231b69d70..6b2651354eba8 100644 --- a/network/tntnet/tntnet.info +++ b/network/tntnet/tntnet.info @@ -1,8 +1,8 @@ PRGNAM="tntnet" -VERSION="2.2.1" +VERSION="3.0" HOMEPAGE="http://www.tntnet.org/" -DOWNLOAD="http://www.tntnet.org/download/tntnet-2.2.1.tar.gz" -MD5SUM="febe799675c1b8b2f7259bad30cf6f23" +DOWNLOAD="http://www.tntnet.org/download/tntnet-3.0.tar.gz" +MD5SUM="7119835c4cf978ab321e48ca10bbe421" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="cxxtools" |