aboutsummaryrefslogtreecommitdiff
path: root/development
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2011-09-29 18:52:25 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-09-29 18:52:25 -0300
commit210f874c362b85f6d5af65a4cacdf5dd997adee7 (patch)
tree8154b67df15eb82c9c7c31c1c8354d8183547b7e /development
parent2517dd704eddabb2df9c06cd44afd0308489a215 (diff)
development/apache-maven: Fixed wrong permission
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'development')
-rw-r--r--development/apache-maven/README2
-rw-r--r--development/apache-maven/apache-maven.SlackBuild8
-rw-r--r--development/apache-maven/apache-maven.info2
-rw-r--r--development/apache-maven/slack-desc2
4 files changed, 10 insertions, 4 deletions
diff --git a/development/apache-maven/README b/development/apache-maven/README
index 6b7a3a60010a3..ee17045f1ec62 100644
--- a/development/apache-maven/README
+++ b/development/apache-maven/README
@@ -1,4 +1,4 @@
Maven is a software project management and comprehension tool.
Based on the concept of a Project Object Model (POM), Maven can
manage a project's build, reporting and documentation from a
-central piece of information. \ No newline at end of file
+central piece of information.
diff --git a/development/apache-maven/apache-maven.SlackBuild b/development/apache-maven/apache-maven.SlackBuild
index 84c978a54c97b..1debd8a347c7f 100644
--- a/development/apache-maven/apache-maven.SlackBuild
+++ b/development/apache-maven/apache-maven.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=apache-maven
VERSION=2.2.1
ARCH=noarch
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -43,6 +43,12 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION-bin.tar.bz2
cd $PRGNAM-$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 {} \;
mkdir -p $PKG/$MAVEN_HOME $PKG/usr/{bin,share/java}
cp -a bin boot conf lib $PKG/$MAVEN_HOME
diff --git a/development/apache-maven/apache-maven.info b/development/apache-maven/apache-maven.info
index 9255b47b75236..00d21617914e1 100644
--- a/development/apache-maven/apache-maven.info
+++ b/development/apache-maven/apache-maven.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Heinz Wiesinger"
EMAIL="pprkut@liwjatan.at"
-APPROVED="rworkman"
+APPROVED="Niels Horn"
diff --git a/development/apache-maven/slack-desc b/development/apache-maven/slack-desc
index 7853d13137087..e024213d67f5d 100644
--- a/development/apache-maven/slack-desc
+++ b/development/apache-maven/slack-desc
@@ -5,7 +5,7 @@
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
- |-----handy-ruler-----------------------------------------------|
+ |-----handy-ruler------------------------------------------------------|
apache-maven: Apache Maven (Software project management)
apache-maven:
apache-maven: Maven is a software project management and comprehension tool.