Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 321023 - new prefix ebuild for net-libs/libasyncns
Summary: new prefix ebuild for net-libs/libasyncns
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-22 12:41 UTC by Benda Xu
Modified: 2010-06-01 20:44 UTC (History)
1 user (show)

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


Attachments
patch after ecopy (libasyncns-0.7.patch,572 bytes, patch)
2010-05-22 12:42 UTC, Benda Xu
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Benda Xu gentoo-dev 2010-05-22 12:41:26 UTC
new ebuild submission.

Reproducible: Always

Steps to Reproduce:
ecopy and apply the attached patch.




emerge --info output

Portage 2.2.00.15842-prefix (prefix/linux/x86, gcc-4.2.4, unavailable, 2.6.27.38-170.2.113.fc10.i686.PAE i686)
=================================================================
System uname: Linux-2.6.27.38-170.2.113.fc10.i686.PAE-i686-Intel-R-_Xeon-R-_CPU_X5470_@_3.33GHz-with-fedora-10-Cambridge
Timestamp of tree: Sat, 22 May 2010 11:08:13 +0000
distcc 2.18.3 i386-redhat-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.5-r2
dev-util/cmake:      2.8.1-r1
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.4_p6-r1, 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.2-r00.1, 1.11.1
sys-devel/binutils:  2.20.51.0.6
sys-devel/gcc:       4.2.4-r01.2, 4.4.3
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="~x86-linux"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=nocona"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=nocona"
DISTDIR="/home/benda/local/usr/portage/distfiles"
FEATURES="assume-digests collision-protect distlocks fixpackages news parallel-fetch preserve-libs protect-owned sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j8"
PKGDIR="/home/benda/local/usr/portage/packages"
PORTAGE_CONFIGROOT="/home/benda/local/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/home/benda/local/var/tmp"
PORTDIR="/home/benda/local/usr/portage"
PORTDIR_OVERLAY="/home/benda/local/usr/local/portage/tauon"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="X audio berkdb bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 modules mudflap ncurses nls nptl nptlonly openmp pcre perl pppd prefix python qt3support readline reflection session spl ssl sysfs tcpd unicode video x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Benda Xu gentoo-dev 2010-05-22 12:42:45 UTC
Created attachment 232451 [details, diff]
patch after ecopy
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-06-01 20:25:15 UTC
Diego,
Would this be ok for the main tree?

--- libasyncns-0.7.ebuild       25 Jan 2009 11:34:19 -0000      1.2
+++ libasyncns-0.7.ebuild       1 Jun 2010 20:23:47 -0000
@@ -2,6 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/net-libs/libasyncns/libasyncns-0.7.ebuild,v 1.2 2009/01/25 11:34:19 armin76 Exp $
 
+EAPI=3
 inherit libtool flag-o-matic
 
 DESCRIPTION="C library for executing name service queries asynchronously."
@@ -11,29 +12,29 @@
 SLOT="0"
 
 LICENSE="LGPL-2.1"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-linux"
 
 IUSE="doc debug"
 
 RDEPEND=""
 DEPEND="doc? ( app-doc/doxygen )"
 
-src_unpack() {
-       unpack ${A}
-
+src_prepare() {
        elibtoolize
 }
 
-src_compile() {
+src_configure() {
        # libasyncns uses assert()
        use debug || append-flags -DNDEBUG
 
        econf \
-               --docdir=/usr/share/doc/${PF} \
-               --htmldir=/usr/share/doc/${PF}/html \
+               --docdir="${EPREFIX}"/usr/share/doc/${PF} \
+               --htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \
                --disable-dependency-tracking \
                --disable-lynx \
-               || die "econf failed"
+}
+
+src_compile() {
        emake || die "emake failed"
 
        if use doc; then
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-06-01 20:28:31 UTC
Feel free, and if you can do the bump together (test the tests please) it'd be even better.
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2010-06-01 20:44:18 UTC
thx, done. the default src_test worked but that is as far as I know how to test it.

+*libasyncns-0.8 (01 Jun 2010)
+
+  01 Jun 2010; Jeremy Olexa <darkside@gentoo.org> +libasyncns-0.8.ebuild:
+  Version bump (bug 309355), add Gentoo Prefix support (bug 321023)