aboutsummaryrefslogtreecommitdiff
path: root/network/sslh/sslh.SlackBuild
diff options
context:
space:
mode:
authormara <mara@fail.pp.ua>2016-09-04 23:39:34 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-04 23:55:53 +0700
commit6c1611b14442bde3c72cbc3cdbf1433c5d96d500 (patch)
treea0c59b55c138629737dd98bb0c2baecb24612217 /network/sslh/sslh.SlackBuild
parent3228aeefc184fd5f07f4088a60ecb61500716c5d (diff)
network/sslh: Updated for version 1.18.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/sslh/sslh.SlackBuild')
-rw-r--r--network/sslh/sslh.SlackBuild14
1 files changed, 7 insertions, 7 deletions
diff --git a/network/sslh/sslh.SlackBuild b/network/sslh/sslh.SlackBuild
index 8461b9a377103..1490c1454672c 100644
--- a/network/sslh/sslh.SlackBuild
+++ b/network/sslh/sslh.SlackBuild
@@ -7,13 +7,13 @@
#
PRGNAM=sslh
-VERSION=${VERSION:-1.16}
+VERSION=${VERSION:-1.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -24,8 +24,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -51,7 +51,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# fix slackware path in manpage
sed -i 's/init.d/rc.d/' sslh.pod
@@ -59,9 +59,9 @@ sed -i 's+/etc/default+/etc/sslh+' sslh.pod
make VERSION=\"v$VERSION\"
# install initscripts
-install -Dm 755 $CWD/rc.sslh $PKG/etc/rc.d/rc.sslh.new
+install -Dm 644 $CWD/rc.sslh $PKG/etc/rc.d/rc.sslh.new
# install example file
-install -Dm 0644 example.cfg $PKG/etc/sslh/sslh.conf.new
+install -Dm 0644 example.cfg $PKG/etc/sslh/sslh.cfg.new
# manually install to have both ssl-fork and ssl-select
install -Dm 0755 sslh-fork $PKG/usr/bin/sslh-fork
install -Dm 0755 sslh-select $PKG/usr/bin/sslh-select