summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Buchholz <rbu@gentoo.org>2009-08-20 12:23:49 +0000
committerRobert Buchholz <rbu@gentoo.org>2009-08-20 12:23:49 +0000
commit023dc7255f35a292e13a8b2f455529646228228c (patch)
tree137cd9da6c580b7a4119c2e5dfccf7702dc00181
parentAutomated update of use.local.desc (diff)
downloadhistorical-023dc7255f35a292e13a8b2f455529646228228c.tar.gz
historical-023dc7255f35a292e13a8b2f455529646228228c.tar.bz2
historical-023dc7255f35a292e13a8b2f455529646228228c.zip
Version bump, bug 281637. Add another parallel-make patch to stop ylwrap from running in parallel with gcc. gnu-source detection is upstream.
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
-rw-r--r--net-misc/radvd/ChangeLog9
-rw-r--r--net-misc/radvd/Manifest5
-rw-r--r--net-misc/radvd/files/radvd-1.4-parallel-make.patch9
-rw-r--r--net-misc/radvd/radvd-1.4.ebuild72
4 files changed, 93 insertions, 2 deletions
diff --git a/net-misc/radvd/ChangeLog b/net-misc/radvd/ChangeLog
index e65317ae2d5f..de0d0863796b 100644
--- a/net-misc/radvd/ChangeLog
+++ b/net-misc/radvd/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-misc/radvd
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/ChangeLog,v 1.54 2009/08/20 11:42:38 rbu Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/ChangeLog,v 1.55 2009/08/20 12:23:49 rbu Exp $
+
+*radvd-1.4 (20 Aug 2009)
+
+ 20 Aug 2009; Robert Buchholz <rbu@gentoo.org> +radvd-1.4.ebuild,
+ +files/radvd-1.4-parallel-make.patch:
+ Version bump, bug 281637. Add another parallel-make patch to stop ylwrap
+ from running in parallel with gcc. gnu-source detection is upstream.
20 Aug 2009; Robert Buchholz <rbu@gentoo.org> -radvd-1.0-r1.ebuild,
radvd-1.1.ebuild:
diff --git a/net-misc/radvd/Manifest b/net-misc/radvd/Manifest
index 4ad4e4737899..4ee28a09ec1d 100644
--- a/net-misc/radvd/Manifest
+++ b/net-misc/radvd/Manifest
@@ -1,10 +1,13 @@
AUX radvd-1.1-gnu-source.patch 291 RMD160 ca63d9479967999cf55d9d37aad5aed54db292ca SHA1 9a8b5282ae336acc394518e044e15d2a5a7e05ce SHA256 32fd5d866c895928448fe489dc078633eb994216cd4d4df5ff7a17e37bfba447
AUX radvd-1.1-parallel-make.patch 371 RMD160 918f1d074ef5423904221a50dd13b336ad744e00 SHA1 2f1813427453675c1562a3c396ac5022c6c3c1e6 SHA256 9ede344ecd2886bf1c141ba350f93d71979aa8bf5ea4c70505ea591c40f4b851
+AUX radvd-1.4-parallel-make.patch 374 RMD160 a28b8e0653e2dd3b439d4471ff305559a7fb1ded SHA1 747b1db3f58267c970da2933415ac92b804239ae SHA256 7ed0a865ceae1a4d56ee75c529bc9adfca173703f40912b0bb9acfa68bc3ebdf
AUX radvd.conf 445 RMD160 8b9a158617b7a2b11548016d98b037f203f13558 SHA1 9605bce0d235a0f33ecb5cd1dd443da6bd2d29c1 SHA256 a9c704a481fc7c24d4ed3e21aa6bf8979fca6e81b93d86a86b40e4433d03809c
AUX radvd.init 1480 RMD160 db83c26778837941dfddbae9a83ded79c065f322 SHA1 1e04dec3bbee6c661250bd766478cf19bb90f5f2 SHA256 be0ddad818d6059c764ad9b7ff2f5f9d28f50574600341f449b008d461901892
DIST radvd-1.1.tar.gz 146946 RMD160 6fb554404b4b1043e49ad12759c1132446ebf171 SHA1 e630e53c32dbd070bd704a3d0920f340a05730ab SHA256 a51e32fb9c0a5e12c67111dfd8490e1629c35aabbf9306a451db1dc06505fe90
DIST radvd-1.2.tar.gz 147601 RMD160 00fea2ac69868e27cdbc576b0aba19df24e3b2f4 SHA1 1bf18f56c6086d02bf1bec5352f5ca00b7dde1e5 SHA256 3cf95b3e943c26806e36cd4fa772a6477ec1762331461deb38f81899e24ccc20
+DIST radvd-1.4.tar.gz 149958 RMD160 5154c2a88ac6cd2c500d8229bbfbce757da67f95 SHA1 13ebfc2185e483a5acf859a3c62744f1cb6158d0 SHA256 5bcde2743b6bb82e4ee95ee6bcbe97f1cc14626a170e4b1d3da830bf0974a7dc
EBUILD radvd-1.1.ebuild 1974 RMD160 cd0e3f8a3a774506e05ee865345ea5c4a9d47724 SHA1 f97de17a23c62971f6e1c1d523466dfe45f943a6 SHA256 9921a9c80770dab19c7cac9d7b119b30168f9c3e809cb311f0ad9aff8fb4fa22
EBUILD radvd-1.2.ebuild 1990 RMD160 ed02139469ad41648ec1b240521a94f22e6ef5d4 SHA1 afb9136488090e35d3ea45c320e7a0ef27c0ebd0 SHA256 8517ddd1d872bc29a633ad2c357718017712c5704461dbd877bddc3858016a24
-MISC ChangeLog 6737 RMD160 92e3fb585bf987be0623682c32fa8184dc5c74ca SHA1 7078384d7ecaa440db4b22a2df56a51820e136d7 SHA256 0c27ca194e6dfc1bfd46cb6009a63da5e313023bc0ac656d032ef5c836de9034
+EBUILD radvd-1.4.ebuild 1887 RMD160 9fa26186a3225bd91fa67572ed19fa918a409758 SHA1 cb92b321d4535708820605938e4c628137b9a3b4 SHA256 5b894ba303cedc20a74215fca62ecd6e529f9707ce943764f548f9016b919787
+MISC ChangeLog 7017 RMD160 ee2e8d98b736132ca11f8c7ad6a5b92b99d24766 SHA1 58355123eadb76cc8bc23b44567b6e5087645816 SHA256 4297c2c7c6fdfe5a9a48a1327135dac5359c7869137adfe88ece15efc7bd0521
MISC metadata.xml 258 RMD160 5bc8ed309b06ae1f07d8fab8b67ad73f4f16fd7d SHA1 d1870b113b827f7e271fc7aab72cd6f749386f12 SHA256 e4ea9962bd46e893458fd2b98a8be20ad5329b359a2e23d909e06d0eb04586c7
diff --git a/net-misc/radvd/files/radvd-1.4-parallel-make.patch b/net-misc/radvd/files/radvd-1.4-parallel-make.patch
new file mode 100644
index 000000000000..64ae804f93bb
--- /dev/null
+++ b/net-misc/radvd/files/radvd-1.4-parallel-make.patch
@@ -0,0 +1,9 @@
+diff -Nuar radvd-1.1.orig/Makefile.am radvd-1.1/Makefile.am
+--- radvd-1.1.orig/Makefile.am 2008-01-24 02:03:17.000000000 -0800
++++ radvd-1.1/Makefile.am 2008-11-18 15:55:59.698396162 -0800
+@@ -61,3 +61,5 @@
+ mkdir $(distdir)/redhat
+ cp -p $(srcdir)/redhat/radvd.init $(srcdir)/redhat/radvd.spec \
+ $(srcdir)/redhat/radvd.sysconfig $(distdir)/redhat
++
++scanner.o: gram.h
diff --git a/net-misc/radvd/radvd-1.4.ebuild b/net-misc/radvd/radvd-1.4.ebuild
new file mode 100644
index 000000000000..a03194268094
--- /dev/null
+++ b/net-misc/radvd/radvd-1.4.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/radvd-1.4.ebuild,v 1.1 2009/08/20 12:23:49 rbu Exp $
+
+EAPI=2
+inherit eutils autotools
+
+DESCRIPTION="Linux IPv6 Router Advertisement Daemon"
+HOMEPAGE="http://v6web.litech.org/radvd/"
+SRC_URI="http://v6web.litech.org/radvd/dist/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86 ~x86-fbsd"
+IUSE="kernel_FreeBSD"
+
+DEPEND="sys-devel/bison
+ sys-devel/flex"
+RDEPEND=""
+
+pkg_setup() {
+ enewgroup radvd
+ enewuser radvd -1 -1 /dev/null radvd
+
+ # force ownership of radvd user and group (bug #19647)
+ [[ -d ${ROOT}/var/run/radvd ]] && chown radvd:radvd "${ROOT}"/var/run/radvd
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-1.4-parallel-make.patch
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --with-pidfile=/var/run/radvd/radvd.pid \
+ || die "econf failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ dodoc CHANGES README TODO radvd.conf.example
+ dohtml INTRO.html
+
+ newinitd "${FILESDIR}/${PN}".init "${PN}"
+ newconfd "${FILESDIR}/${PN}".conf "${PN}"
+
+ # location of radvd.pid needs to be writeable by the radvd user
+ keepdir /var/run/radvd
+ chown -R radvd:radvd "${D}"/var/run/radvd
+ fperms 755 /var/run/radvd
+
+ if use kernel_FreeBSD ; then
+ sed -i -e \
+ 's/^SYSCTL_FORWARD=.*$/SYSCTL_FORWARD=net.inet6.ip6.forwarding/g' \
+ "${D}"/etc/init.d/"${PN}" || die
+ fi
+}
+
+pkg_postinst() {
+ einfo
+ einfo "To use ${PN} you must create the configuration file"
+ einfo "${ROOT}/etc/radvd.conf"
+ einfo
+ einfo "An example configuration file has been installed under"
+ einfo "${ROOT}/usr/share/doc/${PF}"
+ einfo
+ einfo "grsecurity users should allow a specific group to read /proc"
+ einfo "and add the radvd user to that group, otherwise radvd may"
+ einfo "segfault on startup."
+}