summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2009-03-29 10:33:31 +0000
committerChristian Ruppert <idl0r@gentoo.org>2009-03-29 10:33:31 +0000
commit4509d82d824a524c9d9f74a225a145d1a0330119 (patch)
tree805ab8124a644eaabaf64632d6e96158683c9bad /net-misc
parentapp-laptop/acerhdf: version bump app-laptop/acerhdf-0.4.0.ebuild (diff)
downloadsunrise-4509d82d824a524c9d9f74a225a145d1a0330119.tar.gz
sunrise-4509d82d824a524c9d9f74a225a145d1a0330119.tar.bz2
sunrise-4509d82d824a524c9d9f74a225a145d1a0330119.zip
net-misc/igmpproxy: Version bump to 0.1_beta2_p20090309, removed old. Removed rc config, improved init script. Removed no-banner patch. Migrated to EAPI 2. Appended Stanford to LICENSE. Added CONFIG_CHECK/linux-info to ensure we have IP_MULTICAST and IP_MROUTE enabled. Force autotools to use /usr/sbin as bindir since igmpproxy requires to be root. Special thanks to Constantin Baranov (bug 233738) for his improvements.
svn path=/sunrise/; revision=8159
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/igmpproxy/ChangeLog13
-rw-r--r--net-misc/igmpproxy/Manifest10
-rw-r--r--net-misc/igmpproxy/files/igmpproxy-conf.d5
-rw-r--r--net-misc/igmpproxy/files/igmpproxy-init.d11
-rw-r--r--net-misc/igmpproxy/files/igmpproxy-remove-banner.patch12
-rw-r--r--net-misc/igmpproxy/igmpproxy-0.1_beta2.ebuild48
-rw-r--r--net-misc/igmpproxy/igmpproxy-0.1_beta2_p20090309.ebuild39
7 files changed, 63 insertions, 75 deletions
diff --git a/net-misc/igmpproxy/ChangeLog b/net-misc/igmpproxy/ChangeLog
index a0ad91793..8107343f2 100644
--- a/net-misc/igmpproxy/ChangeLog
+++ b/net-misc/igmpproxy/ChangeLog
@@ -1,7 +1,18 @@
# ChangeLog for net-misc/igmpproxy
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 29 Mar 2009; Christian Ruppert <idl0r@gentoo.org>
+ -igmpproxy-0.1_beta2.ebuild, +igmpproxy-0.1_beta2_p20090309.ebuild,
+ -files/igmpproxy-conf.d, files/igmpproxy-init.d,
+ -files/igmpproxy-remove-banner.patch:
+ Version bump to 0.1_beta2_p20090309, removed old. Removed rc config,
+ improved init script. Removed no-banner patch. Migrated to EAPI 2. Appended
+ Stanford to LICENSE. Added CONFIG_CHECK/linux-info to ensure we have
+ IP_MULTICAST and IP_MROUTE enabled. Force autotools to use /usr/sbin as
+ bindir since igmpproxy requires to be root. Special thanks to Constantin
+ Baranov (bug 233738) for his improvements.
+
29 Sep 2008; Christian Ruppert (idl0r) <spooky85@gmail.com>
+igmpproxy-0.1_beta2.ebuild, +files/igmpproxy-conf.d,
+files/igmpproxy-init.d, +files/igmpproxy-remove-banner.patch,
diff --git a/net-misc/igmpproxy/Manifest b/net-misc/igmpproxy/Manifest
index 7fbd6c3c4..d8322a2cb 100644
--- a/net-misc/igmpproxy/Manifest
+++ b/net-misc/igmpproxy/Manifest
@@ -1,7 +1,5 @@
-AUX igmpproxy-conf.d 96 RMD160 fc5d2f404cc0546f076949dc6cfb704cf968eba0 SHA1 1852ef65bfe76e0a2b5c99039b3df64eb3a71503 SHA256 1689cdce4c004bd49933e787524f9ea262d04c9936121fdf669a1e0ad2b651af
-AUX igmpproxy-init.d 373 RMD160 87c5e3a4075f742a6ad7b78e4f50ddcf44e617fd SHA1 2c6b01f825243db7422e0ffb316168701fd8c7da SHA256 09d3654d235f4bbc4a23ffdde8d1e2a1fcb34650c82721c1eada9aec88cb964c
-AUX igmpproxy-remove-banner.patch 419 RMD160 7e1b4fdf0cbf89fd37442bfd121dec2a8af46e37 SHA1 1ea20308a07a9d7118acd15b2d0d9f4e4f4a44e6 SHA256 67abfe908fe073076b689346ef400c26b3a147aa8780b5daefc6b91a27ed8611
-DIST igmpproxy-src-0.1-beta2.tar.gz 35103 RMD160 7111b1214139ec4affb24a419eea13d4e9a56333 SHA1 962b80a4a4b70cd142822371a7cc98d6caeb1ac6 SHA256 7f6e5486e84827150c8ca402967c96334bbd62b9f785195c4ee84da1218abb40
-EBUILD igmpproxy-0.1_beta2.ebuild 1037 RMD160 fb7c420dd4186dda14c5969ba330909a0a318ea0 SHA1 a93c0e53e85437bc289971efcf3c1bcd01c2e6a5 SHA256 b218cb7e3b7d6573aa2b4da08efad8e73afaf36eb6186f0b8d3d9f4ebb4cd778
-MISC ChangeLog 387 RMD160 68c10b395b44fde4d755115e5a31c211512824ad SHA1 b38f7214498bb2272771fffdae14176e8f9f9901 SHA256 4fdb5e55c7e52ebf80af0f50ca0b9c0e415df05f14007c267c98cc5693799b59
+AUX igmpproxy-init.d 409 RMD160 e564f2459d3093060652be1b20bccf6e79704d73 SHA1 e7495e9c6ec72fd1b81636fdd1e364d1a29784fc SHA256 36e83a54c8eb9be4759f7b4803f33f9a8b66b263266a97846a4639419c3ee99c
+DIST igmpproxy-0.1_beta2_p20090309.tar.bz2 32036 RMD160 873a7052639da3ceab3fbe18a5f73d8c1b4e32a2 SHA1 7504f50d617b070631faa4f630444b905efaa51a SHA256 5faad7d8af650dfbc330466656826f4d200b734bfb6a276a699879e46dea15be
+EBUILD igmpproxy-0.1_beta2_p20090309.ebuild 918 RMD160 3969b3f91cc48c24dd14b10939d35e379e130439 SHA1 ea2b61d0092fef29cc6f38f18a79b894ee63814f SHA256 45027d854d200fe35115065ab5a998bfe4a8ae04fd0378906ca635c05da11d3a
+MISC ChangeLog 1015 RMD160 f8e7953d9e2a1fb587ec17c3171ef29539215eae SHA1 62722c715676392b6aabbe226126d88a66cf247f SHA256 ae8017eb427c180986d7b823a111bca3b1b579f35c4ea24610063960c824b67a
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/net-misc/igmpproxy/files/igmpproxy-conf.d b/net-misc/igmpproxy/files/igmpproxy-conf.d
deleted file mode 100644
index 2479c3032..000000000
--- a/net-misc/igmpproxy/files/igmpproxy-conf.d
+++ /dev/null
@@ -1,5 +0,0 @@
-# /etc/conf.d/igmpproxy
-
-# Specify a configuration file
-IGMPPROXY_CONFIG="/etc/igmpproxy.conf"
-
diff --git a/net-misc/igmpproxy/files/igmpproxy-init.d b/net-misc/igmpproxy/files/igmpproxy-init.d
index 4b9a51550..7603497c2 100644
--- a/net-misc/igmpproxy/files/igmpproxy-init.d
+++ b/net-misc/igmpproxy/files/igmpproxy-init.d
@@ -1,17 +1,22 @@
#!/sbin/runscript
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
+depend() {
+ need net
+ use logger
+}
+
start() {
ebegin "Starting IGMPproxy"
- start-stop-daemon --start --exec /usr/bin/igmpproxy -- -c "${IGMPPROXY_CONFIG}"
+ start-stop-daemon --start --exec /usr/sbin/igmpproxy -- -c /etc/igmpproxy.conf
eend $?
}
stop() {
ebegin "Stopping IGMPproxy"
- start-stop-daemon --stop --exec /usr/bin/igmpproxy
+ start-stop-daemon --stop --exec /usr/sbin/igmpproxy
eend $?
}
diff --git a/net-misc/igmpproxy/files/igmpproxy-remove-banner.patch b/net-misc/igmpproxy/files/igmpproxy-remove-banner.patch
deleted file mode 100644
index 2168b07d9..000000000
--- a/net-misc/igmpproxy/files/igmpproxy-remove-banner.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- igmpproxy.orig/src/igmpproxy.c 2008-09-17 10:02:40.000000000 +0200
-+++ igmpproxy/src/igmpproxy.c 2008-09-17 10:03:00.000000000 +0200
-@@ -87,9 +87,6 @@
- // Set the default config Filepath...
- char* configFilePath = IGMPPROXY_CONFIG_FILEPATH;
-
-- // Display version
-- fputs( Version, stderr );
--
- // Parse the commandline options and setup basic settings..
- int i = 1;
- while (i < ArgCn) {
diff --git a/net-misc/igmpproxy/igmpproxy-0.1_beta2.ebuild b/net-misc/igmpproxy/igmpproxy-0.1_beta2.ebuild
deleted file mode 100644
index f240fa1e6..000000000
--- a/net-misc/igmpproxy/igmpproxy-0.1_beta2.ebuild
+++ /dev/null
@@ -1,48 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-inherit eutils
-
-MY_PV=${PV/_/-}
-
-DESCRIPTION="Multicast Routing Daemon using only IGMP signalling (Internet Group Management Protocol)"
-HOMEPAGE="http://sourceforge.net/projects/igmpproxy"
-SRC_URI="mirror://sourceforge/${PN}/${PN}-src-${MY_PV}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-S=${WORKDIR}/${PN}/src
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}/${PN}-remove-banner.patch"
-}
-
-src_compile() {
- # >-j1 may fail
- emake -j1 || die "emake failed"
-}
-
-src_install() {
- dobin igmpproxy || die
-
- insinto /etc
- doins igmpproxy.conf || die
-
- newinitd "${FILESDIR}"/igmpproxy-init.d igmpproxy || die
- newconfd "${FILESDIR}"/igmpproxy-conf.d igmpproxy || die
-
- doman ../doc/igmpproxy.8 || die
- doman ../doc/igmpproxy.conf.5 || die
-}
-
-pkg_postinst() {
- elog "As IGMPproxy is logging much directly to syslog,"
- elog "you should consider filtering to a separate file or drop it."
-}
diff --git a/net-misc/igmpproxy/igmpproxy-0.1_beta2_p20090309.ebuild b/net-misc/igmpproxy/igmpproxy-0.1_beta2_p20090309.ebuild
new file mode 100644
index 000000000..7ff0dfad6
--- /dev/null
+++ b/net-misc/igmpproxy/igmpproxy-0.1_beta2_p20090309.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="2"
+
+inherit autotools linux-info
+
+DESCRIPTION="Multicast Routing Daemon using only IGMP signalling (Internet Group Management Protocol)"
+HOMEPAGE="http://sourceforge.net/projects/igmpproxy"
+SRC_URI="http://dev.gentooexperimental.org/~idl0r/distfiles/${P}.tar.bz2"
+
+LICENSE="GPL-2 Stanford"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+CONFIG_CHECK="IP_MULTICAST IP_MROUTE"
+
+src_prepare() {
+ # create necessary files
+ eautoreconf
+}
+
+src_configure() {
+ # igmpproxy requires to be root
+ econf --bindir=/usr/sbin
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+
+ newinitd "${FILESDIR}"/igmpproxy-init.d igmpproxy || die
+}
+
+pkg_postinst() {
+ elog "As IGMPproxy is logging much directly to syslog,"
+ elog "you should consider filtering to a separate file or drop it."
+}