[package] update dansguardian to 2.10.1.1 (#5539)

git-svn-id: svn://svn.openwrt.org/openwrt/packages@16874 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2009-07-17 11:17:53 +00:00
parent bb093e0285
commit f4ec1c9810
3 changed files with 7 additions and 20 deletions

View File

@ -8,12 +8,12 @@
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

View File

@ -1,8 +1,6 @@
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'
@ -11,7 +9,7 @@ Index: dansguardian-2.9.9.2/configure
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
@ -20,7 +18,7 @@ Index: dansguardian-2.9.9.2/configure
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

View File

@ -1,11 +0,0 @@
--- 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))
{