1 |
gurligebis 12/12/31 11:04:21 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: miniupnpd-1.8_pre20121005.ebuild |
5 |
Removed: miniupnpd-1.8_pre20120824.ebuild |
6 |
Log: |
7 |
Bumping to 1.8_pre20121005 |
8 |
|
9 |
(Portage version: 2.2.0_alpha149/cvs/Linux i686, signed Manifest commit with key 15AE484C) |
10 |
|
11 |
Revision Changes Path |
12 |
1.30 net-misc/miniupnpd/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/ChangeLog?rev=1.30&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/ChangeLog?rev=1.30&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/ChangeLog?r1=1.29&r2=1.30 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/ChangeLog,v |
21 |
retrieving revision 1.29 |
22 |
retrieving revision 1.30 |
23 |
diff -u -r1.29 -r1.30 |
24 |
--- ChangeLog 15 Sep 2012 20:59:30 -0000 1.29 |
25 |
+++ ChangeLog 31 Dec 2012 11:04:21 -0000 1.30 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for net-misc/miniupnpd |
28 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/ChangeLog,v 1.29 2012/09/15 20:59:30 gurligebis Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/ChangeLog,v 1.30 2012/12/31 11:04:21 gurligebis Exp $ |
31 |
+ |
32 |
+*miniupnpd-1.8_pre20121005 (31 Dec 2012) |
33 |
+ |
34 |
+ 31 Dec 2012; <gurligebis@g.o> -miniupnpd-1.8_pre20120824.ebuild, |
35 |
+ +miniupnpd-1.8_pre20121005.ebuild: |
36 |
+ Bumping to 1.8_pre20121005 |
37 |
|
38 |
15 Sep 2012; <gurligebis@g.o> miniupnpd-1.8_pre20120824.ebuild: |
39 |
Moved net-libs/libnfnetlink from DEPEND to RDEPEND |
40 |
|
41 |
|
42 |
|
43 |
1.1 net-misc/miniupnpd/miniupnpd-1.8_pre20121005.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/miniupnpd-1.8_pre20121005.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/miniupnpd-1.8_pre20121005.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: miniupnpd-1.8_pre20121005.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2012 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.8_pre20121005.ebuild,v 1.1 2012/12/31 11:04:21 gurligebis Exp $ |
53 |
|
54 |
EAPI=2 |
55 |
inherit eutils toolchain-funcs |
56 |
|
57 |
MY_PV=1.7.20121005 |
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 |
net-libs/libnfnetlink" |
71 |
DEPEND="${RDEPEND} |
72 |
sys-apps/util-linux |
73 |
sys-apps/lsb-release" |
74 |
|
75 |
src_prepare() { |
76 |
mv Makefile.linux Makefile |
77 |
sed -i \ |
78 |
-e "s#^CFLAGS = .*-D#CPPFLAGS += -I/usr/include -D#" \ |
79 |
-e '/^CFLAGS :=/s/CFLAGS/CPPFLAGS/g' \ |
80 |
-e "s/CFLAGS += -ansi/#CFLAGS += -ansi/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 |
|
88 |
emake config.h |
89 |
|
90 |
sed -i \ |
91 |
-e 's/\/\*#define ENABLE_LEASEFILE\*\//#define ENABLE_LEASEFILE/g' \ |
92 |
config.h || die |
93 |
} |
94 |
|
95 |
src_compile() { |
96 |
emake CC="$(tc-getCC)" || die "emake failed" |
97 |
} |
98 |
|
99 |
src_install () { |
100 |
dodir /usr/share/man/man8 |
101 |
|
102 |
einstall PREFIX="${D}" STRIP="true" || die "einstall failed" |
103 |
|
104 |
newinitd "${FILESDIR}"/${PN}-init.d ${PN} |
105 |
newconfd "${FILESDIR}"/${PN}-conf.d ${PN} |
106 |
} |
107 |
|
108 |
pkg_postinst() { |
109 |
elog "Please correct the external interface in the top of the two" |
110 |
elog "scripts in /etc/miniupnpd and edit the config file in there too" |
111 |
} |