head	1.142;
access;
symbols
	RELEASE_7_3_0:1.137
	RELEASE_8_0_0:1.134
	old_RELEASE_7_2_0:1.127
	old_RELEASE_7_1_0:1.127
	old_RELEASE_6_4_0:1.127
	old_RELEASE_5_EOL:1.127
	old_RELEASE_7_0_0:1.123
	old_RELEASE_6_3_0:1.123
	old_PRE_XORG_7:1.114
	old_RELEASE_4_EOL:1.110
	old_RELEASE_6_2_0:1.106
	old_RELEASE_6_1_0:1.102
	old_RELEASE_5_5_0:1.102
	old_RELEASE_6_0_0:1.86
	old_RELEASE_5_4_0:1.80
	old_RELEASE_4_11_0:1.79
	old_RELEASE_5_3_0:1.76
	old_RELEASE_4_10_0:1.71
	old_RELEASE_5_2_1:1.65
	old_RELEASE_5_2_0:1.65
	old_RELEASE_4_9_0:1.59
	old_RELEASE_5_1_0:1.55
	old_RELEASE_4_8_0:1.51
	old_RELEASE_5_0_0:1.48
	old_RELEASE_4_7_0:1.42
	old_RELEASE_4_6_2:1.36
	old_RELEASE_4_6_1:1.36
	old_RELEASE_4_6_0:1.36
	old_RELEASE_5_0_DP1:1.34
	old_RELEASE_4_5_0:1.31
	old_RELEASE_4_4_0:1.29
	old_RELEASE_4_3_0:1.24
	old_RELEASE_4_2_0:1.22
	old_RELEASE_4_1_1:1.22
	old_RELEASE_4_1_0:1.22
	old_krb5_1_2:1.21
	old_krb5_1_1_1:1.19
	old_RELEASE_3_5_0:1.19
	old_RELEASE_4_0_0:1.16
	old_RELEASE_3_4_0:1.15
	old_RELEASE_3_3_0:1.14
	old_krb5_1_0_6:1.14
	old_RELEASE_3_2_0:1.8
	old_RELEASE_3_1_0:1.8
	old_RELEASE_2_2_8:1.8
	old_RELEASE_3_0_0:1.6
	old_RELEASE_2_2_7:1.2
	old_krb5_1_0_5:1.8
	old_VIDRINE:1.1.1;
locks; strict;
comment	@# @;


1.142
date	2010.04.26.03.25.33;	author cy;	state dead;
branches;
next	1.141;

1.141
date	2010.04.15.15.42.19;	author cy;	state Exp;
branches;
next	1.140;

1.140
date	2010.04.14.20.21.10;	author pav;	state Exp;
branches;
next	1.139;

1.139
date	2010.03.28.06.43.23;	author dinoex;	state Exp;
branches;
next	1.138;

1.138
date	2010.03.20.16.17.50;	author miwi;	state Exp;
branches;
next	1.137;

1.137
date	2010.02.05.11.43.49;	author dinoex;	state Exp;
branches;
next	1.136;

1.136
date	2009.10.13.21.37.49;	author cy;	state Exp;
branches;
next	1.135;

1.135
date	2009.10.13.06.24.27;	author cy;	state Exp;
branches;
next	1.134;

1.134
date	2009.09.02.14.49.14;	author cy;	state Exp;
branches;
next	1.133;

1.133
date	2009.09.02.11.26.53;	author miwi;	state Exp;
branches;
next	1.132;

1.132
date	2009.09.02.06.16.12;	author cy;	state Exp;
branches;
next	1.131;

1.131
date	2009.09.01.04.40.06;	author cy;	state Exp;
branches;
next	1.130;

1.130
date	2009.08.29.09.21.49;	author erwin;	state Exp;
branches;
next	1.129;

1.129
date	2009.08.28.23.35.15;	author cy;	state Exp;
branches;
next	1.128;

1.128
date	2009.06.09.04.16.35;	author cy;	state Exp;
branches;
next	1.127;

1.127
date	2008.05.23.21.01.58;	author cy;	state Exp;
branches;
next	1.126;

1.126
date	2008.05.14.23.06.13;	author cy;	state Exp;
branches;
next	1.125;

1.125
date	2008.03.19.19.26.53;	author cy;	state Exp;
branches;
next	1.124;

1.124
date	2008.01.06.14.53.30;	author cy;	state Exp;
branches;
next	1.123;

1.123
date	2007.11.24.23.14.35;	author linimon;	state Exp;
branches;
next	1.122;

1.122
date	2007.10.29.23.23.27;	author cy;	state Exp;
branches;
next	1.121;

1.121
date	2007.10.29.22.49.49;	author cy;	state Exp;
branches;
next	1.120;

1.120
date	2007.10.25.21.15.22;	author cy;	state Exp;
branches;
next	1.119;

1.119
date	2007.10.23.03.41.37;	author cy;	state Exp;
branches;
next	1.118;

1.118
date	2007.09.11.23.52.18;	author cy;	state Exp;
branches;
next	1.117;

1.117
date	2007.07.11.16.51.31;	author cy;	state Exp;
branches;
next	1.116;

1.116
date	2007.06.26.23.01.44;	author cy;	state Exp;
branches;
next	1.115;

1.115
date	2007.05.19.20.22.42;	author flz;	state Exp;
branches;
next	1.114;

1.114
date	2007.04.23.22.10.09;	author cy;	state Exp;
branches;
next	1.113;

1.113
date	2007.04.04.21.12.17;	author cy;	state Exp;
branches;
next	1.112;

1.112
date	2007.04.04.01.40.12;	author cy;	state Exp;
branches;
next	1.111;

1.111
date	2007.01.30.10.25.32;	author pav;	state Exp;
branches;
next	1.110;

1.110
date	2007.01.15.03.08.17;	author cy;	state Exp;
branches;
next	1.109;

1.109
date	2007.01.14.05.13.32;	author cy;	state Exp;
branches;
next	1.108;

1.108
date	2007.01.10.05.06.45;	author cy;	state Exp;
branches;
next	1.107;

1.107
date	2006.11.14.02.06.07;	author laszlof;	state Exp;
branches;
next	1.106;

1.106
date	2006.09.17.00.48.42;	author cy;	state Exp;
branches;
next	1.105;

1.105
date	2006.07.16.17.49.46;	author cy;	state Exp;
branches;
next	1.104;

1.104
date	2006.07.14.18.37.11;	author cy;	state Exp;
branches;
next	1.103;

1.103
date	2006.05.13.04.15.05;	author edwin;	state Exp;
branches;
next	1.102;

1.102
date	2006.02.23.10.38.57;	author ade;	state Exp;
branches;
next	1.101;

1.101
date	2005.12.05.02.34.05;	author edwin;	state Exp;
branches;
next	1.100;

1.100
date	2005.12.04.10.58.18;	author edwin;	state Exp;
branches;
next	1.99;

1.99
date	2005.11.25.19.40.48;	author cy;	state Exp;
branches;
next	1.98;

1.98
date	2005.11.23.21.57.18;	author cy;	state Exp;
branches;
next	1.97;

1.97
date	2005.11.22.22.01.57;	author cy;	state Exp;
branches;
next	1.96;

1.96
date	2005.11.18.00.38.05;	author cy;	state Exp;
branches;
next	1.95;

1.95
date	2005.11.15.06.50.58;	author ade;	state Exp;
branches;
next	1.94;

1.94
date	2005.11.08.18.51.23;	author cy;	state Exp;
branches;
next	1.93;

1.93
date	2005.11.01.04.01.11;	author cy;	state Exp;
branches;
next	1.92;

1.92
date	2005.10.31.21.39.16;	author cy;	state Exp;
branches;
next	1.91;

1.91
date	2005.10.29.18.45.28;	author cy;	state Exp;
branches;
next	1.90;

1.90
date	2005.10.29.17.34.32;	author cy;	state Exp;
branches;
next	1.89;

1.89
date	2005.10.28.05.59.16;	author kris;	state Exp;
branches;
next	1.88;

1.88
date	2005.10.08.19.57.44;	author pav;	state Exp;
branches;
next	1.87;

1.87
date	2005.10.04.22.09.08;	author cy;	state Exp;
branches;
next	1.86;

1.86
date	2005.07.12.21.29.26;	author cy;	state Exp;
branches;
next	1.85;

1.85
date	2005.04.23.01.49.07;	author cy;	state Exp;
branches;
next	1.84;

1.84
date	2005.04.19.21.14.37;	author cy;	state Exp;
branches;
next	1.83;

1.83
date	2005.04.13.23.24.48;	author cy;	state Exp;
branches;
next	1.82;

1.82
date	2005.04.13.03.09.14;	author cy;	state Exp;
branches;
next	1.81;

1.81
date	2005.04.13.03.05.17;	author cy;	state Exp;
branches;
next	1.80;

1.80
date	2005.03.31.18.46.44;	author cy;	state Exp;
branches;
next	1.79;

1.79
date	2004.12.21.01.38.02;	author cy;	state Exp;
branches;
next	1.78;

1.78
date	2004.12.21.00.24.18;	author cy;	state Exp;
branches;
next	1.77;

1.77
date	2004.10.20.20.20.06;	author cy;	state Exp;
branches;
next	1.76;

1.76
date	2004.09.01.19.55.26;	author cy;	state Exp;
branches;
next	1.75;

1.75
date	2004.09.01.15.01.20;	author cy;	state Exp;
branches;
next	1.74;

1.74
date	2004.06.11.23.08.57;	author cy;	state Exp;
branches;
next	1.73;

1.73
date	2004.06.04.16.37.31;	author cy;	state Exp;
branches;
next	1.72;

1.72
date	2004.06.02.19.08.34;	author cy;	state Exp;
branches;
next	1.71;

1.71
date	2004.04.07.00.28.04;	author cy;	state Exp;
branches;
next	1.70;

1.70
date	2004.02.28.21.25.21;	author cy;	state Exp;
branches;
next	1.69;

1.69
date	2004.02.21.04.39.05;	author cy;	state Exp;
branches;
next	1.68;

1.68
date	2004.02.07.04.14.38;	author cy;	state Exp;
branches;
next	1.67;

1.67
date	2004.02.04.05.08.46;	author marcus;	state Exp;
branches;
next	1.66;

1.66
date	2004.01.25.22.08.19;	author cy;	state Exp;
branches;
next	1.65;

1.65
date	2003.11.23.21.48.54;	author cy;	state Exp;
branches;
next	1.64;

1.64
date	2003.11.10.23.30.32;	author cy;	state Exp;
branches;
next	1.63;

