diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2008-11-19 00:04:47 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2008-11-19 00:04:47 +0000 |
commit | 41c35c5e7f30a7a4c18db6b62ec2951ad1a7aff7 (patch) | |
tree | 36574f105ae57cd07a8055c2d02103d9451f23c1 /net-misc/radvd | |
parent | Avoid autotools maintainer mode. (diff) | |
download | historical-41c35c5e7f30a7a4c18db6b62ec2951ad1a7aff7.tar.gz historical-41c35c5e7f30a7a4c18db6b62ec2951ad1a7aff7.tar.bz2 historical-41c35c5e7f30a7a4c18db6b62ec2951ad1a7aff7.zip |
Version bump.
Package-Manager: portage-2.2_rc14/cvs/Linux 2.6.28-rc5-00117-g7f0f598 x86_64
Diffstat (limited to 'net-misc/radvd')
-rw-r--r-- | net-misc/radvd/ChangeLog | 7 | ||||
-rw-r--r-- | net-misc/radvd/Manifest | 4 | ||||
-rw-r--r-- | net-misc/radvd/radvd-1.2.ebuild | 76 |
3 files changed, 85 insertions, 2 deletions
diff --git a/net-misc/radvd/ChangeLog b/net-misc/radvd/ChangeLog index 5a461c59dd0c..0593eca686c7 100644 --- a/net-misc/radvd/ChangeLog +++ b/net-misc/radvd/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/radvd # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/ChangeLog,v 1.46 2008/11/19 00:03:54 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/radvd/ChangeLog,v 1.47 2008/11/19 00:04:47 robbat2 Exp $ + +*radvd-1.2 (19 Nov 2008) + + 19 Nov 2008; Robin H. Johnson <robbat2@gentoo.org> +radvd-1.2.ebuild: + Version bump. 19 Nov 2008; Robin H. Johnson <robbat2@gentoo.org> radvd-1.1.ebuild: Avoid autotools maintainer mode. diff --git a/net-misc/radvd/Manifest b/net-misc/radvd/Manifest index 4fb4b7c3166b..574ff4f15042 100644 --- a/net-misc/radvd/Manifest +++ b/net-misc/radvd/Manifest @@ -4,7 +4,9 @@ AUX radvd.conf 445 RMD160 8b9a158617b7a2b11548016d98b037f203f13558 SHA1 9605bce0 AUX radvd.init 1480 RMD160 db83c26778837941dfddbae9a83ded79c065f322 SHA1 1e04dec3bbee6c661250bd766478cf19bb90f5f2 SHA256 be0ddad818d6059c764ad9b7ff2f5f9d28f50574600341f449b008d461901892 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 +DIST radvd-1.2.tar.gz 147601 RMD160 00fea2ac69868e27cdbc576b0aba19df24e3b2f4 SHA1 1bf18f56c6086d02bf1bec5352f5ca00b7dde1e5 SHA256 3cf95b3e943c26806e36cd4fa772a6477ec1762331461deb38f81899e24ccc20 EBUILD radvd-1.0-r1.ebuild 1815 RMD160 5a9a7b48677b0bc7b660841d925cd98788842611 SHA1 ff75713e20565d9b95c58225e047e55c1a56747e SHA256 f521cfa4502e6a901e3ec9703b737f8035547b0ed5612ceef52958370abf89dd EBUILD radvd-1.1.ebuild 1982 RMD160 203412ec62e3955f2ad0da1fdfbd19ee2ecac3e0 SHA1 b456906e643b37ed83675297d70fdde327f920e3 SHA256 d2bb16de3287941e4c5ed739ef8a39b939d9d0e0d63ceaac27f81e2df5e9eb61 -MISC ChangeLog 5819 RMD160 f0514818486091b467edd06459f5556b22a43206 SHA1 83f853a93c92d8c76d44ee135b90eb895f0b02ce SHA256 fed01f08a91ac349de24f7b1bf9ab41902bdfe966aa024f79acfca2ede4733f8 +EBUILD radvd-1.2.ebuild 1982 RMD160 a21d9f09088f243e1cb783be0e3b62b8e6aaea30 SHA1 d22433d20be66c39dd053eaf71dae719f5dd60c2 SHA256 dbbd2a5cb1351c41b5d7a3734854e486da5820c0fa59297243d9d426fa4df924 +MISC ChangeLog 5934 RMD160 4386d795f9e91f3fd5b0de5f49cb59bfc3b71c66 SHA1 32ff4e6568ee2ce588dc5b02ea67cbcf385efd24 SHA256 e75b271d81aeeff57521b597423fd70484a61322c2ae4ee9fa4d5dd9f89960f6 MISC metadata.xml 258 RMD160 5bc8ed309b06ae1f07d8fab8b67ad73f4f16fd7d SHA1 d1870b113b827f7e271fc7aab72cd6f749386f12 SHA256 e4ea9962bd46e893458fd2b98a8be20ad5329b359a2e23d909e06d0eb04586c7 diff --git a/net-misc/radvd/radvd-1.2.ebuild b/net-misc/radvd/radvd-1.2.ebuild new file mode 100644 index 000000000000..64d21e50f422 --- /dev/null +++ b/net-misc/radvd/radvd-1.2.ebuild @@ -0,0 +1,76 @@ +# 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.2.ebuild,v 1.1 2008/11/19 00:04:47 robbat2 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 + eautomake +} + +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 "${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." +} |