1 |
gurligebis 11/12/28 14:58:45 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: miniupnpd-1.7_pre20111118.ebuild |
5 |
Log: |
6 |
Bumping to 1.7_pre20111118 and adding support for new ifconfig output format. |
7 |
|
8 |
(Portage version: 2.2.0_alpha83/cvs/Linux i686) |
9 |
|
10 |
Revision Changes Path |
11 |
1.22 net-misc/miniupnpd/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/ChangeLog?rev=1.22&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/ChangeLog?rev=1.22&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/ChangeLog?r1=1.21&r2=1.22 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/ChangeLog,v |
20 |
retrieving revision 1.21 |
21 |
retrieving revision 1.22 |
22 |
diff -u -r1.21 -r1.22 |
23 |
--- ChangeLog 17 Oct 2011 12:03:01 -0000 1.21 |
24 |
+++ ChangeLog 28 Dec 2011 14:58:45 -0000 1.22 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for net-misc/miniupnpd |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/ChangeLog,v 1.21 2011/10/17 12:03:01 gurligebis Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/ChangeLog,v 1.22 2011/12/28 14:58:45 gurligebis Exp $ |
30 |
+ |
31 |
+*miniupnpd-1.7_pre20111118 (28 Dec 2011) |
32 |
+ |
33 |
+ 28 Dec 2011; <gurligebis@g.o> +miniupnpd-1.7_pre20111118.ebuild, |
34 |
+ +files/miniupnpd-nettools_newoutput.patch: |
35 |
+ Bumping to 1.7_pre20111118 and adding support for new ifconfig output format. |
36 |
|
37 |
17 Oct 2011; <gurligebis@g.o> files/miniupnpd-init.d: |
38 |
Adding use minissdpd to depend section in init.d script, fixing bug #387337. |
39 |
|
40 |
|
41 |
|
42 |
1.1 net-misc/miniupnpd/miniupnpd-1.7_pre20111118.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/miniupnpd-1.7_pre20111118.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/miniupnpd-1.7_pre20111118.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: miniupnpd-1.7_pre20111118.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2011 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/miniupnpd-1.7_pre20111118.ebuild,v 1.1 2011/12/28 14:58:45 gurligebis Exp $ |
52 |
|
53 |
EAPI=2 |
54 |
inherit eutils toolchain-funcs |
55 |
|
56 |
MY_PV=1.6.20111118 |
57 |
S="${WORKDIR}/${PN}-${MY_PV}" |
58 |
|
59 |
DESCRIPTION="MiniUPnP IGD Daemon" |
60 |
SRC_URI="http://miniupnp.free.fr/files/${PN}-${MY_PV}.tar.gz" |
61 |
HOMEPAGE="http://miniupnp.free.fr/" |
62 |
|
63 |
LICENSE="BSD" |
64 |
SLOT="0" |
65 |
KEYWORDS="~amd64 ~x86" |
66 |
IUSE="" |
67 |
|
68 |
RDEPEND=">=net-firewall/iptables-1.4.6 |
69 |
sys-apps/lsb-release |
70 |
>=sys-kernel/linux-headers-2.6.31" |
71 |
DEPEND="${RDEPEND} |
72 |
sys-apps/util-linux |
73 |
" |
74 |
|
75 |
src_prepare() { |
76 |
mv Makefile.linux Makefile |
77 |
epatch "${FILESDIR}/${PN}-nettools_newoutput.patch" |
78 |
sed -i \ |
79 |
-e "s#^CFLAGS = .*-D#CPPFLAGS += -I/usr/include -D#" \ |
80 |
-e '/^CFLAGS :=/s/CFLAGS/CPPFLAGS/g' \ |
81 |
-e "s/LIBS = -liptc/LIBS = -lip4tc/g" \ |
82 |
-e 's/genuuid||//' \ |
83 |
Makefile || die |
84 |
sed -i \ |
85 |
-e 's/\(strncpy(\([->a-z.]\+\), "[a-zA-Z]\+", \)IPT_FUNCTION_MAXNAMELEN);/\1sizeof(\2));/' \ |
86 |
netfilter/iptcrdr.c || die |
87 |
emake config.h |
88 |
} |
89 |
|
90 |
src_compile() { |
91 |
emake CC="$(tc-getCC)" || die "emake failed" |
92 |
} |
93 |
|
94 |
src_install () { |
95 |
einstall PREFIX="${D}" STRIP="true" || die "einstall failed" |
96 |
|
97 |
newinitd "${FILESDIR}"/${PN}-init.d ${PN} |
98 |
newconfd "${FILESDIR}"/${PN}-conf.d ${PN} |
99 |
} |
100 |
|
101 |
pkg_postinst() { |
102 |
elog "Please correct the external interface in the top of the two" |
103 |
elog "scripts in /etc/miniupnpd and edit the config file in there too" |
104 |
} |