Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275838 - net-proxy/dansguardian-2.10.1.1 version bump request
Summary: net-proxy/dansguardian-2.10.1.1 version bump request
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Network Proxy Developers (OBSOLETE)
URL: http://www.dansguardian.org
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-29 15:23 UTC by Fabio Correa
Modified: 2009-08-01 13:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.