summaryrefslogtreecommitdiff
path: root/extra/dansguardian
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-13 01:08:38 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-13 01:08:38 -0300
commit6b1c32bde545b9e47ab1fe83fdfb722ca6218393 (patch)
treeac8f75aa35fc81be9eaffe905ab498e7713b2f84 /extra/dansguardian
parent2c721caa534df76621bf07705ed0ea80efe44f8b (diff)
parent0020cc650ff973f269f23332e82fc097254d0adc (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community/ccze/PKGBUILD community/remind/PKGBUILD core/iw/PKGBUILD core/less/PKGBUILD extra/davfs2/PKGBUILD extra/ettercap/PKGBUILD extra/gtk-xfce-engine/PKGBUILD extra/imagemagick/PKGBUILD extra/kismet/PKGBUILD extra/libmp3splt/PKGBUILD extra/php/PKGBUILD extra/xfce4-verve-plugin/PKGBUILD multilib/lib32-glib2/PKGBUILD multilib/lib32-pcre/PKGBUILD multilib/wine/PKGBUILD staging/xorg-server/PKGBUILD
Diffstat (limited to 'extra/dansguardian')
-rw-r--r--extra/dansguardian/PKGBUILD16
1 files changed, 11 insertions, 5 deletions
diff --git a/extra/dansguardian/PKGBUILD b/extra/dansguardian/PKGBUILD
index 75314e45e..41ec639e9 100644
--- a/extra/dansguardian/PKGBUILD
+++ b/extra/dansguardian/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 70467 2010-02-26 21:24:54Z dgriffiths $
+# $Id: PKGBUILD 149944 2012-02-11 23:30:32Z allan $
# Maintainer: Kevin Piche <kevin@archlinux.org>
# Contributor: Manolis Tzanidakis
pkgname=dansguardian
pkgver=2.10.1.1
-pkgrel=2
+pkgrel=3
pkgdesc="Squid plugin for web content filtering."
url="http://dansguardian.org"
arch=('i686' 'x86_64' 'mips64el')
@@ -12,8 +12,10 @@ license=('GPL2')
depends=('squid' 'pcre' 'zlib')
install=${pkgname}.install
source=(http://dansguardian.org/downloads/2/Stable/${pkgname}-${pkgver}.tar.gz
-dansguardian dg2.10.1.1-missing.stdio.patch)
-md5sums=('0987a1c9bfbdf398118386f10279611a' 'a65a2cb6309670ad8978f1544907d290'
+ dansguardian
+ dg2.10.1.1-missing.stdio.patch)
+md5sums=('0987a1c9bfbdf398118386f10279611a'
+ 'a65a2cb6309670ad8978f1544907d290'
'3444718c00cc17337cba711ceaa1c0e5')
build() {
@@ -21,7 +23,11 @@ build() {
patch -Np0 -i ${srcdir}/dg2.10.1.1-missing.stdio.patch
./configure --prefix="/usr" --with-proxyuser=proxy --with-proxygroup=proxy \
--sysconfdir=/etc --localstatedir=/var --enable-email
- make || return 1
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=${pkgdir} install
install -D data/scripts/dansguardian ${pkgdir}/etc/logrotate.d/dansguardian