Сравнение radvd-2.19-r4 с radvd-2.19-r5

/usr/portage/net-misc/radvd/radvd-2.19-r5.ebuild 2023-10-09 14:52:34.676368481 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
inherit readme.gentoo-r1 systemd toolchain-funcs
6
inherit autotools readme.gentoo-r1 systemd toolchain-funcs
7 7

  
8 8
DESCRIPTION="Linux IPv6 Router Advertisement Daemon"
9 9
HOMEPAGE="https://radvd.litech.org/"
......
15 15
IUSE="selinux test"
16 16
RESTRICT="!test? ( test )"
17 17

  
18
BDEPEND="virtual/pkgconfig"
19
DEPEND="
18
BDEPEND="
20 19
	sys-devel/bison
21 20
	sys-devel/flex
22
	test? ( dev-libs/check )
23
"
21
	virtual/pkgconfig"
22
DEPEND="test? ( dev-libs/check )"
24 23
RDEPEND="
25 24
	acct-group/radvd
26 25
	acct-user/radvd
27
	selinux? ( sec-policy/selinux-radvd )
28
"
29

  
30
DOCS=( CHANGES README TODO radvd.conf.example )
26
	selinux? ( sec-policy/selinux-radvd )"
31 27

  
32 28
PATCHES=(
33 29
	"${FILESDIR}"/${P}-musl-include.patch
30
	"${FILESDIR}"/${P}-clang16.patch
34 31
)
35 32

  
33
src_prepare() {
34
	default
35

  
36
	# Drop once clang16 patch is in a release
37
	eautoreconf
38
}
39

  
36 40
src_configure() {
41
	# Needs reentrant functions (yyset_in), bug #884375
42
	export LEX=flex
43

  
37 44
	econf --with-pidfile=/run/radvd/radvd.pid \
38 45
		--with-systemdsystemunitdir=no \
39 46
		$(use_with test check)
......
44 51
}
45 52

  
46 53
src_install() {
54
	HTML_DOCS=( INTRO.html )
47 55
	default
48

  
49
	docinto html
50
	dodoc INTRO.html
56
	dodoc radvd.conf.example
51 57

  
52 58
	newinitd "${FILESDIR}"/${PN}-2.15.init ${PN}
53 59
	newconfd "${FILESDIR}"/${PN}.conf ${PN}
54 60

  
55 61
	systemd_dounit "${FILESDIR}"/${PN}.service
56 62

  
57
	readme.gentoo_create_doc
58
}
59

  
60
DISABLE_AUTOFORMATTING=1
61
DOC_CONTENTS="Please create a configuration file ${ROOT}/etc/radvd.conf.
62
See ${ROOT}/usr/share/doc/${PF} for an example.
63
	DISABLE_AUTOFORMATTING=1
64
	local DOC_CONTENTS="Please create a configuration file ${EPREFIX}/etc/radvd.conf.
65
See ${EPREFIX}/usr/share/doc/${PF} for an example.
63 66

  
64 67
grsecurity users should allow a specific group to read /proc
65 68
and add the radvd user to that group, otherwise radvd may
66 69
segfault on startup."
70
	readme.gentoo_create_doc
71
}
72

  
73
pkg_postinst() {
74
	readme.gentoo_print_elog
75
}
Спасибо!