kill unused cyrus-sasl v1 port

This commit is contained in:
jakob 2004-04-06 12:12:05 +00:00
parent 5e4a08c0e7
commit 2f7411066d
12 changed files with 1 additions and 303 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.131 2004/03/08 17:18:04 jcs Exp $
# $OpenBSD: Makefile,v 1.132 2004/04/06 12:12:05 jakob Exp $
# $FreeBSD: Makefile,v 1.23 1997/11/09 10:17:02 asami Exp $
#
@ -23,7 +23,6 @@
SUBDIR += crack
SUBDIR += crank
SUBDIR += cryptokit
SUBDIR += cyrus-sasl
SUBDIR += cyrus-sasl2
SUBDIR += cyrus-sasl2,db4
SUBDIR += dante

View File

@ -1,62 +0,0 @@
# $OpenBSD: Makefile,v 1.23 2003/07/05 06:50:17 jakob Exp $
COMMENT= "RFC 2222 SASL (Simple Authentication and Security Layer)"
DISTNAME= cyrus-sasl-1.5.27
PKGNAME= ${DISTNAME}p1
CATEGORIES= security
MASTER_SITES= ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \
ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/OLD-VERSIONS/sasl/
HOMEPAGE= http://asg.web.cmu.edu/sasl/
MAINTAINER= Jakob Schlyter <jakob@openbsd.org>
PERMIT_PACKAGE_CDROM= yes
PERMIT_PACKAGE_FTP= yes
PERMIT_DISTFILES_CDROM= yes
PERMIT_DISTFILES_FTP= yes
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE= gnu
CONFIGURE_ENV+= LDFLAGS='${LDFLAGS}'
CONFIGURE_ARGS+= ${CONFIGURE_SHARED}
CONFIGURE_ARGS+= --enable-static \
--enable-login \
--disable-krb4 \
--enable-gssapi="/usr" \
--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
flavor-patch:
cd ${WRKSRC} && patch < ${FILESDIR}/patch-db
.else
CONFIGURE_ARGS+= --with-dblib=ndbm
flavor-patch:
.endif
post-patch: flavor-patch
@cd ${WRKSRC}/config; \
${PATCH} --forward --quiet -E < \
${PORTSDIR}/infrastructure/patches/patch-lt1.3.4-ltconfig && \
${PATCH} --forward --quiet -E < \
${PORTSDIR}/infrastructure/patches/patch-lt1.3.4-ltmain_sh
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/sasl
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${PREFIX}/share/doc/sasl
${INSTALL_DATA} ${WRKSRC}/doc/*.txt ${PREFIX}/share/doc/sasl
.include <bsd.port.mk>

View File

@ -1,3 +0,0 @@
MD5 (cyrus-sasl-1.5.27.tar.gz) = 76ea426e2e2da3b8d2e3a43af5488f3b
RMD160 (cyrus-sasl-1.5.27.tar.gz) = ae884e333b4d3335a9890aad7cc20f03e3ba1e56
SHA1 (cyrus-sasl-1.5.27.tar.gz) = eedaec8355219b61e64236e3a5d9845d3af5a13d

View File

@ -1,23 +0,0 @@
--- 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>
--- 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
*

View File

@ -1,29 +0,0 @@
$OpenBSD: patch-configure,v 1.2 2002/03/25 17:42:07 pvalchev Exp $
--- configure.orig Fri Mar 23 18:48:12 2001
+++ configure Mon Mar 25 10:24:00 2002
@@ -3997,7 +3997,7 @@ fi
if test "$gssapi" != no; then
if test -d ${gssapi}; then
- CPPFLAGS="$CPPFLAGS -I$gssapi/include"
+ CPPFLAGS="$CPPFLAGS -I$gssapi/include/kerberosV"
LDFLAGS="$LDFLAGS -L$gssapi/lib"
fi
ac_safe=`echo "gssapi.h" | sed 'y%./+-%__p_%'`
@@ -4214,6 +4214,7 @@ else
echo "$ac_t""no" 1>&6
fi
+gss_impl="heimdal"
if test -d ${gssapi}; then
GSSAPIBASE_LIBS="-L$gssapi"
@@ -4222,7 +4223,7 @@ fi
if test "$gss_impl" = mit; then
GSSAPIBASE_LIBS="$GSSAPIBASE_LIBS/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err"
elif test "$gss_impl" = "heimdal"; then
- GSSAPIBASE_LIBS="$GSSAPIBASE_LIBS/lib -lgssapi -lkrb5 -ldes -lasn1 -lroken ${LIB_CRYPT} -lcom_err"
+ GSSAPIBASE_LIBS="$GSSAPIBASE_LIBS/lib -lgssapi -lkrb5 -ldes -lasn1 ${LIB_CRYPT} -lcom_err -lcrypto -lkafs"
else
gssapi="no"
echo "configure: warning: Disabling GSSAPI" 1>&2

View File

@ -1,21 +0,0 @@
$OpenBSD: patch-lib_dlopen_c,v 1.1 2002/07/07 17:12:48 pvalchev Exp $
--- lib/dlopen.c.orig Sat Jul 6 13:21:05 2002
+++ lib/dlopen.c Sat Jul 6 13:22:13 2002
@@ -158,7 +158,7 @@ int _sasl_get_plugin(const char *file,
int flag;
void *library;
void *entry_point;
-#if __OpenBSD__
+#if defined(__OpenBSD__) && !defined(__ELF__)
char adj_entryname[1024];
#else
#define adj_entryname entryname
@@ -179,7 +179,7 @@ int _sasl_get_plugin(const char *file,
return SASL_FAIL;
}
-#if __OpenBSD__
+#if defined(__OpenBSD__) && !defined(__ELF__)
snprintf(adj_entryname, sizeof adj_entryname, "_%s", entryname);
#endif

View File

@ -1,17 +0,0 @@
$OpenBSD: patch-plugins_gssapi_c,v 1.1 2001/11/15 23:17:59 jakob Exp $
--- plugins/gssapi.c.orig Thu Nov 15 23:36:53 2001
+++ plugins/gssapi.c Thu Nov 15 23:37:45 2001
@@ -65,11 +65,13 @@
# include <arpa/inet.h>
# include <netdb.h>
#endif /* WIN32 */
+#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <sasl.h>
#include <saslutil.h>
#include <saslplug.h>
+#include <unistd.h>
#ifdef WIN32
/* This must be after sasl.h */

View File

@ -1,11 +0,0 @@
#!/bin/sh
#
# $OpenBSD: DEINSTALL,v 1.2 2003/02/04 22:59:48 naddy Exp $
PATH=/bin:/usr/bin:/sbin:/usr/sbin
if [ -L /usr/lib/sasl ]; then
rm /usr/lib/sasl
fi
exit 0

View File

@ -1,12 +0,0 @@
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.
Available flavors:
db - use the berkeley db library from databases/db

View File

@ -1,35 +0,0 @@
#!/bin/sh
#
# $OpenBSD: INSTALL,v 1.3 2003/06/17 23:09:00 naddy Exp $
# exit on errors, use a sane path and install prefix
#
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
# verify proper execution
#
if [ $# -ne 2 ]; then
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
exit 1
fi
# Verify/process the command
#
case $2 in
PRE-INSTALL)
: nothing to pre-install for this port
;;
POST-INSTALL)
if [ ! -e /usr/lib/sasl ]; then
ln -s ${PREFIX}/lib/sasl /usr/lib/sasl
fi
;;
*)
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
exit 1
;;
esac
exit 0

View File

@ -1,21 +0,0 @@
@comment $OpenBSD: PFRAG.shared,v 1.6 2003/07/05 06:50:17 jakob Exp $
lib/libsasl.so.8.10
lib/sasl/libanonymous.so.1.16
lib/sasl/libcrammd5.so.1.17
lib/sasl/libdigestmd5.so.0.19
lib/sasl/libgssapiv2.so.1.18
lib/sasl/liblogin.so.0.6
lib/sasl/libplain.so.1.15
DYNLIBDIR(%D/lib)
@unexec rm -f %D/lib/sasl/libanonymous.so
@unexec rm -f %D/lib/sasl/libcrammd5.so
@unexec rm -f %D/lib/sasl/libdigestmd5.so
@unexec rm -f %D/lib/sasl/libgssapiv2.so
@unexec rm -f %D/lib/sasl/liblogin.so
@unexec rm -f %D/lib/sasl/libplain.so
@exec cd %D/lib/sasl && ln -sf libanonymous.so.1.16 libanonymous.so
@exec cd %D/lib/sasl && ln -sf libcrammd5.so.1.17 libcrammd5.so
@exec cd %D/lib/sasl && ln -sf libdigestmd5.so.0.19 libdigestmd5.so
@exec cd %D/lib/sasl && ln -sf libgssapiv2.so.1.18 libgssapiv2.so
@exec cd %D/lib/sasl && ln -sf liblogin.so.0.6 liblogin.so
@exec cd %D/lib/sasl && ln -sf libplain.so.1.15 libplain.so

