summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-11-24 13:21:08 +0100
committerDavid Seifert <soap@gentoo.org>2022-11-24 13:21:08 +0100
commitfdeb9da6081bf27bc85796f9dc7e19f3a6064cec (patch)
treed767e403bcb21744e46d76825e2a35b0c1c48ee0 /net-misc/radvd
parentmedia-gfx/graphviz: add 7.0.2 (diff)
downloadgentoo-fdeb9da6081bf27bc85796f9dc7e19f3a6064cec.tar.gz
gentoo-fdeb9da6081bf27bc85796f9dc7e19f3a6064cec.tar.bz2
gentoo-fdeb9da6081bf27bc85796f9dc7e19f3a6064cec.zip
net-misc/radvd: [QA] fix readme.gentoo-r1.eclass handling
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-misc/radvd')
-rw-r--r--net-misc/radvd/radvd-2.19-r5.ebuild32
1 files changed, 15 insertions, 17 deletions
diff --git a/net-misc/radvd/radvd-2.19-r5.ebuild b/net-misc/radvd/radvd-2.19-r5.ebuild
index 339fa3d60deb..fd3d71930125 100644
--- a/net-misc/radvd/radvd-2.19-r5.ebuild
+++ b/net-misc/radvd/radvd-2.19-r5.ebuild
@@ -15,19 +15,15 @@ KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86"
IUSE="selinux test"
RESTRICT="!test? ( test )"
-BDEPEND="virtual/pkgconfig"
-DEPEND="
+BDEPEND="
sys-devel/bison
sys-devel/flex
- test? ( dev-libs/check )
-"
+ virtual/pkgconfig"
+DEPEND="test? ( dev-libs/check )"
RDEPEND="
acct-group/radvd
acct-user/radvd
- selinux? ( sec-policy/selinux-radvd )
-"
-
-DOCS=( CHANGES README TODO radvd.conf.example )
+ selinux? ( sec-policy/selinux-radvd )"
PATCHES=(
"${FILESDIR}"/${P}-musl-include.patch
@@ -52,23 +48,25 @@ src_compile() {
}
src_install() {
+ HTML_DOCS=( INTRO.html )
default
-
- docinto html
- dodoc INTRO.html
+ dodoc radvd.conf.example
newinitd "${FILESDIR}"/${PN}-2.15.init ${PN}
newconfd "${FILESDIR}"/${PN}.conf ${PN}
systemd_dounit "${FILESDIR}"/${PN}.service
- readme.gentoo_create_doc
-}
-
-DISABLE_AUTOFORMATTING=1
-DOC_CONTENTS="Please create a configuration file ${ROOT}/etc/radvd.conf.
-See ${ROOT}/usr/share/doc/${PF} for an example.
+ DISABLE_AUTOFORMATTING=1
+ local DOC_CONTENTS="Please create a configuration file ${EPREFIX}/etc/radvd.conf.
+See ${EPREFIX}/usr/share/doc/${PF} for an example.
grsecurity users should allow a specific group to read /proc
and add the radvd user to that group, otherwise radvd may
segfault on startup."
+ readme.gentoo_create_doc
+}
+
+pkg_postinst() {
+ readme.gentoo_print_elog
+}