Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 275838

Summary: net-proxy/dansguardian-2.10.1.1 version bump request
Product: Gentoo Linux Reporter: Fabio Correa <facorread>
Component: New packagesAssignee: Gentoo Network Proxy Developers (OBSOLETE) <net-proxy+disabled>
Status: VERIFIED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.dansguardian.org
Whiteboard:
Package list:
Runtime testing required: ---

Description Fabio Correa 2009-06-29 15:23:40 UTC
Hello, DansGuardian-2.10.1.1 has some time in the wild. The following patch upgrades the ebuild to EAPI 2.

--- dansguardian-2.10.0.3.ebuild  2009-04-26 14:36:38.000000000 -0500                                                          
+++ dansguardian-2.10.1.1.ebuild       2009-06-29 10:04:53.166749334 -0500                                                  
@@ -1,6 +1,8 @@                                                                                                                                              
 # Copyright 1999-2009 Gentoo Foundation                                                                                                                     
 # Distributed under the terms of the GNU General Public License v2                                                                                          
-# $Header: /var/cvsroot/gentoo-x86/net-proxy/dansguardian/dansguardian-2.10.0.3.ebuild,v 1.5 2009/04/26 19:25:50 ranger Exp $
+# $Header:
+
+EAPI=2

 DESCRIPTION="Web content filtering via proxy"
 HOMEPAGE="http://dansguardian.org"
@@ -8,7 +10,7 @@

 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="amd64 ppc ppc64 ~sparc x86"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
 IUSE="clamav kaspersky debug ntlm pcre"

 RDEPEND="sys-libs/zlib
@@ -36,7 +38,7 @@
        fi
 }

-src_compile() {
+src_configure() {
        local myconf="--with-logdir=/var/log/dansguardian
                --with-piddir=/var/run
                --docdir=/usr/share/doc/${PF}
@@ -59,7 +61,9 @@
        fi

        econf ${myconf} || die "configure failed"
+}

+src_compile() {
        emake OPTIMISE="${CFLAGS}" || die "emake failed"
 }
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2009-07-05 00:04:50 UTC
Fixed in cvs.