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