Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 421171 - net-misc/miredo-1.2.5 ebuild rework
Summary: net-misc/miredo-1.2.5 ebuild rework
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
: 421149 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-06-14 21:58 UTC by Bertrand Jacquin
Modified: 2013-02-20 18:45 UTC (History)
1 user (show)

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


Attachments
miredo-1.2.5.ebuild (miredo-1.2.5.ebuild,1.36 KB, text/plain)
2012-06-14 21:58 UTC, Bertrand Jacquin
Details
files/1.2.5-BJA-configure-libcap.diff (1.2.5-BJA-configure-libcap.diff,918 bytes, patch)
2012-06-14 21:58 UTC, Bertrand Jacquin
Details | Diff
miredo-1.2.5.ebuild.diff (miredo-1.2.5.ebuild.diff,1.39 KB, patch)
2012-06-18 17:33 UTC, Bertrand Jacquin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bertrand Jacquin 2012-06-14 21:58:00 UTC
Same part of net-misc/miredo-1.2.5 ebuild can be rework :

 - --disable-static shouldn't be added to econf options
 - prune_libtool_files can be use to delete all .la files and is more generic
 - --prefix=/usr is forced but also by econf
 - --sysconfdir=/etc is force but also by econf
 - emake install can be replace with einstall (so the broken --docdir)
 - #undef HAVE_SYS_CAPABILITY_H is written to config.h when USE caps is disable, can be fixed by a patch to autofoo stuff

All this is included

Reproducible: Always
Comment 1 Bertrand Jacquin 2012-06-14 21:58:21 UTC
Created attachment 315349 [details]
miredo-1.2.5.ebuild

miredo-1.2.5.ebuild
Comment 2 Bertrand Jacquin 2012-06-14 21:58:34 UTC
Created attachment 315351 [details, diff]
files/1.2.5-BJA-configure-libcap.diff

files/1.2.5-BJA-configure-libcap.diff
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-06-18 13:18:32 UTC
*** Bug 421149 has been marked as a duplicate of this bug. ***
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-06-18 13:22:02 UTC
The configure patch looks correct — but please provide a diff for the ebuild itself, as there are a few funny thing:

 - einstall is deprecated and shouldn't be used;
 - if you're using EAPI=4 you might want to just define DOCS and use `default` instead of either `emake install` or `einstall`;
 - the --docdir option is wrong, both because it lists ${D} (it shouldn't) and because it uses ${P} (it should use ${PF});
 - --disable-static would avoid building the archive libraries for miredo that, iirc, are never used so it makes sense for it to stay.

But the rest of the review is up to xmw.
Comment 5 Bertrand Jacquin 2012-06-18 17:33:59 UTC
Created attachment 315681 [details, diff]
miredo-1.2.5.ebuild.diff

Thanks for the review, here is an update (patch version this time)
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2013-02-20 18:45:33 UTC
Okay this was already fixed in -r1.