]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blobdiff - cyrus-sasl/cyrus-sasl.nm
Move all packages to root.
[people/amarx/ipfire-3.x.git] / cyrus-sasl / cyrus-sasl.nm
diff --git a/cyrus-sasl/cyrus-sasl.nm b/cyrus-sasl/cyrus-sasl.nm
new file mode 100644 (file)
index 0000000..beab615
--- /dev/null
@@ -0,0 +1,57 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = cyrus-sasl
+version    = 2.1.23
+release    = 0
+
+groups     = System/Libraries
+url        = http://asg.web.cmu.edu/sasl/sasl-library.html
+license    = BSD
+summary    = The Cyrus SASL library.
+
+description
+       The cyrus-sasl package contains the Cyrus implementation of SASL. \
+       SASL is the Simple Authentication and Security Layer, a method for \
+       adding authentication support to connection-based protocols.
+end
+
+source_dl  =
+
+build
+       requires
+               db4-devel
+               openssl-devel
+               pam-devel
+       end
+
+       configure_options += \
+               --sysconfdir=/etc \
+               --with-dbpath=/var/lib/sasl/sasldb2 \
+               --with-saslauthd=/var/run/saslauthd \
+               --mandir=/usr/share/man
+
+       PARALLELISMFLAGS = # Disabled
+
+       install_cmds
+               mkdir -pv %{BUILDROOT}/usr/lib/sasl2
+               cp -vf %{DIR_SOURCE}/smtpd.conf %{BUILDROOT}/usr/lib/sasl2/
+
+               install -v -m700 -d %{BUILDROOT}/var/lib/sasl %{BUILDROOT}/var/run/saslauthd
+       end
+end
+
+packages
+       package %{name}
+       end
+
+       package %{name}-libs
+               template LIBS
+       end
+       
+       package %{name}-devel
+               template DEVEL
+       end
+end