summaryrefslogtreecommitdiff
path: root/network/3proxy/3proxy.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackware-id.org>2013-11-12 07:31:18 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-11-12 01:25:02 -0600
commitb22a42c040936a9d70a4bbd43d0db41e09615917 (patch)
tree540381b6908a4f0f66b0cb61fd49d27e5c79e397 /network/3proxy/3proxy.SlackBuild
parentb52279c746cb8a0039c9f7a9dd4b70b1d8de5ca3 (diff)
downloadslackbuilds-b22a42c040936a9d70a4bbd43d0db41e09615917.tar.gz
network/3proxy: Updated for version 0.6.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/3proxy/3proxy.SlackBuild')
-rw-r--r--network/3proxy/3proxy.SlackBuild10
1 files changed, 8 insertions, 2 deletions
diff --git a/network/3proxy/3proxy.SlackBuild b/network/3proxy/3proxy.SlackBuild
index 5c960d9250..50936ec32a 100644
--- a/network/3proxy/3proxy.SlackBuild
+++ b/network/3proxy/3proxy.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=3proxy
-VERSION=${VERSION:-0.6}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.6.1}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -59,6 +59,12 @@ rm -rf $PRGNAM
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tgz
cd $PRGNAM-$VERSION
+chown -R root:root .
+find -L . \
+ \( -perm 777 -o -perm 775 -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 {} \;
patch -p1 < $CWD/patches/Makefile.Linux.patch
patch -p1 < $CWD/patches/fix_etcdir.patch