mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 05:53:12 -04:00
net-wireless/eiwd: Add resolvconf to RDEPEND
See https://github.com/kisslinux/repo/blob/master/extra/eiwd/post-install Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
This commit is contained in:
@@ -15,10 +15,11 @@ SRC_URI="https://github.com/dylanaraps/eiwd/releases/download/${MY_PV}/${MY_P}.t
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="+system-ell"
|
||||
IUSE="+resolvconf +system-ell"
|
||||
|
||||
DEPEND="system-ell? ( >=dev-libs/ell-0.31 )"
|
||||
RDEPEND="${DEPEND}
|
||||
resolvconf? ( || ( net-dns/openresolv net-misc/dhcpcd ) )
|
||||
!net-wireless/iwd
|
||||
net-wireless/wireless-regdb"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
@@ -38,5 +39,9 @@ src_configure() {
|
||||
src_install() {
|
||||
default
|
||||
keepdir /var/lib/iwd
|
||||
newinitd "${FILESDIR}/iwd.initd" iwd
|
||||
newinitd "${FILESDIR}"/iwd.initd iwd
|
||||
if use resolvconf ; then
|
||||
insinto /etc/iwd/
|
||||
doins "${FILESDIR}"/main.conf
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -15,11 +15,11 @@ EGIT_REPO_URI="https://github.com/dylanaraps/eiwd.git"
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="+system-ell"
|
||||
IUSE="+resolvconf +system-ell"
|
||||
|
||||
DEPEND="system-ell? ( >=dev-libs/ell-0.31 )
|
||||
dev-python/docutils"
|
||||
DEPEND="system-ell? ( >=dev-libs/ell-0.31 )"
|
||||
RDEPEND="${DEPEND}
|
||||
resolvconf? ( || ( net-dns/openresolv net-misc/dhcpcd ) )
|
||||
!net-wireless/iwd
|
||||
net-wireless/wireless-regdb"
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
@@ -44,5 +44,9 @@ src_configure() {
|
||||
src_install() {
|
||||
default
|
||||
keepdir /var/lib/iwd
|
||||
newinitd "${FILESDIR}/iwd.initd" iwd
|
||||
newinitd "${FILESDIR}"/iwd.initd iwd
|
||||
if use resolvconf ; then
|
||||
insinto /etc/iwd/
|
||||
doins "${FILESDIR}"/main.conf
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -9,6 +9,6 @@ command_background="yes"
|
||||
depend() {
|
||||
provide net
|
||||
after bootmisc modules
|
||||
before dns dhcpcd net
|
||||
before dns dhcpcd
|
||||
keyword -shutdown
|
||||
}
|
||||
|
||||
4
net-wireless/eiwd/files/main.conf
Normal file
4
net-wireless/eiwd/files/main.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
[General]
|
||||
EnableNetworkConfiguration=true
|
||||
[Network]
|
||||
NameResolvingService=resolvconf
|
||||
@@ -9,5 +9,8 @@
|
||||
<flag name="system-ell">
|
||||
Use the system-wide <pkg>dev-libs/ell</pkg>instead of bundled.
|
||||
</flag>
|
||||
<flag name="resolvconf">
|
||||
Use resolvconf to handle /etc/resolv.conf updates
|
||||
</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
||||
Reference in New Issue
Block a user