diff --git a/net-misc/bird/bird-2.0.7-r1.ebuild b/net-misc/bird/bird-2.0.7-r1.ebuild index d57ef2c..105256e 100644 --- a/net-misc/bird/bird-2.0.7-r1.ebuild +++ b/net-misc/bird/bird-2.0.7-r1.ebuild @@ -15,15 +15,14 @@ KEYWORDS="~amd64 ~arm64 ~x86 ~x64-macos" IUSE="+client debug libssh" RDEPEND=" - client? ( sys-libs/ncurses ) - client? ( sys-libs/readline ) + client? ( sys-libs/ncurses:= ) + client? ( sys-libs/readline:= ) filecaps? ( acct-group/bird acct-user/bird ) - libssh? ( net-libs/libssh ) -" -DEPEND="sys-devel/flex + libssh? ( net-libs/libssh:= )" +BDEPEND="sys-devel/flex sys-devel/bison sys-devel/m4" @@ -32,6 +31,12 @@ PATCHES=( "${FILESDIR}/${P}-attrs.c.patch" ) +FILECAPS=( + CAP_NET_ADMIN usr/sbin/bird + CAP_NET_BIND_SERVICE usr/sbin/bird + CAP_NET_RAW usr/sbin/bird +) + src_configure() { econf \ --localstatedir="${EPREFIX}/var" \ @@ -51,12 +56,6 @@ src_install() { dodoc doc/bird.conf.example } -FILECAPS=( - CAP_NET_ADMIN usr/sbin/bird - CAP_NET_BIND_SERVICE usr/sbin/bird - CAP_NET_RAW usr/sbin/bird -) - pkg_postinst() { use filecaps && \ einfo "If you want to run bird as non-root, edit"