head	1.21;
access;
symbols
	RELEASE_5_EOL:1.20
	RELEASE_7_0_0:1.20
	RELEASE_6_3_0:1.20
	PRE_XORG_7:1.20
	RELEASE_4_EOL:1.20
	RELEASE_6_2_0:1.20
	RELEASE_6_1_0:1.20
	RELEASE_5_5_0:1.20
	RELEASE_6_0_0:1.19
	RELEASE_5_4_0:1.19
	RELEASE_4_11_0:1.19
	RELEASE_5_3_0:1.19
	RELEASE_4_10_0:1.19
	RELEASE_5_2_1:1.19
	RELEASE_5_2_0:1.19
	RELEASE_4_9_0:1.19
	RELEASE_5_1_0:1.19
	RELEASE_4_8_0:1.18
	RELEASE_5_0_0:1.17
	RELEASE_4_7_0:1.17
	RELEASE_4_6_2:1.14
	RELEASE_4_6_1:1.14
	RELEASE_4_6_0:1.14
	RELEASE_5_0_DP1:1.14
	RELEASE_4_5_0:1.13
	RELEASE_4_4_0:1.10
	RELEASE_4_3_0:1.9
	RELEASE_4_2_0:1.9
	RELEASE_4_1_1:1.7
	RELEASE_4_1_0:1.6
	RELEASE_3_5_0:1.6
	RELEASE_4_0_0:1.3;
locks; strict;
comment	@# @;


1.21
date	2008.06.17.19.01.58;	author pav;	state dead;
branches;
next	1.20;

1.20
date	2006.02.23.10.38.54;	author ade;	state Exp;
branches;
next	1.19;

1.19
date	2003.05.09.12.41.21;	author arved;	state Exp;
branches;
next	1.18;

1.18
date	2003.02.26.11.25.55;	author edwin;	state Exp;
branches;
next	1.17;

1.17
date	2002.09.01.16.38.33;	author dwcjr;	state Exp;
branches;
next	1.16;

1.16
date	2002.08.14.18.39.45;	author knu;	state Exp;
branches;
next	1.15;

1.15
date	2002.07.28.17.26.11;	author ume;	state Exp;
branches;
next	1.14;

1.14
date	2002.02.02.04.09.27;	author pat;	state Exp;
branches;
next	1.13;

1.13
date	2002.01.20.19.23.17;	author dwcjr;	state Exp;
branches;
next	1.12;

1.12
date	2002.01.17.15.04.35;	author kevlo;	state Exp;
branches;
next	1.11;

1.11
date	2001.12.20.12.18.57;	author ijliao;	state Exp;
branches;
next	1.10;

1.10
date	2001.08.13.04.01.25;	author dwcjr;	state Exp;
branches;
next	1.9;

1.9
date	2000.11.02.00.16.45;	author jeh;	state Exp;
branches;
next	1.8;

1.8
date	2000.11.01.11.59.16;	author jeh;	state Exp;
branches;
next	1.7;

1.7
date	2000.09.19.02.59.28;	author ade;	state Exp;
branches;
next	1.6;

1.6
date	2000.06.16.10.37.15;	author sobomax;	state Exp;
branches;
next	1.5;

1.5
date	2000.06.11.08.05.34;	author knu;	state Exp;
branches;
next	1.4;

1.4
date	2000.04.21.08.18.16;	author mharo;	state Exp;
branches;
next	1.3;

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

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

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


desc
@@


