diff options
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 |