I submit a new ebuild for miniupnpc from http://miniupnp.free.fr/ The ultimate goal is to improve RetroShare ebuild (http://bugs.gentoo.org/show_bug.cgi?id=175599) by splitting it into separate ebuilds. Reproducible: Always
Created attachment 167874 [details] miniupnpc ebuild
I've created an init.d script, using upnpc to find UPnP-capable router and create route through it. In most cases DHCP will be better, but maybe someone else will found it useful.
Created attachment 170125 [details] init.d script (see #c2)
Created attachment 170126 [details] conf.d (#c2)
This is now in the sunrise overlay. You can find it at: http://overlays.gentoo.org/svn/proj/sunrise/reviewed/net-misc/miniupnpc
I'm on AMD64. miniupnpc-1.2.ebuild builds, installs and works just fine. It does not install the Python module I'm afraid, which is a real pity. This can be changed by adding "inherit distutils" to the top and "distutils_src_install" in the src_install(). I've created an ebuild for the next version, 1.3, that does compile the python module as well. The Makefile changed between 1.2 and 1.3, it no longer forced CFLAGS. This causes the ebuild to fail with a "could not read symbols: Bad value" error. To resolve this I've added "use amd64 && append-flags -fPIC" to the src_compile(). I don't know if this is only limited to AMD64, the 1.2 Makefile uses -fPIC for every platform.
Created attachment 205360 [details] Ebuild for 1.3
*** Bug 273459 has been marked as a duplicate of this bug. ***
Maybe the maintainer of net-misc/miniupnpd is interested?
So, you want the distutils stuff added to the current ebuilds? (Or am I missing what this is about) :)
(In reply to comment #10) > So, you want the distutils stuff added to the current ebuilds? This is rather about moving the miniupnpc ebuilds [1] from Sunrise to gentoo-x86, if you're interested. [1] http://overlays.gentoo.org/proj/sunrise/browser/reviewed/net-misc/miniupnpc
Oh, and about distutils and related: I'm already cleaning up and updating the ebuild.
Ahh, we are talking about the client - misread the subject :-) I'm sorry, but I don't have any need for it :)
Created attachment 246352 [details] fixed libdir, added static-libs USE, cosmetics I suggest net-libs instead of net-misc category. This library is used by transmission and next (2010-11-15) release of eiskaltdcpp.
(In reply to comment #14) > fixed libdir, added static-libs USE, cosmetics Thank you. I've reworked your changes and applied them along with few other in r11295 [1]. > I suggest net-libs instead of net-misc category. Yeah, I'd be happy to move it too. But first we'll have to wait till portage-2.1.9 gets stable (older versions don't support in-overlay package moves) and then I'll have to convince Tommy to accept the move itself. [1] http://overlays.gentoo.org/proj/sunrise/changeset/11295
I've commited it to the tree. Michał could you, please, review it and tell us if any patches are missed in our ebuild. Also have you reported your fixes upstream? Do you want to co-maintain this package with me proxy?
(In reply to comment #16) > I've commited it to the tree. Michał could you, please, review it and tell us > if any patches are missed in our ebuild. Not really today. I'm having issues with my ISP and running on GPRS currently. > Also have you reported your fixes upstream? Not yet. I'd appreciate if you could do that for me :). > Do you want to co-maintain this package with me proxy? I'd be happy too but I don't think this will be necessary soon.
(In reply to comment #17) > > Also have you reported your fixes upstream? > > Not yet. I'd appreciate if you could do that for me :). Ok, done and it looks like they were accepted :)