mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 04:16:46 +02:00
main/cyrus-sasl: split out gssapiv2, gs2 plugin modules
This commit is contained in:
parent
87095c2c29
commit
db6ccb5a98
@ -2,12 +2,13 @@
|
||||
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
||||
pkgname=cyrus-sasl
|
||||
pkgver=2.1.26
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="Cyrus Simple Authentication Service Layer (SASL)"
|
||||
url="http://cyrusimap.web.cmu.edu/downloads.html#sasl"
|
||||
arch="all"
|
||||
license="custom"
|
||||
subpackages="$pkgname-dev $pkgname-doc libsasl"
|
||||
subpackages="$pkgname-dev $pkgname-doc $pkgname-gssapi $pkgname-gs2
|
||||
libsasl"
|
||||
depends=
|
||||
makedepends="db-dev openssl-dev heimdal-dev
|
||||
autoconf automake libtool"
|
||||
@ -68,6 +69,18 @@ package() {
|
||||
install -d "$pkgdir"/var/run/saslauthd
|
||||
}
|
||||
|
||||
_plugindir=usr/lib/sasl2
|
||||
_plugin() {
|
||||
depends=
|
||||
replaces="libsasl"
|
||||
pkgdesc="Cyrus SASL plugin for $1"
|
||||
mkdir -p "$subpkgdir"/$_plugindir || return 1
|
||||
mv "$pkgdir"/$_plugindir/lib${1}.so* "$subpkgdir"/$_plugindir/
|
||||
}
|
||||
|
||||
gssapi() { _plugin gssapiv2; }
|
||||
gs2() { _plugin gs2; }
|
||||
|
||||
libsasl() {
|
||||
depends=
|
||||
pkgdesc="Cyrus Simple Authentication and Security Layer (SASL) library"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user