summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2011-08-29 10:46:49 +0000
committerMichael Weber <xmw@gentoo.org>2011-08-29 10:46:49 +0000
commit850d7bd4bfa2e96dcc2ae92d9e7e3120f48ef999 (patch)
treeb831b3bb49212b9478c23173c78c67763340067f /net-misc/radvd
parentChange version scheme (diff)
downloadgentoo-2-850d7bd4bfa2e96dcc2ae92d9e7e3120f48ef999.tar.gz
gentoo-2-850d7bd4bfa2e96dcc2ae92d9e7e3120f48ef999.tar.bz2
gentoo-2-850d7bd4bfa2e96dcc2ae92d9e7e3120f48ef999.zip
Version bump, remove old versions
(Portage version: 2.1.10.11/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/radvd')
-rw-r--r--net-misc/radvd/ChangeLog9
-rw-r--r--net-misc/radvd/files/radvd-1.1-gnu-source.patch11
-rw-r--r--net-misc/radvd/files/radvd-1.1-parallel-make.patch9
-rw-r--r--net-misc/radvd/radvd-1.1.ebuild76
-rw-r--r--net-misc/radvd/radvd-1.8.1.ebuild (renamed from net-misc/radvd/radvd-1.5.ebuild)38
5 files changed, 27 insertions, 116 deletions
diff --git a/net-misc/radvd/ChangeLog b/net-misc/radvd/ChangeLog
index 027cd8ed8eed..f08384bef742 100644
--- a/net-misc/radvd/ChangeLog
+++ b/net-misc/radvd/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-misc/radvd
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/ChangeLog,v 1.65 2011/06/16 22:42:39 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/ChangeLog,v 1.66 2011/08/29 10:46:49 xmw Exp $
+
+*radvd-1.8.1 (29 Aug 2011)
+
+ 29 Aug 2011; Michael Weber <xmw@gentoo.org> -radvd-1.1.ebuild,
+ -files/radvd-1.1-gnu-source.patch, -files/radvd-1.1-parallel-make.patch,
+ -radvd-1.5.ebuild, +radvd-1.8.1.ebuild:
+ Version bump, remove old versions
*radvd-1.8 (16 Jun 2011)
*radvd-1.7 (16 Jun 2011)
diff --git a/net-misc/radvd/files/radvd-1.1-gnu-source.patch b/net-misc/radvd/files/radvd-1.1-gnu-source.patch
deleted file mode 100644
index fc0d883557ad..000000000000
--- a/net-misc/radvd/files/radvd-1.1-gnu-source.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- radvd-1.1.orig/includes.h 2007-10-25 21:29:40.000000000 +0200
-+++ radvd-1.1/includes.h 2008-06-14 12:30:25.000000000 +0200
-@@ -18,6 +18,8 @@
-
- #include <config.h>
-
-+#define _GNU_SOURCE /* needed for struct in6_pktinfo */
-+
- #include <string.h>
- #include <stdio.h>
- #include <stdarg.h>
diff --git a/net-misc/radvd/files/radvd-1.1-parallel-make.patch b/net-misc/radvd/files/radvd-1.1-parallel-make.patch
deleted file mode 100644
index b612a9aa228a..000000000000
--- a/net-misc/radvd/files/radvd-1.1-parallel-make.patch
+++ /dev/null
@@ -1,9 +0,0 @@
-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
-+
-+gram.h: gram.y
diff --git a/net-misc/radvd/radvd-1.1.ebuild b/net-misc/radvd/radvd-1.1.ebuild
deleted file mode 100644
index ee20333402fc..000000000000
--- a/net-misc/radvd/radvd-1.1.ebuild
+++ /dev/null
@@ -1,76 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/radvd-1.1.ebuild,v 1.10 2010/07/06 14:37:11 flameeyes Exp $
-
-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_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${PN}-1.1-gnu-source.patch
- epatch "${FILESDIR}"/${PN}-1.1-parallel-make.patch
- eautoreconf
-}
-
-src_compile() {
- econf \
- --with-pidfile=/var/run/radvd/radvd.pid \
- || die "econf failed"
-
- emake -j1 || die "emake 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."
-}
diff --git a/net-misc/radvd/radvd-1.5.ebuild b/net-misc/radvd/radvd-1.8.1.ebuild
index e4caf914469c..117c9b6bb450 100644
--- a/net-misc/radvd/radvd-1.5.ebuild
+++ b/net-misc/radvd/radvd-1.8.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/radvd-1.5.ebuild,v 1.2 2010/07/06 21:09:37 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/radvd-1.8.1.ebuild,v 1.1 2011/08/29 10:46:49 xmw Exp $
EAPI=2
inherit eutils
@@ -11,7 +11,7 @@ SRC_URI="http://v6web.litech.org/radvd/dist/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="amd64 ~arm ~hppa ~ppc ~sparc ~x86 ~x86-fbsd"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86 ~x86-fbsd"
IUSE="kernel_FreeBSD"
DEPEND="sys-devel/bison
@@ -33,17 +33,17 @@ src_configure() {
}
src_install() {
- make DESTDIR="${D}" install || die "make install failed"
+ emake DESTDIR="${D}" install || die "make install failed"
- dodoc CHANGES README TODO radvd.conf.example
- dohtml INTRO.html
+ dodoc CHANGES README TODO radvd.conf.example || die
+ dohtml INTRO.html || die
- newinitd "${FILESDIR}/${PN}".init "${PN}"
- newconfd "${FILESDIR}/${PN}".conf "${PN}"
+ newinitd "${FILESDIR}/${PN}".init "${PN}" || die
+ newconfd "${FILESDIR}/${PN}".conf "${PN}" || die
# location of radvd.pid needs to be writeable by the radvd user
keepdir /var/run/radvd
- chown -R radvd:radvd "${D}"/var/run/radvd
+ chown -R radvd:radvd "${D}"/var/run/radvd || die
fperms 755 /var/run/radvd
if use kernel_FreeBSD ; then
@@ -54,14 +54,14 @@ src_install() {
}
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."
+ elog
+ elog "To use ${PN} you must create the configuration file"
+ elog "${ROOT}etc/radvd.conf"
+ elog
+ elog "An example configuration file has been installed under"
+ elog "${ROOT}usr/share/doc/${PF}"
+ elog
+ elog "grsecurity users should allow a specific group to read /proc"
+ elog "and add the radvd user to that group, otherwise radvd may"
+ elog "segfault on startup."
}