diff options
author | Wolfram Schlich <wschlich@gentoo.org> | 2008-06-15 11:19:23 +0000 |
---|---|---|
committer | Wolfram Schlich <wschlich@gentoo.org> | 2008-06-15 11:19:23 +0000 |
commit | 75cbf0799366e0f002e6914d24affc2ab0765bda (patch) | |
tree | 2bbe1aaa6348830304f1f94a55f5b59e689a05c2 /net-misc | |
parent | Add missing pkg-config dependency (diff) | |
download | historical-75cbf0799366e0f002e6914d24affc2ab0765bda.tar.gz historical-75cbf0799366e0f002e6914d24affc2ab0765bda.tar.bz2 historical-75cbf0799366e0f002e6914d24affc2ab0765bda.zip |
version bump wrt bug #226509
Package-Manager: portage-2.1.5.4
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/radvd/ChangeLog | 10 | ||||
-rw-r--r-- | net-misc/radvd/Manifest | 5 | ||||
-rw-r--r-- | net-misc/radvd/files/radvd-1.1-gnu-source.patch | 11 | ||||
-rw-r--r-- | net-misc/radvd/radvd-1.1.ebuild | 74 |
4 files changed, 97 insertions, 3 deletions
diff --git a/net-misc/radvd/ChangeLog b/net-misc/radvd/ChangeLog index 19b76f408343..d70c7fa202e5 100644 --- a/net-misc/radvd/ChangeLog +++ b/net-misc/radvd/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-misc/radvd -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/ChangeLog,v 1.39 2007/12/25 16:28:41 phreak Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/ChangeLog,v 1.40 2008/06/15 11:19:23 wschlich Exp $ + +*radvd-1.1 (15 Jun 2008) + + 15 Jun 2008; Wolfram Schlich <wschlich@gentoo.org> + +files/radvd-1.1-gnu-source.patch, +radvd-1.1.ebuild: + version bump wrt bug #226509 25 Dec 2007; Christian Heim <phreak@gentoo.org> metadata.xml: Removing uberlord from metadata.xml as per #199318. diff --git a/net-misc/radvd/Manifest b/net-misc/radvd/Manifest index 798a161d1526..d1f73b7f6709 100644 --- a/net-misc/radvd/Manifest +++ b/net-misc/radvd/Manifest @@ -1,13 +1,16 @@ AUX radvd-0.9-conf.d 447 RMD160 d4020d4d55535865776fa7a5188b813e2bb28f74 SHA1 8e091105e1090b0a9565983dd61ff5f71fbc9750 SHA256 a598c2e433287110d257459931c840454caa96ef1dd697bcbbf65d75b76b6d9b AUX radvd-0.9-init.d 1094 RMD160 5f899340e2bcce1d583ecce9dda6ae37cc51e02f SHA1 7be8c13e5eafc43a51c8914c1dd70dd59a6d36f1 SHA256 9da595fff656c673e45ecf6a002660cffc5f94508a0274d163d618fe8ec62133 +AUX radvd-1.1-gnu-source.patch 291 RMD160 ca63d9479967999cf55d9d37aad5aed54db292ca SHA1 9a8b5282ae336acc394518e044e15d2a5a7e05ce SHA256 32fd5d866c895928448fe489dc078633eb994216cd4d4df5ff7a17e37bfba447 AUX radvd.conf 445 RMD160 8b9a158617b7a2b11548016d98b037f203f13558 SHA1 9605bce0d235a0f33ecb5cd1dd443da6bd2d29c1 SHA256 a9c704a481fc7c24d4ed3e21aa6bf8979fca6e81b93d86a86b40e4433d03809c AUX radvd.init 1472 RMD160 ed07f9deb39bb7db4fa3391994c9a68fc0b76062 SHA1 b62e36f3c753a98362f97d15c924af4cc52edbeb SHA256 4dd66ffca017fc7768d614a9afa98b91af3379bfbe00a91f35cbe7df587774ca DIST radvd-0.9.1.tar.gz 104993 RMD160 844b942384c3258afe52f5645969e02cfa508322 SHA1 4adb8f780ef62acea61e2499d19a5dd78dcb1328 SHA256 d90f95b1af5a853d3cdbc15582ab219bbdd73efc4c7290759bcb895695514e1d DIST radvd-0.9.tar.gz 104356 RMD160 a1bc693c30d6d929dfe012a53dc22428a7022a64 SHA1 f21b4facd577f97c0275f4de5a8f0e24231f059d SHA256 751fa0e5e536c1b57cc09e63440a0f01209dc4297a3c58e69058e741ef28ea15 DIST radvd-1.0.tar.gz 110170 RMD160 a6d5aa3fe25b7751e5b0188add1d68633b20174e SHA1 142bb9d126a67215597d115ed551955e79889fad SHA256 fbc44fac8356426c115914eb5dce6fc84afea923ad6aba1670a3402c06bda7ab +DIST radvd-1.1.tar.gz 146946 RMD160 6fb554404b4b1043e49ad12759c1132446ebf171 SHA1 e630e53c32dbd070bd704a3d0920f340a05730ab SHA256 a51e32fb9c0a5e12c67111dfd8490e1629c35aabbf9306a451db1dc06505fe90 EBUILD radvd-0.9.1.ebuild 1675 RMD160 e3972e69153b786b1c72a29cea5baeb8bb187b49 SHA1 ceef9274f47f6e5da2a30963f26562b30d2fdce3 SHA256 b9336932eff338b43361c9679ffdefb9f192c9577e2f3b26fbd88f0c1f8cc96b EBUILD radvd-0.9.ebuild 1485 RMD160 de15b8751ee5ca117706e1418c7fa9c2b627bea8 SHA1 9eb8b57a2ab07f81867e9bc8b992b08520079d41 SHA256 2382ad99f38cbc827cf57982ac915e9771f9690bfdc106dd71cfad2920c5f764 EBUILD radvd-1.0-r1.ebuild 1815 RMD160 f3e252a9ffb91cd472240f8e7147ba647c77c29a SHA1 8f30861c104d902447730f9d48382e5bc5b621d9 SHA256 2ca0c120ba7c50b7898c1c4855ba9e79e0f8e3728b4613cfbd900cb4b7025e96 EBUILD radvd-1.0.ebuild 1662 RMD160 f5abbf05bb78738e13b9bcb1b0ff6e15f757e29c SHA1 9874e204e30d9b65ce8f0a287f585ecaa8a0964f SHA256 f4a24ffb523d7b4fed5f5784feba16eb9acb45d764485444cc1c55dad181dcd6 -MISC ChangeLog 4721 RMD160 10c5c0098eedf4c1b1b1f14a3d40f30684e2c8ae SHA1 1d7af8fd623c15f5f0cdd8afc3fa26f2d5842993 SHA256 5ed1a7ad9b0cd46dc75beaa2232b33680d5cabe27baa50e22f59ae6c5bb40010 +EBUILD radvd-1.1.ebuild 1904 RMD160 0611d793abe489c4b7358da3440c2adb39077fb0 SHA1 9abdea8049bca91d7173f0e8767280ee823f6bc4 SHA256 b27911f23003a77aec7ff6a730dae0193a9f65bad0532bfd4ed15288e42c7b44 +MISC ChangeLog 4890 RMD160 e1f5da18c065b23bb27ea9953623e0e507a251c5 SHA1 e58a9768897c04fb07b3d6789a4f7a2509becd1d SHA256 7c638484f88f7801b4bd7539d6869f1009703b64940572d88be5bf4be415f0cc MISC metadata.xml 354 RMD160 0ea3076342988f1c1e4c79bcc1f06a4a9982f17e SHA1 d2b572b1df5f9662811c50719daee0a4b1352331 SHA256 b955a5c0b62d7a6eb1b90d70b17ceda4c36bca77f77a946f8077c537e67ce660 diff --git a/net-misc/radvd/files/radvd-1.1-gnu-source.patch b/net-misc/radvd/files/radvd-1.1-gnu-source.patch new file mode 100644 index 000000000000..fc0d883557ad --- /dev/null +++ b/net-misc/radvd/files/radvd-1.1-gnu-source.patch @@ -0,0 +1,11 @@ +--- 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/radvd-1.1.ebuild b/net-misc/radvd/radvd-1.1.ebuild new file mode 100644 index 000000000000..078de6e0cdaa --- /dev/null +++ b/net-misc/radvd/radvd-1.1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2008 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.1 2008/06/15 11:19:23 wschlich Exp $ + +inherit eutils + +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}"/${P}-gnu-source.patch +} + +src_compile() { + econf \ + --with-pidfile=/var/run/radvd/radvd.pid \ + || die "econf failed" + + emake || 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 "/etc/radvd.conf" + einfo + einfo "An example configuration file has been installed as" + einfo "/usr/share/doc/${PF}/radvd.conf.example.gz" + einfo + einfo "grsec 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" +} |