summaryrefslogtreecommitdiffstats
path: root/extra/cyrus-sasl
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-09 14:44:13 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-09 14:44:13 +0200
commitacbadad2d7bea5bc285e1525782d4a922ac6d975 (patch)
tree90b6e8253bd5ec960f9ad149c605d8137ac944d9 /extra/cyrus-sasl
parent5eba63688715025f45ad428648fea571330d8e70 (diff)
downloadnutyx-pakxe-acbadad2d7bea5bc285e1525782d4a922ac6d975.tar.gz
nutyx-pakxe-acbadad2d7bea5bc285e1525782d4a922ac6d975.tar.bz2
nutyx-pakxe-acbadad2d7bea5bc285e1525782d4a922ac6d975.tar.xz
nutyx-pakxe-acbadad2d7bea5bc285e1525782d4a922ac6d975.zip
Ajout de cyrus-sasl#2.1.22-1
Diffstat (limited to 'extra/cyrus-sasl')
-rw-r--r--extra/cyrus-sasl/.footprint101
-rw-r--r--extra/cyrus-sasl/.md5sum2
-rw-r--r--extra/cyrus-sasl/Pkgfile21
-rw-r--r--extra/cyrus-sasl/gcc44-1.patch23
4 files changed, 147 insertions, 0 deletions
diff --git a/extra/cyrus-sasl/.footprint b/extra/cyrus-sasl/.footprint
new file mode 100644
index 000000000..7b12e4ba7
--- /dev/null
+++ b/extra/cyrus-sasl/.footprint
@@ -0,0 +1,101 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/sasl/
+-rw-r--r-- root/root usr/include/sasl/hmac-md5.h
+-rw-r--r-- root/root usr/include/sasl/md5.h
+-rw-r--r-- root/root usr/include/sasl/md5global.h
+-rw-r--r-- root/root usr/include/sasl/prop.h
+-rw-r--r-- root/root usr/include/sasl/sasl.h
+-rw-r--r-- root/root usr/include/sasl/saslplug.h
+-rw-r--r-- root/root usr/include/sasl/saslutil.h
+drwxr-xr-x root/root usr/lib/
+-rwxr-xr-x root/root usr/lib/libsasl2.la
+lrwxrwxrwx root/root usr/lib/libsasl2.so -> libsasl2.so.2.0.22
+lrwxrwxrwx root/root usr/lib/libsasl2.so.2 -> libsasl2.so.2.0.22
+-rwxr-xr-x root/root usr/lib/libsasl2.so.2.0.22
+drwxr-xr-x root/root usr/lib/sasl2/
+-rwxr-xr-x root/root usr/lib/sasl2/libanonymous.la
+lrwxrwxrwx root/root usr/lib/sasl2/libanonymous.so -> libanonymous.so.2.0.22
+lrwxrwxrwx root/root usr/lib/sasl2/libanonymous.so.2 -> libanonymous.so.2.0.22
+-rwxr-xr-x root/root usr/lib/sasl2/libanonymous.so.2.0.22
+-rwxr-xr-x root/root usr/lib/sasl2/libcrammd5.la
+lrwxrwxrwx root/root usr/lib/sasl2/libcrammd5.so -> libcrammd5.so.2.0.22
+lrwxrwxrwx root/root usr/lib/sasl2/libcrammd5.so.2 -> libcrammd5.so.2.0.22
+-rwxr-xr-x root/root usr/lib/sasl2/libcrammd5.so.2.0.22
+-rwxr-xr-x root/root usr/lib/sasl2/libdigestmd5.la
+lrwxrwxrwx root/root usr/lib/sasl2/libdigestmd5.so -> libdigestmd5.so.2.0.22
+lrwxrwxrwx root/root usr/lib/sasl2/libdigestmd5.so.2 -> libdigestmd5.so.2.0.22
+-rwxr-xr-x root/root usr/lib/sasl2/libdigestmd5.so.2.0.22
+-rwxr-xr-x root/root usr/lib/sasl2/libotp.la
+lrwxrwxrwx root/root usr/lib/sasl2/libotp.so -> libotp.so.2.0.22
+lrwxrwxrwx root/root usr/lib/sasl2/libotp.so.2 -> libotp.so.2.0.22
+-rwxr-xr-x root/root usr/lib/sasl2/libotp.so.2.0.22
+-rwxr-xr-x root/root usr/lib/sasl2/libplain.la
+lrwxrwxrwx root/root usr/lib/sasl2/libplain.so -> libplain.so.2.0.22
+lrwxrwxrwx root/root usr/lib/sasl2/libplain.so.2 -> libplain.so.2.0.22
+-rwxr-xr-x root/root usr/lib/sasl2/libplain.so.2.0.22
+-rwxr-xr-x root/root usr/lib/sasl2/libsasldb.la
+lrwxrwxrwx root/root usr/lib/sasl2/libsasldb.so -> libsasldb.so.2.0.22
+lrwxrwxrwx root/root usr/lib/sasl2/libsasldb.so.2 -> libsasldb.so.2.0.22
+-rwxr-xr-x root/root usr/lib/sasl2/libsasldb.so.2.0.22
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man3/
+-rw-r--r-- root/root usr/man/man3/sasl.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_authorize_t.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_auxprop.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_auxprop_getctx.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_auxprop_request.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_callbacks.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_canon_user_t.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_chalprompt_t.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_checkapop.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_checkpass.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_client_init.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_client_new.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_client_start.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_client_step.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_decode.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_dispose.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_done.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_encode.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_encodev.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_errdetail.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_errors.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_errstring.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_getconfpath_t.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_getopt_t.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_getpath_t.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_getprop.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_getrealm_t.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_getsecret_t.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_getsimple_t.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_global_listmech.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_idle.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_listmech.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_log_t.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_server_init.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_server_new.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_server_start.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_server_step.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_server_userdb_checkpass_t.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_server_userdb_setpass_t.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_setpass.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_setprop.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_user_exists.3.gz
+-rw-r--r-- root/root usr/man/man3/sasl_verifyfile_t.3.gz
+drwxr-xr-x root/root usr/man/man8/
+-rw-r--r-- root/root usr/man/man8/pluginviewer.8.gz
+-rw-r--r-- root/root usr/man/man8/saslauthd.8.gz
+-rw-r--r-- root/root usr/man/man8/sasldblistusers2.8.gz
+-rw-r--r-- root/root usr/man/man8/saslpasswd2.8.gz
+drwxr-xr-x root/root usr/sbin/
+-rwxr-xr-x root/root usr/sbin/pluginviewer
+-rwxr-xr-x root/root usr/sbin/saslauthd
+-rwxr-xr-x root/root usr/sbin/sasldblistusers2
+-rwxr-xr-x root/root usr/sbin/saslpasswd2
+-rwxr-xr-x root/root usr/sbin/testsaslauthd
+drwxr-xr-x root/root var/
+drwxr-xr-x root/root var/lib/
+drwx------ root/root var/lib/sasl/
+drwxr-xr-x root/root var/run/
+drwx------ root/root var/run/saslauthd/
diff --git a/extra/cyrus-sasl/.md5sum b/extra/cyrus-sasl/.md5sum
new file mode 100644
index 000000000..da2c9c0eb
--- /dev/null
+++ b/extra/cyrus-sasl/.md5sum
@@ -0,0 +1,2 @@
+45dde9d19193ae9dd388eb68b2027bc9 cyrus-sasl-2.1.22.tar.gz
+022c1a9b260cb49887b4908e5acfeb44 gcc44-1.patch
diff --git a/extra/cyrus-sasl/Pkgfile b/extra/cyrus-sasl/Pkgfile
new file mode 100644
index 000000000..bebc5d87c
--- /dev/null
+++ b/extra/cyrus-sasl/Pkgfile
@@ -0,0 +1,21 @@
+# Description: Système d'identification et couche de sécurité
+# URL: http://asg.web.cmu.edu/cyrus/download/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on:
+
+name=cyrus-sasl
+version=2.1.22
+release=1
+source=( http://ftp.andrew.cmu.edu/pub/cyrus-mail/$name-$version.tar.gz\
+ gcc44-1.patch)
+build() {
+ cd $name-$version
+ patch -Np1 -i ../gcc44-1.patch
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --with-dbpath=/var/lib/sasl/sasldb2 \
+ --with-saslauthd=/var/run/saslauthd
+ make
+ make DESTDIR=$PKG install
+ install -v -m700 -d $PKG/var/lib/sasl $PKG/var/run/saslauthd
+}
diff --git a/extra/cyrus-sasl/gcc44-1.patch b/extra/cyrus-sasl/gcc44-1.patch
new file mode 100644
index 000000000..0d4d2d2ea
--- /dev/null
+++ b/extra/cyrus-sasl/gcc44-1.patch
@@ -0,0 +1,23 @@
+Bug #248738
+
+diff -Naurp cyrus-sasl-2.1.22-orig/plugins/digestmd5.c cyrus-sasl-2.1.22/plugins/digestmd5.c
+--- cyrus-sasl-2.1.22-orig/plugins/digestmd5.c 2006-05-17 10:46:17.000000000 -0600
++++ cyrus-sasl-2.1.22/plugins/digestmd5.c 2008-11-24 23:39:11.000000000 -0600
+@@ -2715,7 +2715,7 @@ static sasl_server_plug_t digestmd5_serv
+ "DIGEST-MD5", /* mech_name */
+ #ifdef WITH_RC4
+ 128, /* max_ssf */
+-#elif WITH_DES
++#elif defined(WITH_DES)
+ 112,
+ #else
+ 1,
+@@ -4034,7 +4034,7 @@ static sasl_client_plug_t digestmd5_clie
+ "DIGEST-MD5",
+ #ifdef WITH_RC4 /* mech_name */
+ 128, /* max ssf */
+-#elif WITH_DES
++#elif defined(WITH_DES)
+ 112,
+ #else
+ 1,