1 |
gurligebis 12/04/03 09:45:31 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: miniupnpd-1.7_pre20120207-r1.ebuild |
5 |
Removed: miniupnpd-1.7_pre20120207.ebuild |
6 |
Log: |
7 |
Adding support for lease file, fixing bug 410415 |
8 |
|
9 |
(Portage version: 2.2.0_alpha98/cvs/Linux i686) |
10 |
|
11 |
Revision Changes Path |
12 |
1.25 net-misc/miniupnpd/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/ChangeLog?rev=1.25&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/ChangeLog?rev=1.25&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/ChangeLog?r1=1.24&r2=1.25 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/ChangeLog,v |
21 |
retrieving revision 1.24 |
22 |
retrieving revision 1.25 |
23 |
diff -u -r1.24 -r1.25 |
24 |
--- ChangeLog 5 Mar 2012 19:29:37 -0000 1.24 |
25 |
+++ ChangeLog 3 Apr 2012 09:45:31 -0000 1.25 |
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.24 2012/03/05 19:29:37 gurligebis Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/ChangeLog,v 1.25 2012/04/03 09:45:31 gurligebis Exp $ |
31 |
+ |
32 |
+*miniupnpd-1.7_pre20120207-r1 (03 Apr 2012) |
33 |
+ |
34 |
+ 03 Apr 2012; <gurligebis@g.o> -miniupnpd-1.7_pre20120207.ebuild, |
35 |
+ +miniupnpd-1.7_pre20120207-r1.ebuild: |
36 |
+ Adding support for lease file, fixing bug #410415 |
37 |
|
38 |
05 Mar 2012; <gurligebis@g.o> miniupnpd-1.7_pre20120207.ebuild: |
39 |
Fixing runtime dependencies, fixing bug #406699 |
40 |
|
41 |
|
42 |
|
43 |
1.1 net-misc/miniupnpd/miniupnpd-1.7_pre20120207-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/miniupnpd-1.7_pre20120207-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/miniupnpd/miniupnpd-1.7_pre20120207-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: miniupnpd-1.7_pre20120207-r1.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.7_pre20120207-r1.ebuild,v 1.1 2012/04/03 09:45:31 gurligebis Exp $ |
53 |
|
54 |
EAPI=2 |
55 |
inherit eutils toolchain-funcs |
56 |
|
57 |
MY_PV=1.6.20120207 |
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 |
DEPEND="${RDEPEND} |
71 |
sys-apps/util-linux |
72 |
sys-apps/lsb-release" |
73 |
|
74 |
src_prepare() { |
75 |
mv Makefile.linux Makefile |
76 |
sed -i \ |
77 |
-e "s#^CFLAGS = .*-D#CPPFLAGS += -I/usr/include -D#" \ |
78 |
-e '/^CFLAGS :=/s/CFLAGS/CPPFLAGS/g' \ |
79 |
-e "s/LIBS = -liptc/LIBS = -lip4tc/g" \ |
80 |
-e 's/genuuid||//' \ |
81 |
Makefile || die |
82 |
sed -i \ |
83 |
-e 's/\(strncpy(\([->a-z.]\+\), "[a-zA-Z]\+", \)IPT_FUNCTION_MAXNAMELEN);/\1sizeof(\2));/' \ |
84 |
netfilter/iptcrdr.c || die |
85 |
|
86 |
emake config.h |
87 |
|
88 |
sed -i \ |
89 |
-e 's/\/\*#define ENABLE_LEASEFILE\*\//#define ENABLE_LEASEFILE/g' \ |
90 |
config.h || die |
91 |
} |
92 |
|
93 |
src_compile() { |
94 |
emake CC="$(tc-getCC)" || die "emake failed" |
95 |
} |
96 |
|
97 |
src_install () { |
98 |
einstall PREFIX="${D}" STRIP="true" || die "einstall failed" |
99 |
|
100 |
newinitd "${FILESDIR}"/${PN}-init.d ${PN} |
101 |
newconfd "${FILESDIR}"/${PN}-conf.d ${PN} |
102 |
} |
103 |
|
104 |
pkg_postinst() { |
105 |
elog "Please correct the external interface in the top of the two" |
106 |
elog "scripts in /etc/miniupnpd and edit the config file in there too" |
107 |
} |