mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-17 20:56:46 +02:00
121 lines
2.3 KiB
Text
121 lines
2.3 KiB
Text
# Contributor: Vince Mele <vmele@inoc.com>
|
|
# Contributor: Henrik Riomar <henrik.riomar@gmail.com>
|
|
maintainer="fossdd <fossdd@pwned.life>"
|
|
pkgname=sssd
|
|
pkgver=2.10.2
|
|
pkgrel=1
|
|
pkgdesc="System Security Services Daemon"
|
|
url="https://github.com/SSSD/sssd"
|
|
arch="all"
|
|
license="GPL-3.0-or-later"
|
|
|
|
# TODO: the full test suite depends on these
|
|
# but does not pass.
|
|
#checkdepends="
|
|
# check-dev
|
|
# cmocka-dev
|
|
# "
|
|
|
|
depends="
|
|
bind
|
|
curl
|
|
cyrus-sasl-gssapiv2
|
|
"
|
|
makedepends="
|
|
autoconf
|
|
automake
|
|
bash
|
|
bind-tools
|
|
c-ares-dev
|
|
cifs-utils-dev
|
|
curl-dev
|
|
dbus-dev
|
|
ding-libs-dev
|
|
docbook-xsl
|
|
gettext-dev
|
|
glib-dev
|
|
jansson-dev
|
|
jose-dev
|
|
keyutils-dev
|
|
krb5-dev
|
|
samba-dev
|
|
libcap-dev
|
|
libtool
|
|
libunistring-dev
|
|
libxml2-utils
|
|
libxslt
|
|
linux-pam-dev
|
|
musl-nscd-dev
|
|
nss-dev
|
|
openldap-dev
|
|
p11-kit-dev
|
|
pcre2-dev
|
|
popt-dev
|
|
py3-setuptools
|
|
python3-dev
|
|
talloc-dev
|
|
tdb-dev
|
|
tevent-dev
|
|
"
|
|
subpackages="$pkgname-dev py3-$pkgname-pyc py3-$pkgname:py3 $pkgname-openrc"
|
|
source="https://github.com/SSSD/sssd/releases/download/$pkgver/sssd-$pkgver.tar.gz
|
|
musl_fixup.patch
|
|
sssd.initd
|
|
"
|
|
options="!check" # fails
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
autoreconf -fvi
|
|
}
|
|
|
|
build() {
|
|
export LDFLAGS="$LDFLAGS -lintl"
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sbindir=/usr/sbin \
|
|
--sysconfdir=/etc \
|
|
--localstatedir=/var \
|
|
--libexecdir=/usr/lib/sssd \
|
|
--datadir=/usr/share \
|
|
--with-pid-path=/run \
|
|
--with-initscript=sysv \
|
|
--with-init-dir=/etc/init.d \
|
|
--disable-cifs-idmap-plugin \
|
|
--disable-rpath \
|
|
--disable-static \
|
|
--without-autofs \
|
|
--without-manpages \
|
|
--without-nfsv4-idmapd-plugin \
|
|
--without-python2-bindings \
|
|
--without-selinux \
|
|
--without-semanage \
|
|
--with-samba \
|
|
--with-ssh
|
|
make
|
|
}
|
|
|
|
check() {
|
|
make check
|
|
}
|
|
|
|
package() {
|
|
make -j1 DESTDIR="$pkgdir" install
|
|
|
|
install -Dm755 "$srcdir"/sssd.initd "$pkgdir"/etc/init.d/sssd
|
|
|
|
# shellcheck disable=SC2115
|
|
rm -r "$pkgdir"/usr/share
|
|
rm -r "$pkgdir"/run
|
|
}
|
|
|
|
py3() {
|
|
amove usr/lib/python*
|
|
}
|
|
|
|
sha512sums="
|
|
14ad222802e5426b0959ee32602e04ce24b3eb8d3bdd5e188cf29e3c7d32e0631b41c386fdbd129acf281317538460015d35410a688ea48dd546f9ae28522eac sssd-2.10.2.tar.gz
|
|
c9db51a773c821a2c5327d2e4b0d3c81dd89d780aa7f9dd66ff88a7419a8072907047c8d9faec17ea14c5404c636485eceda85df0b299f40fae362ef7bfb34e8 musl_fixup.patch
|
|
7198c66c96ba48c43def004e302be2e3348d43a4b5a1b35eb25f99081f1f6dce89d3994377a3064f72462509648bfbca1062493d244e413f0c47122cc0436bc9 sssd.initd
|
|
"
|