[sys-auth/sssd] pull configure handling from util-linux, drycoded
This commit is contained in:
parent
78321d1ae7
commit
e80fa71dff
@ -80,7 +80,6 @@ RDEPEND="${DEPEND}
|
|||||||
BDEPEND="${DEPEND}
|
BDEPEND="${DEPEND}
|
||||||
doc? ( app-doc/doxygen )
|
doc? ( app-doc/doxygen )
|
||||||
test? (
|
test? (
|
||||||
app-crypt/p11-kit
|
|
||||||
dev-libs/check
|
dev-libs/check
|
||||||
dev-libs/softhsm:2
|
dev-libs/softhsm:2
|
||||||
dev-util/cmocka
|
dev-util/cmocka
|
||||||
@ -138,24 +137,7 @@ src_configure() {
|
|||||||
|
|
||||||
python_configure() {
|
python_configure() {
|
||||||
local myeconfargs=(
|
local myeconfargs=(
|
||||||
--localstatedir="${EPREFIX}"/var
|
"${commonargs[@]}"
|
||||||
--with-pid-path="${EPREFIX}"/run
|
|
||||||
--with-plugin-path="${EPREFIX}"/usr/$(get_libdir)/sssd
|
|
||||||
--enable-pammoddir="${EPREFIX}"/$(getpam_mod_dir)
|
|
||||||
--with-ldb-lib-dir="${EPREFIX}"/usr/$(get_libdir)/samba/ldb
|
|
||||||
--with-db-path="${EPREFIX}"/var/lib/sss/db
|
|
||||||
--with-gpo-cache-path="${EPREFIX}"/var/lib/sss/gpo_cache
|
|
||||||
--with-pubconf-path="${EPREFIX}"/var/lib/sss/pubconf
|
|
||||||
--with-pipe-path="${EPREFIX}"/var/lib/sss/pipes
|
|
||||||
--with-mcache-path="${EPREFIX}"/var/lib/sss/mc
|
|
||||||
--with-secrets-db-path="${EPREFIX}"/var/lib/sss/secrets
|
|
||||||
--with-log-path="${EPREFIX}"/var/log/sssd
|
|
||||||
--with-os=gentoo
|
|
||||||
--with-nscd="${EPREFIX}"/usr/sbin/nscd
|
|
||||||
--with-unicode-lib="glib2"
|
|
||||||
--disable-rpath
|
|
||||||
--sbindir=/usr/sbin
|
|
||||||
$(multilib_native_use_with selinux)
|
|
||||||
--without-kcm
|
--without-kcm
|
||||||
--without-secrets
|
--without-secrets
|
||||||
--without-samba
|
--without-samba
|
||||||
@ -171,8 +153,6 @@ python_configure() {
|
|||||||
--without-autofs
|
--without-autofs
|
||||||
--without-ssh
|
--without-ssh
|
||||||
--disable-valgrind
|
--disable-valgrind
|
||||||
--with-crypto="libcrypto"
|
|
||||||
--without-python2-bindings
|
|
||||||
--with-python3-bindings
|
--with-python3-bindings
|
||||||
)
|
)
|
||||||
mkdir "${BUILD_DIR}" || die
|
mkdir "${BUILD_DIR}" || die
|
||||||
@ -182,9 +162,8 @@ python_configure() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
multilib_src_configure() {
|
multilib_src_configure() {
|
||||||
local myconf=()
|
# configure args shared by python and non-python builds
|
||||||
|
local commonargs=(
|
||||||
myconf+=(
|
|
||||||
--localstatedir="${EPREFIX}"/var
|
--localstatedir="${EPREFIX}"/var
|
||||||
--with-pid-path="${EPREFIX}"/run
|
--with-pid-path="${EPREFIX}"/run
|
||||||
--with-plugin-path="${EPREFIX}"/usr/$(get_libdir)/sssd
|
--with-plugin-path="${EPREFIX}"/usr/$(get_libdir)/sssd
|
||||||
@ -202,11 +181,19 @@ multilib_src_configure() {
|
|||||||
--with-unicode-lib="glib2"
|
--with-unicode-lib="glib2"
|
||||||
--disable-rpath
|
--disable-rpath
|
||||||
--sbindir=/usr/sbin
|
--sbindir=/usr/sbin
|
||||||
|
$(multilib_native_use_with selinux)
|
||||||
|
--with-crypto="libcrypto"
|
||||||
|
--without-python2-bindings
|
||||||
|
)
|
||||||
|
|
||||||
|
local myconf=()
|
||||||
|
|
||||||
|
myconf+=(
|
||||||
|
"${commonargs[@]}"
|
||||||
$(multilib_native_use_with kcm)
|
$(multilib_native_use_with kcm)
|
||||||
$(multilib_native_use_with secrets)
|
$(multilib_native_use_with secrets)
|
||||||
$(multilib_native_use_with samba)
|
$(multilib_native_use_with samba)
|
||||||
$(multilib_native_use_enable acl cifs-idmap-plugin)
|
$(multilib_native_use_enable acl cifs-idmap-plugin)
|
||||||
$(multilib_native_use_with selinux)
|
|
||||||
$(multilib_native_use_with selinux semanage)
|
$(multilib_native_use_with selinux semanage)
|
||||||
$(use_enable locator krb5-locator-plugin)
|
$(use_enable locator krb5-locator-plugin)
|
||||||
$(use_enable pac pac-responder)
|
$(use_enable pac pac-responder)
|
||||||
@ -218,8 +205,6 @@ multilib_src_configure() {
|
|||||||
$(multilib_native_use_with autofs)
|
$(multilib_native_use_with autofs)
|
||||||
$(multilib_native_use_with ssh)
|
$(multilib_native_use_with ssh)
|
||||||
$(use_enable valgrind)
|
$(use_enable valgrind)
|
||||||
--with-crypto="libcrypto"
|
|
||||||
--without-python2-bindings
|
|
||||||
--without-python3-bindings
|
--without-python3-bindings
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user