View File

@ -1,67 +0,0 @@
@comment $OpenBSD: PLIST,v 1.9 2003/07/05 06:50:17 jakob Exp $
@pkgcfl cyrus-sasl2-*
include/sasl/hmac-md5.h
include/sasl/md5.h
include/sasl/md5global.h
include/sasl/sasl.h
include/sasl/saslplug.h
include/sasl/saslutil.h
lib/libsasl.a
lib/libsasl.la
lib/sasl/libanonymous.a
lib/sasl/libanonymous.la
lib/sasl/libcrammd5.a
lib/sasl/libcrammd5.la
lib/sasl/libdigestmd5.a
lib/sasl/libdigestmd5.la
lib/sasl/libgssapiv2.a
lib/sasl/libgssapiv2.la
lib/sasl/liblogin.a
lib/sasl/liblogin.la
lib/sasl/libplain.a
lib/sasl/libplain.la
man/man3/sasl.3
man/man3/sasl_authorize_t.3
man/man3/sasl_callbacks.3
man/man3/sasl_checkpass.3
man/man3/sasl_client_init.3
man/man3/sasl_client_new.3
man/man3/sasl_client_start.3
man/man3/sasl_client_step.3
man/man3/sasl_decode.3
man/man3/sasl_done.3
man/man3/sasl_encode.3
man/man3/sasl_errstring.3
man/man3/sasl_getopt_t.3
man/man3/sasl_getpath_t.3
man/man3/sasl_getprop.3
man/man3/sasl_getsecret_t.3
man/man3/sasl_getsimple_t.3
man/man3/sasl_listmech.3
man/man3/sasl_log_t.3
man/man3/sasl_server_init.3
man/man3/sasl_server_new.3
man/man3/sasl_server_start.3
man/man3/sasl_server_step.3
man/man3/sasl_setprop.3
man/man3/sasl_usererr.3
man/man8/sasldblistusers.8
man/man8/saslpasswd.8
sbin/pwcheck
sbin/sasldblistusers
sbin/saslpasswd
share/doc/sasl/draft-newman-auth-scram-03.txt
share/doc/sasl/gssapi.html
share/doc/sasl/index.html
share/doc/sasl/programming.html
share/doc/sasl/rfc1321.txt
share/doc/sasl/rfc2095.txt
share/doc/sasl/rfc2104.txt
share/doc/sasl/rfc2222.txt
share/doc/sasl/rfc2245.txt
share/doc/sasl/rfc2831.txt
share/doc/sasl/sysadmin.html
%%SHARED%%
@dirrm share/doc/sasl
@dirrm lib/sasl
@dirrm include/sasl