aboutsummaryrefslogtreecommitdiff
path: root/network/jetty/jetty.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/jetty/jetty.SlackBuild')
-rw-r--r--network/jetty/jetty.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/network/jetty/jetty.SlackBuild b/network/jetty/jetty.SlackBuild
index a0525a3a57939..b20f98445b875 100644
--- a/network/jetty/jetty.SlackBuild
+++ b/network/jetty/jetty.SlackBuild
@@ -4,8 +4,7 @@
# Written by Mário Antunes (mariolpantunes@gmail.com)
PRGNAM="jetty"
-#VERSION=${VERSION:-$(echo $PRGNAM*.tar.* | rev | cut -f 3- -d '.' | rev | cut -d '-' -f 3-)}
-VERSION=${VERSION:-9.0.4.v20130625}
+VERSION=${VERSION:-9.0.7.v20131107}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -26,11 +25,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-distribution-$VERSION.tar.gz
cd $PRGNAM-distribution-$VERSION
chown -R root:root .
-find . \
- \( -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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
- -exec chmod 644 {} \;
+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 {} \;
mkdir -p $PKG/opt/$PRGNAM/
cp -a bin/ $PKG/opt/$PRGNAM/