Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 241120 - New ebuild for miniupnpc from http://miniupnp.free.fr/
Summary: New ebuild for miniupnpc from http://miniupnp.free.fr/
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard: [sunrise-overlay]
Keywords: EBUILD, InOverlay
: 273459 (view as bug list)
Depends on:
Blocks: 289904 310255 322057
  Show dependency tree
 
Reported: 2008-10-10 15:40 UTC by Alex Krastelev
Modified: 2010-09-17 09:53 UTC (History)
4 users (show)

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


Attachments
miniupnpc ebuild (miniupnpc-1.2.ebuild,664 bytes, text/plain)
2008-10-10 15:40 UTC, Alex Krastelev
Details
init.d script (see #c2) (miniupnpc-initd,1.73 KB, text/plain)
2008-10-28 16:29 UTC, Michał Górny
Details
conf.d (#c2) (miniupnpc-confd,176 bytes, text/plain)
2008-10-28 16:29 UTC, Michał Górny
Details
Ebuild for 1.3 (miniupnpc-1.3.ebuild,618 bytes, text/plain)
2009-09-27 08:56 UTC, Ceesjan Luiten
Details
fixed libdir, added static-libs USE, cosmetics (miniupnpc-1.4.20100609.ebuild,1.03 KB, text/plain)
2010-09-07 11:51 UTC, Nikoli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Krastelev 2008-10-10 15:40:11 UTC
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
Comment 1 Alex Krastelev 2008-10-10 15:40:58 UTC
Created attachment 167874 [details]
miniupnpc ebuild
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2008-10-28 16:28:27 UTC
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.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2008-10-28 16:29:15 UTC
Created attachment 170125 [details]
init.d script (see #c2)
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2008-10-28 16:29:41 UTC
Created attachment 170126 [details]
conf.d (#c2)
Comment 5 Alex Krastelev 2008-11-12 12:06:04 UTC
This is now in the sunrise overlay. You can find it at:
http://overlays.gentoo.org/svn/proj/sunrise/reviewed/net-misc/miniupnpc
Comment 6 Ceesjan Luiten 2009-09-27 08:55:48 UTC
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.
Comment 7 Ceesjan Luiten 2009-09-27 08:56:50 UTC
Created attachment 205360 [details]
Ebuild for 1.3
Comment 8 Ryan Hill (RETIRED) gentoo-dev 2010-02-11 05:07:25 UTC
*** Bug 273459 has been marked as a duplicate of this bug. ***
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2010-05-26 18:56:14 UTC
Maybe the maintainer of net-misc/miniupnpd is interested?
Comment 10 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2010-05-29 14:18:12 UTC
So, you want the distutils stuff added to the current ebuilds? (Or am I missing what this is about) :)
Comment 11 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-05-29 15:38:19 UTC
(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
Comment 12 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-05-29 15:46:50 UTC
Oh, and about distutils and related: I'm already cleaning up and updating the ebuild.
Comment 13 Bjarke Istrup Pedersen (RETIRED) gentoo-dev 2010-05-29 16:59:24 UTC
Ahh, we are talking about the client - misread the subject :-)

I'm sorry, but I don't have any need for it :)
Comment 14 Nikoli 2010-09-07 11:51:52 UTC
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.
Comment 15 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-09-11 12:54:25 UTC
(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
Comment 16 Peter Volkov (RETIRED) gentoo-dev 2010-09-15 08:43:22 UTC
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?
Comment 17 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2010-09-15 16:40:06 UTC
(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.
Comment 18 Peter Volkov (RETIRED) gentoo-dev 2010-09-17 09:53:04 UTC
(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 :)