Gentoo Archives: gentoo-commits

From: "Maxim Koltsov (maksbotan)" <maksbotan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-libs/miniupnpc: miniupnpc-1.9.20150424.ebuild ChangeLog
Date: Tue, 28 Apr 2015 17:26:10
Message-Id: 20150428172558.0007B998@oystercatcher.gentoo.org
1 maksbotan 15/04/28 17:25:56
2
3 Modified: ChangeLog
4 Added: miniupnpc-1.9.20150424.ebuild
5 Log:
6 Bump to 1.9.20150424, bug #539568, thanks to Nikoli. Fixes security bug 512666.
7
8 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key F8DBDADE)
9
10 Revision Changes Path
11 1.44 net-libs/miniupnpc/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/miniupnpc/ChangeLog?rev=1.44&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/miniupnpc/ChangeLog?rev=1.44&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/miniupnpc/ChangeLog?r1=1.43&r2=1.44
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-libs/miniupnpc/ChangeLog,v
20 retrieving revision 1.43
21 retrieving revision 1.44
22 diff -u -r1.43 -r1.44
23 --- ChangeLog 2 May 2014 12:53:17 -0000 1.43
24 +++ ChangeLog 28 Apr 2015 17:25:56 -0000 1.44
25 @@ -1,6 +1,13 @@
26 # ChangeLog for net-libs/miniupnpc
27 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-libs/miniupnpc/ChangeLog,v 1.43 2014/05/02 12:53:17 jer Exp $
29 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/net-libs/miniupnpc/ChangeLog,v 1.44 2015/04/28 17:25:56 maksbotan Exp $
31 +
32 +*miniupnpc-1.9.20150424 (28 Apr 2015)
33 +
34 + 28 Apr 2015; Maxim Koltsov <maksbotan@g.o>
35 + +miniupnpc-1.9.20150424.ebuild:
36 + Bump to 1.9.20150424, bug #539568, thanks to Nikoli. Fixes security bug
37 + 512666.
38
39 02 May 2014; Jeroen Roovers <jer@g.o> miniupnpc-1.8.ebuild:
40 Stable for HPPA (bug #506794).
41
42
43
44 1.1 net-libs/miniupnpc/miniupnpc-1.9.20150424.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/miniupnpc/miniupnpc-1.9.20150424.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/miniupnpc/miniupnpc-1.9.20150424.ebuild?rev=1.1&content-type=text/plain
48
49 Index: miniupnpc-1.9.20150424.ebuild
50 ===================================================================
51 # Copyright 1999-2015 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/net-libs/miniupnpc/miniupnpc-1.9.20150424.ebuild,v 1.1 2015/04/28 17:25:56 maksbotan Exp $
54
55 EAPI=5
56
57 inherit eutils multilib toolchain-funcs
58
59 DESCRIPTION="UPnP client library and a simple UPnP client"
60 HOMEPAGE="http://miniupnp.free.fr/"
61 #SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz"
62 # https://github.com/miniupnp/miniupnp/issues/111
63 MY_COMMIT="e501f5625dd171d0133fadd31ba1d3ce7cb5424f"
64 SRC_URI="https://github.com/miniupnp/miniupnp/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
65
66 LICENSE="BSD"
67 SLOT="0/12"
68 KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
69 IUSE="ipv6 kernel_linux static-libs"
70
71 RDEPEND=""
72 DEPEND="kernel_linux? ( sys-apps/lsb-release sys-apps/which )"
73
74 S="${WORKDIR}/miniupnp-${MY_COMMIT}/${PN}"
75
76 src_prepare() {
77 epatch_user
78
79 if ! use static-libs; then
80 sed -i \
81 -e '/FILESTOINSTALL =/s/ $(LIBRARY)//' \
82 -e '/$(INSTALL) -m 644 $(LIBRARY) $(INSTALLDIRLIB)/d' \
83 Makefile || die
84 fi
85 }
86
87 # Upstream cmake causes more trouble than it fixes,
88 # so we'll just stay with the Makefile for now.
89
90 src_compile() {
91 tc-export CC AR
92 emake upnpc-shared $(use static-libs && echo upnpc-static)
93 }
94
95 src_test() {
96 emake -j1 HAVE_IPV6=$(usex ipv6 yes no) check
97 }
98
99 src_install() {
100 emake \
101 PREFIX="${D}" \
102 INSTALLDIRLIB="${D}usr/$(get_libdir)" \
103 install
104
105 dodoc README Changelog.txt
106 }