From fad23ff1e76ffab457c245c230472612c23dc2dd Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 18 Apr 2010 14:41:17 +0200 Subject: [PATCH] Added libsasl-2.1.23 build template. --HG-- extra : convert_revision : e4c7b8ab096894e2ce819a1f5f39164c3ee6276a --- srcpkgs/libsasl-devel | 1 + srcpkgs/libsasl/depends | 2 ++ srcpkgs/libsasl/libsasl-devel.template | 16 ++++++++++ srcpkgs/libsasl/template | 37 ++++++++++++++++++++++++ xbps-src/common/mapping_shlib_binpkg.txt | 1 + 5 files changed, 57 insertions(+) create mode 120000 srcpkgs/libsasl-devel create mode 100644 srcpkgs/libsasl/depends create mode 100644 srcpkgs/libsasl/libsasl-devel.template create mode 100644 srcpkgs/libsasl/template diff --git a/srcpkgs/libsasl-devel b/srcpkgs/libsasl-devel new file mode 120000 index 0000000000..50268eaf52 --- /dev/null +++ b/srcpkgs/libsasl-devel @@ -0,0 +1 @@ +libsasl \ No newline at end of file diff --git a/srcpkgs/libsasl/depends b/srcpkgs/libsasl/depends new file mode 100644 index 0000000000..84c0595156 --- /dev/null +++ b/srcpkgs/libsasl/depends @@ -0,0 +1,2 @@ +abi_depends=">=2.1.23" +api_depends="${abi_depends}" diff --git a/srcpkgs/libsasl/libsasl-devel.template b/srcpkgs/libsasl/libsasl-devel.template new file mode 100644 index 0000000000..a606ca13dc --- /dev/null +++ b/srcpkgs/libsasl/libsasl-devel.template @@ -0,0 +1,16 @@ +# Template file for 'libsasl-devel'. +# +short_desc="${sourcepkg} - development files" +long_desc="${long_desc} + + This package contains files for development, headers, static libs, etc." + +Add_dependency run db-devel +Add_dependency run libsasl + +do_install() +{ + mkdir -p ${DESTDIR}/usr/lib + mv ${SRCPKGDESTDIR}/usr/{include,share} ${DESTDIR}/usr + mv ${SRCPKGDESTDIR}/usr/lib/lib*.so ${DESTDIR}/usr/lib +} diff --git a/srcpkgs/libsasl/template b/srcpkgs/libsasl/template new file mode 100644 index 0000000000..7c88944017 --- /dev/null +++ b/srcpkgs/libsasl/template @@ -0,0 +1,37 @@ +# Template file for 'libsasl' +pkgname=libsasl +version=2.1.23 +wrksrc="cyrus-sasl-${version}" +distfiles="ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-sasl-$version.tar.gz" +build_style=gnu_configure +configure_args="--localstatedir=/var --disable-anon --disable-cram +--disable-digest --disable-gssapi --disable-otp --disable-login +--disable-plain" +short_desc="Cyrus SASL - authentication abstraction library" +maintainer="Juan RP " +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 db +Add_dependency build db-devel + +post_install() +{ + # Remove unused stuff. + rm -rf ${DESTDIR}/usr/sbin + rm -rf ${DESTDIR}/usr/share/man/man8 +} diff --git a/xbps-src/common/mapping_shlib_binpkg.txt b/xbps-src/common/mapping_shlib_binpkg.txt index d895804d6b..25388872d3 100644 --- a/xbps-src/common/mapping_shlib_binpkg.txt +++ b/xbps-src/common/mapping_shlib_binpkg.txt @@ -614,3 +614,4 @@ libgdkmm-2.4.so gtkmm gtkmm-devel libgksu2.so libgksu libgksu-devel libseed.so libseed libseed-devel libgnome-bluetooth.so gnome-bluetooth gnome-bluetooth-devel +libsasl2.so libsasl libsasl-devel