void-packages/srcpkgs/libsasl/template

39 lines
1.5 KiB
Text

# Template file for 'libsasl'
pkgname=libsasl
version=2.1.23
revision=2
wrksrc="cyrus-sasl-${version}"
distfiles="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-$version.tar.gz"
build_style=gnu_configure
configure_args="--disable-anon --disable-cram
--disable-digest --disable-gssapi --disable-otp --disable-login
--disable-plain"
short_desc="Cyrus SASL - authentication abstraction library"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=20efcc4040cbab6e89a636a07dcf5720ee07b5c62359a4e7bf2500ef6020b136
long_desc="
SASL is the Simple Authentication and Security Layer, a method for adding
authentication support to connection-based protocols. To use SASL, a protocol
includes a command for identifying and authenticating a user to a server and
for optionally negotiating protection of subsequent protocol interactions.
If its use is negotiated, a security layer is inserted between the protocol
and the connection. See RFC 2222 for more information.
Any of: ANONYMOUS, CRAM-MD5, DIGEST-MD5, GSSAPI (MIT or Heimdal Kerberos 5),
NTLM, OTP, PLAIN, or LOGIN can be used. If you intend to use this package on a
server that provides SASL authentication, then you must install some of the
cyrus-sasl-modules* packages."
subpackages="libsasl-devel"
Add_dependency run glibc
Add_dependency run libdb
Add_dependency build db-devel
Add_dependency build openssl-devel
post_install()
{
# Remove unused stuff.
rm -rf ${DESTDIR}/usr/sbin
rm -rf ${DESTDIR}/usr/share/man/man8
}