1.21
log
@Delete security/cyrus-sasl, it has been expired for a year and a half.
@
text
@@@comment The following makes sure that the pwcheck and saslauthd
@@comment daemons are stopped before removing the files.
@@unexec if [ -f /var/run/pwcheck.pid ] ; then %D/etc/rc.d/cyrus_pwcheck.sh stop ; echo " stopped." ; fi
@@unexec if [ -f /var/state/saslauthd1/mux.pid ] ; then %D/etc/rc.d/saslauthd1.sh stop ; echo " stopped." ; fi
etc/rc.d/cyrus_pwcheck.sh
etc/rc.d/cyrus_sasl1
etc/rc.d/saslauthd1.sh
include/sasl1/hmac-md5.h
include/sasl1/md5.h
include/sasl1/md5global.h
include/sasl1/sasl.h
include/sasl1/saslplug.h
include/sasl1/saslutil.h
@@dirrm include/sasl1
%%JAVASASL%%lib/libjavasasl.a
%%JAVASASL%%lib/libjavasasl.la
%%JAVASASL%%lib/libjavasasl.so
%%JAVASASL%%lib/libjavasasl.so.1
lib/libsasl.a
lib/libsasl.la
lib/libsasl.so
lib/libsasl.so.8
%%ANON%%lib/sasl/libanonymous.a
%%ANON%%lib/sasl/libanonymous.la
%%ANON%%lib/sasl/libanonymous.so
%%ANON%%lib/sasl/libanonymous.so.1
%%CRAM%%lib/sasl/libcrammd5.a
%%CRAM%%lib/sasl/libcrammd5.la
%%CRAM%%lib/sasl/libcrammd5.so
%%CRAM%%lib/sasl/libcrammd5.so.1
%%DIGEST%%lib/sasl/libdigestmd5.a
%%DIGEST%%lib/sasl/libdigestmd5.la
%%DIGEST%%lib/sasl/libdigestmd5.so
%%DIGEST%%lib/sasl/libdigestmd5.so.0
%%GSSAPI%%lib/sasl/libgssapiv2.a
%%GSSAPI%%lib/sasl/libgssapiv2.la
%%GSSAPI%%lib/sasl/libgssapiv2.so
%%GSSAPI%%lib/sasl/libgssapiv2.so.1
%%EBONES%%lib/sasl/libkerberos4.a
%%EBONES%%lib/sasl/libkerberos4.la
%%EBONES%%lib/sasl/libkerberos4.so
%%EBONES%%lib/sasl/libkerberos4.so.1
%%LOGIN%%lib/sasl/liblogin.a
%%LOGIN%%lib/sasl/liblogin.la
%%LOGIN%%lib/sasl/liblogin.so
%%LOGIN%%lib/sasl/liblogin.so.0
%%PLAIN%%lib/sasl/libplain.a
%%PLAIN%%lib/sasl/libplain.la
%%PLAIN%%lib/sasl/libplain.so
%%PLAIN%%lib/sasl/libplain.so.1
sbin/sasldblistusers
sbin/saslpasswd
sbin/pwcheck
sbin/pwcheck_pam
sbin/saslauthd1
%%EXAMPLESDIR%%/cyrus.pam
%%JAVASASL%%share/java/classes/sasl/CyrusSasl/ClientFactory.class
%%JAVASASL%%share/java/classes/sasl/CyrusSasl/GenericClient.class
%%JAVASASL%%share/java/classes/sasl/CyrusSasl/GenericCommon.class
%%JAVASASL%%share/java/classes/sasl/CyrusSasl/GenericServer.class
%%JAVASASL%%share/java/classes/sasl/CyrusSasl/Sasl.class
%%JAVASASL%%share/java/classes/sasl/CyrusSasl/SaslClient.class
%%JAVASASL%%share/java/classes/sasl/CyrusSasl/SaslClientFactory.class
%%JAVASASL%%share/java/classes/sasl/CyrusSasl/SaslException.class
%%JAVASASL%%share/java/classes/sasl/CyrusSasl/SaslInputStream.class
%%JAVASASL%%share/java/classes/sasl/CyrusSasl/SaslOutputStream.class
%%JAVASASL%%share/java/classes/sasl/CyrusSasl/SaslServer.class
%%JAVASASL%%share/java/classes/sasl/CyrusSasl/SaslServerFactory.class
%%JAVASASL%%share/java/classes/sasl/CyrusSasl/SaslUtils.class
%%JAVASASL%%share/java/classes/sasl/CyrusSasl/ServerFactory.class
%%JAVASASL%%share/java/classes/sasl/javax/security/auth/callback/Callback.class
%%JAVASASL%%share/java/classes/sasl/javax/security/auth/callback/CallbackHandler.class
%%JAVASASL%%share/java/classes/sasl/javax/security/auth/callback/NameCallback.class
%%JAVASASL%%share/java/classes/sasl/javax/security/auth/callback/PasswordCallback.class
%%JAVASASL%%share/java/classes/sasl/javax/security/auth/callback/RealmCallback.class
%%JAVASASL%%share/java/classes/sasl/javax/security/auth/callback/UnsupportedCallbackException.class
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
%%PORTDOCS%%%%DOCSDIR%%/NEWS
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/Sendmail.README
%%PORTDOCS%%%%DOCSDIR%%/TODO
%%PORTDOCS%%%%DOCSDIR%%/draft-newman-auth-scram-03.txt
%%PORTDOCS%%%%DOCSDIR%%/draft-weltman-java-sasl-02.txt
%%PORTDOCS%%%%DOCSDIR%%/rfc1321.txt
%%PORTDOCS%%%%DOCSDIR%%/rfc2095.txt
%%PORTDOCS%%%%DOCSDIR%%/rfc2104.txt
%%PORTDOCS%%%%DOCSDIR%%/rfc2222.txt
%%PORTDOCS%%%%DOCSDIR%%/rfc2245.txt
%%PORTDOCS%%%%DOCSDIR%%/rfc2831.txt
%%PORTDOCS%%%%DOCSDIR%%/gssapi.html
%%PORTDOCS%%%%DOCSDIR%%/index.html
%%PORTDOCS%%%%DOCSDIR%%/macosx.html
%%PORTDOCS%%%%DOCSDIR%%/programming.html
%%PORTDOCS%%%%DOCSDIR%%/sysadmin.html
%%PORTDOCS%%@@dirrm %%DOCSDIR%%
%%JAVASASL%%@@dirrm share/java/classes/sasl/javax/security/auth/callback
%%JAVASASL%%@@dirrm share/java/classes/sasl/javax/security/auth
%%JAVASASL%%@@dirrm share/java/classes/sasl/javax/security
%%JAVASASL%%@@dirrm share/java/classes/sasl/javax
%%JAVASASL%%@@dirrm share/java/classes/sasl/CyrusSasl
%%JAVASASL%%@@dirrm share/java/classes/sasl
@@dirrm %%EXAMPLESDIR%%
@@dirrm lib/sasl
@@cwd /var
@@exec install -d -m 770 -o cyrus -g cyrus %D/pwcheck
@@comment This file is created by the pwcheck program
@@unexec rm -f %D/pwcheck/pwcheck
@@dirrm pwcheck
@@mode ug=rwx,o=
@@exec mkdir -p /var/state/saslauthd1
@@exec chown -R cyrus:cyrus state
@@exec chmod -R o= state
@@comment These files are created by the saslauthd program
@@unexec rm -fr /var/state/saslauthd1
@@unexec rmdir /var/state
@@cwd %%PREFIX%%
@