1.63
date	2003.11.10.23.22.16;	author cy;	state Exp;
branches;
next	1.62;

1.62
date	2003.11.08.23.08.25;	author cy;	state Exp;
branches;
next	1.61;

1.61
date	2003.11.03.03.56.40;	author kris;	state Exp;
branches;
next	1.60;

1.60
date	2003.10.28.02.42.41;	author kris;	state Exp;
branches;
next	1.59;

1.59
date	2003.09.13.02.32.33;	author cy;	state Exp;
branches;
next	1.58;

1.58
date	2003.09.10.00.03.09;	author cy;	state Exp;
branches;
next	1.57;

1.57
date	2003.08.08.23.35.18;	author cy;	state Exp;
branches;
next	1.56;

1.56
date	2003.08.08.01.20.18;	author cy;	state Exp;
branches;
next	1.55;

1.55
date	2003.05.07.21.43.39;	author cy;	state Exp;
branches;
next	1.54;

1.54
date	2003.05.07.04.13.08;	author cy;	state Exp;
branches;
next	1.53;

1.53
date	2003.05.07.04.09.39;	author cy;	state Exp;
branches;
next	1.52;

1.52
date	2003.05.07.03.47.49;	author cy;	state Exp;
branches;
next	1.51;

1.51
date	2003.03.21.00.54.06;	author cy;	state Exp;
branches;
next	1.50;

1.50
date	2003.03.07.06.10.41;	author ade;	state Exp;
branches;
next	1.49;

1.49
date	2003.02.22.16.12.21;	author nork;	state Exp;
branches;
next	1.48;

1.48
date	2002.11.16.00.02.13;	author cy;	state Exp;
branches;
next	1.47;

1.47
date	2002.11.10.16.47.51;	author lioux;	state Exp;
branches;
next	1.46;

1.46
date	2002.11.07.05.46.02;	author cy;	state Exp;
branches;
next	1.45;

1.45
date	2002.10.28.18.28.38;	author cy;	state Exp;
branches;
next	1.44;

1.44
date	2002.10.25.15.03.55;	author cy;	state Exp;
branches;
next	1.43;

1.43
date	2002.10.23.22.30.39;	author cy;	state Exp;
branches;
next	1.42;

1.42
date	2002.09.25.17.50.00;	author cy;	state Exp;
branches;
next	1.41;

1.41
date	2002.09.13.13.46.47;	author cy;	state Exp;
branches;
next	1.40;

1.40
date	2002.08.17.00.29.41;	author cy;	state Exp;
branches;
next	1.39;

1.39
date	2002.08.02.18.22.44;	author nectar;	state Exp;
branches;
next	1.38;

1.38
date	2002.07.01.06.20.38;	author cy;	state Exp;
branches;
next	1.37;

1.37
date	2002.06.26.04.49.06;	author cy;	state Exp;
branches;
next	1.36;

1.36
date	2002.05.03.02.20.17;	author cy;	state Exp;
branches;
next	1.35;

1.35
date	2002.05.02.14.30.24;	author cy;	state Exp;
branches;
next	1.34;

1.34
date	2002.03.29.13.23.08;	author cy;	state Exp;
branches;
next	1.33;

1.33
date	2002.03.18.22.52.43;	author cy;	state Exp;
branches;
next	1.32;

1.32
date	2002.03.01.13.23.47;	author cy;	state Exp;
branches;
next	1.31;

1.31
date	2002.01.16.03.17.24;	author cy;	state Exp;
branches;
next	1.30;

1.30
date	2002.01.08.15.05.08;	author cy;	state Exp;
branches;
next	1.29;

1.29
date	2001.09.07.19.53.09;	author nectar;	state Exp;
branches;
next	1.28;

1.28
date	2001.07.24.19.19.13;	author nectar;	state Exp;
branches;
next	1.27;

1.27
date	2001.07.24.15.29.39;	author nectar;	state Exp;
branches;
next	1.26;

1.26
date	2001.07.20.16.53.31;	author nectar;	state Exp;
branches;
next	1.25;

1.25
date	2001.04.27.18.16.58;	author nectar;	state Exp;
branches;
next	1.24;

1.24
date	2001.03.02.17.33.55;	author nectar;	state Exp;
branches;
next	1.23;

1.23
date	2001.01.10.15.27.00;	author nectar;	state Exp;
branches;
next	1.22;

1.22
date	2000.06.30.17.41.24;	author nectar;	state Exp;
branches;
next	1.21;

1.21
date	2000.06.24.02.49.07;	author nectar;	state Exp;
branches;
next	1.20;

1.20
date	2000.06.24.01.48.09;	author nectar;	state Exp;
branches;
next	1.19;

1.19
date	2000.06.16.21.51.53;	author asami;	state Exp;
branches;
next	1.18;

1.18
date	2000.06.16.08.46.57;	author sobomax;	state Exp;
branches;
next	1.17;

1.17
date	2000.04.09.18.29.49;	author cpiazza;	state Exp;
branches;
next	1.16;

1.16
date	2000.01.16.19.10.50;	author nectar;	state Exp;
branches;
next	1.15;

1.15
date	99.10.04.14.32.21;	author nectar;	state Exp;
branches;
next	1.14;

1.14
date	99.08.31.06.50.08;	author mharo;	state Exp;
branches;
next	1.13;

1.13
date	99.08.31.01.51.12;	author peter;	state Exp;
branches;
next	1.12;

1.12
date	99.08.28.02.42.34;	author mharo;	state Exp;
branches;
next	1.11;

1.11
date	99.08.22.18.59.53;	author mharo;	state Exp;
branches;
next	1.10;

1.10
date	99.06.05.22.31.36;	author mharo;	state Exp;
branches;
next	1.9;

1.9
date	99.05.27.02.08.13;	author nectar;	state Exp;
branches;
next	1.8;

1.8
date	98.11.14.09.43.28;	author asami;	state Exp;
branches;
next	1.7;

1.7
date	98.11.07.02.33.44;	author nectar;	state Exp;
branches;
next	1.6;

1.6
date	98.09.27.11.34.28;	author markm;	state Exp;
branches;
next	1.5;

1.5
date	98.09.14.19.23.42;	author markm;	state Exp;
branches;
next	1.4;

1.4
date	98.08.01.19.47.54;	author dima;	state Exp;
branches;
next	1.3;

1.3
date	98.07.27.22.45.10;	author dima;	state Exp;
branches;
next	1.2;

1.2
date	98.07.06.23.35.59;	author nectar;	state Exp;
branches;
next	1.1;

1.1
date	98.07.06.02.28.39;	author nectar;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	98.07.06.02.28.39;	author nectar;	state Exp;
branches;
next	;


desc
@@


1.142
log
@Remove krb5-17, which has been merged into the krb5 port.
@
text
@# Ports collection Makefile for:	MIT Kerberos V
# Date created:				6/5/1998
# Whom:					nectar@@FreeBSD.org
#
# $FreeBSD: ports/security/krb5-17/Makefile,v 1.141 2010/04/15 15:42:19 cy Exp $
#

PORTNAME=		krb5
PORTVERSION=		1.7
PORTREVISION=	2
CATEGORIES=		security
MASTER_SITES=		http://web.mit.edu/kerberos/dist/krb5/${PORTVERSION:C/^[0-9]*\.[0-9]*/&X/:C/X\.[0-9]*$//:C/X//}/
PATCH_SITES=		http://web.mit.edu/kerberos/advisories/
DISTNAME=		${PORTNAME}-${PORTVERSION}-signed
EXTRACT_SUFX=		.tar

MAINTAINER=		cy@@FreeBSD.org
COMMENT=		An authentication system developed at MIT, successor to Kerberos IV

BUILD_DEPENDS=		gm4:${PORTSDIR}/devel/m4

CONFLICTS=		krb[45]-[0-9]* heimdal-[0-9]* srp-[0-9]*

BROKEN=			does not compile
FORBIDDEN=		MITKRB5-SA-2010-001, MITKRB5-SA-2010-002, and MITKRB5-SA-2010-003.

LATEST_LINK=		${PORTNAME}-17
KERBEROSV_URL=		http://web.mit.edu/kerberos/
USE_OPENSSL=		yes
WITH_OPENSSL_PORT=	yes
USE_GMAKE=		yes
USE_PERL5_BUILD=	yes
USE_LDCONFIG=		yes
USE_AUTOTOOLS=		libtool:22
CONFIGURE_ARGS?=	--enable-shared
CONFIGURE_ENV=		INSTALL="${INSTALL}" YACC=/usr/bin/yacc \
			CFLAGS="${CFLAGS}"
MAKE_ARGS=		INSTALL="${INSTALL}"

OPTIONS=		KRB5_RENAME_FTP "Rename ftp to kftp" off \
			KRB5_RENAME_TELNET "Rename telnet to ktelnet" off \
			KRB5_RENAME_RLOGIN "Rename rlogin to krlogin" off \
			KRB5_RENAME_RSH "Rename rsh to krsh" off \
			KRB5_RENAME_RCP "Rename rcp to krcp" off \
			KRB5_KRB4_COMPAT "Build and install krb4 compatibility" off \
			KRB5_DOC "Build and install krb5 documentation" on \
			WANT_HTML "Want HTML documentation too" on

.include <bsd.port.pre.mk>

.if ${OSVERSION} > 900007
BROKEN=		fails to build with new utmpx
.endif

.if defined(WITH_KRB5_DOC)
BUILD_DEPENDS+=		texi2dvi:${PORTSDIR}/print/texinfo \
			dvips:${PORTSDIR}/print/dvipsk-tetex
INFO=			krb5-admin krb5-install krb5-user
.endif

.if !defined(WITH_KRB5_KRB4_COMPAT)
CONFIGURE_ARGS+=	--without-krb4
PLIST_SUB+=		KRB4="@@comment "
.else
PLIST_SUB+=		KRB4=""
.endif

.if defined(KRB5_HOME)
PREFIX=			${KRB5_HOME}
.endif

MAN1=			k5srvutil.1 kadmin.1 krb5-send-pr.1 krb5-config.1 \
			kpasswd.1 klist.1 kinit.1 kdestroy.1 ksu.1 ktutil.1 \
			sclient.1 rsh.1 rcp.1 rlogin.1 ftp.1 telnet.1 \
			kerberos.1 kvno.1 compile_et.1
MAN5=			kdc.conf.5 krb5.conf.5 .k5login.5
MAN8=			krb5kdc.8 kadmin.local.8 kdb5_util.8 kadmind.8 \
			kprop.8 kpropd.8 kproplog.8 sserver.8 kshd.8 \
			klogind.8 login.krb5.8 ftpd.8 telnetd.8

