diff options
author | Nishant Limbachia <nishant@mnspace.net> | 2013-12-21 08:18:24 +0700 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-12-25 15:05:37 -0600 |
commit | dfcba874ab72131df51e3570ca20fbcc93e3fe5c (patch) | |
tree | 275555d41b9b93ed4d3a1ea9d25b640e0aadf733 /network/policyd2/policyd2.SlackBuild | |
parent | f008b9b2fd1853a3ee39859eb7ec931a5e21de12 (diff) | |
download | slackbuilds-dfcba874ab72131df51e3570ca20fbcc93e3fe5c.tar.gz |
network/policyd2: Upgraded for version 2.0.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/policyd2/policyd2.SlackBuild')
-rw-r--r-- | network/policyd2/policyd2.SlackBuild | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/network/policyd2/policyd2.SlackBuild b/network/policyd2/policyd2.SlackBuild index 1b897d90da..d0839b2ea6 100644 --- a/network/policyd2/policyd2.SlackBuild +++ b/network/policyd2/policyd2.SlackBuild @@ -3,7 +3,7 @@ # Slackware Package Build Script for policyd2 (a.k.a cluebringer) # Home Page http://www.policyd.org/ -# Copyright (c) 2008-2012, Nishant Limbachia, Hoffman Estates, IL, USA +# Copyright (c) 2008-2013, Nishant Limbachia, Hoffman Estates, IL, USA # <nishant _AT_ mnspace _DOT_ net> # All rights reserved. # @@ -26,7 +26,7 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM="policyd2" -VERSION=${VERSION:-2.0.12} +VERSION=${VERSION:-2.0.14} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -102,19 +102,17 @@ set -e rm -fr $TMP/$PRGNAM-$VERSION $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -tar xvf $CWD/$SRCNAM-$VERSION.tar.?z* -cd $TMP/$SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-v${VERSION}.tar.?z* +cd $TMP/$SRCNAM-v${VERSION} chown -R root.root . - -find -L . \ - \( -perm 1755 -o -perm 2755 -o -perm 777 -o -perm 555 -o -perm 711 -o -perm 511 \) \ - -exec chmod 755 {} \; find -L . \ - \( -perm 666 -o -perm 664 -o -perm 644 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -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 {} \; ### patch cbpolicyd and cbpadmin to correct library paths and defaults -patch -p0 < $CWD/patches/cbpolicyd.patch +sed s:@LIBDIRSUFFIX@:$LIBDIRSUFFIX: $CWD/patches/cbpolicyd.patch | patch -p0 sed s:@LIBDIRSUFFIX@:$LIBDIRSUFFIX: $CWD/patches/cbpadmin.patch | patch -p0 mkdir -p $PKG/$DOCROOT |