From 210f874c362b85f6d5af65a4cacdf5dd997adee7 Mon Sep 17 00:00:00 2001 From: Heinz Wiesinger Date: Thu, 29 Sep 2011 18:52:25 -0300 Subject: development/apache-maven: Fixed wrong permission Signed-off-by: Niels Horn --- development/apache-maven/README | 2 +- development/apache-maven/apache-maven.SlackBuild | 8 +++++++- development/apache-maven/apache-maven.info | 2 +- development/apache-maven/slack-desc | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) (limited to 'development') diff --git a/development/apache-maven/README b/development/apache-maven/README index 6b7a3a60010a..ee17045f1ec6 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 84c978a54c97..1debd8a347c7 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 9255b47b7523..00d21617914e 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 7853d1313708..e024213d67f5 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. -- cgit v1.2.3