.if defined(WITH_KRB5_RENAME_FTP)
MAN1:=			${MAN1:C/ftp/kftp/}
MAN8:=			${MAN8:C/ftp/kftp/}
PROGRAM_TRANSFORM_NAME+=	s/^ftp/kftp/;
PLIST_SUB+=		FTP_PROG="kftp"
.else
PLIST_SUB+=		FTP_PROG="ftp"
.endif

.if defined(WITH_KRB5_RENAME_TELNET)
MAN1:=			${MAN1:C/telnet/ktelnet/}
MAN8:=			${MAN8:C/telnet/ktelnet/}
PROGRAM_TRANSFORM_NAME+=	s/^telnet/ktelnet/;
PLIST_SUB+=		TELNET_PROG="ktelnet"
.else
PLIST_SUB+=		TELNET_PROG="telnet"
.endif

.if defined(WITH_KRB5_RENAME_RLOGIN)
MAN1:=			${MAN1:C/rlogin/krlogin/}
PROGRAM_TRANSFORM_NAME+=	s/^rlogin/krlogin/;
PLIST_SUB+=		RLOGIN_PROG="krlogin"
.else
PLIST_SUB+=		RLOGIN_PROG="rlogin"
.endif

.if defined(WITH_KRB5_RENAME_RSH)
MAN1:=			${MAN1:C/rsh/krsh/}
PROGRAM_TRANSFORM_NAME+=	s/^rsh/krsh/;
PLIST_SUB+=		RSH_PROG="krsh"
.else
PLIST_SUB+=		RSH_PROG="rsh"
.endif

.if defined(WITH_KRB5_RENAME_RCP)
MAN1:=			${MAN1:C/rcp/krcp/}
PROGRAM_TRANSFORM_NAME+=	s/^rcp/krcp/;
PLIST_SUB+=		RCP_PROG="krcp"
.else
PLIST_SUB+=		RCP_PROG="rcp"
.endif

.if defined(PROGRAM_TRANSFORM_NAME) && ${PROGRAM_TRANSFORM_NAME} != ""
CONFIGURE_ARGS+=	--program-transform-name="${PROGRAM_TRANSFORM_NAME}"
.endif

WRKSRC=			${WRKDIR}/${PORTNAME}-${PORTVERSION}/src

HTML_DOC_DIR=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/doc
HTML_DOCS=		ftp.html kdestroy.html kinit.html klist.html \
			kpasswd.html krb5-admin.html \
			krb5-install.html krb5-user.html ksu.html \
			rcp.html rlogin.html rsh.html telnet.html

CONFIGURE_ARGS+=	CPPFLAGS="-I${OPENSSLINC} -L${OPENSSLLIB}"

post-extract:
	@@${TAR} -C ${WRKDIR} -xzf ${WRKDIR}/${PORTNAME}-${PORTVERSION}.tar.gz
	@@${RM} ${WRKDIR}/${PORTNAME}-${PORTVERSION}.tar.gz ${WRKDIR}/${PORTNAME}-${PORTVERSION}.tar.gz.asc
.if !defined(EXTRACT_PRESERVE_OWNERSHIP)
	@@if [ `id -u` = 0 ]; then \
		${CHMOD} -R ug-s,go-w ${WRKDIR}/${PORTNAME}-${PORTVERSION}; \
		${CHOWN} -R 0:0 ${WRKDIR}/${PORTNAME}-${PORTVERSION}; \
	fi
.endif

post-patch:
	@@${REINPLACE_CMD} -e '1s,^#!\/usr\/athena/bin/perl,#!${PERL5},' \
		${WRKSRC}/../doc/man2html

pre-build:
.if !defined(KRB5_KRB4_COMPAT)
	@@${ECHO} "------------------------------------------------------"
	@@${ECHO} "Set KRB5_KRB4_COMPAT=NO if you do not want to build   "
	@@${ECHO} "the KerberosIV compatibility libraries.               "
	@@${ECHO} "------------------------------------------------------"
.endif

post-build:
.if defined(WITH_KRB5_DOC)
	@@cd ${WRKSRC}/../doc && \
	${MAKE} all
.endif

post-install:
	@@${MKDIR} ${PREFIX}/share/doc/krb5
