diff options
author | Bjarke Istrup Pedersen <gurligebis@gentoo.org> | 2007-04-14 11:14:06 +0000 |
---|---|---|
committer | Bjarke Istrup Pedersen <gurligebis@gentoo.org> | 2007-04-14 11:14:06 +0000 |
commit | fbb97ae7614e35c7d16ae756d779d4ab98c296d1 (patch) | |
tree | 5afd8979b210d5c1d93031cbce3a1ccc73760a25 /net-misc/linux-igd/linux-igd-1.0-r2.ebuild | |
parent | New package. Requested with bug #124764 (diff) | |
download | gentoo-2-fbb97ae7614e35c7d16ae756d779d4ab98c296d1.tar.gz gentoo-2-fbb97ae7614e35c7d16ae756d779d4ab98c296d1.tar.bz2 gentoo-2-fbb97ae7614e35c7d16ae756d779d4ab98c296d1.zip |
Bumping to revision -r2 to fix spelling error in init script
(Portage version: 2.1.2.3)
Diffstat (limited to 'net-misc/linux-igd/linux-igd-1.0-r2.ebuild')
-rw-r--r-- | net-misc/linux-igd/linux-igd-1.0-r2.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/net-misc/linux-igd/linux-igd-1.0-r2.ebuild b/net-misc/linux-igd/linux-igd-1.0-r2.ebuild new file mode 100644 index 000000000000..ea9610efe20e --- /dev/null +++ b/net-misc/linux-igd/linux-igd-1.0-r2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/linux-igd/linux-igd-1.0-r2.ebuild,v 1.1 2007/04/14 11:14:06 gurligebis Exp $ + +inherit eutils +DESCRIPTION="Deamon that emulates Microsoft's Internet Connection Sharing (ICS) + for UPnP-aware clients" +HOMEPAGE="http://linux-igd.sourceforge.net" +SRC_URI="mirror://sourceforge/linux-igd/linuxigd-${PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="" + +DEPEND=">=net-misc/libupnp-1.4.1" +RDEPEND="net-firewall/iptables" +S=${WORKDIR}/linuxigd-${PV} + +src_compile() { + epatch ${FILESDIR}/makefile-fix-${PVR}.diff + sed -i -e "s|/etc/linuxigd|${D}/etc/linuxigd|" -e "s|/usr/bin|${D}/usr/bin|" Makefile + sed -i -e "s|/etc/upnpd.conf|/etc/linuxigd/upnpd.conf|" globals.h + + emake || die "compile failed" +} + +src_install() { + dobin upnpd + insinto /etc/linuxigd + doins etc/dummy.xml + doins etc/gateconnSCPD.xml + doins etc/gatedesc.xml + doins etc/gateicfgSCPD.xml + doins etc/ligd.gif + doins etc/upnpd.conf + + newinitd ${FILESDIR}/upnpd.initd-${PVR} upnpd + newconfd ${FILESDIR}/upnpd.confd-${PVR} upnpd + + dodoc CHANGES INSTALL LICENSE +} + +pkg_postinst() { + einfo "Make sure your firewall allows routing of packages" + einfo "to 239.0.0.0/255.0.0.0 correctly." +} |