aboutsummaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-05-15 00:37:43 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-05-15 00:44:34 +0700
commit7d8e1b9a9f821315a7aa6691f28d81d875460411 (patch)
treea9a3b405f4f0f08962c0ecbf0252a377eb7a77fb /network
parent6feeb4cf9c14fd6ea888ed512bc8b4c1d587167a (diff)
network/3proxy: Fix perms.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network')
-rw-r--r--network/3proxy/3proxy.SlackBuild12
1 files changed, 7 insertions, 5 deletions
diff --git a/network/3proxy/3proxy.SlackBuild b/network/3proxy/3proxy.SlackBuild
index 402bc2071e6db..7f30c3add6fb3 100644
--- a/network/3proxy/3proxy.SlackBuild
+++ b/network/3proxy/3proxy.SlackBuild
@@ -61,10 +61,10 @@ tar xvf $CWD/$PRGNAM-$VERSION.tgz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
- -exec chmod 755 {} \; -o \
+ \( -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 {} \;
patch -p1 < $CWD/patches/Makefile.Linux.patch
patch -p1 < $CWD/patches/fix_etcdir.patch
@@ -105,13 +105,15 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- Changelog authors copying Readme news doc cfg contrib scripts \
+cp -a Changelog authors copying Readme news doc cfg contrib scripts \
$PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
+find $PKG/usr/doc/$PRGNAM-$VERSION/contrib/ -type d -exec chmod 755 {} \;
+find $PKG/usr/doc/$PRGNAM-$VERSION/contrib/ -type f -exec chmod 644 {} \;
+
cd $PKG
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}