From: Bjarke Istrup Pedersen Date: Sun, 25 Feb 2007 01:48:32 +0000 (+0000) Subject: Taking over linux-igd since it has no maintainer, and bumping to version 1.0 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=debe493f4f59f8ca2b5e94da70802cbe4b55f6a3;p=gentoo.git Taking over linux-igd since it has no maintainer, and bumping to version 1.0 Package-Manager: portage-2.1.2-r9 --- diff --git a/net-misc/linux-igd/ChangeLog b/net-misc/linux-igd/ChangeLog index 7ef8340a41d0..25d6bed5a437 100644 --- a/net-misc/linux-igd/ChangeLog +++ b/net-misc/linux-igd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/linux-igd # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/linux-igd/ChangeLog,v 1.13 2007/01/22 18:23:32 antarus Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/linux-igd/ChangeLog,v 1.14 2007/02/25 01:48:32 gurligebis Exp $ + +*linux-igd-1.0 (25 Feb 2007) + + 25 Feb 2007; Bjarke Istrup Pedersen +files/upnpd.confd-1.0, + +files/upnpd.initd-1.0, +linux-igd-1.0.ebuild: + Bumping to version 1.0 and taking over package, since nobody is maintaining it. 22 Jan 2007; Alec Warner ChangeLog: Remove older version and fix dep in 95 to repair tree breakage, thanks to diff --git a/net-misc/linux-igd/Manifest b/net-misc/linux-igd/Manifest index 670b6c5aa911..add1df6b17c5 100644 --- a/net-misc/linux-igd/Manifest +++ b/net-misc/linux-igd/Manifest @@ -10,19 +10,35 @@ AUX upnpd.confd 249 RMD160 befa6ebbfa06198930aa755a082a169b53bac954 SHA1 5fd1c1a MD5 dcf4d45ff5239f0f0e3c9659d5b9434a files/upnpd.confd 249 RMD160 befa6ebbfa06198930aa755a082a169b53bac954 files/upnpd.confd 249 SHA256 7d5d957524be28fd92fd04265be18fd9e3a0ee9599007980642b5757c851a12b files/upnpd.confd 249 +AUX upnpd.confd-1.0 267 RMD160 59139ed0a9dca59fa8275023d944c1ec95e68453 SHA1 a1021465b04d67ad022c23dc99d6f4d40dbd983b SHA256 41e13640638909ad58fc6ce623c0e8d5254431fb03617f6d65e301f73c13bd65 +MD5 a10b38991d2f259614cbc09611811e0d files/upnpd.confd-1.0 267 +RMD160 59139ed0a9dca59fa8275023d944c1ec95e68453 files/upnpd.confd-1.0 267 +SHA256 41e13640638909ad58fc6ce623c0e8d5254431fb03617f6d65e301f73c13bd65 files/upnpd.confd-1.0 267 +AUX upnpd.initd-1.0 707 RMD160 8f1ca8742d9ce092281d3ca7b74967e14ea1b83e SHA1 a1884976450544e93e0c3cd52c17402cf690b738 SHA256 d05d761983224d35848ee481dccbe135865d6e5ba36a4fbf8b24088a1bb9d596 +MD5 bbe43eac35940ac4f6ffc0b4c6f25067 files/upnpd.initd-1.0 707 +RMD160 8f1ca8742d9ce092281d3ca7b74967e14ea1b83e files/upnpd.initd-1.0 707 +SHA256 d05d761983224d35848ee481dccbe135865d6e5ba36a4fbf8b24088a1bb9d596 files/upnpd.initd-1.0 707 DIST linuxigd-0.95.tar.gz 34627 RMD160 6e2c60f3bf2362c2133a97385f01b418da5de03e SHA1 b1084d4ffa7f95f672257df5de57a0d861cea7fd SHA256 63201ad8ac36ff5e366b3137d4d4e343a4073b4528fe211864151d41d90ea4f0 +DIST linuxigd-1.0.tar.gz 35396 RMD160 b05fe11d99766119779839766e323cfb6ada6977 SHA1 0dd71fd7c5b8a3b0609164618314f4c110aff100 SHA256 f6335273fd6bfad7fb32e94e36461e8b74f9523e7994bad8be9fac29bee9f4cd EBUILD linux-igd-0.95.ebuild 1159 RMD160 5eed14693d968860f01afe0f1c3179e91e38763a SHA1 318ceca8fe73ff27ac6a427ecd021f800556a0a6 SHA256 b90070b2f0f0cf0e854b9b973e87ff239e4dd850933d71c97f97e197e4f5835e MD5 326a56a8cb2aeeebf099c3fc7ad8e911 linux-igd-0.95.ebuild 1159 RMD160 5eed14693d968860f01afe0f1c3179e91e38763a linux-igd-0.95.ebuild 1159 SHA256 b90070b2f0f0cf0e854b9b973e87ff239e4dd850933d71c97f97e197e4f5835e linux-igd-0.95.ebuild 1159 -MISC ChangeLog 1532 RMD160 5c48a3edd4d4b351b6477c658dd4f1d6a8386b1c SHA1 1e1a544f9ab35fb1432a480ba3c6c53a853ea7dd SHA256 0f522e55e4ba6875f61f8fa92e72706a34176cab52a2ac777e8ebec6eccd7b51 -MD5 bb76517c9600c1fc92319119277e442a ChangeLog 1532 -RMD160 5c48a3edd4d4b351b6477c658dd4f1d6a8386b1c ChangeLog 1532 -SHA256 0f522e55e4ba6875f61f8fa92e72706a34176cab52a2ac777e8ebec6eccd7b51 ChangeLog 1532 -MISC metadata.xml 160 RMD160 d86217bb48cf4283e08e43bcaabbc919101ad795 SHA1 d6147d00f16e8cfeef893d0764b0675a93d62849 SHA256 56fca1e06f6dcbe3bc12e7d3962998c7cb79d74f218ce8a17b07771b3e06f49e -MD5 dffd46174e78b327c834fc3e4b1cf848 metadata.xml 160 -RMD160 d86217bb48cf4283e08e43bcaabbc919101ad795 metadata.xml 160 -SHA256 56fca1e06f6dcbe3bc12e7d3962998c7cb79d74f218ce8a17b07771b3e06f49e metadata.xml 160 +EBUILD linux-igd-1.0.ebuild 1173 RMD160 35f176bff4b0b3dd487f50c0dc3b61543aaf3051 SHA1 c2010dce25b1824fabc9a5998ee85df60ecb7907 SHA256 e2b243272c74eb86f3a5d007b2d4359213d1a111967607ba3038f64c5020b168 +MD5 f66f89575bb9d1e51c8a87acb5ee9951 linux-igd-1.0.ebuild 1173 +RMD160 35f176bff4b0b3dd487f50c0dc3b61543aaf3051 linux-igd-1.0.ebuild 1173 +SHA256 e2b243272c74eb86f3a5d007b2d4359213d1a111967607ba3038f64c5020b168 linux-igd-1.0.ebuild 1173 +MISC ChangeLog 1783 RMD160 5bc4389e7830c7ff229b50466186345f3945e317 SHA1 8846dc316fced4004e423af17442eb7b19e92c56 SHA256 b25e32edf6a09b2f718f2d581268f7cedce2c41498ff6f4c4ef78b4e9d3b8c34 +MD5 b563b2b5238c92a2928a2d7f0bc67f22 ChangeLog 1783 +RMD160 5bc4389e7830c7ff229b50466186345f3945e317 ChangeLog 1783 +SHA256 b25e32edf6a09b2f718f2d581268f7cedce2c41498ff6f4c4ef78b4e9d3b8c34 ChangeLog 1783 +MISC metadata.xml 371 RMD160 745a713a0eb037304c07f4398543ba320271e166 SHA1 a0b5a02b66a92d6869af11437a7605d5410eedf2 SHA256 ee0901c67264ecd9c485d048be48cf8818eb923b002a8f7239508b5606d17034 +MD5 8a3411ce93f27bb3ced591782fe44f79 metadata.xml 371 +RMD160 745a713a0eb037304c07f4398543ba320271e166 metadata.xml 371 +SHA256 ee0901c67264ecd9c485d048be48cf8818eb923b002a8f7239508b5606d17034 metadata.xml 371 MD5 0e65b3325fee82378b9cb06a88f41633 files/digest-linux-igd-0.95 238 RMD160 e219f40224fcef0a398f9755f48b298a54b0842a files/digest-linux-igd-0.95 238 SHA256 259201a4684e834f21818b95d86dd4e47c10e2a940aa822549e48e56a88eab60 files/digest-linux-igd-0.95 238 +MD5 551e8a3e8a41795a86a0ffde4bbaba69 files/digest-linux-igd-1.0 235 +RMD160 7009975b63dcdb0d4ff3e7a1b90a2efe247d8577 files/digest-linux-igd-1.0 235 +SHA256 bdec08087c5aef0d2424962359445a50ba83e96b59bce31012a6c6e9bae8ca78 files/digest-linux-igd-1.0 235 diff --git a/net-misc/linux-igd/files/digest-linux-igd-1.0 b/net-misc/linux-igd/files/digest-linux-igd-1.0 new file mode 100644 index 000000000000..8058cfc0beb9 --- /dev/null +++ b/net-misc/linux-igd/files/digest-linux-igd-1.0 @@ -0,0 +1,3 @@ +MD5 929f5c4878c91d534613b7c7070215d9 linuxigd-1.0.tar.gz 35396 +RMD160 b05fe11d99766119779839766e323cfb6ada6977 linuxigd-1.0.tar.gz 35396 +SHA256 f6335273fd6bfad7fb32e94e36461e8b74f9523e7994bad8be9fac29bee9f4cd linuxigd-1.0.tar.gz 35396 diff --git a/net-misc/linux-igd/files/upnpd.confd-1.0 b/net-misc/linux-igd/files/upnpd.confd-1.0 new file mode 100644 index 000000000000..9f324a998c59 --- /dev/null +++ b/net-misc/linux-igd/files/upnpd.confd-1.0 @@ -0,0 +1,10 @@ +# /etc/conf.d/upnpd: config file for /etc/init.d/upnpd + +# Internal (local network) interface +#INTERNAL_INTERFACE="eth1" + +# External (outward facing) interface +#EXTERNAL_INTERFACE="ppp0" + +# If set to "no" the multicast route will not be created +#ALLOW_MULTICAST="yes" diff --git a/net-misc/linux-igd/files/upnpd.initd-1.0 b/net-misc/linux-igd/files/upnpd.initd-1.0 new file mode 100644 index 000000000000..4541c1b9296a --- /dev/null +++ b/net-misc/linux-igd/files/upnpd.initd-1.0 @@ -0,0 +1,32 @@ +#!/sbin/runscript + +depend() { + need net +} + +checkconfig() { + if [ "$INTERNAL_INTERFACE" = "" -o "$EXTERNAL_INTERFACE" = "" ] ; then + ewarn "You need to configure upnpd in /etc/conf.d/upnpd" + return 1 + fi + return 0 +} + +start() { + checkconfig || return 1 + ebegin "Starting upnpd" + if [ "ALLOW_MULTICAST" = "yes" ] ; then + /sbin/route add -net 239.0.0.0 netmask 255.0.0.0 $INTERNAL_INTERFACE + fi + start-stop-daemon --start --exec /usr/bin/upnpd -- $EXTERNAL_INTERFACE $INTERNAL_INTERFACE + eend $? +} + +stop() { + ebegin "Stopping upnpd" + if [ "ALLOW_MULTICAST" = "yes" ] ; then + /sbin/route del -net 239.0.0.0 netmask 255.0.0.0 $INTERNAL_INTERFACE + fi + start-stop-daemon --stop --exec /usr/bin/upnpd + eend $? +} diff --git a/net-misc/linux-igd/linux-igd-1.0.ebuild b/net-misc/linux-igd/linux-igd-1.0.ebuild new file mode 100644 index 000000000000..b0e409372ca6 --- /dev/null +++ b/net-misc/linux-igd/linux-igd-1.0.ebuild @@ -0,0 +1,45 @@ +# 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.ebuild,v 1.1 2007/02/25 01:48:32 gurligebis Exp $ + +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="~x86" +IUSE="" + +DEPEND=">=net-misc/libupnp-1.4.1" +RDEPEND="net-firewall/iptables" +S=${WORKDIR}/linuxigd-${PV} + +src_compile() { + sed -i -e "s|/etc/linuxigd|${D}/etc/linuxigd|" \ + -e "s|/usr/bin|${D}/usr/bin|" Makefile + + 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-${PV} upnpd + newconfd ${FILESDIR}/upnpd.confd-${PV} 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." +} diff --git a/net-misc/linux-igd/metadata.xml b/net-misc/linux-igd/metadata.xml index 20ce219711a2..55c614b8cd31 100644 --- a/net-misc/linux-igd/metadata.xml +++ b/net-misc/linux-igd/metadata.xml @@ -1,5 +1,9 @@ -no-herd + + gurligebis@gentoo.org + Bjarke Istrup Pedersen + + Deamon that emulates Microsoft's Internet Connection Sharing (ICS) for UPnP-aware clients