summaryrefslogtreecommitdiff
path: root/network/policyd2/policyd2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/policyd2/policyd2.SlackBuild')
-rw-r--r--network/policyd2/policyd2.SlackBuild14
1 files changed, 6 insertions, 8 deletions
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
# <nishant _AT_ mnspace _DOT_ net>
# 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 .