summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-25 18:53:54 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-26 18:58:51 +0700
commitaf8c6a0ec5959d6879abdbd667b6ad956f10dd49 (patch)
treea964bada20c9c4e3d3b2921c36e167d83f1e848c
parenta88f9910d1a6942340692033e0e820c49dfd5451 (diff)
downloadslackbuilds-af8c6a0ec5959d6879abdbd667b6ad956f10dd49.tar.gz
network/tntnet: Updated for version 2.2.1.
Fixes build with cxxtools-2.2.1. Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--network/tntnet/tntnet.SlackBuild7
-rw-r--r--network/tntnet/tntnet.info6
2 files changed, 6 insertions, 7 deletions
diff --git a/network/tntnet/tntnet.SlackBuild b/network/tntnet/tntnet.SlackBuild
index ea8e11e0ec..ea6d7f1d7d 100644
--- a/network/tntnet/tntnet.SlackBuild
+++ b/network/tntnet/tntnet.SlackBuild
@@ -22,7 +22,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=tntnet
-VERSION=${VERSION:-2.1}
+VERSION=${VERSION:-2.2.1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
@@ -85,9 +85,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-mv $PKG/etc/$PRGNAM/mime.conf{,.new}
-mv $PKG/etc/$PRGNAM/$PRGNAM.conf{,.new}
-sed -i "s|www-data|apache|" $PKG/etc/$PRGNAM/$PRGNAM.conf.new
+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
diff --git a/network/tntnet/tntnet.info b/network/tntnet/tntnet.info
index 34868f3b8b..d320231b69 100644
--- a/network/tntnet/tntnet.info
+++ b/network/tntnet/tntnet.info
@@ -1,8 +1,8 @@
PRGNAM="tntnet"
-VERSION="2.1"
+VERSION="2.2.1"
HOMEPAGE="http://www.tntnet.org/"
-DOWNLOAD="http://www.tntnet.org/download/tntnet-2.1.tar.gz"
-MD5SUM="a9c85aa6d624f7f88c48374f28730242"
+DOWNLOAD="http://www.tntnet.org/download/tntnet-2.2.1.tar.gz"
+MD5SUM="febe799675c1b8b2f7259bad30cf6f23"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="cxxtools"