From 909f6acfdfca7a42654557ad48599c609ab46a04 Mon Sep 17 00:00:00 2001 From: Nishant Limbachia Date: Sat, 16 Jul 2011 15:53:01 -0300 Subject: network/policyd2: Updated for version 2.0.11. Signed-off-by: Niels Horn --- network/policyd2/policyd2.SlackBuild | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'network/policyd2/policyd2.SlackBuild') diff --git a/network/policyd2/policyd2.SlackBuild b/network/policyd2/policyd2.SlackBuild index 631a08ba7d..979bd39353 100644 --- a/network/policyd2/policyd2.SlackBuild +++ b/network/policyd2/policyd2.SlackBuild @@ -3,14 +3,14 @@ # Slackware Package Build Script for policyd2 (a.k.a cluebringer) # Home Page http://www.policyd.org/ -# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA +# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA # # All rights reserved. # -# Redistribution and use of this script, with or without modification, is +# Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: # -# 1. Redistributions of script must retain the above copyright notice, +# 1. Redistributions of script must retain the above copyright notice, # this list of conditions and the following disclaimer. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS @@ -26,18 +26,16 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=policyd2 -VERSION=2.0.10 +VERSION=${VERSION:-2.0.11} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} SRCNAM=cluebringer -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -91,14 +89,14 @@ GROUP=${GROUP:-policyd} ### define docroot to copy web admin files DOCROOT=${DOCROOT:-/var/www/htdocs} -DOCS="AUTHORS CHANGELOG INSTALL TODO LICENSE WISHLIST" +DOCS="AUTHORS ChangeLog INSTALL TODO LICENSE WISHLIST" set -e rm -fr $TMP/$PRGNAM-$VERSION $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2 +tar xvf $CWD/$SRCNAM-$VERSION.tar.?z* cd $TMP/$SRCNAM-$VERSION chown -R root.root . -- cgit v1.2.3