summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorNishant Limbachia <nishant@mnspace.net>2011-07-16 15:53:01 -0300
committerRobby Workman <rworkman@slackbuilds.org>2011-07-21 22:52:09 -0500
commit909f6acfdfca7a42654557ad48599c609ab46a04 (patch)
tree27a96b6973d3dc06e1f17bf4a3c30e2208e1ab9a /network
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')
-rw-r--r--network/policyd2/logrotate.policyd24
-rw-r--r--network/policyd2/patches/cbpolicyd.patch13
-rw-r--r--network/policyd2/policyd2.SlackBuild14
-rw-r--r--network/policyd2/policyd2.info8
-rw-r--r--network/policyd2/rc.policyd24
-rw-r--r--network/policyd2/slack-desc8
6 files changed, 20 insertions, 31 deletions
diff --git a/network/policyd2/logrotate.policyd2 b/network/policyd2/logrotate.policyd2
index 9a25024a50..a3cce804c4 100644
--- a/network/policyd2/logrotate.policyd2
+++ b/network/policyd2/logrotate.policyd2
@@ -2,7 +2,7 @@
rotate 5
notifempty
missingok
- size 1M
+ size 100k
nocompress
copytruncate
-} \ No newline at end of file
+}
diff --git a/network/policyd2/patches/cbpolicyd.patch b/network/policyd2/patches/cbpolicyd.patch
index 4a6efc4d18..bb881cbd1b 100644
--- a/network/policyd2/patches/cbpolicyd.patch
+++ b/network/policyd2/patches/cbpolicyd.patch
@@ -1,14 +1,5 @@
---- cbpolicyd.orig 2010-01-02 10:38:11.820144965 -0600
-+++ cbpolicyd 2010-01-02 10:41:45.097397504 -0600
-@@ -22,7 +22,7 @@
- use strict;
- use warnings;
-
--use lib('/usr/local/lib/policyd-2.0','/usr/lib/policyd-2.0');
-+use lib('/usr/lib/policyd-2.0','/usr/lib64/policyd-2.0');
-
- package cbp;
-
+--- cbpolicyd.orig 2010-11-30 12:03:52.815487946 -0600
++++ cbpolicyd 2010-11-30 12:05:04.310762746 -0600
@@ -53,13 +53,13 @@
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 .
diff --git a/network/policyd2/policyd2.info b/network/policyd2/policyd2.info
index 3ab0b3b666..de31057fbb 100644
--- a/network/policyd2/policyd2.info
+++ b/network/policyd2/policyd2.info
@@ -1,10 +1,10 @@
PRGNAM="policyd2"
-VERSION="2.0.10"
+VERSION="2.0.11"
HOMEPAGE="http://www.policyd.org/"
-DOWNLOAD="http://downloads.sourceforge.net/policyd/cluebringer-2.0.10.tar.bz2"
-MD5SUM="cdff8f8e7c0e95143f7108159aed80c6"
+DOWNLOAD="http://devlabs.linuxassist.net/attachments/download/186/cluebringer-2.0.11.tar.bz2"
+MD5SUM="b359032ac7ec9ae7aadbcbf2136b7a47"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Nishant Limbachia"
EMAIL="nishant@mnspace.net"
-APPROVED="rworkman"
+APPROVED="Niels Horn"
diff --git a/network/policyd2/rc.policyd2 b/network/policyd2/rc.policyd2
index 80c9598635..7980d959bb 100644
--- a/network/policyd2/rc.policyd2
+++ b/network/policyd2/rc.policyd2
@@ -1,13 +1,13 @@
#!/bin/sh
#
-# Copyright (c) 2008-2010, Nishant Limbachia, Hoffman Estates, IL, USA
+# Copyright (c) 2008-2011, Nishant Limbachia, Hoffman Estates, IL, USA
#
# /etc/rc.d/rc.policyd2
# start|stop|restart|status Policyd2 daemon
#
# The PIDFILE is setup in the config file. Default is /var/run/policyd2.pid
# If you change the location in the config file then it **needs** to be
-# changed here too for the script to work correctly
+# changed here too for the script to work correctly.
PIDFILE="/var/run/policyd2.pid"
CONFIG="/etc/policyd2.conf"
diff --git a/network/policyd2/slack-desc b/network/policyd2/slack-desc
index fa475d846b..8c20ea84cd 100644
--- a/network/policyd2/slack-desc
+++ b/network/policyd2/slack-desc
@@ -5,13 +5,13 @@
# make exactly 11 lines for the formatting to be correct. It's also
# customary to leave one space after the ':'.
- |-----handy-ruler-----------------------------------------------------|
+ |-----handy-ruler------------------------------------------------------|
policyd2: policyd2 (policy server for MTA)
policyd2:
policyd2: policyd2 is is a multi-platform policy server for popular MTAs.
-policyd2: policyd2 aims to implement as many spam combating and email compliance
-policyd2: features as possible while at the same time maintaining the portability,
-policyd2: stability and performance.
+policyd2: policyd2 aims to implement as many spam combating and email compliance
+policyd2: features as possible while at the same time maintaining the
+policyd2: portability, stability and performance.
policyd2:
policyd2: Home Page: http://www.policyd.org/
policyd2: