add db flavour
This commit is contained in:
parent
1cfdda37b1
commit
21c46b38a2
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.11 2001/09/28 06:02:14 pvalchev Exp $
|
||||
# $OpenBSD: Makefile,v 1.12 2001/09/30 11:41:23 jakob Exp $
|
||||
|
||||
COMMENT= "RFC 2222 SASL (Simple Authentication and Security Layer)"
|
||||
|
||||
DISTNAME= cyrus-sasl-1.5.24
|
||||
CATEGORIES= security
|
||||
NEED_VERSION= 1.363
|
||||
NEED_VERSION= 1.454
|
||||
|
||||
MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \
|
||||
ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/OLD-VERSIONS/sasl/
|
||||
@ -18,15 +18,29 @@ PERMIT_PACKAGE_FTP= yes
|
||||
PERMIT_DISTFILES_CDROM= yes
|
||||
PERMIT_DISTFILES_FTP= yes
|
||||
|
||||
SEPARATE_BUILD= concurrent
|
||||
CONFIGURE_STYLE= gnu
|
||||
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/config
|
||||
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
||||
CONFIGURE_ARGS+= --enable-static \
|
||||
--enable-login \
|
||||
--enable-krb4="/usr" \
|
||||
--includedir="${PREFIX}/include/sasl" \
|
||||
--with-pwcheck="/var/pwcheck"
|
||||
CONFIGURE_STYLE= gnu
|
||||
CONFIGURE_ENV+= LDFLAGS='${LDFLAGS}'
|
||||
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
|
||||
CONFIGURE_ARGS+= --enable-static \
|
||||
--enable-login \
|
||||
--enable-krb4="/usr" \
|
||||
--disable-gssapi \
|
||||
--includedir="${PREFIX}/include/sasl" \
|
||||
--with-pwcheck="/var/pwcheck"
|
||||
|
||||
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC} ${WRKSRC}/config
|
||||
|
||||
FLAVORS= db
|
||||
FLAVOR?=
|
||||
|
||||
.if ${FLAVOR:L:Mdb}
|
||||
LIB_DEPENDS+= db::databases/db
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
CONFIGURE_ARGS+= --with-dblib=berkeley
|
||||
.else
|
||||
CONFIGURE_ARGS+= --with-dblib=ndbm
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sasl
|
||||
|
11
security/cyrus-sasl/patches/patch-lib_db_berkeley_c
Normal file
11
security/cyrus-sasl/patches/patch-lib_db_berkeley_c
Normal file
@ -0,0 +1,11 @@
|
||||
--- lib/db_berkeley.c.orig Thu Sep 13 00:45:05 2001
|
||||
+++ lib/db_berkeley.c Thu Sep 13 00:45:15 2001
|
||||
@@ -44,7 +44,7 @@
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
-#include <db.h>
|
||||
+#include <db3.h>
|
||||
#include <sys/stat.h>
|
||||
#include <stdlib.h>
|
||||
#include <assert.h>
|
11
security/cyrus-sasl/patches/patch-utils_sasldblistusers_c
Normal file
11
security/cyrus-sasl/patches/patch-utils_sasldblistusers_c
Normal file
@ -0,0 +1,11 @@
|
||||
--- utils/sasldblistusers.c.orig Thu Sep 13 00:48:36 2001
|
||||
+++ utils/sasldblistusers.c Thu Sep 13 00:48:47 2001
|
||||
@@ -163,7 +163,7 @@
|
||||
#else /* SASL_NDBM */
|
||||
#ifdef SASL_BERKELEYDB
|
||||
|
||||
-#include <db.h>
|
||||
+#include <db3.h>
|
||||
/*
|
||||
* Open the database
|
||||
*
|
@ -1,23 +1,15 @@
|
||||
The Cyrus SASL (Simple Authentication and Security Layer)
|
||||
|
||||
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.
|
||||
|
||||
The following mechanisms are included in this distribution:
|
||||
|
||||
ANONYMOUS
|
||||
CRAM-MD5
|
||||
DIGEST-MD5
|
||||
GSSAPI (MIT Kerberos 5 or Heimdal Kerberos 5)
|
||||
KERBEROS_V4
|
||||
PLAIN
|
||||
|
||||
The library can use a Berkeley DB, gdbm or ndbm file on the server side to
|
||||
store per-user authentication secrets. The utility saslpasswd has been
|
||||
included for adding authentication secrets to the file.
|
||||
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.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
||||
|
||||
|
||||
Availible flavors:
|
||||
|
||||
db - use the the berkeley db library from databases/db
|
||||
|
Loading…
Reference in New Issue
Block a user