1.20
log
@Conversion to a single libtool environment.

Approved by:	portmgr (kris)
@
text
@@


1.19
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
@d16 1
d20 1
d24 1
d28 1
d32 1
d36 1
d40 1
d44 1
d48 1
@


1.18
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
@d21 9
a29 9
lib/sasl/libanonymous.a
lib/sasl/libanonymous.so
lib/sasl/libanonymous.so.1
lib/sasl/libcrammd5.a
lib/sasl/libcrammd5.so
lib/sasl/libcrammd5.so.1
lib/sasl/libdigestmd5.a
lib/sasl/libdigestmd5.so
lib/sasl/libdigestmd5.so.0
d36 6
a41 6
lib/sasl/liblogin.a
lib/sasl/liblogin.so
lib/sasl/liblogin.so.0
lib/sasl/libplain.a
lib/sasl/libplain.so
lib/sasl/libplain.so.1
@


1.17
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
@d3 1
a3 1
@@unexec if [ -f /var/run/pwcheck.pid ] ; then %D/etc/rc.d/pwcheck.sh stop ; echo " stopped." ; fi
d5 2
a6 1
etc/rc.d/pwcheck.sh
d86 1
@


1.16
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
@d46 1
d94 1
d98 1
a98 1
@@comment This file gets created by the pwcheck program
d105 1
a105 1
@@comment This file gets created by the state/saslauthd program
@


1.15
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
@d1 2
d4 1
d6 1
d45 1
d99 7
@


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

PR:		34541
Submitted by:	maintainer
@
text
@d3 7
a9 7
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
@@dirrm include/sasl
@


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

PR:		34068
Submitted by:	maintainer
@
text
@a87 2
%%JAVASASL%%@@unexec rmdir %D/share/java/classes || true
%%JAVASASL%%@@unexec rmdir %D/share/java || true
@


1.12
log
@Update to version 1.5.27

PR: 33603
Submitted by: MAINTAINER
@
text
@d10 3
d40 21
d70 1
d82 8
@


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

PR:		29731
Submitted by:	maintainer
@
text
@d36 1
a36 3
sbin/pwcheck_pwnam
@@exec ln %D/sbin/pwcheck_pwnam %D/sbin/pwcheck
@@unexec rm -f %D/sbin/pwcheck
a44 1
%%PORTDOCS%%%%DOCSDIR%%/draft-leach-digest-sasl-05.txt
d51 1
@


1.10
log
@USE DOCSDIR and PORTDOCS
ADD IPv6 support

PR:		29404
Submitted by:	maintainer
@
text
@d1 1
a1 1
@@unexec [ -r /var/run/pwcheck.pid ] && %D/etc/rc.d/pwcheck.sh stop && echo " stopped."
d36 3
a38 1
sbin/pwcheck
a57 1
%%PORTDOCS%%@@dirrm %%DOCSDIR%%/html
a59 1
@@mode ug=rwx,o=
d61 1
a61 3
@@exec mkdir pwcheck
@@exec chown cyrus:cyrus pwcheck
@@exec chmod o= pwcheck
d63 1
a63 1
@@unexec rm -f /var/pwcheck/pwcheck
@


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

