summaryrefslogtreecommitdiff
path: root/cyrus-sasl/Pkgfile
diff options
context:
space:
mode:
authorThomas Penteker <tek@serverop.de>2014-07-16 13:32:37 +0200
committerThomas Penteker <tek@serverop.de>2014-07-16 13:32:57 +0200
commit17116eab12a95b9806d491e254685e6ee1a5ae49 (patch)
tree264b468bcbafc1ae283fad90d2186ed6200ba979 /cyrus-sasl/Pkgfile
parent36402e02a73e706bd39ef94ba8a7efe90c75178a (diff)
downloadopt-17116eab12a95b9806d491e254685e6ee1a5ae49.tar.gz
opt-17116eab12a95b9806d491e254685e6ee1a5ae49.tar.xz
[notify] cyrus-sasl: 2.1.25 -> 2.1.26
Fixes CVE-2013-4122, a DoS vulnerability. Details: http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-4122
Diffstat (limited to 'cyrus-sasl/Pkgfile')
-rw-r--r--cyrus-sasl/Pkgfile65
1 files changed, 34 insertions, 31 deletions
diff --git a/cyrus-sasl/Pkgfile b/cyrus-sasl/Pkgfile
index 9e49cc27c..c3ed1f42a 100644
--- a/cyrus-sasl/Pkgfile
+++ b/cyrus-sasl/Pkgfile
@@ -1,41 +1,44 @@
# Description: Simple Authentication and Security Layer
-# URL: http://asg.web.cmu.edu/sasl/sasl-library.html
+# URL: https://cyrusimap.org/
# Maintainer: Thomas Penteker, tek at serverop dot de
# Packager: Daniel Mueller, daniel at danm dot de
# Depends on: db openssl
name=cyrus-sasl
-version=2.1.25
+version=2.1.26
release=1
-source=(ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/$name-$version.tar.gz saslauthd 0027_db5_support.patch)
+source=(ftp://ftp.cyrusimap.org/cyrus-sasl/cyrus-sasl-$version.tar.gz
+ saslauthd fix-CVE-2013-4122.diff)
build(){
- cd $name-$version
- patch -p1 -i $SRC/0027_db5_support.patch
-
- ./configure \
- --prefix=/usr \
- --sysconfdir=/etc/sasl \
- --with-plugindir=/usr/lib/sasl2 \
- --with-saslauthd=/var/sasl/saslauthd \
- --with-dbpath=/etc/sasl/sasldb2 \
- --with-dblib=berkeley \
- --with-bdb-incdir=/usr/include \
- --with-bdb-libdir=/usr/lib \
- --with-openssl=/usr \
- --enable-login \
- --enable-cram \
- --enable-digest \
- --enable-shared \
- --mandir=/usr/man
-
- make -j1
- make DESTDIR=$PKG install
-
- mkdir -p \
- $PKG/usr/lib/sasl2 \
- $PKG/var/sasl/saslauthd \
- $PKG/etc/rc.d
-
- install -m 755 $SRC/saslauthd $PKG/etc/rc.d
+
+ cd $name-$version
+
+ patch -i ../fix-CVE-2013-4122.diff -p1
+
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc/sasl \
+ --with-plugindir=/usr/lib/sasl2 \
+ --with-saslauthd=/var/sasl/saslauthd \
+ --with-dbpath=/etc/sasl/sasldb2 \
+ --with-dblib=berkeley \
+ --with-bdb-incdir=/usr/include \
+ --with-bdb-libdir=/usr/lib \
+ --with-openssl=/usr \
+ --enable-login \
+ --enable-cram \
+ --enable-digest \
+ --enable-shared \
+ --mandir=/usr/man
+
+ make -j1
+ make DESTDIR=$PKG install
+
+ mkdir -p \
+ $PKG/usr/lib/sasl2 \
+ $PKG/var/sasl/saslauthd \
+ $PKG/etc/rc.d
+
+ install -m 755 $SRC/saslauthd $PKG/etc/rc.d
}

Generated by cgit