From: Oliver Ertl Date: Wed, 27 Feb 2008 16:53:13 +0000 (+0000) Subject: net/dansguardian: Fix compilation X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=622449fd9882f6654cb5dc97488cd540c9d85d70;p=openwrt%2Fsvn-archive%2Fpackages.git net/dansguardian: Fix compilation SVN-Revision: 10530 --- diff --git a/net/dansguardian/Makefile b/net/dansguardian/Makefile index 4451d54d4..c64e6cff8 100644 --- a/net/dansguardian/Makefile +++ b/net/dansguardian/Makefile @@ -4,7 +4,7 @@ # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. # -# $Id: $ +# $Id$ include $(TOPDIR)/rules.mk @@ -14,16 +14,15 @@ PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://dansguardian.org/downloads/2/Beta -PKG_MD5SUM:= +PKG_MD5SUM:=7877ee4d34df6ac538e6522755cedaf6 -PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) -PKG_INSTALL_DIR:=$(PKG_BUILD_DIR)/ipkg-install +PKG_FIXUP = libtool include $(INCLUDE_DIR)/package.mk define Package/dansguardian SECTION:=net - DEPENDS:=+libpthread +uclibcxx + DEPENDS:=+libpthread +uclibcxx +zlib CATEGORY:=Network TITLE:=DansGuardian URL:=http://dansguardian.org @@ -40,13 +39,13 @@ CONFIGURE_VARS += \ LDFLAGS="$$$$LDFLAGS" \ LIBS="-nodefaultlibs -luClibc++ -lpthread" \ - define Build/Configure $(call Build/Configure/Default,\ --disable-clamav \ --with-sysconfsubdir=dansguardian \ --with-proxyuser=root \ --with-proxygroup=root \ + --disable-pcre \ ) endef diff --git a/net/dansguardian/patches/001-include_dir.patch b/net/dansguardian/patches/001-include_dir.patch index b174a2e75..256b834db 100644 --- a/net/dansguardian/patches/001-include_dir.patch +++ b/net/dansguardian/patches/001-include_dir.patch @@ -1,5 +1,7 @@ ---- dansguardian-2.9.9.2/configure 2007-11-13 17:17:03.000000000 +0100 -+++ dansguardian-2.9.9.2.new/configure 2008-02-21 11:15:07.000000000 +0100 +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 @@ sharedstatedir='${prefix}/com' localstatedir='${prefix}/var'