# html documentation
.if defined(WITH_KRB5_DOC) && defined(WITH_WANT_HTML)
	for html in ${HTML_DOC_DIR}/*.html; do \
		${INSTALL_MAN} $${html} ${PREFIX}/share/doc/krb5; \
		${ECHO_CMD} share/doc/krb5/`${BASENAME} $${html}` >> ${TMPPLIST}; \
	done
.endif
	${ECHO_CMD} @@dirrm share/doc/krb5 >> ${TMPPLIST}
# handle info files
.if defined(WITH_KRB5_DOC)
.for info in ${INFO}
	${INSTALL_MAN} ${WRKSRC}/../doc/${info}.info ${PREFIX}/info/${info}.info
.endfor
.endif

	@@${SED} "s%\${PREFIX}%${PREFIX}%" ${FILESDIR}/README.FreeBSD > ${PREFIX}/share/doc/krb5/README.FreeBSD
	@@${CHMOD} 444 ${PREFIX}/share/doc/krb5/README.FreeBSD
	@@${ECHO} "------------------------------------------------------"
	@@${ECHO} "This port of MIT Kerberos 5 includes remote login     "
	@@${ECHO} "daemons (telnetd and klogind).  These daemons default "
	@@${ECHO} "to using the system login program (/usr/bin/login).   "
	@@${ECHO} "Please see the file                                   "
	@@${ECHO} "${PREFIX}/share/doc/krb5/README.FreeBSD"
	@@${ECHO} "for more information.                                 "
	@@${ECHO} "------------------------------------------------------"

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


1.141
log
@Mark FORBDDEN due to security vulnerabilities.

Security:	MITKRB5-SA-2010-001, MITKRB5-SA-2010-002, MITKRB5-SA-2010-003.
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.140
log
@- Mark BROKEN: does not compile

Reported by:	pointyhat
@
text
@d25 1
@


1.139
log
@- update to 1.4.1
Reviewed by:	exp8 run on pointyhat
Supported by:	miwi
@
text
@d24 2
@


1.138
log
@- Mark BROKEN on HEAD: fails to build with new utmpx

Reported by:	pointyhat
@
text
@d10 1
a10 1
PORTREVISION=	1
@


1.137
log
@- update to jpeg-8
@
text
@d48 4
@


1.136
log
@Remove commented option from a bygone era.
@
text
@d10 1
@


1.135
log
@Fix libtool 2.2 issue.
@
text
@a31 1
# CONFIGURE_ARGS+=	--disable-thread-support
@


1.134
log
@Mark broken because it will not build with libtool 2.2.
@
text
@a29 1
BROKEN=			Will not build with libtool 2.2.
@


1.133
log
@- Fix INDEX
@
text
@d30 1
@


1.132
log
@Fix build brokenness. Backout r1.130 until the problem can be permanently
fixed.
@
text
@d30 1
a30 1
USE_AUTOTOOLS=		libtool:15
@


1.131
log
@Correct a LATEST_LINK issue.

Thanks to:	erwin
@
text
@d30 1
a30 1
USE_AUTOTOOLS=		libtool:22
@


1.130
log
@Fix INDEX
@
text
@d21 1
a21 1
CONFLICTS=		krb4-[0-9]* heimdal-[0-9]* srp-[0-9]*
d23 1
a23 1
LATEST_LINK=		${PORTNAME}
@


1.129
log
@Welcome the new Kerberos V 1.7.

PR:		138246
@
text
@d30 1
a30 1
USE_AUTOTOOLS=		libtool:15
@


1.128
log
@This forced commit documents the repocopy of security/krb5 to security/krb5-17
in preparation for inclusion of KRB5 1.7 in the ports collection.

PR:		135290
@
text
@d9 1
a9 2
PORTVERSION=		1.6.3
PORTREVISION=		5
a14 2
PATCHFILES=		2008-001-patch.txt
PATCH_DIST_STRIP=	-p1
d51 1
a51 1
INFO=			krb425 krb5-admin krb5-install krb5-user
d65 4
a68 3
MAN1=			krb5-send-pr.1 krb5-config.1 kpasswd.1 klist.1 \
			kinit.1 kdestroy.1 ksu.1 sclient.1 rsh.1 rcp.1 \
			rlogin.1 ftp.1 telnet.1 kerberos.1 kvno.1 compile_et.1
d70 3
a72 7
MAN8=			krb5kdc.8 kadmin.8 kadmin.local.8 kdb5_util.8 \
			ktutil.8 kadmind.8 kprop.8 kpropd.8 sserver.8 \
			kshd.8 klogind.8 login.krb5.8 ftpd.8 telnetd.8 \
			k5srvutil.8
.if defined(WITH_KRB5_KRB4_COMPAT)
MAN8+=			krb524d.8
.endif
a115 4
.if defined(WITH_KRB5_KRB4_COMPAT)
MAN1+=			krb524init.1 v4rcp.1
.endif

d124 1
a124 1
			kpasswd.html krb425.html krb5-admin.html \
@


1.127
log
@Convert missing WANT_KRB5_DOC pieces.

Add HTML documentation OPTION knob.
@
text
@@


1.126
log
@Implement OPTIONS menu.

Implement options that will allow the user to:

	- rename ftp and ftpd to kftp and kftpd
	- rename telnet and telnetd to ktelnet and ktelnetd
	- rename rlogin to krlogin
	- rename rsh to krsh
	- rename rcp to krcp

This avoids shadowing by or being shadowed by, depending on one's PATH,
system utilities of the same name.
@
text
@d46 2
a47 1
			KRB5_DOC "Build and install krb5 documentation" on
a131 1
WANT_HTML?=		YES
d163 1
a163 1
.if defined(KRB5_DOC) && ${KRB5_DOC} == "YES"
d171 1
a171 1
.if defined(KRB5_DOC) && ${KRB5_DOC} == "YES" && defined(WANT_HTML) && ${WANT_HTML} == "YES"
d179 1
a179 1
.if defined(KRB5_DOC) && ${KRB5_DOC} == "YES"
@


1.125
log
@Fixes for multiple vulnerabilities.

Security:	US-CERT Technical Cyber Security Alert TA08-079B --
			MIT Kerberos Updates for Multiple Vulnerabilities
		US-CERT Vulnerability Note VU#895609,
		US-CERT Vulnerability Note VU#374121
		MIT krb5 Security Advisory 2008-001
		MIT krb5 Security Advisory 2008-002
@
text
@a38 2
KRB5_KRB4_COMPAT?=	NO
KRB5_DOC?=		YES
d40 11
a50 1
.if defined(KRB5_DOC) && ${KRB5_DOC} == "YES"
d56 1
a56 1
.if !defined(KRB5_KRB4_COMPAT) || ${KRB5_KRB4_COMPAT} == "NO"
a69 3
.if defined(KRB5_KRB4_COMPAT) && ${KRB5_KRB4_COMPAT} != "NO"
MAN1+=			krb524init.1 v4rcp.1
.endif
d75 1
a75 1
.if defined(KRB5_KRB4_COMPAT) && ${KRB5_KRB4_COMPAT} != "NO"
d79 50
a137 2
.include <bsd.port.pre.mk>

@


1.124
log
@Fix pkinit install brokenness under 5.5 and 6.2.

Approved by:	portmgr (linimon)
@
text
@d10 1
a10 1
PORTREVISION=		4
d13 1
d16 2
@


1.123
log
@Mark as broken: fails to install.

Approved by:	portmgr (self)
@
text
@d10 1
a10 1
PORTREVISION=		3
a20 2
BROKEN=			fails to install

d26 1
a81 1
.if defined(OPENSSL_INSTALLED)
a82 1
.endif
@


1.122
log
@Fix build for OpenSSL 0.9.8.

PR:		117552
Submitted by:	Hirohisa Yamaguchi <umq@@umo.co.jp>
@
text
@d21 2
@


1.121
log
@Fix build under 7.0-PRERELEASE.
@
text
@d10 1
a10 1
PORTREVISION=		2
d25 1
a78 1

d81 2
a82 4
.if ${OSVERSION} < 700000
PLIST_SUB+=		PKINIT="@@comment "
.else
PLIST_SUB+=		PKINIT=""
@


1.120
log
@Fix erroneous patch.

PR:		117469
Submitted by:	Karen Andrews <dearmiss@@optusnet.com.au>
@
text
@d10 1
a10 1
PORTREVISION=		1
d81 6
@


1.119
log
@Update 1.6.2 --> 1.6.3

Security:	fix CVE-2007-3999, CVE-2007-4743 svc_auth_gss.c buffer overflow
		fix CVE-2007-4000 modify_policy vulnerability

Also:		add PKINIT support
@
text
@d10 1
@


1.118
log
@Patch for MIT krb5 Security Advisory 2007-006 - kadmind RPC lib buffer
overflow, uninitialized pointer
Security:	MIT krb5 Security Advisory 2007-006
@
text
@d9 1
a9 2
PORTVERSION=		1.6.2
PORTREVISION=		1
a11 1
PATCH_SITES=		http://web.mit.edu/kerberos/advisories/
a13 2
PATCHFILES=		2007-006-patch.txt
PATCH_DIST_STRIP=	-p1
@


1.117
log
@Update 1.6.1 --> 1.6.2
@
text
@d10 1
d16 2
@


1.116
log
@Patches for:

MITKRB5-SA-2007-004: kadmind affected by multiple RPC library vulnerabilities
MITKRB5-SA-2007-005: kadmind vulnerable to buffer overflow

Security:	US CERT Technical Cyber Security Alert TA07-177A --
		MIT Kerberos Vulnerabilities
@
text
@d9 1
a9 2
PORTVERSION=		1.6.1
PORTREVISION=		2
a14 2
PATCHFILES=		2007-004-patch.txt 2007-005-patch.txt
PATCH_DIST_STRIP=	-p1
@


1.115
log
@- Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
@
text
@d10 1
a10 1
PORTREVISION=	1
d13 1
d16 2
@


1.114
log
@Update from 1.6 to 1.6.1.
@
text
@d10 1
@


1.113
log
@MIT KRB5 Security patches:

1. MIT krb5 Security Advisory 2007-001: Telnetd allows login as arbitrary user
   CVE: CVE-2007-0956
   CERT: VU#220816

2. MIT krb5 Security Advisory 2007-002: KDC, kadmind stack overflow in krb5_klog_syslog
   CVE: CVE-2007-0957
   CERT: VU#704024
@
text
@d9 1
a9 2
PORTVERSION=		1.6
PORTREVISION=		2
@


1.112
log
@Fix double-free vulnerability in kadmind (via GSS-API library).

Obtained from:	MIT krb5 Security Advisory 2007-003
Security:	US-CERT Technical Cyber Security Alert TA07-093B -- MIT Kerberos Vulnerabilities
@
text
@d10 1
a10 1
PORTREVISION=		1
@


1.111
log
@- Remove support for a.out format and PORTOBJFORMAT variable from individual
  ports

With hat:	portmgr
@
text
@d10 1
@


1.110
log
@Change a dependency from teTeX-base to the smaller texinfo.
@
text
@a124 7
# fixup packing list (no libs without version numbers in aout case)
.if ${PORTOBJFORMAT} == "aout"
	${ECHO_MSG} "Fixing packing list for a.out"
	${MV} ${TMPPLIST} ${TMPPLIST}.new
	${GREP} -v '\.so$$' ${TMPPLIST}.new > ${TMPPLIST}
	${RM} ${TMPPLIST}.new
.endif
@


1.109
log
@Include new documentation dependencies.

Conditionally build and install documentation using a new knob.
@
text
@d37 1
a37 1
BUILD_DEPENDS+=		texi2dvi:${PORTSDIR}/print/teTeX-base \
@


1.108
log
@Update 1.5.1 --> 1.6

Security:	MITKRB5-SA-2006-002,  MITKRB5-SA-2006-003, and
		US-CERT Technical Cyber Security Alert TA07-009B
@
text
@d34 1
d36 3
d40 1
d103 1
d106 1
d109 1
d111 1
a111 2
.if defined(WANT_HTML) && ${WANT_HTML} == "YES"
	@@${MKDIR} ${PREFIX}/share/doc/krb5
d119 1
d123 2
@


1.107
log
@Register conflicts for srp in security/heimdal, security/krb4, and securiry/krb5.
Bump PORTREVISION accordingly.

PR:		ports/105442
Submitted by:	Ruben van Staveren <ruben@@verweg.com>
Reviewed by:	shaun@@, cy@@
Approved by:	flz (mentor)
@
text
@d9 1
a9 2
PORTVERSION=		1.5.1
PORTREVISION=		1
d67 5
a71 2
HTML_DOCS=		admin.html user-guide.html install.html
HTML_OUTDIRS=		krb5-admin krb5-install
d98 2
a99 6
	@@(cd ${WRKSRC}/../doc && \
	${MAKE} ${INFO:S/$/.info/})
.if defined(WANT_HTML) && ${WANT_HTML} == "YES"
	@@(cd ${WRKSRC}/../doc && \
	${MAKE} ${HTML_DOCS})
.endif
a108 8
.for htmldir in ${HTML_OUTDIRS}
	@@${MKDIR} ${PREFIX}/share/doc/krb5/${htmldir}
	for html in ${HTML_DOC_DIR}/${htmldir}/*; do \
		${INSTALL_MAN} $${html} ${PREFIX}/share/doc/krb5/${htmldir}; \
		${ECHO_CMD} share/doc/krb5/${htmldir}/`${BASENAME} $${html}` >> ${TMPPLIST}; \
	done
	${ECHO_CMD} @@dirrm share/doc/krb5/${htmldir} >> ${TMPPLIST}
.endfor
@


1.106
log
@Update krb5-1.5 --> krb5-1.5.1

Submitted by:	Paul Vixie <paul@@vix.com>
@
text
@d10 1
d21 1
a21 1
CONFLICTS=		krb4-[0-9]* heimdal-[0-9]*
d27 1
a27 1
INSTALLS_SHLIB=		yes
@


1.105
log
@Cause the KDC to also listen on the loopback interface. This is useful
for situations when the database is replicated to a secure environment
that does not have network access, by hand.
@
text
@d9 1
a9 2
PORTVERSION=		1.5
PORTREVISION=		1
@


1.104
log
@Update 1.4.3 --> 1.5
@
text
@d10 1
@


1.103
log
@Remove USE_REINPLACE from all categories starting with S
@
text
@d9 1
a9 1
PORTVERSION=		1.4.3
d11 1
a11 1
MASTER_SITES=		http://web.mit.edu/kerberos/dist/krb5/${PORTVERSION:C/\.[0-9]*$/&/:C/\.[0-9]*$//}/
d28 2
a29 2
CONFIGURE_ARGS?=	--enable-shared --enable-static
CONFIGURE_ARGS+=	--disable-thread-support
d52 1
a52 1
MAN1+=			v4rcp.1
@


1.102
log
@Conversion to a single libtool environment.

Approved by:	portmgr (kris)
@
text
@a23 1
USE_REINPLACE=		yes
@


1.101
log
@Remove install-info from Makefile, it's automatically done when INFO is defined
@
text
@d28 1
a28 2
GNU_CONFIGURE=		yes
USE_AUTOTOOLS=	libtool:15
@


1.100
log
@Add INFO macro
@
text
@a49 3
INFO_FILES=		krb425.info krb5-admin.info krb5-install.info \
			krb5-user.info

d98 1
a98 1
	${MAKE} ${INFO_FILES})
d123 2
a124 5
.for info in ${INFO_FILES}
	${INSTALL_MAN} ${WRKSRC}/../doc/${info} ${PREFIX}/info/${info}
.endfor
.for info in ${INFO_FILES:M*.info}
	install-info ${PREFIX}/info/${info} ${PREFIX}/info/dir
@


1.99
log
@Improve runtime performance on Sparc 64 platform.
@
text
@d37 2
@


1.98
log
@Fix the Sparc 64 build.
@
text
@d32 2
a33 1
CONFIGURE_ENV=		INSTALL="${INSTALL}" YACC=/usr/bin/yacc
a74 6
.if ${ARCH} == "sparc64"
CONFIGURE_ENV+=		CFLAGS="-fPIC ${CFLAGS}"
.else
CONFIGURE_ENV+=		CFLAGS="${CFLAGS}"
.endif

@


1.97
log
@Flag Sparc64 build as broken.
@
text
@d32 1
a32 2
CONFIGURE_ENV=		INSTALL="${INSTALL}" YACC=/usr/bin/yacc \
			CFLAGS="${CFLAGS}"
d75 3
a77 1
BROKEN=		Sparc64 link error
d79 1
@


1.96
log
@Update 1.4.2 --> 1.4.3
@
text
@d75 3
@


1.95
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
@d9 1
a9 2
PORTVERSION=		1.4.2
PORTREVISION=		2
@


1.94
log
@Fix FreeBSD-4.11 build problem

PR:		87888
@
text
@d30 1
a30 1
USE_LIBTOOL_VER=	15
@


1.93
log
@Fix makeinfo problem under FreeBSD-6.0.
@
text
@d10 1
a10 1
PORTREVISION=		1
a75 4
.if ${OSVERSION} < 501000
BROKEN=			Does not build
.endif

@


1.92
log
@Makeinfo 4.8 problem.
@
text
@d10 1
d49 2
a50 2
INFO_FILES=		krb425.info krb5-admin.info krb5-admin.info-3 \
			krb5-install.info krb5-user.info
d76 1
a76 1
.if ${OSVERSION} < 501000 || ${OSVERSION} > 600000
@


1.91
log
@Relocate BROKEN conditional.
@
text
@d48 2
a49 3
INFO_FILES=		krb425.info krb5-admin.info krb5-admin.info-1 \
			krb5-admin.info-2 krb5-admin.info-3 krb5-install.info \
			krb5-install.info-1 krb5-install.info-2 krb5-user.info
d75 1
a75 1
.if ${OSVERSION} < 501000
@


1.90
log
@Fails to build on 4.11.
@
text
@a19 4
.if ${OSVERSION} < 501000
BROKEN=			Does not build
.endif

d76 4
@


1.89
log
@BROKEN: Does not build
@
text
@d20 1
d22 1
@


1.88
log
@- Set CONFLICTS with heimdal and krb4
- Portlint

PR:		ports/85027
Submitted by:	lofi
Approved by:	maintainer timeout (cy, 7 weeks)
@
text
@d20 2
@


1.87
log
@Update 1.4.1 --> 1.4.2
@
text
@d12 1
a13 1
DISTNAME=		${PORTNAME}-${PORTVERSION}-signed
d20 2
@


1.86
log
@Fix:

- MIT KRB5 Security Advisory 2005-002: Buffer overflow, heap corruption in KDC

- MIT KRB5 Security Advisory 2005-003: Double free in krb5_recvauth
@
text
@d9 1
a9 2
PORTVERSION=		1.4.1
PORTREVISION=		1
@


1.85
log
@Update 1.4 --> 1.4.1.

Package list fixup when KRB5_KRB4_COMPAT is not specified.
@
text
@d10 1
@


1.84
log
@Packing list fixups.

Noticed by:	kris
Pointy hat to:	yours truly
@
text
@d9 1
a9 1
PORTVERSION=		1.4
d11 1
a11 1
MASTER_SITES=		http://web.mit.edu/kerberos/dist/krb5/${PORTVERSION}/
d60 4
a63 1
			k5srvutil.8 krb524d.8
@


1.83
log
@Remove NDEBUG flag as it fails to build at some installations.
@
text
@d50 3
a52 3
MAN1=			krb5-send-pr.1 kpasswd.1 klist.1 kinit.1 \
			kdestroy.1 ksu.1 sclient.1 rsh.1 rcp.1 rlogin.1     \
			ftp.1 telnet.1 kerberos.1 kvno.1 compile_et.1
d60 1
a60 1
			k5srvutil.8
@


1.82
log
@Update web page URL.
@
text
@d31 1
a31 1
			CFLAGS="${CFLAGS} -DNDEBUG"
@


1.81
log
@Update 1.3.6 --> 1.4
@
text
@d21 1
a21 1
KERBEROSV_URL=		http://web.mit.edu/network/kerberos-form.html
@


1.80
log
@Implement a fix for MITKRB5-SA-2005-001: buffer overflows in telnet client.

Approved by:    portsmgr (krion)
Obtained from:  Tom Yu <tlyu@@mit.edu> on kerberos-announce
@
text
@d9 1
a9 2
PORTVERSION=		1.3.6
PORTREVISION=		1
d11 1
a11 1
MASTER_SITES=		http://web.mit.edu/kerberos/dist/krb5/${PORTVERSION:C/\.[0-9]*$//}/
d27 3
a29 1
CONFIGURE_ARGS?=	--enable-shared
d31 1
a31 1
			CFLAGS="${CFLAGS}"
d50 1
a50 1
MAN1=			krb5-send-pr.1 kpasswd.1 v5passwd.1 klist.1 kinit.1 \
@


1.79
log
@Update 1.3.5 --> 1.3.6
@
text
@d10 1
@


1.78
log
@Crypto-publish.org no longer maintains a current release of MIT-KRB5.
Remove code to alternatively fetch from that site.
@
text
@d9 1
a9 1
PORTVERSION=		1.3.5
d13 1
d60 1
a60 1
WRKSRC=			${WRKDIR}/${DISTNAME}/src
d63 1
a63 1
HTML_DOC_DIR=		${WRKDIR}/${DISTNAME}/doc
a68 1
.if defined(USE_KRB5_TARBALL) && ${USE_KRB5_TARBALL} == "MIT"
d70 2
a71 2
	@@${TAR} -C ${WRKDIR} -xzf ${WRKDIR}/${DISTNAME}.tar.gz
	@@${RM} ${WRKDIR}/${DISTNAME}.tar.gz ${WRKDIR}/${DISTNAME}.tar.gz.asc
d74 2
a75 2
		${CHMOD} -R ug-s,go-w ${WRKDIR}/${DISTNAME}; \
		${CHOWN} -R 0:0 ${WRKDIR}/${DISTNAME}; \
a77 1
.endif
@


1.77
log
@Update 1.3.4 --> 1.3.5
@
text
@a10 12
# USE_TARBALL tells the port that the user has fetched the source
# directly from MIT or crypto-publish.org (CRYTPO-PUBLISH).
USE_KRB5_TARBALL?=		MIT

.if defined(USE_KRB5_TARBALL) && ${USE_KRB5_TARBALL} == "CRYPTO-PUBLISH"
# XXX crypto-publish.org still distributes krb5-1.3.1
PORTVERSION=		1.3.1
PORTREVISION=		5
# XXX ---
MASTER_SITES=		http://www.crypto-publish.org/dist/mit-kerberos5/
EXTRACT_SUFX=		.tar.gz
.else
a12 1
.endif
@


1.76
log
@Fix MIT krb5 Security Advisory 2004-002: double-free vulnerabilities
in KDC and libraries

Heads-up by:	nectar
@
text
@d9 1
a9 2
PORTVERSION=		1.3.4
PORTREVISION=		2
d23 1
a23 1
MASTER_SITES=		http://web.mit.edu/kerberos/www/dist/krb5/${PORTVERSION:C/\.[0-9]*$//}/
@


1.75
log
@Fix MITKRB5-SA-2004-003: ASN.1 decoder denial-of-service.

Heads-up by:	nectar
@
text
@d10 1
a10 1
PORTREVISION=		1
@


1.74
log
@Update KRB5 1.3.3 --> 1.3.4
@
text
@d10 1
@


1.73
log
@Updated patch for MITKRB5-SA-2004-001: krb5_aname_to_localname buffer overrun.

Obtained from:	Tom Yu <tlyu@@mit.edu> on BUGTRAQ
@
text
@d9 1
a9 2
PORTVERSION=		1.3.3
PORTREVISION=		2
@


1.72
log
@Fix MITKRB5-SA-2004-001: buffer overflows in krb5_aname_to_localname

Obtained from:	Tom Yu <tlyu@@MIT.EDU> on kerberos-announce list
@
text
@d10 1
a10 1
PORTREVISION=		1
d19 1
a19 1
PORTREVISION=		4
@


1.71
log
@Update 1.3.2 --> 1.3.3
@
text
@d10 1
d19 1
a19 1
PORTREVISION=		3
@


1.70
log
@- Update MIT KRB5 1.3.1 --> 1.3.2. (As crypto-publish.org does not have
  1.3.2 yet, when USE_KRB5_TARBALL=CRYPTO-PUBLISH is specified, 1.3.1
  will be installed.)

- Add SIZE to distinfo
@
text
@d9 1
a9 1
PORTVERSION=		1.3.2
@


1.69
log
@Use ports infrastructure provided PERL5 variable to locate Perl
interpreter.
@
text
@d9 1
a9 2
PORTVERSION=		1.3.1
PORTREVISION=		3
d16 4
@


1.68
log
@Define unique LATEST_LINK.

Reported by:	kris
@
text
@d91 1
a91 2
.if ${OSVERSION} >= 500000
	@@${REINPLACE_CMD} -e '1s,^#!\/usr\/athena,#!${LOCALBASE},' \
a92 4
.else
	@@${REINPLACE_CMD} -e '1s,^#!\/usr\/athena,#!\/usr,' \
		${WRKSRC}/../doc/man2html
.endif
@


1.67
log
@Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 1)
@
text
@d29 1
@


1.66
log
@Change to src/include/netdb.h 1.31 caused a compile error. This
commit fixes that error.

Reported by:	bento
@
text
@d10 1
a10 1
PORTREVISION=		2
@


1.65
log
@Fix crypto-publish extract.
@
text
@d10 1
a10 1
PORTREVISION=		1
@


1.64
log
@Add missing slash (/) to the end of MIT MASTER_SITE.
@
text
@a51 2
# Set USE_MIT_TARBALL appropriately in /etc/make.conf if you like

d77 1
a77 18
.if defined(USE_MIT_TARBALL) && ${USE_MIT_TARBALL} == "YES"
do-fetch:
	@@if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then        \
	${ECHO} "";							\
	${ECHO} ">> Kerberos V contains encryption software and is";    \
	${ECHO} "   export restricted.  If you are not a USA or";       \
	${ECHO} "   Canadian resident, you cannot obtain Kerberos V";   \
	${ECHO} "   sources directly from MIT and must obtain the";     \
	${ECHO} "   source from crypto-publish.org by unsetting";       \
	${ECHO} "   USE_MIT_TARBALL or setting USE_MIT_TARBALL to NO."; \
	${ECHO} "";							\
	${ECHO} ">> The Kerberos V sources must be fetched manually.";  \
	${ECHO} "   Please visit ${KERBEROSV_URL}";                     \
	${ECHO} "   to download ${DISTNAME}${EXTRACT_SUFX} and place";  \
	${ECHO} "   it in ${DISTDIR}.  Then run make again.";           \
	${FALSE};							\
	fi

@


1.63
log
@MIT has removed the web form, downloads of MIT KRB5 can be automated.
Unfortunately MIT and crypto-publish.org distribute two distinctly
different tarballs and the user must select the source/format they
wish to fetch. MIT now becomes the default.
@
text
@d20 1
a20 1
MASTER_SITES=		http://web.mit.edu/kerberos/www/dist/krb5/${PORTVERSION:C/\.[0-9]*$//}
@


1.62
log
@1. Fix pkg-plist.

2. Fix build on -STABLE.

PR:		57128
@
text
@d12 3
a14 3
# USE_MIT_TARBALL tells the port that the user has fetched the source
# directly from MIT rather than the default crypto-publish.org.
USE_MIT_TARBALL?=	NO
d16 1
a16 4
.if defined(USE_MIT_TARBALL) && ${USE_MIT_TARBALL} == "YES"
MASTER_SITES=		# manual download
EXTRACT_SUFX=		.tar
.else
d19 3
@


1.61
log
@Mark BROKEN (see bento logs).  These ports are scheduled for removal
after Feb 2 2004 if they are still broken at that time and no fixes
have been submitted by PR.
@
text
@d10 1
a26 2
BROKEN=			"Does not build on 4.x, broken pkg-plist on 5.x; will be removed after Feb 2"

d30 1
d60 1
a60 1
			ftp.1 telnet.1 kerberos.1 kvno.1
d67 2
a68 1
			kshd.8 klogind.8 login.krb5.8 ftpd.8 telnetd.8
d77 2
d108 9
a131 2

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


1.60
log
@BROKEN: Broken pkg-plist
@
text
@d24 1
a24 1
COMMENT=	An authentication system developed at MIT, successor to Kerberos IV
d26 1
a26 1
BROKEN=		Broken pkg-plist
@


1.59
log
@The `man2html' script that krb5 uses is written in Perl.

Noticed by:	wollman
Approved by:	marcus (wearing his portsmgr hat)
@
text
@d26 2
@


1.58
log
@Crypto-publish.org is now distributing krb5-1.3.1.
@
text
@d30 1
@


1.57
log
@Update 1.3 --> 1.3.1
@
text
@d13 1
a13 6

# XXX  At the present time crypto-publish.org does not have krb5-1.3.1
# XXX  We must use the MIT copy instead, requiring the user to manually
# XXX  fetch the distfile.  As soon as crypto-publish.org distributes
# XXX  krb5-1.3, USE_MIT_TARBALL should be changed back to NO.
USE_MIT_TARBALL?=	YES
@


1.56
log
@Update 1.2.8 --> 1.3
@
text
@d9 1
a9 1
PORTVERSION=		1.3
d14 1
a14 1
# XXX  At the present time crypto-publish.org does not have krb5-1.3.
@


1.55
log
@Put SONAME entries into shared libraries.

Submitted by:	wollman
@
text
@d9 1
a9 2
PORTVERSION=		1.2.8
PORTREVISION=		1
d13 7
a19 1
USE_MIT_TARBALL?=	NO
d37 3
a39 2
CONFIGURE_ARGS?=	--enable-shared --with-ccopts="${CFLAGS}"
CONFIGURE_ENV=		INSTALL="${INSTALL}" YACC=/usr/bin/yacc
d75 2
a76 4
HTML_DOCS=		admin.html install_foot.html user-guide.html          \
			admin_foot.html install_toc.html user-guide_foot.html \
			admin_toc.html krb425.html user-guide_toc.html        \
			install.html krb425_toc.html
d118 4
d129 11
a139 2
.for html in ${HTML_DOCS}
	${INSTALL_MAN} ${HTML_DOC_DIR}/${html} ${PREFIX}/share/doc/krb5
d142 1
@


1.54
log
@Change default for V4 compatibility to reflect best practices
for new installations.

Submitted by:	wollman
@
text
@d10 1
@


1.53
log
@Default is to fetch from crypto-publish.org. USA_RESIDENT replaced
by USE_MIT_TARBALL. Users can still fetch manually from MIT by
setting USE_MIT_TARBALL=YES.

Suggested by:	wollman
@
text
@d34 1
a34 1
KRB5_KRB4_COMPAT?=	YES
@


1.52
log
@Update 1.2.7 --> 1.2.8.
@
text
@d11 7
a17 1
.if defined(USA_RESIDENT) && ${USA_RESIDENT} == "NO"
a19 3
.else
MASTER_SITES=		# manual download
EXTRACT_SUFX=		.tar
d47 1
a47 1
# Set USA_RESIDENT appropriately in /etc/make.conf if you like
d73 1
a73 1
.if !defined(USA_RESIDENT) || ${USA_RESIDENT} == "YES"
d78 5
a82 3
	${ECHO} "   export restricted.  If you are not a USA resident,";\
	${ECHO} "   then you cannot obtain the Kerberos V sources from";\
	${ECHO} "   within the United States.";                         \
@


1.51
log
@Patches from:
  - MITKRB5-SA-2003-005:
       Buffer overrun and underrun in principal name handling

  - MITKRB5-SA-2003-004:
       Cryptographic weaknesses in Kerberos v4 protocol; KDC and realm
       compromise possible.

  - MITKRB5-SA-2003-003:
       Faulty length checks in xdrmem_getbytes may allow kadmind DoS.

  - Additional patches from RedHat.

Approved by:	kris (wearing his portmgr hat)
Obtained from:	MIT Website and Nalin Dahyabhai <nalin@@redhat.com>
@
text
@d9 1
a9 2
PORTVERSION=		1.2.7
PORTREVISION=		1
d12 2
a13 7
# XXX crypto-publish.org does not at this time have the krb5-1.2.7 tarball.
#     Use manual download until crypto-publish.org posts a copy of krb5-1.2.7
#     on their website.
# MASTER_SITES=		http://www.crypto-publish.org/dist/mit-kerberos5/
# EXTRACT_SUFX=		.tar.gz
MASTER_SITES=		# manual download
EXTRACT_SUFX=		.tar
@


1.50
log
@Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
@
text
@d10 1
@


1.49
log
@Remove RESTRICTED tag for crypto stuff.

Approved by:	kris (implicitly)
@
text
@d25 1
@


1.48
log
@Update 1.2.6 --> 1.2.7

Note:	Since crypto-publish.org does not yet have krb5-1.2.7 up on their
	website, fetch from their site has been temporarily disabled.
@
text
@a47 1
RESTRICTED=		"Crypto; export-controlled"
@


1.47
log
@o Rollback PORTCOMMENT modifications while this feature's implementation
  is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
@
text
@d9 1
a9 2
PORTVERSION=		1.2.6
PORTREVISION=		1
d12 7
a18 2
MASTER_SITES=		http://www.crypto-publish.org/dist/mit-kerberos5/
EXTRACT_SUFX=		.tar.gz
@


1.46
log
@Use PORTCOMMENT.
@
text
@a21 2
PORTCOMMENT=		An authentication system developed at MIT, successor to Kerberos IV

@


1.45
log
@Fix pkg-plist when KRB5_KRB4_COMPAT=NO is specified.

Submitted by:	Craig Boston <craig@@olyun.gank.org>
@
text
@d22 2
@


1.44
log
@Circumvent the use of bison, use FreeBSD yacc instead.

PR:		44446
@
text
@d35 3
d53 4
a56 1
			v4rcp.1 ftp.1 telnet.1 kerberos.1 kvno.1
@


1.43
log
@Fix buffer overflow in kadmind4 (remote user can gain root access to
KDC host).

Obtained from:	Tom Yu <tlyu@@mit.edu> on kerberos-announce mailing list,
		MIT krb5 Security Advisory 2002-002
@
text
@d29 1
a29 1
CONFIGURE_ENV=		INSTALL="${INSTALL}"
@


1.42
log
@Crypto-publish.org has finally put krb5-1.2.6 up on their site. The
patch reimplements code to fetch MIT Kerberos from their site when
USA_RESIDENT=NO.

Approved by:	kris
@
text
@d10 1
@


1.41
log
@Update 1.2.5 --> 1.2.6

Note:	Since crypto-publish.org does not yet have krb5-1.2.6 up on their
	website, fetch from their site has been temporarily disabled.
@
text
@d12 2
a13 7
# XXX crypto-publish.org does not at this time have the krb5-1.2.6 tarball.
#     Use manual download until crypto-publish.org posts a copy of krb5-1.2.6
#     on their website.
# MASTER_SITES=		http://www.crypto-publish.org/dist/mit-kerberos5/
# EXTRACT_SUFX=		.tar.gz
MASTER_SITES=		# manual download
EXTRACT_SUFX=		.tar
@


1.40
log
@Fix extract for non-root users.

Noticed by:	nectar
Pointy hat to:	cy
@
text
@d9 1
a9 2
PORTVERSION=		1.2.5
PORTREVISION=		2
d12 7
a18 2
MASTER_SITES=		http://www.crypto-publish.org/dist/mit-kerberos5/
EXTRACT_SUFX=		.tar.gz
@


1.39
log
@Correct Sun RPC buffer overflow.
<URL:http://online.securityfocus.com/archive/1/285308>
<URL:http://bvlive01.iss.net/issEn/delivery/xforce/alertdetail.jsp?oid=20823>
@
text
@d84 6
a89 2
	@@${CHMOD} -R ug-s,go-w ${WRKDIR}/${DISTNAME}
	@@${CHOWN} -R 0:0 ${WRKDIR}/${DISTNAME}
@


1.38
log
@README.FreeBSD fix.

PR:		39936
Submitted by:	Matthew West <mwest@@uct.ac.za>
@
text
@d10 1
a10 1
PORTREVISION=		1
@


1.37
log
@Fix problem with V4 keys.  We should get KRB5_KDB_NO_MATCHING_KEY, not
ENOENT.  Obtained from /cvs/krbdev/krb5/src/kdc/kdc_preauth.c,v rev 5.31
in MIT KRB5 tree (fix etype info; wrong termination condition used in
get_etype_info).

Obtained from:	Sam Hartman <hartmans@@mit.edu>
@
text
@d124 1
a124 1
	@@${SED} "s%\${PREFIX}%${PREFIX}%" ${FILESDIR} > ${PREFIX}/share/doc/krb5/README.FreeBSD
@


1.36
log
@Now that www.crypto-publish.org has put the latest version of MIT KRB5
up on their website again, reimplementation of the Makefile patch that
fetched the the tarball from their site for users outside of the US
(originally in Makefile rev 1.29).  USA_RESIDENT=YES still supports
manual fetching from web.mit.edu.
@
text
@d10 1
@


1.35
log
@Upgrade 1.2.4 --> 1.2.5
@
text
@d11 4
d16 2
a23 1
EXTRACT_SUFX=		.tar
d64 1
d85 1
@


1.34
log
@www.crypto-publish.org does not have krb5-1.2.4.{tar,tar.Z,tar.gz,tar.bz2}.

Reported by:	bento
@
text
@d9 1
a9 1
PORTVERSION=		1.2.4
@


1.33
log
@MIT currently distributes their KRB5 distribution in a tarball (.tar)
that contains the distribution itself, in a tar.gz file, and a signature
certificate, contained in a detached .tar.gz.asc file.  Prior to this
patch, users installing MIT KRB5 had to extract the tarball into
/usr/ports/distfiles, then proceed with the installation.  This caused
confusion among those installing the port.  This patch addresses the
problem by extracting the .tar.gz file from the tarball, then unpacking
the .tar.gz file before continuing with the build.
@
text
@a26 4
.if defined(USA_RESIDENT) && ${USA_RESIDENT} == "NO"
MASTER_SITES=          http://www.crypto-publish.org/dist/mit-kerberos5/
.endif

a58 1
.if !defined(USA_RESIDENT) || ${USA_RESIDENT} == "YES"
a72 1
.endif
@


1.32
log
@Update 1.2.3 --> 1.2.4
@
text
@d18 1
d79 6
@


1.31
log
@Update 1.2.2 -> 1.2.3
@
text
@d9 1
a9 1
PORTVERSION=		1.2.3
@


1.30
log
@In order to make the MIT KRB5 port compatible with FreeBSD, the port
now makes use of login.conf and login.access.  This is performed by
using FreeBSD login(1) instead of MIT KRB5 login.krb5(8).

The MIT KRB5 login.krb5(8) can still be used by specifying "-L" in
the klogind and telnetd arguments in inetd.conf.  This is documented
in a new file called README.FreeBSD.

Reviewed by:	nectar
@
text
@d9 1
a9 2
PORTVERSION=		1.2.2
PORTREVISION=		5
@


1.29
log
@= Modify `ksu' so that it uses the login cap database.  Michael Allman
  <msa@@dinosauricon.com> provided the original patches.

= For users outside of the US, point to www.crypto-publish.org for the
  distfiles.  It was Chris Knight <chris@@aims.com.au>'s idea.

Submitted by:	Cy.Schubert@@uumail.gov.bc.ca (MAINTAINER)
PR:		ports/29865
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/krb5/Makefile,v 1.28 2001/07/24 19:19:13 nectar Exp $
d10 1
a10 1
PORTREVISION=		4
d14 1
a14 1
MAINTAINER=		Cy.Schubert@@uumail.gov.bc.ca
d116 10
@


1.28
log
@New maintainer:	Cy Schubert <Cy.Schubert@@uumail.gov.bc.ca>
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/krb5/Makefile,v 1.27 2001/07/24 15:29:39 nectar Exp $
d10 1
a10 1
PORTREVISION=		3
d27 4
d63 1
d78 1
@


1.27
log
@Bump PORTREVISION.
Update telnetd vulnerability fixes from FreeBSD.
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/krb5/Makefile,v 1.26 2001/07/20 16:53:31 nectar Exp $
d14 1
a14 1
MAINTAINER=		nectar@@FreeBSD.org
@


1.26
log
@Merge telnetd vulnerability fix from FreeBSD.

Submitted by:	Cy Schubert <Cy.Schubert@@uumail.gov.bc.ca>
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/krb5/Makefile,v 1.25 2001/04/27 18:16:58 nectar Exp $
d10 1
a10 1
PORTREVISION=		2
@


1.25
log
@Bump PORTREVISION for ftpd buffer overflow fix.
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/krb5/Makefile,v 1.24 2001/03/02 17:33:55 nectar Exp $
d10 1
a10 1
PORTREVISION=		1
@


1.24
log
@Update 1.2.1 -> 1.2.2
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/krb5/Makefile,v 1.23 2001/01/10 15:27:00 nectar Exp $
d10 1
@


1.23
log
@Bump PORTREVISION for previous commit (fix for _PATH_NOLOGIN).

Reminded by:	kris
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/krb5/Makefile,v 1.22 2000/06/30 17:41:24 nectar Exp $
d9 1
a9 2
PORTVERSION=		1.2.1
PORTREVISION=		1
a11 1
EXTRACT_SUFX=		.tar
a71 19

# the distfile is actually a tar of three compressed tars and their
# signatures
do-extract:
	@@${RM} -rf ${WRKDIR}
	@@${MKDIR} ${WRKDIR}
	@@(cd ${WRKDIR} && ${TAR} -xf ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX})
	@@for f in crypto doc src; do					\
	cd ${WRKDIR} &&							\
	${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${DISTNAME}.$$f.tar.gz    \
		${EXTRACT_AFTER_ARGS} &&				\
	${RM} ${DISTNAME}.$$f.tar.gz ${DISTNAME}.$$f.tar.gz.asc;	\
	done
.if !defined(EXTRACT_PRESERVE_OWNERSHIP)
	@@if [ `id -u` = 0 ]; then \
		${CHMOD} -R ug-s ${WRKDIR}; \
		${CHOWN} -R 0:0 ${WRKDIR}; \
	fi
.endif
@


1.22
log
@Update 1.2 -> 1.2.1.  From the announcement:

  The MIT Kerberos Team announces the availibility of MIT Kerberos 5
  Release 1.2.1.  This is primarily a bugfix release.  Changes include:

  * A bug in the gssapi library that prevented kadmin clients from
    working has been fixed.  For some reason this was not caught during
    beta testing.

  * login.c now correctly sets the default ccache name.

  * A memory leak in conv_princ.c has been fixed.
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/krb5/Makefile,v 1.21 2000/06/24 02:49:07 nectar Exp $
d10 1
@


1.21
log
@Oops, had a bogus PORTVERSION/DISTNAME from when I was testing
1.2-beta4.
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/krb5/Makefile,v 1.20 2000/06/24 01:48:09 nectar Exp $
d9 1
a9 1
PORTVERSION=		1.2
@


1.20
log
@Update 1.1.1 -> 1.2
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/krb5/Makefile,v 1.19 2000/06/16 21:51:53 asami Exp $
d9 1
a9 2
PORTVERSION=		1.2b4
DISTNAME=		${PORTNAME}-1.2
@


1.19
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/krb5/Makefile,v 1.18 2000/06/16 08:46:57 sobomax Exp $
d9 2
a10 1
PORTVERSION=		1.1.1
@


1.18
log
@Fourth round of INSTALLS_SHLIBS conversion.
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/krb5/Makefile,v 1.17 2000/04/09 18:29:49 cpiazza Exp $
d20 1
a20 1
INSTALLS_SHLIBS=		yes
@


1.17
log
@Update with the new PORTNAME/PORTVERSION variables
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/krb5/Makefile,v 1.16 2000/01/16 19:10:50 nectar Exp $
d20 1
a107 1
	${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
@


1.16
log
@Update 1.1 -> 1.1.1
@
text
@a1 1
# Version required:			1.0.5
d5 1
a5 1
# $FreeBSD: ports/security/krb5/Makefile,v 1.15 1999/10/04 14:32:21 nectar Exp $
d8 2
a9 1
DISTNAME=		krb5-1.1.1
@


1.15
log
@Update 1.0.6 -> 1.1
@
text
@d6 1
a6 1
# $FreeBSD$
d9 1
a9 1
DISTNAME=		krb5-1.1
@


1.14
log
@FreeBSD.ORG -> FreeBSD.org

Prompted by PR:  13476, 13477
Submitted by:  KATO Tsuguru
@
text
@d6 1
a6 1
# $FreeBSD: ports/security/krb5/Makefile,v 1.13 1999/08/31 01:51:12 peter Exp $
d9 1
a9 1
DISTNAME=		krb5-1.0.6
d11 2
a12 4
MASTER_SITES=		# empty here.  See below for real setting.
DISTFILES=		krb5-1.0.6.src.tar.gz       \
			krb5-1.0.6.doc.tar.gz       \
			krb5-1.0.6.crypto.tar.gz
d18 1
a18 20
DIST_SUBDIR=		krb5

# Deal with "secret" subdirectory on the canonical MASTER_SITE.
# If USA_RESIDENT=YES then:
#	we fetch from the canonical MASTER_SITE in the USA,
#	and deal with a "secret" subdirectory whose name
#	we obtain by using an awk script to search a README file.
# If USA_RESIDENT=NO then:
#	we fetch from a MASTER_SITE outside the USA,
#	and we don't need to deal with any "secret" subdirectory,
#	so we use an empty awk script.
README_KRB5=		README.KRB5-1.0.6
.if defined(USA_RESIDENT) && ${USA_RESIDENT} == "YES"
MASTER_SITES=		ftp://athena-dist.mit.edu/pub/kerberos/
AWK_SCRIPT=		'(/1\) Change into the directory/) { if (match($$0, "dist/[0-9]+")) print substr($$0, RSTART, RLENGTH) }'
.else
MASTER_SITES=		ftp://ftp.internat.freebsd.org/pub/FreeBSD/distfiles/
AWK_SCRIPT=		''
.endif

d22 2
a40 31
pre-fetch:
.if !defined(KRB5_KRB4_COMPAT)
	@@${ECHO} "------------------------------------------------------"
	@@${ECHO} "Set KRB5_KRB4_COMPAT=NO if you do not want to build   "
	@@${ECHO} "the KerberosIV compatibility libraries.               "
	@@${ECHO} "------------------------------------------------------"
.endif
.if defined(USA_RESIDENT) && ${USA_RESIDENT} == "YES"
	@@${ECHO}
	@@${ECHO} ">> If you are a US resident, understand that this software"
	@@${ECHO} "   may be export restricted."
.elif defined(USA_RESIDENT) && ${USA_RESIDENT} == "NO"
	@@${ECHO}
	@@${ECHO} ">> If you are not a US resident, then you cannot obtain"
	@@${ECHO} "   Kerberos V source from a server within the United"
	@@${ECHO} "   States.  If automatic fetching of the sources from"
	@@${ECHO} "   a server outside the US fails then you will have to"
	@@${ECHO} "   find the sources elsewhere yourself, and put them"
	@@${ECHO} "   in ${_DISTDIR}."
.else
	@@${ECHO}
	@@${ECHO} ">> You must set the variable USA_RESIDENT to YES if you are"
	@@${ECHO} "   a United States resident, otherwise NO."
	@@${ECHO} "   If you are a US resident, understand that this software"
	@@${ECHO} "   may be export restricted."
	@@${ECHO} "   If you are not a US resident, then you cannot obtain"
	@@${ECHO} "   Kerberos V source from a server within the United"
	@@${ECHO} "   States."
	@@${FALSE}
.endif

d43 1
a43 1
			v4rcp.1 ftp.1 telnet.1 kerberos.1
a49 1
RECONF_COOKIE=		${WRKDIR}/.reconf_done
a56 1
SETUID_EXE=		bin/ksu bin/v4rcp
d58 33
a90 1
SUPERUSER?=	root
d92 7
a98 49
.include <bsd.port.pre.mk>

do-fetch:
	@@${MKDIR} ${_DISTDIR}
	@@(cd ${_DISTDIR};                 \
	if [ ! -f ${README_KRB5} ]; then  \
	for site in ${MASTER_SITES}; do   \
		${ECHO_MSG} ">> Attempting to fetch ${README_KRB5} from $${site}."; \
		if ${FETCH_CMD} ${FETCH_BEFORE_ARGS} $${site}/${README_KRB5} \
			${FETCH_AFTER_ARGS}; then \
			break;                    \
		fi                                \
	done; fi; ${DO_NADA})
	@@(if [ ! -f ${_DISTDIR}/${README_KRB5} ]; then \
		${ECHO_MSG} ">> Couldn't fetch it - please try to retrieve";  \
		${ECHO_MSG} ">> this port manually into ${_DISTDIR} and try"; \
		${ECHO_MSG} ">> again."; \
		${FALSE};                \
	fi)
	@@${MKDIR} ${_DISTDIR}
	@@(cd ${_DISTDIR}; \
	 secret=`${AWK} ${AWK_SCRIPT} < ${_DISTDIR}/${README_KRB5}`; \
	 for file in ${DISTFILES}; do \
		if [ ! -f $$file -a ! -f `${BASENAME} $$file` ]; then \
			if [ -h $$file -o -h `${BASENAME} $$file` ]; then \
				${ECHO_MSG} ">> ${_DISTDIR}/$$file is a broken symlink."; \
				${ECHO_MSG} ">> Perhaps a filesystem (most likely a CD) isn't mounted?"; \
				${ECHO_MSG} ">> Please correct this problem and try again."; \
				exit 1; \
			fi ; \
			${ECHO_MSG} ">> $$file doesn't seem to exist on this system."; \
			for site in ${MASTER_SITES}; do \
			    ${ECHO_MSG} ">> Attempting to fetch from $${site}/$${secret}."; \
				if ${FETCH_CMD} ${FETCH_BEFORE_ARGS} $${site}/$${secret}/$${file} ${FETCH_AFTER_ARGS}; then \
					continue 2; \
				fi \
			done; \
			${ECHO_MSG} ">> Couldn't fetch it - please try to retrieve this";\
			${ECHO_MSG} ">> port manually into ${_DISTDIR} and try again."; \
			exit 1; \
	    fi \
	 done)

pre-configure: ${RECONF_COOKIE}

${RECONF_COOKIE}:
	${SETENV} PORTOBJFORMAT="${PORTOBJFORMAT}" \
	${SH} -c 'cd ${WRKSRC}/util/autoconf && ./configure && ${GMAKE} && cd ${WRKSRC} && ./util/reconf --force'
	${TOUCH} ${RECONF_COOKIE}
d104 2
a106 5
# XXX Not sure why tmac.doc is installed here -- I don't think
#     we need it.  I should patch the distribution to not install
#     it, I think.
	@@${RM} -f ${PREFIX}/man/man1/tmac.doc
# shared libs
a114 4
# fixup setuid executables
.for setuid in ${SETUID_EXE}
	${CHOWN} ${SUPERUSER} ${PREFIX}/${setuid}
.endfor
a130 3

# XXX deal with these patches:
# patch-aw
@


1.13
log
@$Id$ -> $FreeBSD$
@
text
@d4 1
a4 1
# Whom:					nectar@@FreeBSD.ORG
d6 1
a6 1
# $FreeBSD$
d16 1
a16 1
MAINTAINER=		nectar@@FreeBSD.ORG
@


1.12
log
@expr -> ${EXPR}
mv   -> ${MV}
rm   -> ${RM}
tr   -> ${TR}
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.11 1999/08/22 18:59:53 mharo Exp $
@


1.11
log
@chmod -> ${CHMOD}
chown -> ${CHOWN}
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.10 1999/06/05 22:31:36 mharo Exp $
d170 1
a170 1
	@@rm -f ${PREFIX}/man/man1/tmac.doc
@


1.10
log
@Remove the test to create ${PREFIX}/share/info/dir as it is now
in bsd.port.mk and this helps to unify the check and install.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.9 1999/05/27 02:08:13 nectar Exp $
a109 1
CHOWN?=		chown
@


1.9
log
@Update 1.0.5 -> 1.0.6
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.8 1998/11/14 09:43:28 asami Exp $
a185 4
	if [ ! -f ${PREFIX}/info/dir ]; then \
		${SED} -ne '1,/Menu:/p' /usr/share/info/dir > \
			${PREFIX}/info/dir; \
	fi
@


1.8
log
@Use bsd.port.{pre,post}.mk to move PORTOBJFORMAT to front, or change
shell loops to make loops.  Use EXTRA_PKG_FLAGS to add install scripts
instead of adding it to PKG_FLAGS after bsd.port.mk.
@
text
@d4 1
a4 1
# Whom:					n@@nectar.com
d6 1
a6 1
# $Id: Makefile,v 1.7 1998/11/07 02:33:44 nectar Exp $
d9 1
a9 1
DISTNAME=		krb5-1.0.5
d12 3
a14 3
DISTFILES=		krb5-1.0.5.src.tar.gz       \
			krb5-1.0.5.doc.tar.gz       \
			krb5-1.0.5.crypto.tar.gz
d16 1
a16 1
MAINTAINER=		n@@nectar.com
d31 1
a31 1
README_KRB5=		README.KRB5-1.0.5
d205 3
@


1.7
log
@Build and install correctly for a.out and ELF.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.6 1998/09/27 11:34:28 markm Exp $
d113 2
d197 6
a202 6
	@@if test "${PORTOBJFORMAT}" = "aout"; then                   \
		${ECHO_MSG} "Fixing packing list for a.out";         \
		${MV} ${TMPPLIST} ${TMPPLIST}.new;                   \
		${GREP} -v '\.so$$' ${TMPPLIST}.new > ${TMPPLIST};   \
		${RM} ${TMPPLIST}.new;                               \
	fi
d204 1
a204 1
.include <bsd.port.mk>
@


1.6
log
@Honour CFLAGS.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.5 1998/09/14 19:23:42 markm Exp $
d157 2
a158 2
	@@(cd ${WRKSRC}/util/autoconf && ./configure && gmake)
	@@(cd ${WRKSRC} && ./util/reconf --force)
d171 1
a171 1
	${LDCONFIG} -m ${PREFIX}/lib
d194 7
@


1.5
log
@Generalise the fetch process, and allow those outside the USA to
fetch as well.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.4 1998/08/01 19:47:54 dima Exp $
d42 1
a42 1
CONFIGURE_ARGS?=	--enable-shared
@


1.4
log
@Honor KRB5_HOME variable.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.3 1998/07/27 22:45:10 dima Exp $
d11 1
a11 1
MASTER_SITES=		ftp://athena-dist.mit.edu/pub/kerberos/
d22 18
a52 1

d67 13
a79 1
.if !defined(USA_RESIDENT) || ${USA_RESIDENT} != "YES"
d87 1
a87 2
	@@${ECHO} "   States.  You will have to find the source elsewhere,"
	@@${ECHO} "   and put them in ${_DISTDIR}."
a100 2
README_KRB5=		README.KRB5-1.0.5
AWK_SCRIPT=		'(/1\) Change into the directory/) { if (match($$0, "dist/[0-9]+")) print substr($$0, RSTART, RLENGTH) }'
@


1.3
log
@Minor change to make it work with other awk versions (The one that OpenBSD
has for example)
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.2 1998/07/06 23:35:59 nectar Exp $
d30 5
@


1.2
log
@* Remove gmake from BUILD_DEPENDS; it is implied by USE_GMAKE.
* Allow override of CONFIGURE_ARGS.
* Control building of KerberosIV compatible libraries with
  KRB5_KRB4_COMPAT.
* Use ECHO, FALSE, and DO_NADA as appropriate.
* Combine pre-fetch and do-fetch targets.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.1.1.1 1998/07/06 02:28:39 nectar Exp $
d69 1
a69 1
AWK_SCRIPT=		'(/1) Change into the directory/) { if (match($$0, "dist/[0-9]+")) print substr($$0, RSTART, RLENGTH) }'
@


1.1
log
@Initial revision
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.5 1998/06/23 18:47:00 nectar Exp $
d18 1
a18 2
BUILD_DEPENDS=		gm4:${PORTSDIR}/devel/m4 \
			gmake:${PORTSDIR}/devel/gmake
d24 6
a29 1
CONFIGURE_ARGS=		--enable-shared
d38 7
a44 1
fetch-depends:
d46 10
a55 10
	@@echo
	@@echo ">> You must set the variable USA_RESIDENT to YES if you are"
	@@echo "   a United States resident, otherwise NO."
	@@echo "   If you are a US resident, understand that this software"
	@@echo "   may be export restricted."
	@@echo "   If you are not a US resident, then you cannot obtain"
	@@echo "   Kerberos V source from a server within the United"
	@@echo "   States.  You will have to find the source elsewhere,"
	@@echo "   and put them in ${_DISTDIR}."
	@@false
d69 1
a69 1
AWK_SCRIPT=		'/1) Change into the directory/ { if (match($$0, "dist/[0-9]+")) print substr($$0, RSTART, RLENGTH) }'
d79 4
a82 1
pre-fetch:
d84 3
a86 3
	@@(cd ${_DISTDIR}; \
	if [ ! -f ${README_KRB5} ]; then \
	for site in ${MASTER_SITES}; do \
d88 7
a94 6
		if ${FETCH_CMD} ${FETCH_BEFORE_ARGS} $${site}/${README_KRB5} ${FETCH_AFTER_ARGS}; then \
			break; \
		fi \
	done; fi); \
	if [ ! -f ${_DISTDIR}/${README_KRB5} ]; then \
		${ECHO_MSG} ">> Couldn't fetch it - please try to retrieve"; \
d97 2
a98 3
	fi

do-fetch:
d142 1
a142 1
.if defined(WANT_HTML) && ${WANT_HTML} == YES
d150 1
a150 1
	chown root ${PREFIX}/${setuid}
@


1.1.1.1
log
@New port, KerberosV 1.0.5.
PR:		ports/6870
Submitted by:	Jacques Vidrine <n@@nectar.com>
@
text
@@