PR:		22490
Submitted by:	Scot W. Hetzel <hetzels@@westbend.net> MAINTAINER
@
text
@d37 21
a57 21
%%NOPORTDOCS%%share/doc/SASL/AUTHORS
%%NOPORTDOCS%%share/doc/SASL/COPYING
%%NOPORTDOCS%%share/doc/SASL/ChangeLog
%%NOPORTDOCS%%share/doc/SASL/INSTALL
%%NOPORTDOCS%%share/doc/SASL/NEWS
%%NOPORTDOCS%%share/doc/SASL/README
%%NOPORTDOCS%%share/doc/SASL/Sendmail.README
%%NOPORTDOCS%%share/doc/SASL/TODO
%%NOPORTDOCS%%share/doc/SASL/draft-leach-digest-sasl-05.txt
%%NOPORTDOCS%%share/doc/SASL/draft-newman-auth-scram-03.txt
%%NOPORTDOCS%%share/doc/SASL/rfc1321.txt
%%NOPORTDOCS%%share/doc/SASL/rfc2095.txt
%%NOPORTDOCS%%share/doc/SASL/rfc2104.txt
%%NOPORTDOCS%%share/doc/SASL/rfc2222.txt
%%NOPORTDOCS%%share/doc/SASL/rfc2245.txt
%%NOPORTDOCS%%share/doc/SASL/html/gssapi.html
%%NOPORTDOCS%%share/doc/SASL/html/index.html
%%NOPORTDOCS%%share/doc/SASL/html/programming.html
%%NOPORTDOCS%%share/doc/SASL/html/sysadmin.html
%%NOPORTDOCS%%@@dirrm share/doc/SASL/html
%%NOPORTDOCS%%@@dirrm share/doc/SASL
@


1.8
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
@d59 1
a59 1
@@mode u=rwx,g=rw,o=
@


1.7
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
@d1 1
a1 1
@@unexec %D/etc/rc.d/pwcheck.sh stop ; echo "pwcheck stopped."
a2 2
@@comment remove ../etc/sasldb.db only if it exists and has a zero size.
@@unexec [ -f %D/etc/sasldb.db -a ! -s %D/etc/sasldb.db ] && rm %D/etc/sasldb.db
a33 4
@@comment Sendmail.conf should be installed/uninstalled by Sendmail 8.11.
@@comment We install it here because Sendmail 8.11 is in the base system.
@@unexec echo "pwcheck_method: pwcheck" > %B/Sendmail.conf.tmp
@@unexec if cmp -s %B/Sendmail.conf %B/Sendmail.conf.tmp; then rm -f %B/Sendmail.conf %B/Sendmail.conf.tmp; else rm -f %B/Sendmail.conf.tmp fi
d59 1
a59 1
@@mode u=rwx,go=
d63 1
a63 1
@@exec chmod go= pwcheck
@


1.6
log
@Final round of the INSTALLS_SHLIBS=yes conversion. Few remaining ports with
ldconfig in PLIST need personal consideration.
@
text
@d3 2
d36 4
a39 1
@@dirrm lib/sasl
d49 1
d64 1
d70 2
a71 2
@@comment This file gets create by the pwcheck program
@@unexec rm -f pwcheck/pwcheck
@


1.5
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
@a12 2
@@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B
@@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
@


1.4
log
@Correct whitespace introduced during PORTNAME conversion and portlint
@
text
@d1 1
a1 1
@@unexec %D/etc/rc.d/pwcheck.sh stop ; echo " stopped."
d12 1
a12 1
lib/libsasl.so.7
d24 6
a29 6
lib/sasl/libgssapiv2.a
lib/sasl/libgssapiv2.so
lib/sasl/libgssapiv2.so.1
lib/sasl/libkerberos4.a
lib/sasl/libkerberos4.so
lib/sasl/libkerberos4.so.1
d37 1
d40 20
d61 4
a64 3
@@exec mkdir /var/pwcheck
@@exec chown cyrus:cyrus /var/pwcheck
@@exec chmod go= /var/pwcheck
d66 3
a68 2
@@unexec rm -f /var/pwcheck/pwcheck
@@dirrm /var/pwcheck
@


1.3
log
@Update to version 1.5.15.

PR:		16130
Submitted by:	maintainer
@
text
@d45 1
a45 1
@@unexec rmdir /var/pwcheck
@


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
@d1 2
d30 3
d38 8
@


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
@d22 6
a32 2
sbin/sample-client
sbin/sample-server
@

