Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 399217 - net-libs/udns - please add building of rblcheck, dnsget binaries
Summary: net-libs/udns - please add building of rblcheck, dnsget binaries
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Pavlos Ratis (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-17 22:03 UTC by Marcin Mirosław
Modified: 2014-04-26 18: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 Marcin Mirosław 2012-01-17 22:03:36 UTC
It can be usefull tool for users. It maybe build always or when e.g. USE=tools is set.

Reproducible: Always
Comment 1 Marcin Mirosław 2014-01-20 10:01:44 UTC
Diff for ebuild:

$ diff -u udns-0.2.ebuild udns-0.3.ebuild 
--- udns-0.2.ebuild     2012-09-05 17:51:52.000000000 +0200
+++ udns-0.3.ebuild     2014-01-20 11:00:10.000000000 +0100
@@ -28,16 +28,20 @@
 }
 
 src_compile() {
-       emake sharedlib
+       emake shared
 }
 
 src_install() {
        dolib.so libudns.so.0 || die "dolib.so failed"
        dosym libudns.so.0 "/usr/$(get_libdir)/libudns.so" || die "dosym failed"
 
+       newbin dnsget_s dnsget
+       newbin ex-rdns_s ex-rdns
+       newbin rblcheck_s rblcheck
+
        insinto /usr/include
        doins udns.h
 
-       doman udns.3
+       doman dnsget.1 rblcheck.1 udns.3
        dodoc NEWS NOTES TODO
 }
Comment 2 Wolfram Schlich (RETIRED) gentoo-dev 2014-04-26 15:21:40 UTC
Fixed in 0.4.
Comment 3 Marcin Mirosław 2014-04-26 18:52:27 UTC
Thanks Wolfram!:)

Could be two if clausules merged into one? I mean:
        if use tools; then
                newbin dnsget_s dnsget
                newbin ex-rdns_s ex-rdns
                newbin rblcheck_s rblcheck
        fi

        insinto /usr/include
        doins udns.h

        doman udns.3
        if use tools; then
                doman dnsget.1 rblcheck.1
        fi


into:
        if use tools; then
                newbin dnsget_s dnsget
                newbin ex-rdns_s ex-rdns
                newbin rblcheck_s rblcheck
                doman dnsget.1 rblcheck.1
        fi