head	1.69;
access;
symbols
	RELEASE_5_EOL:1.68
	RELEASE_7_0_0:1.68
	RELEASE_6_3_0:1.68
	PRE_XORG_7:1.67
	RELEASE_4_EOL:1.67
	RELEASE_6_2_0:1.66
	RELEASE_6_1_0:1.64
	RELEASE_5_5_0:1.64
	RELEASE_6_0_0:1.61
	RELEASE_5_4_0:1.61
	RELEASE_4_11_0:1.61
	RELEASE_5_3_0:1.60
	RELEASE_4_10_0:1.58
	RELEASE_5_2_1:1.52
	RELEASE_5_2_0:1.52
	RELEASE_4_9_0:1.51
	RELEASE_5_1_0:1.50
	RELEASE_4_8_0:1.49
	RELEASE_5_0_0:1.47
	RELEASE_4_7_0:1.47
	RELEASE_4_6_2:1.42
	RELEASE_4_6_1:1.42
	RELEASE_4_6_0:1.42
	RELEASE_5_0_DP1:1.40
	RELEASE_4_5_0:1.35
	RELEASE_4_4_0:1.27
	RELEASE_4_3_0:1.23
	RELEASE_4_2_0:1.20
	RELEASE_4_1_1:1.14
	RELEASE_4_1_0:1.11
	RELEASE_3_5_0:1.10
	RELEASE_4_0_0:1.5;
locks; strict;
comment	@# @;


1.69
date	2008.06.17.19.01.58;	author pav;	state dead;
branches;
next	1.68;

1.68
date	2007.10.04.00.00.37;	author edwin;	state Exp;
branches;
next	1.67;

1.67
date	2006.12.03.20.43.03;	author erwin;	state Exp;
branches;
next	1.66;

1.66
date	2006.10.07.10.26.49;	author ume;	state Exp;
branches;
next	1.65;

1.65
date	2006.08.15.01.04.48;	author clsung;	state Exp;
branches;
next	1.64;

1.64
date	2006.02.23.10.38.54;	author ade;	state Exp;
branches;
next	1.63;

1.63
date	2005.11.15.06.50.55;	author ade;	state Exp;
branches;
next	1.62;

1.62
date	2005.10.07.05.50.35;	author fenner;	state Exp;
branches;
next	1.61;

1.61
date	2004.11.15.09.50.05;	author ume;	state Exp;
branches;
next	1.60;

1.60
date	2004.07.09.17.42.46;	author marcus;	state Exp;
branches;
next	1.59;

1.59
date	2004.06.04.17.29.31;	author ade;	state Exp;
branches;
next	1.58;

1.58
date	2004.04.25.14.59.48;	author lofi;	state Exp;
branches;
next	1.57;

1.57
date	2004.03.20.18.46.28;	author eik;	state Exp;
branches;
next	1.56;

1.56
date	2004.03.18.19.31.22;	author trevor;	state Exp;
branches;
next	1.55;

1.55
date	2004.03.14.06.17.18;	author ade;	state Exp;
branches;
next	1.54;

1.54
date	2004.03.05.19.33.56;	author clement;	state Exp;
branches;
next	1.53;

1.53
date	2004.02.22.02.16.43;	author kris;	state Exp;
branches;
next	1.52;

1.52
date	2003.11.05.21.37.29;	author linimon;	state Exp;
branches;
next	1.51;

1.51
date	2003.08.27.04.38.36;	author marcus;	state Exp;
branches;
next	1.50;

1.50
date	2003.05.09.12.41.21;	author arved;	state Exp;
branches;
next	1.49;

1.49
date	2003.02.26.11.25.55;	author edwin;	state Exp;
branches;
next	1.48;

1.48
date	2003.02.21.13.26.42;	author knu;	state Exp;
branches;
next	1.47;

1.47
date	2002.09.01.16.38.33;	author dwcjr;	state Exp;
branches;
next	1.46;

1.46
date	2002.08.22.19.13.36;	author ade;	state Exp;
branches;
next	1.45;

1.45
date	2002.08.14.18.39.45;	author knu;	state Exp;
branches;
next	1.44;

1.44
date	2002.07.28.17.26.11;	author ume;	state Exp;
branches;
next	1.43;

1.43
date	2002.06.26.18.49.21;	author pat;	state Exp;
branches;
next	1.42;

1.42
date	2002.05.16.02.45.25;	author dinoex;	state Exp;
branches;
next	1.41;

1.41
date	2002.05.15.07.13.54;	author trevor;	state Exp;
branches;
next	1.40;

1.40
date	2002.03.25.09.19.20;	author sobomax;	state Exp;
branches;
next	1.39;

1.39
date	2002.02.03.01.16.49;	author pat;	state Exp;
branches;
next	1.38;

1.38
date	2002.02.02.08.46.32;	author pat;	state Exp;
branches;
next	1.37;

1.37
date	2002.02.02.04.09.27;	author pat;	state Exp;
branches;
next	1.36;

1.36
date	2002.01.29.11.58.39;	author knu;	state Exp;
branches;
next	1.35;

1.35
date	2002.01.20.19.23.17;	author dwcjr;	state Exp;
branches;
next	1.34;

1.34
date	2002.01.17.15.04.35;	author kevlo;	state Exp;
branches;
next	1.33;

1.33
date	2002.01.07.03.30.21;	author will;	state Exp;
branches;
next	1.32;

1.32
date	2001.12.24.21.58.42;	author steve;	state Exp;
branches;
next	1.31;

1.31
date	2001.12.20.12.18.57;	author ijliao;	state Exp;
branches;
next	1.30;

1.30
date	2001.12.09.03.07.36;	author dwcjr;	state Exp;
branches;
next	1.29;

1.29
date	2001.11.23.04.39.31;	author dwcjr;	state Exp;
branches;
next	1.28;

1.28
date	2001.10.30.01.49.15;	author petef;	state Exp;
branches;
next	1.27;

1.27
date	2001.08.13.04.01.25;	author dwcjr;	state Exp;
branches;
next	1.26;

1.26
date	2001.08.01.11.56.19;	author knu;	state Exp;
branches;
next	1.25;

1.25
date	2001.07.25.15.05.11;	author knu;	state Exp;
branches;
next	1.24;

1.24
date	2001.05.21.20.30.49;	author olgeni;	state Exp;
branches;
next	1.23;

1.23
date	2001.01.16.17.32.17;	author sobomax;	state Exp;
branches;
next	1.22;

1.22
date	2001.01.01.10.15.09;	author will;	state Exp;
branches;
next	1.21;

1.21
date	2000.11.17.15.06.21;	author kevlo;	state Exp;
branches;
next	1.20;

1.20
date	2000.11.02.00.16.45;	author jeh;	state Exp;
branches;
next	1.19;

1.19
date	2000.11.01.11.59.16;	author jeh;	state Exp;
branches;
next	1.18;

1.18
date	2000.10.25.16.56.35;	author jeh;	state Exp;
branches;
next	1.17;

1.17
date	2000.10.24.10.27.50;	author jeh;	state Exp;
branches;
next	1.16;

1.16
date	2000.10.24.02.03.08;	author jeh;	state Exp;
branches;
next	1.15;

1.15
date	2000.10.08.10.22.51;	author asami;	state Exp;
branches;
next	1.14;

1.14
date	2000.09.22.01.58.59;	author kris;	state Exp;
branches;
next	1.13;

1.13
date	2000.09.19.02.59.24;	author ade;	state Exp;
branches;
next	1.12;

1.12
date	2000.08.12.19.14.49;	author nbm;	state Exp;
branches;
next	1.11;

1.11
date	2000.06.29.07.02.49;	author obrien;	state Exp;
branches;
next	1.10;

1.10
date	2000.06.16.21.52.00;	author asami;	state Exp;
branches;
next	1.9;

1.9
date	2000.06.16.10.37.15;	author sobomax;	state Exp;
branches;
next	1.8;

1.8
date	2000.06.11.08.05.33;	author knu;	state Exp;
branches;
next	1.7;

1.7
date	2000.04.21.08.18.15;	author mharo;	state Exp;
branches;
next	1.6;

