From 7d8e1b9a9f821315a7aa6691f28d81d875460411 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sun, 15 May 2016 00:37:43 +0700 Subject: network/3proxy: Fix perms. Signed-off-by: Willy Sudiarto Raharjo --- network/3proxy/3proxy.SlackBuild | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/network/3proxy/3proxy.SlackBuild b/network/3proxy/3proxy.SlackBuild index 402bc2071e..7f30c3add6 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} -- cgit v1.2.3