Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 312015 - Please review Prefix changes for net-dns/unbound-1.4.3
Summary: Please review Prefix changes for net-dns/unbound-1.4.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: AMD64 OS X
: High normal (vote)
Assignee: MATSUU Takuto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-30 00:38 UTC by Peter Abrahamsen
Modified: 2010-04-23 08:52 UTC (History)
1 user (show)

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 Peter Abrahamsen 2010-03-30 00:38:47 UTC
ldns ecopies just fine. unbound needs:


43,44c43,44
< 		--with-pidfile=/var/run/unbound.pid \
< 		--with-ldns=/usr \
---
> 		--with-pidfile="${EPREFIX}/var/run/unbound.pid" \
> 		--with-ldns="${EPREFIX}/usr" \
62c62
< 		rm "${D}/usr/$(get_libdir)"/python*/site-packages/_unbound.*a || die
---
> 		rm "${ED}/usr/$(get_libdir)"/python*/site-packages/_unbound.*a || die

I'm just using this to get unbound-control, which works spiffy.

Reproducible: Always
Comment 1 Fabian Groffen gentoo-dev 2010-04-02 19:41:50 UTC
@matsuu: please review and comment on the proposed changes below.  If you prefer, we can commit them to 1.4.3-r1.


Index: unbound-1.4.3.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-dns/unbound/unbound-1.4.3.ebuild,v
retrieving revision 1.4
diff -u -r1.4 unbound-1.4.3.ebuild
--- unbound-1.4.3.ebuild        29 Mar 2010 21:54:46 -0000      1.4
+++ unbound-1.4.3.ebuild        2 Apr 2010 19:40:39 -0000
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/net-dns/unbound/unbound-1.4.3.ebuild,v 1.4 2010/03/29 21:54:46 maekke Exp $
 
-EAPI="2"
+EAPI="3"
 
 inherit autotools eutils multilib
 
@@ -40,8 +40,8 @@
 
 src_configure() {
        econf \
-               --with-pidfile=/var/run/unbound.pid \
-               --with-ldns=/usr \
+               --with-pidfile="${EPREFIX}"/var/run/unbound.pid \
+               --with-ldns="${EPREFIX}"/usr \
                $(use_enable debug) \
                $(use_enable debug lock-checks) \
                $(use_enable debug alloc-checks) \
@@ -59,7 +59,7 @@
 
        # bug #299016
        if use python ; then
-               rm "${D}/usr/$(get_libdir)"/python*/site-packages/_unbound.*a || die
+               rm "${ED}/usr/$(get_libdir)"/python*/site-packages/_unbound.*a || die
        fi
 
        newinitd "${FILESDIR}/unbound.initd" unbound || die "newinitd failed"
Comment 2 MATSUU Takuto (RETIRED) gentoo-dev 2010-04-23 04:10:25 UTC
Fixed in 1.4.4.
Comment 3 Fabian Groffen gentoo-dev 2010-04-23 08:52:39 UTC
thanks