1.6
date	2000.04.09.18.29.30;	author cpiazza;	state Exp;
branches;
next	1.5;

1.5
date	2000.02.14.04.12.21;	author kris;	state Exp;
branches;
next	1.4;

1.4
date	2000.02.08.09.28.46;	author peter;	state Exp;
branches;
next	1.3;

1.3
date	2000.01.24.05.22.04;	author steve;	state Exp;
branches;
next	1.2;

1.2
date	99.12.29.07.06.17;	author steve;	state Exp;
branches;
next	1.1;

1.1
date	99.12.27.01.52.20;	author steve;	state Exp;
branches;
next	;


desc
@@


1.69
log
@Delete security/cyrus-sasl, it has been expired for a year and a half.
@
text
@# New ports collection makefile for:	cyrus-sasl
# Date created:				Nov 1 1999
# Whom:					hetzels@@westbend.net
#
# $FreeBSD: ports/security/cyrus-sasl/Makefile,v 1.68 2007/10/04 00:00:37 edwin Exp $
#

PORTNAME=	cyrus-sasl
PORTVERSION=	1.5.28
PORTREVISION=	5
CATEGORIES=	security ipv6

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	RFC 2222 SASL (Simple Authentication and Security Layer)

DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
		sasl-${PORTVERSION}-ldap-ssl-filter-mysql-patch.tgz:ldap_mysql

MASTER_SITES=	ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/%SUBDIR%/ \
		ftp://ftp.westbend.net/pub/cyrus-mail/%SUBDIR%/ \
		http://www.transit.hanse.de/mirror/ftp.andrew.cmu.edu/pub/cyrus-mail/ \
		http://www.surf.org.uk/downloads/:ldap_mysql \
		ftp://ftp.westbend.net/pub/cyrus-mail/%SUBDIR%/:ldap_mysql \
		${MASTER_SITE_SOURCEFORGE:S/$/:ldap_mysql/}
MASTER_SITE_SUBDIR=	. OLD-VERSIONS/sasl cyrus-utils/:ldap_mysql
PATCHFILES=	sasl_apop_patch.gz:apop \
		${DISTNAME}-ipv6-${IPV6_VER}.diff.gz
PATCH_SITES=	ftp://ftp.westbend.net/pub/cyrus-mail/contrib/:apop \
		http://www.imasy.or.jp/~ume/ipv6/

DEPRECATED=	patches are unfetchable and this software is unsupported
EXPIRATION_DATE=	2007-01-02

USE_SUBMAKE=	yes
USE_OPENSSL=	yes

USE_LDCONFIG=	yes

# IPv6 Patch provided by Hajimu UMEMOTO <ume@@mahoroba.org>
IPV6_VER=	20020106

MAN3=		sasl.3 sasl_authorize_t.3 sasl_callbacks.3 sasl_checkpass.3 \
		sasl_client_init.3 sasl_client_new.3 sasl_client_start.3 \
		sasl_client_step.3 sasl_decode.3 sasl_done.3 sasl_encode.3 \
		sasl_errstring.3 sasl_getopt_t.3 sasl_getpath_t.3 \
		sasl_getprop.3 sasl_getsecret_t.3 sasl_getsimple_t.3 \
		sasl_listmech.3 sasl_log_t.3 sasl_server_init.3 \
		sasl_server_new.3 sasl_server_start.3 sasl_server_step.3 \
		sasl_setprop.3 sasl_usererr.3
MAN8=		sasldblistusers.8 saslpasswd.8 saslauthd1.8

USE_RC_SUBR=	YES

USE_AUTOTOOLS=	automake:14 autoconf:213 libtool:15
AUTOMAKE_ARGS=	--add-missing --include-deps

CONFIGURE_ARGS=	--sysconfdir=${PREFIX}/etc \
		--with-plugindir=${PREFIX}/lib/sasl \
		--with-dbpath=${PREFIX}/etc/sasldb \
		--includedir=${PREFIX}/include/sasl1 \
		--enable-static \
		--with-saslauthd=/var/state/saslauthd1 \
		--enable-auth-sasldb \
		--with-pwcheck=/var/pwcheck \
		--with-rc4=openssl

SCRIPTS_ENV=	WRKDIRPREFIX="${WRKDIRPREFIX}" \
		PREFIX="${PREFIX}" \
		TOUCH="${TOUCH}" \
		MKDIR="${MKDIR}" \
		REALCURDIR="${.CURDIR}" \
		WITH_DB3="${WITH_DB3}" \
		WITH_JAVA="${WITH_JAVA}" \
		WITH_MYSQL="${WITH_MYSQL}" \
		WITH_LDAP1="${WITH_LDAP1}" \
		WITH_LDAP2="${WITH_LDAP2}"

JAVADIR?=	jdk1.3.1
JAVALIBDIR?=	${PREFIX}/${JAVADIR}/lib/i386/green_threads/

.if defined(WITHOUT_ANONYMOUS)
CONFIGURE_ARGS+=	--disable-anon
ANON=			"@@comment "
.endif

.if defined(WITHOUT_CRAM)
CONFIGURE_ARGS+=	--disable-cram
CRAM=			"@@comment "
.endif

.if defined(WITHOUT_DIGEST)
CONFIGURE_ARGS+=	--disable-digest
DIGEST=			"@@comment "
.endif

# Outlook and Outlook Express requires the LOGIN mech
.if defined(WITHOUT_LOGIN)
CONFIGURE_ARGS+=	--disable-login
LOGIN=			"@@comment "
.else
CONFIGURE_ARGS+=	--enable-login
.endif

.if defined(WITHOUT_OTP)
CONFIGURE_ARGS+=	--disable-otp
OTP=			"@@comment "
.endif

# Netscape requires the PLAIN mech
.if defined(WITHOUT_PLAIN)
CONFIGURE_ARGS+=	--disable-plain
PLAIN=			"@@comment "
.endif

.if !defined(WITHOUT_GSSAPI) && defined(KRB5_HOME) && exists(${KRB5_HOME}/lib/libgssapi_krb5.a)
CONFIGURE_ARGS+=	--enable-gssapi=${KRB5_HOME}
.elif !defined(WITHOUT_GSSAPI) && defined(HEIMDAL_HOME) && exists(${HEIMDAL_HOME}/lib/libgssapi.a)
CONFIGURE_ARGS+=	--enable-gssapi=${HEIMDAL_HOME}
.elif !defined(WITHOUT_GSSAPI) && defined(MAKE_KERBEROS5) && exists(/usr/lib/libkrb5.a)
CONFIGURE_ARGS+=	--enable-gssapi
.else
CONFIGURE_ARGS+=	--disable-gssapi
GSSAPI=	"@@comment "
.endif

.include <bsd.port.pre.mk>

# KERBEROS 4 was removed in FreeBSD 5.0-CURRENT
.if ${OSVERSION} > 500105
.if defined(WITH_KERBEROS4)
LIB_DEPENDS+=	krb.2:${PORTSDIR}/security/krb4
CONFIGURE_ARGS+=	--enable-krb4=${LOCALBASE}/krb4
.else
CONFIGURE_ARGS+=	--disable-krb4
EBONES=	"@@comment "
.endif
.elif exists(/usr/lib/libkrb.a) && defined(MAKE_KERBEROS4) && !defined(WITHOUT_KERBEROS4)
CONFIGURE_ARGS+=	--enable-krb4
.elif !exists(/usr/lib/libkrb.a) && defined(WITH_KERBEROS4)
LIB_DEPENDS+=	krb.2:${PORTSDIR}/security/krb4
CONFIGURE_ARGS+=	--enable-krb4=${LOCALBASE}/krb4
.else
CONFIGURE_ARGS+=	--disable-krb4
EBONES=	"@@comment "
.endif

CONFIGURE_ENV+=	LOCALBASE=${LOCALBASE} \
		OPENSSLINC=${OPENSSLINC} \
		OPENSSLLIB=${OPENSSLLIB}

CYRUS_USER?=	cyrus
CYRUS_GROUP?=	cyrus

