/[gentoo-x86]/net-misc/miniupnpd/miniupnpd-20090214.ebuild
Gentoo

Contents of /net-misc/miniupnpd/miniupnpd-20090214.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Fri Apr 24 23:43:24 2009 UTC (8 years, 8 months ago) by gurligebis
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Bumping to 1.3, which is stable from upstream and fixes compiling with
iptables >=1.4.3
(Portage version: 2.2_rc31/cvs/Linux i686)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/miniupnpd/miniupnpd-20090214.ebuild,v 1.1 2009/04/16 17:33:31 gurligebis Exp $
4
5 EAPI="2"
6
7 inherit eutils linux-info
8
9 DESCRIPTION="MiniUPnP IGD Daemon"
10 SRC_URI="http://miniupnp.free.fr/files/${P}.tar.gz"
11 HOMEPAGE="http://miniupnp.free.fr/"
12 LICENSE="miniupnpd"
13
14 KEYWORDS="~x86"
15 SLOT="0"
16 IUSE=""
17
18 DEPEND=">=net-firewall/iptables-1.4.3
19 sys-apps/lsb-release"
20 RDEPEND="${DEPEND}"
21
22 src_prepare() {
23 mv Makefile.linux Makefile
24 epatch "${FILESDIR}/${P}-iptables.diff"
25 epatch "${FILESDIR}/${P}-iptables_path.diff"
26 epatch "${FILESDIR}/${P}-iptables_compile.diff"
27 sed -i -e "s#^CFLAGS = #CFLAGS = -I${KV_OUT_DIR}/include #" Makefile
28 # we don't use netfilter/Makefile
29 gmake config.h
30 }
31
32 src_install () {
33 PREFIX="${D}" einstall || die
34
35 newinitd "${FILESDIR}/${P}-init.d" "${PN}"
36 newconfd "${FILESDIR}/${P}-conf.d" "${PN}"
37 }
38
39 pkg_postinst() {
40 elog "Please correct the external interface in the top of the two"
41 elog "scripts in /etc/miniupnpd and edit the config file in there too"
42 }

  ViewVC Help
Powered by ViewVC 1.1.20