aboutsummaryrefslogtreecommitdiff
path: root/network/jetty/jetty.SlackBuild
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2013-11-17 06:44:42 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-11-16 22:55:42 -0600
commit6682311ab4010ac575f90eb170d2623e0eed0962 (patch)
treeca4f58e038700d7a2852292163f686161d5ac384 /network/jetty/jetty.SlackBuild
parentc3d24f9227e225905d4c6c2b7a5df6a67fdc326c (diff)
network/jetty: Updated for version 9.0.7.v20131107
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 a0525a3a5793..b20f98445b87 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/