void-packages/srcpkgs/sssd/template
2020-04-21 18:45:13 -04:00

68 lines
1.9 KiB
Bash

# Template file for 'sssd'
pkgname=sssd
version=2.0.0
revision=3
build_style=gnu-configure
configure_args="--without-selinux --without-semanage
--disable-cifs-idmap-plugin --without-samba --with-os=fedora
--with-test-dir=/dev/shm --with-python2-bindings --with-python3-bindings
--with-pid-path=/run"
hostmakedepends="pkg-config nscd bind xmlcatmgr docbook-xsl"
makedepends="pam-devel popt-devel talloc-devel tdb-devel tevent-devel ldb-devel
ding-libs-devel libldap-devel mit-krb5-devel c-ares-devel glib-devel
libxslt-devel python-devel nss-devel libnfsidmap-devel http-parser-devel
jansson-devel python3-devel libcurl-devel cmocka-devel check-devel"
make_dirs="/var/lib/sss/db 0700 root root
/var/lib/sss/secrets 0700 root root
/var/lib/sss/pubconf/krb5.include.d 0700 root root
/var/lib/sss/pipes/private 0700 root root
/var/lib/sss/mc 0700 root root
/var/lib/sss/keytabs 0700 root root
/var/lib/sss/gpo_cache 0700 root root
/var/lib/sss/db 0700 root root
/etc/sssd/ 0700 root root
/var/sssd/conf.d 0700 root root"
short_desc="System Security Services Daemon"
maintainer="Yuusha Spacewolf <xyuusha@paranoici.org>"
license="GPL-3.0-or-later"
homepage="https://pagure.io/SSSD/sssd/"
distfiles="https://releases.pagure.org/SSSD/sssd/sssd-${version}.tar.gz"
checksum=77569d00dd516e7eba1bfcc2ae562647068d7d16e283e8b3fc4f1e03fc899586
python_version=2 #unverified
do_check() {
export CK_TIMEOUT_MULTIPLIER=10
make check VERBOSE=yes
unset CK_TIMEOUT_MULTIPLIER
}
post_install() {
rm -rf ${DESTDIR}/etc/rc.d
vsv sssd
}
sssd-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/lib/pkgconfig
vmove usr/include
}
}
sssd-python_package() {
depends="sssd"
short_desc+=" - Python bindings"
pkg_install() {
vmove /usr/lib/python2.7
}
}
sssd-python3_package() {
depends="sssd"
short_desc+=" - Python3 bindings"
pkg_install() {
vmove ${py3_sitelib}
}
}