aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorume <ume@FreeBSD.org>2003-04-18 01:54:43 +0800
committerume <ume@FreeBSD.org>2003-04-18 01:54:43 +0800
commit892849d883703d4c2e9c3b27e600205b60284e1d (patch)
tree1858bd3236e80683c0a36a96ebf018177bd74d6c
parent4f017c2d1167afe5cb5f3938f111ad1e13090383 (diff)
downloadfreebsd-ports-gnome-892849d883703d4c2e9c3b27e600205b60284e1d.tar.gz
freebsd-ports-gnome-892849d883703d4c2e9c3b27e600205b60284e1d.tar.zst
freebsd-ports-gnome-892849d883703d4c2e9c3b27e600205b60284e1d.zip
- The pidfile of saslauthd was changed.
- The configure script should select correct version of Berkeley DB. PR: ports/51041 Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com>
-rw-r--r--security/cyrus-sasl2/Makefile2
-rw-r--r--security/cyrus-sasl2/files/patch-configure4
-rw-r--r--security/cyrus-sasl2/files/patch-saslauthd::configure4
-rw-r--r--security/cyrus-sasl2/files/saslauthd.sh5
-rw-r--r--security/cyrus-sasl2/scripts/configure.sasl6
5 files changed, 10 insertions, 11 deletions
diff --git a/security/cyrus-sasl2/Makefile b/security/cyrus-sasl2/Makefile
index 21718a4dafb7..d2006511abad 100644
--- a/security/cyrus-sasl2/Makefile
+++ b/security/cyrus-sasl2/Makefile
@@ -7,7 +7,7 @@
PORTNAME= cyrus-sasl
PORTVERSION= 2.1.13
-#PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= security ipv6
MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \
ftp://ftp.westbend.net/pub/cyrus-mail/ \
diff --git a/security/cyrus-sasl2/files/patch-configure b/security/cyrus-sasl2/files/patch-configure
index e55fc8c0c98a..10f6faea803e 100644
--- a/security/cyrus-sasl2/files/patch-configure
+++ b/security/cyrus-sasl2/files/patch-configure
@@ -5,7 +5,7 @@
fi
- for dbname in db-4.1 db4.1 db-4.0 db4.0 db-4 db4 db-3.3 db3.3 db-3.2 db3.2 db-3.1 db3.1 db-3 db3 db
-+ for dbname in db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db4 db-3.3 db3.3 db-3.2 db3.2 db-3.1 db3.1 db-3 db3 db
++ for dbname in ${with_bdb} db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db4 db-3.3 db3.3 db-3.2 db3.2 db-3.1 db3.1 db-3 db3 db
do
echo $ac_n "checking for db_create in -l$dbname""... $ac_c" 1>&6
echo "configure:2659: checking for db_create in -l$dbname" >&5
@@ -14,7 +14,7 @@
fi
- for dbname in db-4.1 db4.1 db-4.0 db4.0 db-4 db4 db-3.3 db3.3 db-3.2 db3.2 db-3.1 db3.1 db-3 db3 db
-+ for dbname in db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db4 db-3.3 db3.3 db-3.2 db3.2 db-3.1 db3.1 db-3 db3 db
++ for dbname in ${with_bdb} db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db4 db-3.3 db3.3 db-3.2 db3.2 db-3.1 db3.1 db-3 db3 db
do
echo $ac_n "checking for db_create in -l$dbname""... $ac_c" 1>&6
echo "configure:3050: checking for db_create in -l$dbname" >&5
diff --git a/security/cyrus-sasl2/files/patch-saslauthd::configure b/security/cyrus-sasl2/files/patch-saslauthd::configure
index a59ce6b7aa34..4e16075fc650 100644
--- a/security/cyrus-sasl2/files/patch-saslauthd::configure
+++ b/security/cyrus-sasl2/files/patch-saslauthd::configure
@@ -23,7 +23,7 @@
fi
- for dbname in db-4.1 db4.1 db-4.0 db4.0 db-4 db4 db-3.3 db3.3 db-3.2 db3.2 db-3.1 db3.1 db-3 db3 db
-+ for dbname in db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db4 db-3.3 db3.3 db-3.2 db3.2 db-3.1 db3.1 db-3 db3 db
++ for dbname in ${with_bdb} db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db4 db-3.3 db3.3 db-3.2 db3.2 db-3.1 db3.1 db-3 db3 db
do
echo $ac_n "checking for db_create in -l$dbname""... $ac_c" 1>&6
echo "configure:3448: checking for db_create in -l$dbname" >&5
@@ -32,7 +32,7 @@
fi
- for dbname in db-4.1 db4.1 db-4.0 db4.0 db-4 db4 db-3.3 db3.3 db-3.2 db3.2 db-3.1 db3.1 db-3 db3 db
-+ for dbname in db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db4 db-3.3 db3.3 db-3.2 db3.2 db-3.1 db3.1 db-3 db3 db
++ for dbname in ${with_bdb} db-4.1 db4.1 db41 db-4.0 db4.0 db-4 db4 db-3.3 db3.3 db-3.2 db3.2 db-3.1 db3.1 db-3 db3 db
do
echo $ac_n "checking for db_create in -l$dbname""... $ac_c" 1>&6
echo "configure:3839: checking for db_create in -l$dbname" >&5
diff --git a/security/cyrus-sasl2/files/saslauthd.sh b/security/cyrus-sasl2/files/saslauthd.sh
index 39bd6fc091fc..1ada300c3783 100644
--- a/security/cyrus-sasl2/files/saslauthd.sh
+++ b/security/cyrus-sasl2/files/saslauthd.sh
@@ -54,10 +54,9 @@ case "${sasl_saslauthd_enable}" in
;;
stop)
- if [ -r /var/state/saslauthd/mux.pid ]; then
- kill `cat /var/state/saslauthd/mux.pid` && \
+ if [ -r /var/state/saslauthd/saslauthd.pid ]; then
+ kill `cat /var/state/saslauthd/saslauthd.pid` && \
echo -n " saslauthd"
- rm /var/state/saslauthd/mux.pid
fi
;;
diff --git a/security/cyrus-sasl2/scripts/configure.sasl b/security/cyrus-sasl2/scripts/configure.sasl
index 8a1a6ab78a15..f9f2a08f1fd0 100644
--- a/security/cyrus-sasl2/scripts/configure.sasl
+++ b/security/cyrus-sasl2/scripts/configure.sasl
@@ -125,7 +125,7 @@ while [ "$1" ]; do
exit 1
fi
echo "LIB_DEPENDS+= db41.1:\${PORTSDIR}/databases/db41"
- echo "CONFIGURE_ARGS+= --with-dblib=berkeley --with-bdb-incdir=${PREFIX}/include/db41 --with-bdb-libdir=${PREFIX}/lib"
+ echo "CONFIGURE_ARGS+= --with-dblib=berkeley --with-bdb=db41 --with-bdb-incdir=${PREFIX}/include/db41 --with-bdb-libdir=${PREFIX}/lib"
echo "SASLDB_NAME= sasldb2"
DBLIB=1
;;
@@ -136,7 +136,7 @@ while [ "$1" ]; do
exit 1
fi
echo "LIB_DEPENDS+= db4.0:\${PORTSDIR}/databases/db4"
- echo "CONFIGURE_ARGS+= --with-dblib=berkeley --with-bdb-incdir=${PREFIX}/include/db4 --with-bdb-libdir=${PREFIX}/lib"
+ echo "CONFIGURE_ARGS+= --with-dblib=berkeley --with-bdb=db4 --with-bdb-incdir=${PREFIX}/include/db4 --with-bdb-libdir=${PREFIX}/lib"
echo "SASLDB_NAME= sasldb2"
DBLIB=1
;;
@@ -147,7 +147,7 @@ while [ "$1" ]; do
exit 1
fi
echo "LIB_DEPENDS+= db3.3:\${PORTSDIR}/databases/db3"
- echo "CONFIGURE_ARGS+= --with-dblib=berkeley --with-bdb-incdir=${PREFIX}/include/db3 --with-bdb-libdir=${PREFIX}/lib"
+ echo "CONFIGURE_ARGS+= --with-dblib=berkeley --with-bdb=db3 --with-bdb-incdir=${PREFIX}/include/db3 --with-bdb-libdir=${PREFIX}/lib"
echo "SASLDB_NAME= sasldb2"
DBLIB=1
;;