Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-inherit toolchain-funcs user
+inherit toolchain-funcs
MY_PV="${PV//_p/-P}"
MY_PV="${MY_PV/_/-}"
openssl? ( dev-libs/openssl:0= )
postgres? ( dev-db/postgresql:* )
"
-RDEPEND="${DEPEND}"
+RDEPEND="${DEPEND}
+ acct-group/dhcp
+ acct-user/dhcp"
BDEPEND="virtual/pkgconfig"
S="${WORKDIR}/${MY_P}"
keepdir /var/{lib,run}/${PN} /var/log
find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die
}
-
-pkg_preinst() {
- enewgroup dhcp
- enewuser dhcp -1 -1 /var/lib/dhcp dhcp
-}