include $(TOPDIR)/rules.mk
PKG_NAME:=dansguardian
-PKG_VERSION:=2.10.0.2
+PKG_VERSION:=2.10.1.1
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://dansguardian.org/downloads/2/Stable
-PKG_MD5SUM:=0a6c6d35c9e0c82fbc4a2150e8ffe977
+PKG_MD5SUM:=0987a1c9bfbdf398118386f10279611a
include $(INCLUDE_DIR)/package.mk
-Index: dansguardian-2.9.9.2/configure
-===================================================================
---- dansguardian-2.9.9.2.orig/configure 2008-02-27 17:52:06.000000000 +0100
-+++ dansguardian-2.9.9.2/configure 2008-02-27 17:52:06.000000000 +0100
-@@ -799,7 +799,7 @@
+--- a/configure
++++ b/configure
+@@ -861,7 +861,7 @@ sysconfdir='${prefix}/etc'
sharedstatedir='${prefix}/com'
localstatedir='${prefix}/var'
includedir='${prefix}/include'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
infodir='${datarootdir}/info'
htmldir='${docdir}'
-@@ -6429,7 +6429,7 @@
+@@ -6317,7 +6317,7 @@ $as_echo_n "checking for zlib... " >&6;
# Check whether --with-zlib was given.
if test "${with_zlib+set}" = set; then
withval=$with_zlib; # check for header & func (in library) in given prefix
if test "x$staticzlib" = "xtrue"; then
LIBS="-Bstatic -L${withval} -lz -Bdynamic ${LIBS}"
else
-@@ -10753,7 +10753,7 @@
+@@ -10042,7 +10042,7 @@ _ACEOF
if test "${with_libiconv+set}" = set; then
withval=$with_libiconv; # check for header & func (in library) in given prefix
if test "x$withval" != "x"; then
---- dansguardian-2.10/src/IPList.cpp.orig 2008-11-19 07:45:54 +0000
-+++ dansguardian-2.10/src/IPList.cpp 2008-11-19 07:46:44 +0000
-@@ -81,7 +81,7 @@
- hostnames.reset(new std::deque<String>);
- hostnames->push_back(*host);
- }
-- for (std::deque<String>::const_iterator i = hostnames->begin(); i != hostnames->end(); ++i)
-+ for (std::deque<String>::iterator i = hostnames->begin(); i != hostnames->end(); ++i)
- {
- if (std::binary_search(hostlist.begin(), hostlist.end(), *i))
- {