summaryrefslogtreecommitdiffstats
path: root/network/policyd2/policyd2.SlackBuild
diff options
context:
space:
mode:
author Nishant Limbachia2011-07-16 20:53:01 +0200
committer Robby Workman2011-07-22 05:52:09 +0200
commit909f6acfdfca7a42654557ad48599c609ab46a04 (patch)
tree27a96b6973d3dc06e1f17bf4a3c30e2208e1ab9a /network/policyd2/policyd2.SlackBuild
parent8b0ff18c686999a4ff9ce37564cbb6f3054c5384 (diff)
downloadslackbuilds-909f6acfdfca7a42654557ad48599c609ab46a04.tar.gz
network/policyd2: Updated for version 2.0.11.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
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 .