diff options
author | Lars Wendler <polynomial-c@gentoo.org> | 2020-06-04 20:24:12 +0200 |
---|---|---|
committer | Lars Wendler <polynomial-c@gentoo.org> | 2020-06-04 20:30:03 +0200 |
commit | c5bf6136b7be50bb59dfdd98525ee9e4121e1556 (patch) | |
tree | 6ed0b999105071f9a252c291284ef522f25f5dc1 /net-misc/dhcpcd/dhcpcd-9999.ebuild | |
parent | net-misc/dhcpcd: Bump to version 9.1.1 (diff) | |
download | gentoo-c5bf6136b7be50bb59dfdd98525ee9e4121e1556.tar.gz gentoo-c5bf6136b7be50bb59dfdd98525ee9e4121e1556.tar.bz2 gentoo-c5bf6136b7be50bb59dfdd98525ee9e4121e1556.zip |
net-misc/dhcpcd: Synced live ebuild
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'net-misc/dhcpcd/dhcpcd-9999.ebuild')
-rw-r--r-- | net-misc/dhcpcd/dhcpcd-9999.ebuild | 22 |
1 files changed, 1 insertions, 21 deletions
diff --git a/net-misc/dhcpcd/dhcpcd-9999.ebuild b/net-misc/dhcpcd/dhcpcd-9999.ebuild index ac18c5907ad8..092c6e4a1dda 100644 --- a/net-misc/dhcpcd/dhcpcd-9999.ebuild +++ b/net-misc/dhcpcd/dhcpcd-9999.ebuild @@ -21,7 +21,7 @@ DESCRIPTION="A fully featured, yet light weight RFC2131 compliant DHCP client" HOMEPAGE="https://roy.marples.name/projects/dhcpcd" LICENSE="BSD-2" SLOT="0" -IUSE="debug elibc_glibc +embedded ipv6 kernel_linux +privsep +udev" +IUSE="debug elibc_glibc +embedded ipv6 kernel_linux privsep +udev" COMMON_DEPEND="udev? ( virtual/udev )" DEPEND="${COMMON_DEPEND}" @@ -113,26 +113,6 @@ pkg_postinst() { cp "${lease}" "${dbdir}/${new_lease}" done - # dhcpcd-9 introduced privesep support in a chroot - if use privsep ; then - local dhcpcd_libdir="/var/lib/dhcpcd" - local chroot_base="${EROOT}/var/chroot/dhcpcd" - local chroot_dir="${chroot_base}${dhcpcd_libdir}" - local chroot_retval=0 - # Set up proper chroot. - if [[ ! -e "${chroot_dir}" ]] ; then - mkdir -p "${chroot_dir}" || chroot_retval=1 - cp -a "${EROOT}${dhcpcd_libdir}" "${chroot_dir}" || chroot_retval=1 - chown -R dhcpcd:dhcpcd "${chroot_dir}" || chroot_retval=1 - elif [[ ! -d "${chroot_dir}" ]] ; then - ewarn "${chroot_dir} is not a directory!" - ewarn "Did not set up ${PN} chroot!" - fi - if [[ "${chroot_retval}" -ne 0 ]] ; then - ewarn "There were issues setting up ${PN} chroot." - fi - fi - # Warn about removing stale files if [[ -n "${old_files[@]}" ]] ; then elog |