DOCS=	AUTHORS COPYING ChangeLog INSTALL NEWS README TODO

PLIST_SUB=	PREFIX=${PREFIX} \
		ANON=${ANON} \
		OTP=${OTP} \
		CRAM=${CRAM} \
		DIGEST=${DIGEST} \
		LOGIN=${LOGIN} \
		PLAIN=${PLAIN} \
		GSSAPI=${GSSAPI} \
		EBONES=${EBONES} \
		DOCSDIR=${DOCSDIR:S/^${PREFIX}\///} \
		EXAMPLESDIR=${EXAMPLESDIR:S/^${PREFIX}\///}

LDAP_MYSQL_PATCH=	ldap-mysql_sasl-${PORTVERSION}/sasl-ldap+mysql.patch

PKGDEINSTALL=	${WRKDIR}/pkg-deinstall
PKGINSTALL=	${WRKDIR}/pkg-install
PKGMESSAGE=	${WRKDIR}/pkg-message

FMT=	/usr/bin/fmt -w 67

pre-fetch:
	@@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/configure.sasl

.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
.endif

RC_SCRIPTS_SUB=	PREFIX=${PREFIX} \
		RC_SUBR=${RC_SUBR} \
		PWCHECK=${PWCHECK} \
		ENABLE_PWCHECK=${ENABLE_PWCHECK} \
		ENABLE_SASLAUTHD=${ENABLE_SASLAUTHD} \
		MYSQL_REQ=${MYSQL_REQ}

PKG_SCRIPTS_SUB=	PREFIX=${PREFIX} \
		CYRUS_USER=${CYRUS_USER} \
		CYRUS_GROUP=${CYRUS_GROUP} \
		ENABLE_PWCHECK=${ENABLE_PWCHECK} \
		ENABLE_SASLAUTHD=${ENABLE_SASLAUTHD} \
		PWCHECK=${PWCHECK} \
		PWCHECK_METHOD=${PWCHECK_METHOD} \
		SASLDB=${SASLDB_NAME}

post-extract:
	@@${CP} ${FILESDIR}/pwcheck_pam.c ${WRKSRC}/pwcheck

pre-patch:
	@@(cd ${WRKSRC} && ${PATCH} -p1 < ${WRKDIR}/${LDAP_MYSQL_PATCH})

# Fix pkg-{install/deinstall/messages}
post-patch:
	@@${SED} ${PKG_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
		${.CURDIR}/pkg-install > ${PKGINSTALL}
	@@${SED} ${PKG_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
		${.CURDIR}/pkg-deinstall > ${PKGDEINSTALL}
	@@${SED} -e "s;%%PWCHECK_METHOD%%;${PWCHECK_METHOD};g" \
		-e "s;%%PREFIX%%;${PREFIX};g" \
		${.CURDIR}/pkg-message > ${PKGMESSAGE}
.ifdef LDAP_MYSQL_MSG
	@@${ECHO_CMD} ${LDAP_MYSQL_MSG} | ${FMT} >> ${PKGMESSAGE}
	@@${ECHO_CMD} >> ${PKGMESSAGE}
.endif

pre-configure:
	@@(cd ${WRKSRC} && ${AUTOHEADER})

# Create Cyrus user and group
pre-install:
	@@${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
	@@if [ -f ${PREFIX}/sbin/saslauthd ]; then \
		${MV} ${PREFIX}/sbin/saslauthd ${PREFIX}/sbin/saslauthd2; \
		if [ -f ${PREFIX}/man/man8/saslauthd.8 ]; then \
			${MV} ${PREFIX}/man/man8/saslauthd.8 \
			   ${PREFIX}/man/man8/saslauthd2.8; \
		elif [ -f ${PREFIX}/man/man8/saslauthd.8.gz ]; then \
			${MV} ${PREFIX}/man/man8/saslauthd.8.gz \
			   ${PREFIX}/man/man8/saslauthd2.8.gz; \
		fi; \
	fi

post-install:
	@@${MKDIR} ${EXAMPLESDIR}
	@@${SED} -e 's;%%PREFIX%%;${PREFIX};g' \
		${FILESDIR}/cyrus.pam > ${EXAMPLESDIR}/cyrus.pam
	@@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
		${FILESDIR}/pwcheck.sh > ${PREFIX}/etc/rc.d/cyrus_pwcheck.sh
	@@${CHMOD} 755 ${PREFIX}/etc/rc.d/cyrus_pwcheck.sh
	@@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
		${FILESDIR}/saslauthd.sh > ${PREFIX}/etc/rc.d/saslauthd1.sh
	@@${CHMOD} 755 ${PREFIX}/etc/rc.d/saslauthd1.sh
	@@${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
		${FILESDIR}/cyrus_sasl1 > ${PREFIX}/etc/rc.d/cyrus_sasl1
	@@${CHMOD} 755 ${PREFIX}/etc/rc.d/cyrus_sasl1
	${INSTALL} -d -m 770 -o ${CYRUS_USER} -g ${CYRUS_GROUP} /var/pwcheck
	${INSTALL} -d -m 770 -o ${CYRUS_USER} -g ${CYRUS_GROUP} /var/state/saslauthd1
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
.for docfile in ${DOCS}
	@@${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
.endfor
	(cd ${WRKSRC}/doc ; \
	for extrafile in `make -V EXTRA_DIST` ; do \
		${INSTALL_DATA} ${WRKSRC}/doc/$${extrafile} ${DOCSDIR} ; \
	done)
	@@${INSTALL_DATA} ${WRKSRC}/java/doc/draft-weltman-java-sasl-02.txt ${DOCSDIR}
	@@${INSTALL_DATA} ${FILESDIR}/Sendmail.README ${DOCSDIR}
.endif
	@@${MV} ${PREFIX}/sbin/saslauthd ${PREFIX}/sbin/saslauthd1
	@@${MV} ${PREFIX}/man/man8/saslauthd.8 ${PREFIX}/man/man8/saslauthd1.8
	@@if [ -f ${PREFIX}/sbin/saslauthd2 ]; then \
		${MV} ${PREFIX}/sbin/saslauthd2 ${PREFIX}/sbin/saslauthd; \
		if [ -f ${PREFIX}/man/man8/saslauthd2.8 ]; then \
			${MV} ${PREFIX}/man/man8/saslauthd2.8 \
			   ${PREFIX}/man/man8/saslauthd.8; \
		elif [ -f ${PREFIX}/man/man8/saslauthd2.8.gz ]; then \
			${MV} ${PREFIX}/man/man8/saslauthd2.8.gz \
			   ${PREFIX}/man/man8/saslauthd.8.gz; \
		fi; \
	fi
	@@PKG_PREFIX=${PREFIX} BATCH=${BATCH} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
	@@${CAT} ${PKGMESSAGE}

post-clean:
	@@${RM} -f ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc

.include <bsd.port.post.mk>
@


1.68
log
@Remove support for OSVERSION < 5
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.67
log
@- Deprecate
- Set EXPIRATION_DATE

PR:		106236
Submitted by:	gabor
@
text
@a173 3
.if ${OSVERSION} < 450000
FMT=	/usr/bin/fmt
.else
a174 1
.endif
@


1.66
log
@Change the MASTER_SITES entries from
	ftp://ftp.hanse.de/sites/transit/mirror/
to
	http://www.transit.hanse.de/mirror/

Requested by:	Stefan Bethke <stb__at__lassitu.de>
@
text
@d31 3
@


1.65
log
@- s,INSTALLS_SHLIB,USE_LDCONFIG,g
- these include security/ sysutils/ textproc/ maintained by ports@@

PR:		ports/101916
Submitted by:	Gea-Suan Lin <gslin_AT_gslin dot org>
@
text
@d21 1
a21 1
		ftp://ftp.hanse.de/sites/transit/mirror/ftp.andrew.cmu.edu/pub/cyrus-mail/ \
@


1.64
log
@Conversion to a single libtool environment.

Approved by:	portmgr (kris)
@
text
@d34 1
a34 1
INSTALLS_SHLIB=	yes
@


1.63
log
@Mass-conversion to the USE_AUTOTOOLS New World Order.  The code present
in bsd.autotools.mk essentially makes this a no-op given that all the
old variables set a USE_AUTOTOOLS_COMPAT variable, which is parsed in
exactly the same way as USE_AUTOTOOLS itself.

Moreover, USE_AUTOTOOLS has already been extensively tested by the GNOME
team -- all GNOME 2.12.x ports use it.

Preliminary documentation can be found at:
	http://people.FreeBSD.org/~ade/autotools.txt

which is in the process of being SGMLized before introduction into the
Porters Handbook.

Light blue touch-paper.  Run.
@
text
@d10 1
a10 1
PORTREVISION=	4
d51 1
a51 1
USE_AUTOTOOLS=	automake:14 autoconf:213 libtool:13:inc
@


1.62
log
@Remove trailing backslash from MASTER_SITES which caused the
 MASTER_SITE_SUBDIR= line to be treated as 4 more sites.
Add slash to MASTER_SITE_SUBDIR using the group syntax.
 (The file's not there anyway, but at least it's looking
  in the right spot now.)
@
text
@d51 1
a51 3
USE_AUTOMAKE_VER=14
USE_AUTOCONF_VER=213
USE_INC_LIBTOOL_VER=13
@


1.61
log
@fix CAN-2004-0884.

Obtained from:	security/cyrus-sasl2
@
text
@d24 2
a25 2
		${MASTER_SITE_SOURCEFORGE:S/$/:ldap_mysql/} \
MASTER_SITE_SUBDIR=	. OLD-VERSIONS/sasl cyrus-utils:ldap_mysql
@


1.60
log
@Apply a big libtool patch to allow porters to use the libtool installed by
the libtoolX ports instead of the one included with each port.  Ports that
set USE_LIBTOOL_VER=X will now use the ports version of libtool instead of
the included version.  To restore previous behavior, use the new macro,
USE_INC_LIBTOOL_VER.  Both macros accept the same argument: a libtool version.

For example, to use the ports version of libtool-1.5, add the following to
your Makefile:

USE_LIBTOOL_VER=        15

To use the included version of libtool with extra hacks provided by
libtool-1.5, add the following to your Makefile:

USE_INC_LIBTOOL_VER=    15

With this change, ports that had to add additional libtool hacks to prevent
.la files from being installed or to fix certain threading issues can now
delete those hacks (after appropriate testing, of course).

PR:		63944
Based on work by:eik and marcus
Approved by:	ade (autotools maintainer)
Tested by:	kris on pointyhat
Bound to be hidden problems:	You bet
@
text
@d10 1
a10 1
PORTREVISION=	3
@


1.59
log
@Sync with new bsd.autotools.mk
@
text
@d53 1
a53 1
USE_LIBTOOL_VER=13
@


1.58
log
@Fix typo in saslauthd startup script.

Reported by: 	Thomas Abthorpe <thomas@@stthomasanglican.org>
		Guido Berhoerster <ich@@guido-berhoerster.org>
Approved by:	marcus (portmgr)
@
text
@d52 1
@


1.57
log
@Reset undeliverable maintainer address
@
text
@d10 1
a10 1
PORTREVISION=	2
@


1.56
log
@Use maintainer's other (older?) e-mail address, due to bounced e-mail:

<FreeBSD-Maintainer@@westbend.net>: host pop.hnet.net[65.114.87.100] said: 550
    5.1.1 <FreeBSD-Maintainer@@westbend.net> User unknown; rejecting

Obtained from:	PR 61650
@
text
@d13 1
a13 1
MAINTAINER=	hetzelsw@@westbend.net
@


1.55
log
@Whoa there, boy, that's a mighty big commit y'all have there...

Begin autotools sanitization sequence by requiring ports to explicitly
specify which version of {libtool,autoconf,automake} they need, erasing
the concept of a "system default".

For ports-in-waiting:

	USE_LIBTOOL=YES		->	USE_LIBTOOL_VER=13
	USE_AUTOCONF=YES	->	USE_AUTOCONF_VER=213
	USE_AUTOMAKE=YES	->	USE_AUTOMAKE_VER=14

Ports attempting to use the old style system after June 1st 2004 will be
sorely disappointed.
@
text
@d13 1
a13 1
MAINTAINER=	FreeBSD-Maintainer@@westbend.net
@


1.54
log
@- Fix startup scripts to not override settings found
  in /etc/rc.conf upon startup.
- Pass maintainership to submitter

PR:             63289
Submitted by:   Scot W. Hetzel <freebsd-maintainer@@westbend.net>
@
text
@d52 1
a52 1
USE_LIBTOOL=	YES
@


1.53
log
@Reset undeliverable maintainer address
@
text
@d13 1
a13 1
MAINTAINER=	ports@@FreeBSD.org
d228 1
a228 1
		mv ${PREFIX}/sbin/saslauthd ${PREFIX}/sbin/saslauthd2; \
d230 1
a230 1
			mv ${PREFIX}/man/man8/saslauthd.8 \
d233 1
a233 1
			mv ${PREFIX}/man/man8/saslauthd.8.gz \
d265 2
a266 2
	@@mv ${PREFIX}/sbin/saslauthd ${PREFIX}/sbin/saslauthd1
	@@mv ${PREFIX}/man/man8/saslauthd.8 ${PREFIX}/man/man8/saslauthd1.8
d268 1
a268 1
		mv ${PREFIX}/sbin/saslauthd2 ${PREFIX}/sbin/saslauthd; \
d270 1
a270 1
			mv ${PREFIX}/man/man8/saslauthd2.8 \
d273 1
a273 1
			mv ${PREFIX}/man/man8/saslauthd2.8.gz \
@


1.52
log
@Update maintainer's email address per his request.  While here, attempt
to pacify portlint a little bit.
@
text
@d13 1
a13 1
MAINTAINER=	freebsd-maintainer@@westbend.net
@


1.51
log
@Add RC_SUBR support.

PR:		54116
Submitted by:	Scot W. Hetzel <hetzels@@westbend.net>
@
text
@d12 7
a24 1

d26 2
a27 4

DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
		sasl-${PORTVERSION}-ldap-ssl-filter-mysql-patch.tgz:ldap_mysql

a29 5
PATCHFILES=	sasl_apop_patch.gz:apop \
		${DISTNAME}-ipv6-${IPV6_VER}.diff.gz

MAINTAINER=	hetzels@@westbend.net
COMMENT=	RFC 2222 SASL (Simple Authentication and Security Layer)
d138 2
a139 2
LIB_DEPENDS+=	krb.2:${PORTSDIR}/security/krb4  
CONFIGURE_ARGS+=	--enable-krb4=${LOCALBASE}/krb4 
d173 1
a173 1
FMT=    /usr/bin/fmt
d175 1
a175 1
FMT=    /usr/bin/fmt -w 67
d255 2
a256 2
.for file in ${DOCS}
	@@${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
d259 2
a260 2
	for file in `make -V EXTRA_DIST` ; do \
		${INSTALL_DATA} ${WRKSRC}/doc/$${file} ${DOCSDIR} ; \
@


1.50
log
@* Fix some problems with building the Kerberos IV and 5 mechs.

* Made the port to optionally not build the mechs, define
WITHOUT_[ANONYMOUS,CRAM,DIGEST,LOGIN,OTP,GSSAPI,PLAIN].

* The Kerberos IV case is special, as we can use the base kerberos 4x
(<=5.0-RELEASE), or use the security/krb4 port.
    WITH_KERBEROS4 - use security/krb4 port
        if <=5.0-RELEASE, use krb4 port only if /usr/lib/libkrb.a
	doesn't exist
    WITHOUT_KERBEROS4 - disables using the base systems /usr/lib/libkrb.a
	(<=5.0), if it exists and MAKE_KERBEROS4 defined in /etc/make.conf

* Changed the combined rcNG/rcOG scripts, so that the defaults are at the top
of the rc.d script and not in an external file to the script.

PR:		51505
Submitted by:	maintainer
@
text
@d10 1
a10 1
PORTREVISION=	1
d50 2
d187 1
@


1.49
log
@security/cyrus-sasl: Bento fails to build libkerberos + Upgrade

	Bento fails to proberly package the port on -CURRENT due
	to -CURRENT no longer has libdes.* as the des functions
	have been moved to the libcrypto.* library.

PR:		48442
Submitted by:	Scot W. Hetzel <hetzels@@westbend.net>
@
text
@d10 1
a10 1
PORTREVISION=	0
a58 1
		--enable-login \
d78 35
a112 1
.if defined(KRB5_HOME) && exists(${KRB5_HOME})
d114 1
a114 1
.elif defined(HEIMDAL_HOME) && exists(${HEIMDAL_HOME})
d116 2
d123 12
a134 1
.if exists(/usr/lib/libkrb.a)
d136 3
d148 3
d154 6
a170 1
.include <bsd.port.pre.mk>
d184 15
d207 1
a207 5
	@@${SED} -e "s;%%SASLDB%%;${SASLDB_NAME};g" \
		-e "s;%%PWCHECK%%;${PWCHECK};g" \
		-e "s;%%ENABLE_PWCHECK%%;${ENABLE_PWCHECK};g" \
		-e "s;%%PWCHECK_METHOD%%;${PWCHECK_METHOD};g" \
		-e "s;%%ENABLE_SASLAUTHD%%;${ENABLE_SASLAUTHD};g" \
d209 1
a209 5
	@@${SED} -e "s;%%SASLDB%%;${SASLDB_NAME};g" \
		-e "s;%%PWCHECK%%;${PWCHECK};g" \
		-e "s;%%ENABLE_PWCHECK%%;${ENABLE_PWCHECK};g" \
		-e "s;%%PWCHECK_METHOD%%;${PWCHECK_METHOD};g" \
		-e "s;%%ENABLE_SASLAUTHD%%;${ENABLE_SASLAUTHD};g" \
d249 2
a250 2
	${INSTALL} -d -m 770 -o cyrus -g cyrus /var/pwcheck
	${INSTALL} -d -m 770 -o cyrus -g cyrus /var/state/saslauthd1
a279 4

#if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
#include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
#endif
@


1.48
log
@De-pkg-comment.
@
text
@d9 2
a10 2
PORTVERSION=	1.5.27
PORTREVISION=	7
a12 1
		http://www.surf.org.uk/downloads/ \
d14 6
a19 3
		${MASTER_SITE_SOURCEFORGE} \
		ftp://ftp.hanse.de/sites/transit/mirror/ftp.andrew.cmu.edu/pub/cyrus-mail/
MASTER_SITE_SUBDIR=	. OLD-VERSIONS/sasl cyrus-utils
d22 1
a22 1
		sasl-${PORTVERSION}-ldap-ssl-filter-mysql-patch4.tgz
d24 1
a24 1
PATCH_SITES=	ftp://ftp.westbend.net/pub/cyrus-mail/contrib/ \
d26 1
a26 1
PATCHFILES=	sasl_apop_patch.gz \
d136 2
d139 1
d142 2
d145 1
a172 2
	@@${SED} -e "s;%%PREFIX%%;${PREFIX};g" ${PWCHECK_SUB} \
		${FILESDIR}/pwcheck.sh > ${PREFIX}/etc/rc.d/pwcheck.sh
d176 4
a179 3
	@@${CHMOD} 755 ${PREFIX}/etc/rc.d/pwcheck.sh
	${INSTALL} -d -m 770 -o cyrus -g cyrus /var/pwcheck
	@@${SED} -e "s;%%PREFIX%%;${PREFIX};g" ${SASLAUTHD_SUB} \
d182 4
@


1.47
log
@add an example PAM file for saslauthd and pwcheck_pam daemons
update the Sendmail.README file to include instructions for
	 using the security/cyrus-sasl2 port.

PR:		42153
Submitted by:	maintainer
@
text
@d28 1
@


1.46
log
@BerkeleyDB cleanup - stage 2

Update databases/db3 to 3.3.11, and fix the few ports that need sorting
after the shlib version update, and a slight API change from 3.2.x->3.3.x
@
text
@d45 1
a45 1
MAN8=		sasldblistusers.8 saslpasswd.8 saslauthd.8
d102 1
d154 7
d166 3
d188 1
d191 7
@


1.45
log
@Add saslauthd as default general password checking daemon (replaces
pwcheck{_pam}).

PR:		ports/41653
Submitted by:	"Scot W. Hetzel" <hetzels@@westbend.net> (MAINTAINER)
@
text
@d10 1
a10 1
PORTREVISION=	6
@


1.44
log
@moving saslv1 includes files to make it easier to add saslv2

PR:		ports/40288
Submitted by:	Mathieu Arnold <m@@absolight.net>
Approved by:	knu
@
text
@d10 1
a10 1
PORTREVISION=	5
d45 1
a45 1
MAN8=		sasldblistusers.8 saslpasswd.8
d57 2
d73 2
a74 2
JAVADIR=	jdk1.3.1
JAVALIBDIR=	${PREFIX}/${JAVADIR}/lib/i386/green_threads/
d129 1
a129 1
# Fix sasldb name in pkg-install/deinstall scripts
d132 1
d135 1
d137 1
a137 1
	@@${SED} -e "s;%%SASLDB%%;${SASLDB_NAME};g" \
d151 3
d160 4
d176 4
@


1.43
log
@- Chase checksum for sasl-1.5.27-ldap-ssl-filter-mysql-patch4.tgz
  author fixed bug in patch but didn't increment version.
- Fix problem when openldap v1 is selected.
- Bump PORTREVISION

PR:		ports/39800
Submitted by:	maintainer
@
text
@d10 1
a10 1
PORTREVISION=	4
d54 1
a54 1
		--includedir=${PREFIX}/include/sasl \
@


1.42
log
@new PORTREVISION, using newer patchfile
minor Update of the Readme

PR:		37607,37913
Submitted by:	hetzels@@westbend.net
@
text
@d10 1
a10 1
PORTREVISION=	3
@


1.41
log
@Remove defunct Sourceforge site.

PR:		38100
Submitted by:	Alan Batie
@
text
@d10 1
a10 1
PORTREVISION=	2
d20 1
a20 1
		sasl-${PORTVERSION}-ldap-ssl-filter-mysql-patch3.tgz
d30 1
a30 1
USE_OPENSSL=	YES
d101 1
a101 1
LDAP_MYSQL_PATCH=	ldap-mysql_sasl/sasl-ldap+mysql.patch
d125 1
a125 2
	@@(cd ${WRKSRC} && ${PATCH} -p1 < ${WRKDIR}/${LDAP_MYSQL_PATCH} && \
	${MV} configure.orig configure)
@


1.40
log
@Add USE_SUBMAKE, where it might be necessary.
@
text
@a12 1
		http://prdownloads.sourceforge.net/cyrus-utils/ \
@


1.39
log
@Add patch to prevent from breaking if KRB5_HOME / HEIMDAL_HOME are defined.

PR:		34561
Submitted by:	maintainer
@
text
@d30 1
@


1.38
log
@Fix placement of .include <bsd.port.pre.mk> which I screwed up in
the last commit.

Submitted by:	maintainer
@
text
@d10 1
a10 1
PORTREVISION=	1
a29 7
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 450000
FMT=	/usr/bin/fmt
.else
FMT=	/usr/bin/fmt -w 67
.endif

d106 7
@


1.37
log
@Fix plist and dont use -w flag with fmt on older releases.

PR:		34541
Submitted by:	maintainer
@
text
@d30 7
a112 8

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 450000
FMT=	/usr/bin/fmt
.else
FMT=	/usr/bin/fmt -w 67
.endif
@


1.36
log
@Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if
make(1) is invoked with the -s option while ECHO_CMD is always set to
the echo command.
@
text
@a70 1
# JavaSASL needs someone to look at to get it to build
d107 8
d139 1
a139 1
	@@${ECHO_CMD} ${LDAP_MYSQL_MSG} | /usr/bin/fmt -w 67 >> ${PKGMESSAGE}
d177 1
a177 1
.include <bsd.port.mk>
@


1.35
log
@Fix OpenLDAP v1 errors
Allow PAM aware pwcheck daemon
Add JavaSASL

PR:		34068
Submitted by:	maintainer
@
text
@d132 2
a133 2
	@@${ECHO} ${LDAP_MYSQL_MSG} | /usr/bin/fmt -w 67 >> ${PKGMESSAGE}
	@@${ECHO} >> ${PKGMESSAGE}
@


1.34
log
@Update to version 1.5.27

PR: 33603
Submitted by: MAINTAINER
@
text
@d10 1
a10 1
PORTREVISION=	0
d72 1
a72 1
JAVADIR=	jdk1.1.8
d115 3
d124 1
a124 1
	@@${SED} -e "/%%SASLDB%%/s##${SASLDB_NAME}#g" \
d126 1
a126 1
	@@${SED} -e "/%%SASLDB%%/s##${SASLDB_NAME}#g" \
d128 2
a129 2
	@@${SED} -e "/%%SASLDB%%/s##${SASLDB_NAME}#g" \
		-e "/%%PREFIX%%/s##${PREFIX}#g" \
d144 2
a145 2
	@@${SED} -e "/%%PREFIX%%/s##${PREFIX}#g" ${FILESDIR}/pwcheck.sh \
		> ${PREFIX}/etc/rc.d/pwcheck.sh
d157 1
@


1.33
log
@This port requires automake 1.4 and cannot work with 1.5.

Submitted by:	bento 4-exp
@
text
@d9 8
a16 4
PORTVERSION=	1.5.24
PORTREVISION=	8
CATEGORIES=	security
MASTER_SITES=	ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/%SUBDIR% \
d18 1
a18 1
MASTER_SITE_SUBDIR=	./ OLD-VERSIONS/sasl/
d20 7
a26 2
PATCH_SITES=    http://www.imasy.or.jp/~ume/ipv6/
PATCHFILES=     ${DISTNAME}-ipv6-20010321.diff.gz
d34 3
a57 1
		--with-dblib=ndbm \
d64 6
a69 5
		ENABLE_DB3="${ENABLE_DB3}" \
		ENABLE_MYSQL="${ENABLE_MYSQL}" \
		ENABLE_LDAP="${ENABLE_LDAP}"

# ENABLE_* variables can be used by depending ports to enable options.
d72 2
a73 12
#JAVADIR=	jdk1.1.8
#JAVALIBDIR=	${PREFIX}/${JAVADIR}/lib/i386/green_threads/

#.if defined(USE_JAVA) || exists(${LOCALBASE}/${JAVADIR}/bin/java)
#BUILD_DEPENDS=	${LOCALBASE}/${JAVADIR}/bin/java:${PORTSDIR}/java/jdk
#CONFIGURE_ARGS+=	--with-java \
#			--with-javabase=${LOCALBASE}/include
#
#CONFIGURE_ENV=	JAVAC="${LOCALBASE}/${JAVADIR}/bin/javac" \
#		JAVAH="${LOCALBASE}/${JAVADIR}/bin/javah" \
#		JAVADOC="${LOCALBASE}/${JAVADIR}/bin/javadoc"
#.endif
a96 7
DOC2=	draft-leach-digest-sasl-05.txt \
	draft-newman-auth-scram-03.txt \
	rfc1321.txt rfc2095.txt rfc2104.txt \
	rfc2222.txt rfc2245.txt

HTDOCS=	gssapi index programming sysadmin

d102 2
d111 8
a126 1
		-e "/%%DOCSDIR%%/s##${DOCSDIR}#g" \
d128 4
a144 1
	@@${LN} ${PREFIX}/sbin/pwcheck ${PREFIX}/sbin/pwcheck_pwnam
d150 4
a153 3
.for file in ${DOC2}
	@@${INSTALL_DATA} ${WRKSRC}/doc/${file} ${DOCSDIR}
.endfor
a154 3
.for file in ${HTDOCS}
	@@${INSTALL_DATA} ${WRKSRC}/doc/${file}.html ${DOCSDIR}
.endfor
d162 3
a164 3
.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
.endif
@


1.32
log
@Don't write pkg-{deinstall,install,message} to ${.CURDIR} but ${WRKDIR}
instead since ${.CURDIR} can be a read-only filesystem.
@
text
@d35 1
a35 1
USE_AUTOMAKE=	YES
@


1.31
log
@refer to correct location in pkg-message
correct db filename
fix pkg-install script

PR:		29731
Submitted by:	maintainer
@
text
@d107 4
@


1.30
log
@Fix formatting string bug
Remove old MASTER_SITE

PR:		32555
Submitted by:	alx@@cii.sumy.ua
Approved by:	maintainer
@
text
@d110 11
d133 1
d135 1
a135 1
	@@${MKDIR} ${DOCSDIR}/html
@


1.29
log
@Fix automake build problem

PR:		32026
Submitted by:	maintainer
@
text
@d10 1
a10 1
PORTREVISION=	7
d12 1
a12 2
MASTER_SITES=	ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/ \
		${MASTER_SITE_LOCAL} \
d14 1
a14 1
MASTER_SITE_SUBDIR=	stb/mirror/ftp.andrew.cmu.edu/pub/cyrus-mail
@


1.28
log
@Instead of setting ${AUTOMAKE} to automake --add-missing --include-deps,
set ${AUTOMAKE_ARGS} to --add-missing --include-deps.

PR:		31593
Submitted by:	TOGAWA Satoshi <toga@@puyo.org>
@
text
@a37 1
AUTOHEADER=	autoheader
@


1.27
log
@USE DOCSDIR and PORTDOCS
ADD IPv6 support

PR:		29404
Submitted by:	maintainer
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/cyrus-sasl/Makefile,v 1.26 2001/08/01 11:56:19 knu Exp $
d39 1
a39 1
AUTOMAKE=	automake --add-missing --include-deps
@


1.26
log
@Back out the db3 port update because some of these dependent ports had
been broken by the incompatibility between db3.2 and db3.3.

I am unconditionally bumping the PORTREVISION's to eliminate possible
troubles that should not happen before the coming release.

Sorry for inconvenience.  I'll try to check compatibility hard before
committing next time.
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/cyrus-sasl/Makefile,v 1.25 2001/07/25 15:05:11 knu Exp $
d10 1
a10 1
PORTREVISION=	6
d17 3
a103 4
.if defined(NOPORTDOCS)
NODOCS=	"@@comment "
.endif

d107 1
a107 1
		NOPORTDOCS=${NODOCS}
d125 1
a125 1
	@@${MKDIR} ${PREFIX}/share/doc/SASL/html
d127 1
a127 1
	@@${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/SASL
d130 1
a130 1
	@@${INSTALL_DATA} ${WRKSRC}/doc/${file} ${PREFIX}/share/doc/SASL
d132 1
a132 1
	@@${INSTALL_DATA} ${FILESDIR}/Sendmail.README ${PREFIX}/share/doc/SASL
d134 1
a134 1
	@@${INSTALL_DATA} ${WRKSRC}/doc/${file}.html ${PREFIX}/share/doc/SASL/html
@


1.25
log
@Reflect databases/db3's shlib version bump from 2 to 3.
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/cyrus-sasl/Makefile,v 1.24 2001/05/21 20:30:49 olgeni Exp $
d10 1
a10 1
PORTREVISION=	5
@


1.24
log
@Cosmetic change only: make the MAN3 section fit an 80 column screen.
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/cyrus-sasl/Makefile,v 1.23 2001/01/16 17:32:17 sobomax Exp $
d10 1
a10 1
PORTREVISION=	4
@


1.23
log
@Massive style enforcement - use ^I instead of spaces for variables identation.
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/cyrus-sasl/Makefile,v 1.22 2001/01/01 10:15:09 will Exp $
d24 6
a29 5
		sasl_client_init.3 sasl_client_new.3 sasl_client_start.3 sasl_client_step.3 \
		sasl_decode.3 sasl_done.3 sasl_encode.3 sasl_errstring.3 sasl_getopt_t.3 \
		sasl_getpath_t.3 sasl_getprop.3 sasl_getsecret_t.3 sasl_getsimple_t.3 \
		sasl_listmech.3 sasl_log_t.3 \
		sasl_server_init.3 sasl_server_new.3 sasl_server_start.3 sasl_server_step.3 \
@


1.22
log
@Goodbye, YEAR2000.  Hello, 2001.

Approved by:	asami
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/cyrus-sasl/Makefile,v 1.21 2000/11/17 15:06:21 kevlo Exp $
d58 2
a59 2
#JAVADIR=        jdk1.1.8
#JAVALIBDIR=     ${PREFIX}/${JAVADIR}/lib/i386/green_threads/
d62 3
a64 3
#BUILD_DEPENDS=  ${LOCALBASE}/${JAVADIR}/bin/java:${PORTSDIR}/java/jdk
#CONFIGURE_ARGS+= --with-java \
#		 --with-javabase=${LOCALBASE}/include
@


1.21
log
@- Correct misspelling (PGK_PREFIX -> PKG_PREFIX) in pkg-install
- Add support for Heimdal Kerberos V port

PR: 22894
Submitted by: MAINTAINER
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/cyrus-sasl/Makefile,v 1.20 2000/11/02 00:16:45 jeh Exp $
a21 2

Y2K=		http://asg.web.cmu.edu/cyrus/imapd/y2k.html
@


1.20
log
@PostFix requires 770 permissons on the /var/pwcheck directory.

PR:		22490
Submitted by:	Scot W. Hetzel <hetzels@@westbend.net> MAINTAINER
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/cyrus-sasl/Makefile,v 1.19 2000/11/01 11:59:16 jeh Exp $
d10 1
a10 1
PORTREVISION=	3
d75 2
@


1.19
log
@- Change /var/pwcheck permissions so Postfix can use pwcheck for SASL Authentication.
- Update MySQL & LDAP Authentication Methods
- Correct bento warning for extra file (Sendmail.conf).
- Correct mysql detection code in configure.sasl, and use LIB_DEPENDS for db3.

PR:		22462
Submitted by:	Scot W. Hetzel <hetzels@@westbend.net> MAINTAINER
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/cyrus-sasl/Makefile,v 1.18 2000/10/25 16:56:35 jeh Exp $
d123 1
a123 1
	${INSTALL} -d -m 760 -o cyrus -g cyrus /var/pwcheck
@


1.18
log
@Missing /SASL at the end of the path to install Sendmail.README

Submitted by:	bento
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/cyrus-sasl/Makefile,v 1.17 2000/10/24 10:27:50 jeh Exp $
d10 1
a10 1
PORTREVISION=	2
d123 1
a123 1
	${INSTALL} -d -m 700 -o cyrus -g cyrus /var/pwcheck
@


1.17
log
@The last commit should have bumped PORTREVISION
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/cyrus-sasl/Makefile,v 1.16 2000/10/24 02:03:08 jeh Exp $
d132 1
a132 1
	@@${INSTALL_DATA} ${FILESDIR}/Sendmail.README ${PREFIX}/share/doc
@


1.16
log
@autodetected DB3, but fails to find includes

PR:		21411
Submitted by:	Scot W. Hetzel <hetzels@@westbend.net> MAINTAINER
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/cyrus-sasl/Makefile,v 1.15 2000/10/08 10:22:51 asami Exp $
d10 1
a10 1
PORTREVISION=	1
@


1.15
log
@Change PKGDIR from pkg/ to .  Also fix places where ${PKGDIR} is
spelled out (many of which are ${PKGDIR}/MESSAGE -> ${PKGMESSAGE} type
fixes that shouldn't have been necessary) and the string "/pkg/"
appear.
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/cyrus-sasl/Makefile,v 1.14 2000/09/22 01:58:59 kris Exp $
d46 1
d52 6
a57 1
		MKDIR="${MKDIR}"
d74 1
a74 1
CONFIGURE_ARGS+= --enable-gssapi=${KRB5_HOME}
d76 1
a76 1
CONFIGURE_ARGS+= --disable-gssapi
d81 1
a81 1
CONFIGURE_ARGS+= --enable-krb4
d83 1
a83 1
CONFIGURE_ARGS+= --disable-krb4
@


1.14
log
@Update all ports using OpenSSL and RSA to work without rsaref since
it is no longer required. Apologies to the various maintainers whom I
did not yet hear back from, but the ports freeze is coming up in a few
hours and I will be verifying all of these ports on a 4.1 machine
myself to catch any problems.
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/cyrus-sasl/Makefile,v 1.13 2000/09/19 02:59:24 ade Exp $
d111 1
a111 1
	@@${SH} ${PKGDIR}/INSTALL ${PKGNAME} PRE-INSTALL
d131 1
a131 1
	@@PKG_PREFIX=${PREFIX} BATCH=${BATCH} ${SH} ${PKGDIR}/INSTALL ${PKGNAME} POST-INSTALL
@


1.13
log
@Cyrus-SASL 1.5.24 sources changed on Aug 15th
-- changed a hard coded value to a variable.

Kerberos IV detection fails due to double check on krb_mk_priv
(with/without com_err), used cached value from first check for krb_mk_priv.

Added addtional pwcheck methods (MySQL & LDAP Authentication).

PR:		21383
Submitted by:	maintainer
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/cyrus-sasl/Makefile,v 1.12 2000/08/12 19:14:49 nbm Exp $
d19 1
a19 1
USE_OPENSSL=	RSA
@


1.12
log
@Update to 1.5.24

PR:		ports/20376
Submitted by:	Dmitry S. Sivachenko <dima@@Chg.RU>
Approved by:	Scot W. Hetzel <hetzels@@westbend.net> (maintainer)
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/cyrus-sasl/Makefile,v 1.11 2000/06/29 07:02:49 obrien Exp $
d10 1
a22 2
.include <bsd.port.pre.mk>

d34 1
a34 1
USE_AUTOCONF=	YES
d36 3
d48 6
a53 1
# JavaSASL is currently Broken
d103 6
d114 1
a114 1
	@@${SED}  -e "/%%PREFIX%%/s##${PREFIX}#g" ${FILESDIR}/pwcheck.sh \
d126 1
d131 2
a133 1
.if exists(${WRKDIRPREFIX}${.CURDIR}/Makefile.inc)
d137 1
a138 4
.elif ${PREFIX} != ${LOCALBASE}
# Save PREFIX so that it can be used during make install
.BEGIN:
	@@echo "PREFIX=	${PREFIX}" > ${WRKDIRPREFIX}${.CURDIR}/Makefile.inc
d141 1
a141 1
.include <bsd.port.post.mk>
@


1.11
log
@Move the stragler's www.freebsd.org/~user distfiles to the offical
MASTER_SITE_LOCAL site.
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/cyrus-sasl/Makefile,v 1.10 2000/06/16 21:52:00 asami Exp $
d9 1
a9 1
PORTVERSION=	1.5.21
@


1.10
log
@Rename INSTALLS_SHLIBS to INSTALLS_SHLIB.  (There was a typo in the
previous commit message to bsd.port.mk, which said INSTALL_SHLIBS.  Boo.)

Line up the rhs of variable assignments nicely.  Remove a couple of extra
whitespaces while I'm here.

Suggested by:	 sobomax
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/cyrus-sasl/Makefile,v 1.9 2000/06/16 10:37:15 sobomax Exp $
d12 1
a12 1
		http://people.FreeBSD.org/~stb/mirror/ftp.andrew.cmu.edu/pub/cyrus-mail/ \
d14 1
@


1.9
log
@Final round of the INSTALLS_SHLIBS=yes conversion. Few remaining ports with
ldconfig in PLIST need personal consideration.
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/cyrus-sasl/Makefile,v 1.8 2000/06/11 08:05:33 knu Exp $
d19 1
a19 1
INSTALLS_SHLIBS=	yes
@


1.8
log
@Update to 1.5.21.

Fix detection of kerberos4. (Now support for kerberos4 is always build
if /usr/lib/libkrb.a exists)

Make use of PLIST_SUB.

PR:		ports/19187
Submitted by:	Maintainer
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/cyrus-sasl/Makefile,v 1.7 2000/04/21 08:18:15 mharo Exp $
d19 2
a99 1
	@@${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
@


1.7
log
@Correct whitespace introduced during PORTNAME conversion and portlint
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/cyrus-sasl/Makefile,v 1.6 2000/04/09 18:29:30 cpiazza Exp $
d9 1
a9 1
PORTVERSION=	1.5.15
d17 1
a17 1
USE_OPENSSL=	NORSA
a20 2
SASL_VER=	${PORTVERSION} #note, may not be needed any more

d23 8
a30 2
MAN3=		sasl_client.3 sasl_server.3
MAN8=		saslpasswd.8
d34 1
a34 2
CONFIGURE_ARGS=	--prefix=${PREFIX} \
		--sysconfdir=${PREFIX}/etc \
d43 14
d59 10
d75 1
a75 1
DOCS=	README README.Y2K TODO INSTALL ChangeLog NEWS
d77 4
a80 4
DOC2=	draft-newman-auth-scram-03.txt \
	draft-newman-sasl-anon-00.txt \
	draft-leach-digest-sasl-03.txt \
	rfc1321.txt rfc2095.txt rfc2104.txt rfc2222.txt
d82 10
a91 1
HTDOCS=	index programming sysadmin
a105 1
	@@${ECHO} share/doc/SASL/${file} >>${TMPPLIST}
a108 1
	@@${ECHO} share/doc/SASL/${file} >>${TMPPLIST}
a112 1
	@@${ECHO} share/doc/SASL/html/${file}.html >>${TMPPLIST}
a113 2
	@@${ECHO} "@@dirrm share/doc/SASL/html" >>${TMPPLIST}
	@@${ECHO} "@@dirrm share/doc/SASL" >>${TMPPLIST}
d115 10
a124 7
.if !defined(KRB5_HOME) || !exists(${KRB5_HOME})
	@@${GREP} -v libgssapiv2 ${TMPPLIST} > ${WRKDIR}/tmp.plist
	@@${MV} ${WRKDIR}/tmp.plist ${TMPPLIST}
.endif
.if !defined(MAKE_EBONES) || exists(/usr/lib/libkrb.a)
	@@${GREP} -v libkerberos4 ${TMPPLIST} > ${WRKDIR}/tmp.plist
	@@${MV} ${WRKDIR}/tmp.plist ${TMPPLIST}
@


1.6
log
@Update with the new PORTNAME/PORTVERSION variables
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/cyrus-sasl/Makefile,v 1.5 2000/02/14 04:12:21 kris Exp $
d9 1
a9 1
PORTVERSION=	1.5.15	
d21 1
a21 1
SASL_VER=	${PORTVERSION} #note, may not be needed any more	
d30 1
a30 2
CONFIGURE_ARGS= \
		--prefix=${PREFIX} \
@


1.5
log
@USE_OPENSSL

Submitted by:	Jim Bloom <bloom@@acm.org>
@
text
@a1 1
# Version required:			1.5.13
d5 1
a5 1
# $FreeBSD: ports/security/cyrus-sasl/Makefile,v 1.4 2000/02/08 09:28:46 peter Exp $
d8 2
a9 1
DISTNAME=	cyrus-sasl-${SASL_VER}
d21 1
a21 1
SASL_VER=	1.5.15
@


1.4
log
@Change all www.freebsd.org/~user references to people.FreeBSD.org/~user,
as the days of the former are numbered.

Reviewed by:	asami
@
text
@d6 1
a6 1
# $FreeBSD: ports/security/cyrus-sasl/Makefile,v 1.3 2000/01/24 05:22:04 steve Exp $
d17 3
a19 2
BUILD_DEPENDS=	openssl:${PORTSDIR}/security/openssl
LIB_DEPENDS=	crypto.1:${PORTSDIR}/security/openssl
a22 2
RESTRICTED=     "Contains cryptography"

d45 4
d94 1
a94 1
.include <bsd.port.mk>
@


1.3
log
@Update to version 1.5.15.

PR:		16130
Submitted by:	maintainer
@
text
@d6 1
a6 1
# $FreeBSD: ports/security/cyrus-sasl/Makefile,v 1.2 1999/12/29 07:06:17 steve Exp $
d12 1
a12 1
		http://www.freebsd.org/~stb/mirror/ftp.andrew.cmu.edu/pub/cyrus-mail/ \
@


1.2
log
@Use OpenSSL instaed of librc4 so this port's package can be exported.
Also incorporate Garrett Wollman's kerberos fixes.

PR:		15732
Submitted by:	maintainer
@
text
@d6 1
a6 1
# $FreeBSD: ports/security/cyrus-sasl/Makefile,v 1.1 1999/12/27 01:52:20 steve Exp $
d20 1
a20 1
SASL_VER=	1.5.13
d38 2
a45 15
CONFIGURE_ARGS+= \
		--with-pwcheck=/var/pwcheck

#  --with-dbpath=PATH      set the DB path to use [/etc/sasldb]
#  --with-pam=DIR          use PAM (rooted in DIR) [yes]
#  --with-pwcheck=DIR      enable use of the pwcheck daemonusing statedir DIR
#  --enable-cram           enable CRAM-MD5 authentication [yes]
#  --enable-scram          enable SCRAM-MD5 authentication [no]
#  --enable-digest         enable DIGEST-MD5 authentication [yes]
#  --enable-krb4           enable KERBEROS_V4 authentication [yes]
#  --enable-gssapi         enable GSSAPI authentication [yes]
#  --enable-anon           enable ANONYMOUS authentication [yes]
#  --enable-plain          enable PLAIN authentication [yes]
#  --with-rc4=DIR          use rc4 (look in DIR) [yes]

d55 4
d61 4
a64 1
#       ${INSTALL} -d -m 700 -o cyrus -g cyrus /var/pwcheck
d66 1
a66 1
	${MKDIR} ${PREFIX}/share/doc/SASL/html
d76 1
a76 1
	${INSTALL_DATA} ${WRKSRC}/doc/${file}.html ${PREFIX}/share/doc/SASL/html
d83 2
a84 2
	${GREP} -v libgssapiv2 ${TMPPLIST} > ${WRKDIR}/tmp.plist
	${MV} ${WRKDIR}/tmp.plist ${TMPPLIST}
d87 2
a88 2
	${GREP} -v libkerberos4 ${TMPPLIST} > ${WRKDIR}/tmp.plist
	${MV} ${WRKDIR}/tmp.plist ${TMPPLIST}
@


1.1
log
@Adding cyrus-sasl version 1.5.13.
An RFC 2222 SASL (Simple Authentication and Security Layer).

PR:		14619
Submitted by:	Scot W. Hetzel <hetzels@@westbend.net>
@
text
@d6 1
a6 1
# $FreeBSD$
d17 3
d22 2
d26 1
a26 1
MAN1=		sasl_client.1 sasl_server.1
d29 1
d34 2
a36 1
		--with-plugindir=${PREFIX}/lib/sasl \
d38 1
a38 3
		--with-dbpath=${PREFIX}/etc/sasldb \
		--with-sample \
		--with-rc4
d40 3
a42 1
#		--disable-cram
d44 2
a45 3
# Currently, pwcheck doesn't compile
#CONFIGURE_ARGS+= \
#		--with-pwcheck=/var/pwcheck
a58 4
# Sample SASL Client/Server
SAMPLES=	sample-client sample-server
INSTALL_PROG=	${INSTALL} -c -o root -g wheel -m 555

a67 7
# Build the SASL library with RC4 support
.if defined(USA_RESIDENT) && (${USA_RESIDENT} == YES)
LIB_DEPENDS=    rc4.0:${PORTSDIR}/security/librc4
CONFIGURE_ARGS+=	--with-rc4
#CONFIGURE_ARGS+=	--with-rc4=${PREFIX}
.endif

a68 3
.for file in ${SAMPLES}
	${INSTALL_PROG} ${WRKSRC}/sample/${file} ${PREFIX}/sbin
.endfor
d87 8
@

