aboutsummaryrefslogtreecommitdiffstats
path: root/testing/squidguard
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2012-07-31 11:28:48 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2012-07-31 11:28:48 +0000
commit6192405924ae0dfaf0b35955a56c4e87d292c35d (patch)
treed0eaacfdd8f22d60164cd81d4cfc5c894f6b53d0 /testing/squidguard
parent43fee9dc704cf44532c1048fe15a3718d93737bb (diff)
downloadaports-6192405924ae0dfaf0b35955a56c4e87d292c35d.tar.bz2
aports-6192405924ae0dfaf0b35955a56c4e87d292c35d.tar.xz
testing/squidguard: add leftover patch from previous commit (for good)
Diffstat (limited to 'testing/squidguard')
-rw-r--r--testing/squidguard/APKBUILD2
-rw-r--r--testing/squidguard/squidguard-1.4-debian-bdb-51.patch24
2 files changed, 25 insertions, 1 deletions
diff --git a/testing/squidguard/APKBUILD b/testing/squidguard/APKBUILD
index 8ae88d7c86..1033d21a6b 100644
--- a/testing/squidguard/APKBUILD
+++ b/testing/squidguard/APKBUILD
@@ -2,7 +2,7 @@
pkgname=squidguard
_realname=squidGuard
pkgver=1.4
-pkgrel=5
+pkgrel=6
pkgdesc="Squid URL redirector"
url="http://www.squidguard.org"
arch="all"
diff --git a/testing/squidguard/squidguard-1.4-debian-bdb-51.patch b/testing/squidguard/squidguard-1.4-debian-bdb-51.patch
new file mode 100644
index 0000000000..fc12c14b65
--- /dev/null
+++ b/testing/squidguard/squidguard-1.4-debian-bdb-51.patch
@@ -0,0 +1,24 @@
+Package: squidguard
+Subject: make it useable with Berkeley DB version 5.x
+Author: Joachim Wiedorn <ad_debian at joonet.de>
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=621376
+Forwarded: yes
+Last-Update: 2011-05-31
+
+Since the end of 2010 the is a new major version of Berkeley DB.
+For use with squidguard it need this patch.
+
+---
+
+diff -urN s07/src/sgDb.c s08/src/sgDb.c
+--- s07/src/sgDb.c 2008-07-14 20:29:41.000000000 +0200
++++ s08/src/sgDb.c 2011-05-31 20:06:26.328740739 +0200
+@@ -114,7 +114,7 @@
+ }
+ }
+ #endif
+-#if DB_VERSION_MAJOR == 4
++#if DB_VERSION_MAJOR == 4 || DB_VERSION_MAJOR == 5
+ if(globalUpdate || createdb || (dbfile != NULL && stat(dbfile,&st))){
+ flag = DB_CREATE;
+ if(createdb)