head	1.159;
access;
symbols
	RELEASE_8_3_0:1.144
	RELEASE_9_0_0:1.140
	RELEASE_7_4_0:1.122
	RELEASE_8_2_0:1.122
	RELEASE_6_EOL:1.120
	RELEASE_8_1_0:1.110
	RELEASE_7_3_0:1.106
	RELEASE_8_0_0:1.102
	RELEASE_7_2_0:1.101
	RELEASE_7_1_0:1.100
	RELEASE_6_4_0:1.100
	RELEASE_5_EOL:1.98
	RELEASE_7_0_0:1.94
	RELEASE_6_3_0:1.94
	PRE_XORG_7:1.81
	RELEASE_4_EOL:1.78
	RELEASE_6_2_0:1.78
	RELEASE_6_1_0:1.76
	RELEASE_5_5_0:1.76
	RELEASE_6_0_0:1.74
	RELEASE_5_4_0:1.72
	RELEASE_4_11_0:1.70
	RELEASE_5_3_0:1.65
	RELEASE_4_10_0:1.61
	RELEASE_5_2_1:1.58
	RELEASE_5_2_0:1.58
	RELEASE_4_9_0:1.58
	RELEASE_5_1_0:1.56
	RELEASE_4_8_0:1.55
	RELEASE_5_0_0:1.53
	RELEASE_4_7_0:1.53
	RELEASE_4_6_2:1.51
	RELEASE_4_6_1:1.51
	RELEASE_4_6_0:1.51
	RELEASE_5_0_DP1:1.48
	RELEASE_4_5_0:1.47
	RELEASE_4_4_0:1.40
	RELEASE_4_3_0:1.38
	RELEASE_4_2_0:1.35
	RELEASE_4_1_1:1.35
	RELEASE_4_1_0:1.34
	RELEASE_3_5_0:1.34
	RELEASE_4_0_0:1.29
	RELEASE_3_4_0:1.27
	RELEASE_3_3_0:1.24
	RELEASE_3_2_0:1.19
	RELEASE_3_1_0:1.15
	RELEASE_2_2_8:1.14
	RELEASE_3_0_0:1.10
	RELEASE_2_2_7:1.10
	sudo_1_5_4:1.10
	RELEASE_2_2_6:1.10
	RELEASE_2_2_5:1.7
	RELEASE_2_2_1:1.7
	RELEASE_2_2_2:1.7
	sudo_1_3_1_4:1.1.1.1
	ERICH:1.1.1;
locks; strict;
comment	@# @;


1.159
date	2013.03.01.02.47.25;	author svnexp;	state Exp;
branches;
next	1.158;

1.158
date	2013.01.24.18.51.44;	author svnexp;	state Exp;
branches;
next	1.157;

1.157
date	2013.01.16.15.59.00;	author svnexp;	state Exp;
branches;
next	1.156;

1.156
date	2013.01.01.20.37.00;	author svnexp;	state Exp;
branches;
next	1.155;

1.155
date	2012.11.17.06.01.21;	author svnexp;	state Exp;
branches;
next	1.154;

1.154
date	2012.10.11.13.36.47;	author wxs;	state Exp;
branches;
next	1.153;

1.153
date	2012.09.27.13.44.01;	author wxs;	state Exp;
branches;
next	1.152;

1.152
date	2012.09.27.02.57.50;	author wxs;	state Exp;
branches;
next	1.151;

1.151
date	2012.09.26.01.49.52;	author wxs;	state Exp;
branches;
next	1.150;

1.150
date	2012.08.17.18.25.23;	author wxs;	state Exp;
branches;
next	1.149;

1.149
date	2012.06.21.13.01.13;	author wxs;	state Exp;
branches;
next	1.148;

1.148
date	2012.06.19.01.38.09;	author wxs;	state Exp;
branches;
next	1.147;

1.147
date	2012.06.03.20.21.46;	author wxs;	state Exp;
branches;
next	1.146;

1.146
date	2012.05.21.15.39.02;	author wxs;	state Exp;
branches;
next	1.145;

1.145
date	2012.05.16.14.26.34;	author wxs;	state Exp;
branches;
next	1.144;

1.144
date	2012.03.13.15.25.11;	author wxs;	state Exp;
branches;
next	1.143;

1.143
date	2012.03.01.02.06.48;	author wxs;	state Exp;
branches;
next	1.142;

1.142
date	2012.02.06.02.47.25;	author wxs;	state Exp;
branches;
next	1.141;

1.141
date	2012.01.30.16.37.25;	author wxs;	state Exp;
branches;
next	1.140;

1.140
date	2011.11.09.17.18.43;	author wxs;	state Exp;
branches;
next	1.139;

1.139
date	2011.11.09.15.25.43;	author miwi;	state Exp;
branches;
next	1.138;

1.138
date	2011.11.01.14.13.05;	author wxs;	state Exp;
branches;
next	1.137;

1.137
date	2011.10.30.14.24.02;	author wxs;	state Exp;
branches;
next	1.136;

1.136
date	2011.10.30.02.49.59;	author wxs;	state Exp;
branches;
next	1.135;

1.135
date	2011.10.29.10.31.51;	author kwm;	state Exp;
branches;
next	1.134;

1.134
date	2011.10.23.15.00.38;	author wxs;	state Exp;
branches;
next	1.133;

1.133
date	2011.09.23.22.25.19;	author amdmi3;	state Exp;
branches;
next	1.132;

1.132
date	2011.09.07.01.30.26;	author wxs;	state Exp;
branches;
next	1.131;

1.131
date	2011.09.06.18.07.33;	author wxs;	state Exp;
branches;
next	1.130;

1.130
date	2011.08.02.21.35.36;	author wxs;	state Exp;
branches;
next	1.129;

1.129
date	2011.05.22.19.33.13;	author wxs;	state Exp;
branches;
next	1.128;

1.128
date	2011.05.13.14.30.35;	author wxs;	state Exp;
branches;
next	1.127;

1.127
date	2011.04.17.13.50.10;	author wxs;	state Exp;
branches;
next	1.126;

1.126
date	2011.04.11.19.43.39;	author wxs;	state Exp;
branches;
next	1.125;

1.125
date	2011.04.11.16.50.19;	author wxs;	state Exp;
branches;
next	1.124;

1.124
date	2011.04.11.12.47.00;	author wxs;	state Exp;
branches;
next	1.123;

1.123
date	2011.04.10.01.39.49;	author wxs;	state Exp;
branches;
next	1.122;

1.122
date	2011.01.19.18.32.50;	author wxs;	state Exp;
branches;
next	1.121;

1.121
date	2011.01.13.20.00.11;	author wxs;	state Exp;
branches;
next	1.120;

1.120
date	2010.10.24.23.34.11;	author wxs;	state Exp;
branches;
next	1.119;

1.119
date	2010.10.17.01.51.08;	author wxs;	state Exp;
branches;
next	1.118;

1.118
date	2010.09.14.00.25.14;	author wxs;	state Exp;
branches;
next	1.117;

1.117
date	2010.09.13.20.46.01;	author wxs;	state Exp;
branches;
next	1.116;

1.116
date	2010.09.07.18.13.23;	author wxs;	state Exp;
branches;
next	1.115;

1.115
date	2010.09.05.21.33.42;	author wxs;	state Exp;
branches;
next	1.114;

1.114
date	2010.08.22.12.32.26;	author wxs;	state Exp;
branches;
next	1.113;

1.113
date	2010.08.22.01.58.33;	author wxs;	state Exp;
branches;
next	1.112;

1.112
date	2010.08.16.13.06.02;	author wxs;	state Exp;
branches;
next	1.111;

1.111
date	2010.08.16.02.16.26;	author wxs;	state Exp;
branches;
next	1.110;

1.110
date	2010.07.05.16.34.01;	author wxs;	state Exp;
branches;
next	1.109;

1.109
date	2010.07.04.18.56.44;	author wxs;	state Exp;
branches;
next	1.108;

1.108
date	2010.06.03.00.11.48;	author wxs;	state Exp;
branches;
next	1.107;

1.107
date	2010.04.15.20.55.39;	author wxs;	state Exp;
branches;
next	1.106;

1.106
date	2010.03.01.17.48.13;	author wxs;	state Exp;
branches;
next	1.105;

1.105
date	2010.01.05.14.57.17;	author wxs;	state Exp;
branches;
next	1.104;

1.104
date	2010.01.04.21.28.22;	author wxs;	state Exp;
branches;
next	1.103;

1.103
date	2009.10.12.17.55.26;	author wxs;	state Exp;
branches;
next	1.102;

1.102
date	2009.06.12.00.46.49;	author tmclaugh;	state Exp;
branches;
next	1.101;

1.101
date	2009.02.06.19.35.45;	author tmclaugh;	state Exp;
branches;
next	1.100;

1.100
date	2008.08.21.06.18.21;	author rafan;	state Exp;
branches;
next	1.99;

1.99
date	2008.07.06.23.20.05;	author tmclaugh;	state Exp;
branches;
next	1.98;

1.98
date	2008.04.10.14.00.22;	author tmclaugh;	state Exp;
branches;
next	1.97;

1.97
date	2008.04.09.16.44.28;	author tmclaugh;	state Exp;
branches;
next	1.96;

1.96
date	2008.03.09.20.51.31;	author tmclaugh;	state Exp;
branches;
next	1.95;

1.95
date	2008.01.28.06.29.03;	author tmclaugh;	state Exp;
branches;
next	1.94;

1.94
date	2007.11.12.01.21.19;	author tmclaugh;	state Exp;
branches;
next	1.93;

1.93
date	2007.10.23.00.46.44;	author tmclaugh;	state Exp;
branches;
next	1.92;

1.92
date	2007.09.17.14.55.13;	author tmclaugh;	state Exp;
branches;
next	1.91;

1.91
date	2007.09.03.17.13.29;	author tmclaugh;	state Exp;
branches;
next	1.90;

1.90
date	2007.08.27.19.40.47;	author tmclaugh;	state Exp;
branches;
next	1.89;

1.89
date	2007.08.13.00.14.15;	author tmclaugh;	state Exp;
branches;
next	1.88;

1.88
date	2007.08.03.00.56.00;	author tmclaugh;	state Exp;
branches;
next	1.87;

1.87
date	2007.08.02.17.25.18;	author tmclaugh;	state Exp;
branches;
next	1.86;

1.86
date	2007.07.30.15.01.47;	author tmclaugh;	state Exp;
branches;
next	1.85;

1.85
date	2007.07.27.01.00.55;	author tmclaugh;	state Exp;
branches;
next	1.84;

1.84
date	2007.07.26.15.53.39;	author tmclaugh;	state Exp;
branches;
next	1.83;

1.83
date	2007.07.23.03.54.04;	author tmclaugh;	state Exp;
branches;
next	1.82;

1.82
date	2007.07.21.03.15.13;	author tmclaugh;	state Exp;
branches;
next	1.81;

1.81
date	2007.05.02.18.47.16;	author sat;	state Exp;
branches;
next	1.80;

1.80
date	2007.04.10.12.47.09;	author des;	state Exp;
branches;
next	1.79;

1.79
date	2007.03.23.09.47.31;	author linimon;	state Exp;
branches;
next	1.78;

1.78
date	2006.07.28.06.54.29;	author mharo;	state Exp;
branches;
next	1.77;

1.77
date	2006.04.28.19.34.09;	author sem;	state Exp;
branches;
next	1.76;

1.76
date	2005.12.17.22.12.41;	author pav;	state Exp;
branches;
next	1.75;

1.75
date	2005.11.14.04.20.02;	author mharo;	state Exp;
branches;
next	1.74;

1.74
date	2005.06.21.12.52.00;	author osa;	state Exp;
branches;
next	1.73;

1.73
date	2005.04.15.15.06.08;	author mharo;	state Exp;
branches;
next	1.72;

1.72
date	2005.02.07.18.46.42;	author mharo;	state Exp;
branches;
next	1.71;

1.71
date	2005.01.08.19.56.10;	author mharo;	state Exp;
branches;
next	1.70;

1.70
date	2004.11.30.01.22.23;	author mharo;	state Exp;
branches;
next	1.69;

1.69
date	2004.11.18.02.17.47;	author mharo;	state Exp;
branches;
next	1.68;

1.68
date	2004.11.17.11.50.07;	author roam;	state Exp;
branches;
next	1.67;

1.67
date	2004.11.16.08.38.38;	author mharo;	state Exp;
branches;
next	1.66;

1.66
date	2004.11.12.21.19.00;	author mharo;	state Exp;
branches;
next	1.65;

1.65
date	2004.09.19.05.31.33;	author mharo;	state Exp;
branches;
next	1.64;

1.64
date	2004.08.20.06.49.35;	author mharo;	state Exp;
branches;
next	1.63;

1.63
date	2004.07.20.08.30.14;	author edwin;	state Exp;
branches;
next	1.62;

1.62
date	2004.07.19.08.15.33;	author edwin;	state Exp;
branches;
next	1.61;

1.61
date	2004.01.30.03.31.51;	author mharo;	state Exp;
branches;
next	1.60;

1.60
date	2003.12.17.03.43.37;	author mharo;	state Exp;
branches;
next	1.59;

1.59
date	2003.12.16.23.30.41;	author mharo;	state Exp;
branches;
next	1.58;

1.58
date	2003.07.17.04.49.47;	author mharo;	state Exp;
branches;
next	1.57;

1.57
date	2003.07.17.04.47.51;	author mharo;	state Exp;
branches;
next	1.56;

1.56
date	2003.04.19.20.21.29;	author mharo;	state Exp;
branches;
next	1.55;

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

1.54
date	2003.02.13.08.26.38;	author roam;	state Exp;
branches;
next	1.53;

1.53
date	2002.09.14.19.27.18;	author mharo;	state Exp;
branches;
next	1.52;

1.52
date	2002.08.24.02.20.55;	author mharo;	state Exp;
branches;
next	1.51;

1.51
date	2002.04.25.17.20.23;	author mharo;	state Exp;
branches;
next	1.50;

1.50
date	2002.04.22.23.45.48;	author mharo;	state Exp;
branches;
next	1.49;

1.49
date	2002.04.22.15.30.41;	author mharo;	state Exp;
branches;
next	1.48;

1.48
date	2002.01.24.05.01.26;	author mharo;	state Exp;
branches;
next	1.47;

1.47
date	2002.01.17.17.00.36;	author mharo;	state Exp;
branches;
next	1.46;

1.46
date	2002.01.17.10.52.56;	author ijliao;	state Exp;
branches;
next	1.45;

1.45
date	2002.01.17.04.53.45;	author mharo;	state Exp;
branches;
next	1.44;

1.44
date	2002.01.16.20.53.56;	author mharo;	state Exp;
branches;
next	1.43;

1.43
date	2002.01.15.02.56.33;	author mharo;	state Exp;
branches;
next	1.42;

1.42
date	2002.01.09.17.04.15;	author mharo;	state Exp;
branches;
next	1.41;

1.41
date	2001.09.29.01.15.23;	author kuriyama;	state Exp;
branches;
next	1.40;

1.40
date	2001.06.24.12.39.55;	author mharo;	state Exp;
branches;
next	1.39;

1.39
date	2001.06.22.08.48.47;	author mharo;	state Exp;
branches;
next	1.38;

1.38
date	2001.03.07.10.31.39;	author mharo;	state Exp;
branches;
next	1.37;

1.37
date	2001.02.21.12.42.59;	author mharo;	state Exp;
branches;
next	1.36;

1.36
date	2001.02.14.20.19.43;	author lioux;	state Exp;
branches;
next	1.35;

1.35
date	2000.08.27.22.46.53;	author mharo;	state Exp;
branches;
next	1.34;

1.34
date	2000.06.10.04.31.37;	author mharo;	state Exp;
branches;
next	1.33;

1.33
date	2000.04.17.23.08.29;	author mharo;	state Exp;
branches;
next	1.32;

1.32
date	2000.04.09.18.30.39;	author cpiazza;	state Exp;
branches;
next	1.31;

1.31
date	2000.04.07.06.09.12;	author mharo;	state Exp;
branches;
next	1.30;

1.30
date	2000.03.20.23.53.40;	author mharo;	state Exp;
branches;
next	1.29;

1.29
date	2000.02.05.08.37.43;	author mharo;	state Exp;
branches;
next	1.28;

1.28
date	99.12.22.17.53.38;	author mharo;	state Exp;
branches;
next	1.27;

1.27
date	99.12.10.19.51.09;	author obrien;	state Exp;
branches;
next	1.26;

1.26
date	99.12.10.19.02.28;	author cpiazza;	state Exp;
branches;
next	1.25;

1.25
date	99.12.10.02.27.58;	author mharo;	state Exp;
branches;
next	1.24;

1.24
date	99.08.31.06.50.27;	author mharo;	state Exp;
branches;
next	1.23;

1.23
date	99.08.31.01.51.52;	author peter;	state Exp;
branches;
next	1.22;

1.22
date	99.08.28.04.12.07;	author mharo;	state Exp;
branches;
next	1.21;

1.21
date	99.08.07.21.10.50;	author mharo;	state Exp;
branches;
next	1.20;

1.20
date	99.06.07.19.21.19;	author mharo;	state Exp;
branches;
next	1.19;

1.19
date	99.04.22.15.54.57;	author mharo;	state Exp;
branches;
next	1.18;

1.18
date	99.03.29.00.52.35;	author billf;	state Exp;
branches;
next	1.17;

1.17
date	99.03.09.07.50.02;	author obrien;	state Exp;
branches;
next	1.16;

1.16
date	99.03.08.16.27.28;	author erich;	state Exp;
branches;
next	1.15;

1.15
date	99.01.10.18.33.36;	author steve;	state Exp;
branches;
next	1.14;

1.14
date	98.10.27.04.54.42;	author asami;	state Exp;
branches;
next	1.13;

1.13
date	98.10.26.13.20.23;	author vanilla;	state Exp;
branches;
next	1.12;

1.12
date	98.10.26.08.58.30;	author asami;	state Exp;
branches;
next	1.11;

1.11
date	98.10.23.14.29.31;	author vanilla;	state Exp;
branches;
next	1.10;

1.10
date	98.01.13.13.49.01;	author erich;	state Exp;
branches;
next	1.9;

1.9
date	97.11.12.03.24.41;	author obrien;	state Exp;
branches;
next	1.8;

1.8
date	97.10.22.08.46.03;	author obrien;	state Exp;
branches;
next	1.7;

1.7
date	96.11.26.15.27.10;	author erich;	state Exp;
branches;
next	1.6;

1.6
date	96.11.18.14.13.33;	author asami;	state Exp;
branches;
next	1.5;

1.5
date	96.11.12.00.05.35;	author obrien;	state Exp;
branches;
next	1.4;

1.4
date	96.09.06.13.41.02;	author erich;	state Exp;
branches;
next	1.3;

1.3
date	96.02.16.10.38.03;	author asami;	state Exp;
branches;
next	1.2;

1.2
date	96.02.05.16.37.40;	author erich;	state Exp;
branches;
next	1.1;

1.1
date	95.09.22.13.52.50;	author erich;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	95.09.22.13.52.50;	author erich;	state Exp;
branches;
next	;


desc
@@


1.159
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/313131
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: erich@@rrnet.com
# $FreeBSD: head/security/sudo/Makefile 313131 2013-03-01 01:57:28Z wxs $

PORTNAME=	sudo
DISTVERSION=	1.8.6p7
CATEGORIES=	security
MASTER_SITES=	${MASTER_SITE_SUDO}

MAINTAINER=	wxs@@FreeBSD.org
COMMENT=	Allow others to run commands as root

LICENSE=	sudo
LICENSE_NAME=	Sudo license
LICENSE_FILE=	${WRKSRC}/doc/LICENSE
LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept

MAKE_JOBS_SAFE=	yes
GNU_CONFIGURE=	yes
LDFLAGS+=	-lgcc
LDFLAGS+=	-lssp_nonshared

CONFIGURE_ARGS=	--sysconfdir=${PREFIX}/etc \
		--with-ignore-dot \
		--with-tty-tickets \
		--with-env-editor \
		--with-logincap \
		--with-long-otp-prompt

OPTIONS_DEFINE=	LDAP INSULTS DISABLE_ROOT_SUDO DISABLE_AUTH NOARGS_SHELL \
		AUDIT OPIE NLS
OPTIONS_DEFAULT=	AUDIT NLS

INSULTS_DESC=	Enable insults on failures
DISABLE_ROOT_SUDO_DESC=	Do not allow root to run sudo
DISABLE_AUTH_DESC=	Do not require authentication by default
NOARGS_SHELL_DESC=	Run a shell if no arguments are given
AUDIT_DESC=	Enable BSM audit support
OPIE_DESC=	Enable one-time passwords (no PAM support)

LOGFAC?=	local2
CONFIGURE_ARGS+=	--with-logfac=${LOGFAC}

# This is intentionally not an option.
# SUDO_SECURE_PATH is a PATH string that will override the user's PATH.
# ex: make SUDO_SECURE_PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"
.if defined(SUDO_SECURE_PATH)
CONFIGURE_ARGS+=	--with-secure-path="${SUDO_SECURE_PATH}"
.endif

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MNLS}
USE_GETTEXT=	yes
LDFLAGS+=	-L${LOCALBASE}/lib -lintl
CFLAGS+=	-I${LOCALBASE}/include
PLIST_SUB+=	NLS=""
.else
CONFIGURE_ARGS+=	--disable-nls
PLIST_SUB+=	NLS="@@comment "
.endif

.if ${PORT_OPTIONS:MINSULTS}
CONFIGURE_ARGS+=	--with-insults
CONFIGURE_ARGS+=	--with-all-insults
.endif

.if ${PORT_OPTIONS:MLDAP}
USE_OPENLDAP=	yes
CONFIGURE_ARGS+=	--with-ldap=${PREFIX}
SUDO_LDAP_CONF?=	ldap.conf
CONFIGURE_ARGS+=	--with-ldap-conf-file=${PREFIX}/etc/${SUDO_LDAP_CONF}
PLIST_SUB+=	LDAP=""
MAN5+=	sudoers.ldap.5
.else
PLIST_SUB+=	LDAP="@@comment "
.endif

.if ${PORT_OPTIONS:MDISABLE_ROOT_SUDO}
CONFIGURE_ARGS+=--disable-root-sudo
.endif

.if ${PORT_OPTIONS:MDISABLE_AUTH}
CONFIGURE_ARGS+=	--disable-authentication
.endif

.if ${PORT_OPTIONS:MNOARGS_SHELL}
CONFIGURE_ARGS+=	--enable-noargs-shell
.endif

.if ${PORT_OPTIONS:MAUDIT}
CONFIGURE_ARGS+=	--with-bsm-audit
.endif

.if ${PORT_OPTIONS:MOPIE}
CONFIGURE_ARGS+=	--with-opie
.else
CONFIGURE_ARGS+=	--with-pam
.endif

MAN5+=		sudoers.5
MAN8=		sudo.8 visudo.8 sudoreplay.8 sudo_plugin.8
MLINKS=		sudo.8 sudoedit.8

post-patch:
	@@${REINPLACE_CMD} -E '/install-(binaries|noexec):/,/^$$/ \
		s/\$$\(INSTALL\)/& ${STRIP}/;s/-b\~/-b ~/' \
		${WRKSRC}/src/Makefile.in
	@@${REINPLACE_CMD} -e 's,$$(srcdir)/sudoers2ldif $$(DESTDIR)$$(docdir),$$(srcdir)/sudoers2ldif $$(DESTDIR)$$(bindir),' ${WRKSRC}/plugins/sudoers/Makefile.in
.if ! ${PORT_OPTIONS:MDOCS}
	@@${REINPLACE_CMD} -e 's/mkinstalldirs $$(DESTDIR)$$(docdir)/mkinstalldirs/' \
		${WRKSRC}/doc/Makefile.in
	@@${REINPLACE_CMD} -e '/for f in $$(OTHER_DOCS); do/d;/@@LDAP@@for f in $$(OTHER_DOCS_LDAP); do/d' ${WRKSRC}/doc/Makefile.in
	@@${REINPLACE_CMD} -e 's/$$(DESTDIR)$$(sudoersdir) $$(DESTDIR)$$(docdir)/$$(DESTDIR)$$(sudoersdir)/' ${WRKSRC}/plugins/sudoers/Makefile.in
.endif

post-install:
	${INSTALL_DATA} ${FILESDIR}/pam.conf ${PREFIX}/etc/pam.d/sudo.default
	if [ ! -f ${PREFIX}/etc/pam.d/sudo ]; then \
		${CP} -p ${PREFIX}/etc/pam.d/sudo.default \
		${PREFIX}/etc/pam.d/sudo ; \
	fi
	if [ ! -f ${PREFIX}/etc/sudoers ]; then \
		${CP} -p ${PREFIX}/etc/sudoers.sample ${PREFIX}/etc/sudoers; \
	fi
	${TOUCH} ${PREFIX}/etc/sudoers.d/.keep-me

.include <bsd.port.mk>
@


1.158
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310939
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/security/sudo/Makefile 310939 2013-01-24 18:16:37Z wxs $
d5 1
a5 1
DISTVERSION=	1.8.6p5
@


1.157
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310499
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@d2 1
a2 1
# $FreeBSD: head/security/sudo/Makefile 310499 2013-01-16 15:42:06Z wxs $
d5 1
a5 1
DISTVERSION=	1.8.6p4
@


1.156
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/309783
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ## r309783 | wxs | 2013-01-01 20:33:52 +0000 (Tue, 01 Jan 2013) | 4 lines
## SVN ##
## SVN ## Disable PIE on ia64. This was causing a run-time failure.
## SVN ##
## SVN ## Submitted by:	Anton Shterenlikht, Todd Miller
## SVN ##
## SVN ## ------------------------------------------------------------------------
## SVN ##
@
text
@d1 2
a2 6
# New ports collection makefile for:    sudo
# Date created:         Sun Aug 13 12:36:14 CDT 1995
# Whom:                 erich@@rrnet.com
#
# $FreeBSD: head/security/sudo/Makefile 309783 2013-01-01 20:33:52Z wxs $
#
d5 1
a5 2
DISTVERSION=	1.8.6p3
PORTREVISION=	1
a51 4
.if ${ARCH} == "ia64"
CONFIGURE_ARGS+=	--disable-pie
.endif

d109 1
a109 1
.if defined(NOPORTDOCS)
@


1.155
log
@Switch exporter over
@
text
@d5 1
a5 1
# $FreeBSD: head/security/sudo/Makefile 305723 2012-10-11 13:36:47Z wxs $
d57 4
@


1.154
log
@SVN rev 305723 on 2012-10-11 13:36:47Z by wxs

If OPIE option is on we can not pass --with-pam in CONFIGURE_ARGS. Make it
so that OPIE will pass --with-opie and if it is off we pass --with-pam. [1]

No functional changes with this, just a build fix.

While here use tabs where appropriate and cleanup pkg-descr. [2]

Feature safe:	yes
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.153
log
@SVN rev 304961 on 2012-09-27 13:44:01Z by wxs

Fix the temporary workaround by passing the appropriate flag in
LDFLAGS. Since I want to ensure those who built it on i386 with this
workaround will rebuild it now that it is fixed bump PORTREVISION.
@
text
@d32 1
a32 2
		--with-long-otp-prompt \
		--with-pam
d43 1
a43 1
OPIE_DESC=	Enable one-time passwords
d88 1
a88 1
CONFIGURE_ARGS+=--disable-authentication
d92 1
a92 1
CONFIGURE_ARGS+=--enable-noargs-shell
d96 1
a96 1
CONFIGURE_ARGS+=--with-bsm-audit
d100 3
a102 1
CONFIGURE_ARGS+=--with-opie
@


1.152
log
@SVN rev 304944 on 2012-09-27 02:57:50Z by wxs

Fix build on i386 by disabling hardening measures. This is a temporary
fix until I can figure out what is really going on.
@
text
@d10 1
d25 1
a103 8
.include <bsd.port.pre.mk>

# Temporary workaround until I can figure out why the build fails on i386.
# You can add --stack-protector to LDFLAGS but that doesn't work with clang.
.if ${ARCH} == "i386"
CONFIGURE_ARGS+=	--disable-hardening
.endif

d131 1
a131 1
.include <bsd.port.post.mk>
@


1.151
log
@SVN rev 304871 on 2012-09-26 01:49:52Z by wxs

Update to 1.8.6p3

PR:		ports/171837
Submitted by:	cy@@
@
text
@d23 1
a23 1
LDFLAGS+= -lgcc
d102 8
d137 1
a137 1
.include <bsd.port.mk>
@


1.150
log
@SVN rev 302692 on 2012-08-17 18:25:23Z by wxs

Update to 1.8.5p3
@
text
@d9 1
a9 1
DISTVERSION=	1.8.5p3
d23 1
@


1.149
log
@Fix typo.

PR:		ports/169284
Submitted by:	From: Bryan Drewery <bryan@@shatow.net>
@
text
@d9 1
a9 1
DISTVERSION=	1.8.5p2
@


1.148
log
@Add option to enable OPIE support (off by default). [1]
While here, convert to new-style options.

PR:		ports/168812 [1]
Submitted by:	Zak Blacher <zblacher@@sandvine.com> [1]
@
text
@d36 1
a36 1
INSULT_DESC=	Enable insults on failures
@


1.147
log
@Update to 1.8.5p2.
@
text
@d32 10
a41 6
OPTIONS=	LDAP "With LDAP support" off \
		INSULTS "With all insults" off \
		DISABLE_ROOT_SUDO "Disable root sudo" off \
		DISABLE_AUTH "Disable authentication" off \
		NOARGS_SHELL "Enable no arguments shell" off \
		AUDIT "Enable BSM audit support" on
d46 7
d55 1
a55 1
.if !defined(WITHOUT_NLS)
d65 1
a65 7
# SUDO_SECURE_PATH is a PATH string that will override the user's PATH.
# ex: make SUDO_SECURE_PATH="/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin"
.if defined(SUDO_SECURE_PATH)
CONFIGURE_ARGS+=	--with-secure-path="${SUDO_SECURE_PATH}"
.endif

.if defined(WITH_INSULTS)
d70 1
a70 1
.if defined(WITH_LDAP)
d81 1
a81 1
.if defined(WITH_DISABLE_ROOT_SUDO)
d85 1
a85 1
.if defined(WITH_DISABLE_AUTH)
d89 1
a89 1
.if defined(WITH_NOARGS_SHELL)
d93 1
a93 1
.if defined(WITH_AUDIT)
d97 4
@


1.146
log
@Update to 1.8.5p1.

Changes: http://www.sudo.ws/sudo/stable.html#1.8.5p1
@
text
@d9 1
a9 1
DISTVERSION=	1.8.5p1
@


1.145
log
@Update to 1.8.4p5

Security:	b3435b68-9ee8-11e1-997c-002354ed89bc
@
text
@d9 1
a9 2
PORTVERSION=	1.8.4
PORTREVISION=	2
a11 1
DISTNAME=	sudo-${PORTVERSION}p5
@


1.144
log
@Update to 1.8.4p4

Changes from 1.8.4p2 through 1.8.4p4 are here:
http://www.sudo.ws/sudo/stable.html#1.8.4p4

Feature safe:	yes
@
text
@d10 1
a10 1
PORTREVISION=	1
d13 1
a13 1
DISTNAME=	sudo-${PORTVERSION}p4
@


1.143
log
@Update to 1.8.4p2

PR:		ports/165528
Submitted by:	rea@@
@
text
@d10 1
d13 1
a13 1
DISTNAME=	sudo-${PORTVERSION}p2
@


1.142
log
@If you used LDAP and NOPORTDOCS then the documentation directory would be
left behind on install. The upstream Makefile would create the directory
and put sudoers2ldif there, but pkg-plist would not register it properly.

This fix moves sudoers2ldif to 'bin' since it isn't really documentation.
It's installation is still controlled by the LDAP knob though.

Spotted by:	scheidell@@
@
text
@d9 1
a9 2
PORTVERSION=	1.8.3
PORTREVISION=	2
d17 5
@


1.141
log
@Update to 1.8.3p2

Security:	7c920bb7-4b5f-11e1-9f47-00e0815b8da8
@
text
@d97 1
@


1.140
log
@Switch to using MASTER_SITE_SUDO.
@
text
@d10 1
a10 1
PORTREVISION=	1
d13 1
a13 1
DISTNAME=	sudo-${PORTVERSION}p1
@


1.139
log
@- Remove WITH_FBSD10_FIX, is no longer needed
@
text
@d12 1
a12 28
MASTER_SITES=	http://www.sudo.ws/sudo/dist/ \
		http://ftp.arcane-networks.fr/pub/mirrors/sudo/ \
		http://sudo.p8ra.de/sudo/dist/ \
		http://sudo.cybermirror.org/ \
		http://sudo-ftp.basemirror.de/ \
		http://core.ring.gr.jp/archives/misc/sudo/ \
		http://www.ring.gr.jp/archives/misc/sudo/ \
		http://ftp.twaren.net/Unix/Security/Sudo/ \
		ftp://ftp.sudo.ws/pub/sudo/ \
		ftp://plier.ucar.edu/pub/sudo/ \
		ftp://obsd.isc.org/pub/sudo/ \
		ftp://ftp.uwsg.indiana.edu/pub/security/sudo/ \
		ftp://ftp.tuwien.ac.at/utils/admin-tools/sudo/ \
		ftp://sunsite.ualberta.ca/pub/Mirror/sudo/ \
		ftp://ftp.csc.cuhk.edu.hk/pub/packages/unix-tools/sudo/ \
		ftp://zoot.tele.dk/pub/sudo/ \
		ftp://ftp.in2p3.fr/pub/sudo/ \
		ftp://ftp.arcane-networks.fr/pub/mirrors/sudo/ \
		ftp://ftp.usbm.de/pub/sudo/ \
		ftp://ftp.cs.tu-berlin.de/pub/misc/sudo/ \
		ftp://ftp.informatik.uni-hamburg.de/pub/os/unix/utils/sudo/ \
		ftp://ftp.st.ryukoku.ac.jp/pub/security/tool/sudo/ \
		ftp://ftp.cin.nihon-u.ac.jp/pub/misc/sudo/ \
		ftp://core.ring.gr.jp/pub/misc/sudo/ \
		ftp://ftp.ring.gr.jp/pub/misc/sudo/ \
		ftp://sunsite.icm.edu.pl/packages/sudo/ \
		ftp://mirror.cdmon.com/pub/sudo/ \
		ftp://ftp.twaren.net/Unix/Security/Sudo/
@


1.138
log
@- Use DISTNAME instead of DISTFILES and remove WRKSRC.

Submitted by:	sunpoet@@
@
text
@a46 1
WITH_FBSD10_FIX=yes
@


1.137
log
@Fix version number going backwards.

Noticed by:	erwin@@
@
text
@d40 1
a40 1
DISTFILES=	sudo-${PORTVERSION}p1${EXTRACT_SUFX}
a47 1
WRKSRC=	${WRKDIR}/${DISTFILES:S/${EXTRACT_SUFX}//}
@


1.136
log
@- Update to 1.8.3p1
@
text
@d9 2
a10 1
DISTVERSION=	1.8.3p1
d40 1
d48 1
@


1.135
log
@Fix build on FreeBSD 10

Approved by:	portmgr (miwi)
@
text
@d9 1
a9 1
DISTVERSION=	1.8.3
@


1.134
log
@- Update to 1.8.3.
@
text
@d45 1
@


1.133
log
@- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
@
text
@d9 1
a9 1
DISTVERSION=	1.8.2
@


1.132
log
@- Switch to using bsd.port.options.mk.
@
text
@d68 2
a69 2
CONFIGURE_ENV=	CFLAGS="-I${LOCALBASE}/include" \
		LDFLAGS="-L${LOCALBASE}/lib -lintl"
@


1.131
log
@- Update to 1.8.2
- Now depend on gettext
- While here, use DISTVERSION.
@
text
@d64 1
a64 1
.include <bsd.port.pre.mk>
d140 1
a140 1
.include <bsd.port.post.mk>
@


1.130
log
@- Remove dead MASTER_SITES.

Noticed by:	The Distilator
@
text
@d9 1
a9 2
PORTVERSION=	1.8.1
PORTREVISION=	5
a22 1
		ftp://sudo.xmundo.net/pub/mirrors/sudo/ \
a38 1
DISTNAME=	${PORTNAME}-1.8.1p2
d66 10
d95 1
a95 1
PLIST_SUB=	LDAP="@@comment "
@


1.129
log
@Update to 1.8.1p2
@
text
@a12 2
		http://www.signal42.com/mirrors/sudo_ftp/ \
		http://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/sudo/ \
a14 1
		http://www.very-clever.com/download/sudo/ \
a22 2
		ftp://ftp.tux.org/pub/security/sudo/ \
		ftp://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/sudo/ \
@


1.128
log
@Add an AUDIT option, which is off by default for now. I will turn it on
with the next significant bump.

Submitted by:	Mike Kelly (private mail)
@
text
@d10 1
a10 1
PORTREVISION=	4
d46 1
a46 1
DISTNAME=	${PORTNAME}-1.8.1p1
d67 1
a67 1
		AUDIT "Enable BSM audit support" off
@


1.127
log
@Update to 1.8.1p1.
No longer need to worry about etc/sudoers.d problem, as it is no longer
a fatal error.
@
text
@d66 2
a67 1
		NOARGS_SHELL "Enable no arguments shell" off
d108 4
@


1.126
log
@The install process checks the validity of sudoers before installing
etc/sudoers.d. If you have an sudoers with the includedir directive the
install will fail. Fix this by creating the directory in a pre-install
target.

This should fix "The Great sudo Debacle of 2011" once and for all.

Tested by:	dougb@@
@
text
@d10 1
a10 1
PORTREVISION=	3
d46 1
a46 1
DISTNAME=	${PORTNAME}-1.8.1
a121 5
# XXX: Because I botched the upgrade to 1.8.1, this is necessary.
# Eventually, once 1.8.1 is ancient enough, this can be removed.
pre-install:
	@@PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL

@


1.125
log
@Revert the removal of sudoers.d. It is a POLA violation. While here remove
the UPDATING entry as it no longer applies.
@
text
@d10 1
a10 1
PORTREVISION=	2
d122 5
@


1.124
log
@We don't install a sudoers.d, remove that from the default sudoers file.

PR:		ports/156305
Submitted by:	Helmut Schneider <jumper99@@gmx.de>
		Anatoly Borodin <anatoly.borodin@@gmail.com>
@
text
@d10 1
a10 1
PORTREVISION=	1
d131 1
@


1.123
log
@Update to 1.8.1. There are a lot of behind-the-scenes changes in this port,
including a plugin system now.

While here, do some whitespace fixes.
@
text
@d10 1
@


1.122
log
@Update to 1.7.4p6.

"This release fixes a bug in the I/O logging support that could cause visual
artifacts in full-screen programs such as text editors.  This bug was listed as
fixed in sudo 1.7.4p5 but the fix was merged incorrectly."

Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	1.7.4.6
d45 1
a45 1
DISTNAME=	${PORTNAME}-1.7.4p6
d68 1
a68 1
CONFIGURE_ARGS+=--with-logfac=${LOGFAC}
d75 1
a75 1
CONFIGURE_ARGS+=--with-secure-path="${SUDO_SECURE_PATH}"
d79 2
a80 2
CONFIGURE_ARGS+=--with-insults
CONFIGURE_ARGS+=--with-all-insults
d84 4
a87 4
USE_OPENLDAP=yes
CONFIGURE_ARGS+=--with-ldap=${PREFIX}
SUDO_LDAP_CONF?=ldap.conf
CONFIGURE_ARGS+=--with-ldap-conf-file=${PREFIX}/etc/${SUDO_LDAP_CONF}
d107 1
a107 1
MAN8=		sudo.8 visudo.8 sudoreplay.8
d113 1
a113 1
		${WRKSRC}/Makefile.in
d115 4
a118 3
	@@${REINPLACE_CMD} -e 's/$$(DESTDIR)$$(sudoersdir) $$(DESTDIR)$$(docdir)/$$(DESTDIR)$$(sudoersdir)/' \
		${WRKSRC}/Makefile.in
	@@${REINPLACE_CMD} -e '/for f in ChangeLog/d' ${WRKSRC}/Makefile.in
a129 1
	${TOUCH} ${PREFIX}/etc/sudoers.d/.keep-me
@


1.121
log
@Update to 1.7.4p5.

Special thanks to rea@@ for commiting the appropriate VuXML for me. :)

PR:		ports/153939
Submitted by:	rea@@
Security:	908f4cf2-1e8b-11e0-a587-001b77d09812
Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	1.7.4.5
d45 1
a45 1
DISTNAME=	${PORTNAME}-1.7.4p5
@


1.120
log
@Work around annoying, but harmless, bug with install(1) using "-b~" by changing
it to use "-b ~".
While here also strip libsudo_noexec.so.

Submitted by:	John Hein (private mail)
@
text
@d9 1
a9 2
PORTVERSION=	1.7.4.4
PORTREVISION=	1
d45 1
a45 1
DISTNAME=	${PORTNAME}-1.7.4p4
@


1.119
log
@Add a bunch of new mirrors and remove dead ones. The mirror list now matches
http://www.sudo.ws/sudo/download_mirrors.html.

Noticed by:	The Distilator
@
text
@d112 2
a113 1
	@@${REINPLACE_CMD} '/install-binaries:/,/^$$/s/$$(INSTALL)/& ${STRIP}/' \
@


1.118
log
@Remove SHELL_SETS_HOME knob since as far as I can tell it doesn't do anything
anymore. The configure script still supports it but the behavior is now
controlled by a setting in the configuration file "Defaults env_keep += HOME".
@
text
@d13 12
d26 2
d29 12
a40 1
		ftp://boulder.tele.dk/pub/sudo/ \
d42 4
a45 1
		ftp://ftp.wiretapped.net/pub/security/host-security/sudo/
@


1.117
log
@Fix packaging.

PR:		ports/150371
Submitted by:	Sunpoet Po-Chuan Hsieh <sunpoet@@sunpoet.net>, dim@@
@
text
@a35 1
		SHELL_SETS_HOME "Set HOME env to target user in shell mode" off \
a66 4
.if defined(WITH_SHELL_SETS_HOME)
CONFIGURE_ARGS+=--enable-shell-sets-home
.endif

@


1.116
log
@Update to 1.7.4p4 to address a couple of minor bugs and Runas group
vulnerability.
While I'm here also cleanup files/patch-Makefile.in.

Security:	67b514c3-ba8f-11df-8f6e-000c29a67389
@
text
@d10 1
@


1.115
log
@Fix package installation by correcting usage of %B and installing a file
to make sure the empty directory is created.

PR:		ports/149912
Submitted by:	Alexey V.Degtyarev <alexey@@renatasystems.org>
@
text
@d9 1
a9 2
PORTVERSION=	1.7.4.3
PORTREVISION=	1
d17 1
a17 1
DISTNAME=	${PORTNAME}-1.7.4p3
@


1.114
log
@Strip the binaries by default. No need to bump PORTREVISION for such a
minor change.

PR:		ports/149135
Submitted by:	Anonymous <swell.k@@gmail.com>
@
text
@d10 1
d106 1
@


1.113
log
@Update to 1.7.4p3
Install etc/pam.d/sudo and etc/pam.d/sudo.default
@
text
@d88 2
@


1.112
log
@Fix problems when upgrading using packages:
 - Always install sudoers.sample.
 - There is no need for pkg-install anymore.
 - Bump PORTREVISION.
@
text
@d9 1
a9 2
PORTVERSION=	1.7.4.2
PORTREVISION=	1
d17 1
a17 1
DISTNAME=	${PORTNAME}-1.7.4p2
a90 1

d95 5
@


1.111
log
@Update to 1.7.4p2.
@
text
@d10 1
@


1.110
log
@Remove unsupported argument to configure.

PR:		ports/148378
Submitted by:	Jeremy Chadwick <freebsd@@jdc.parodius.com>
Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	1.7.3
d17 1
a17 1
DISTNAME=	${PORTNAME}-1.7.3
d87 8
d96 2
a97 6
	${INSTALL_DATA} ${WRKSRC}/sudoers ${PREFIX}/etc/sudoers.default
	${INSTALL_DATA} ${FILESDIR}/pam.conf ${PREFIX}/etc/pam.d/sudo.default

	if [ ! -e ${PREFIX}/etc/pam.d/sudo ]; then \
		${CP} -p ${PREFIX}/etc/pam.d/sudo.default \
		${PREFIX}/etc/pam.d/sudo ;\
a99 14
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/TROUBLESHOOTING ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/UPGRADE ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/sample.sudoers ${DOCSDIR}
.if defined(WITH_LDAP)
	${INSTALL_DATA} ${WRKSRC}/README.LDAP ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/schema.OpenLDAP ${DOCSDIR}
	${INSTALL_SCRIPT} ${WRKSRC}/sudoers2ldif ${DOCSDIR}
.endif
.endif

@


1.109
log
@Update to 1.7.3

Feature safe:	yes
@
text
@a25 1
		--disable-log-wrap \
@


1.108
log
@Update to 1.7.2p7.

Security:	d42e5b66-6ea0-11df-9c8d-00e0815b8da8
@
text
@d9 1
a9 1
PORTVERSION=	1.7.2.7
d17 1
a17 1
DISTNAME=	${PORTNAME}-1.7.2p7
d85 1
a85 1
MAN8=		sudo.8 visudo.8
@


1.107
log
@- Update to 1.7.2p6 (security fix).

Security:	1a9f678d-48ca-11df-85f8-000c29a67389
@
text
@d9 1
a9 1
PORTVERSION=	1.7.2.6
d17 1
a17 1
DISTNAME=	${PORTNAME}-1.7.2p6
@


1.106
log
@- Update to 1.7.2p5. Security fix (1.7.2p4) and general bug fixes beyond that.

Security:	018a84d0-2548-11df-b4a3-00e0815b8da8
Feature safe:	yes
@
text
@d9 1
a9 1
PORTVERSION=	1.7.2.5
d17 1
a17 1
DISTNAME=	${PORTNAME}-1.7.2p5
@


1.105
log
@- Fix options screen to have a shorter description.

Noticed by:	garga@@
@
text
@d9 1
a9 1
PORTVERSION=	1.7.2.2
d17 1
a17 1
DISTNAME=	${PORTNAME}-1.7.2p2
@


1.104
log
@- Update to 1.7.2.2
- Mark jobs safe
- Cleanup whitespace in OPTIONS
- [1] Add ability to specify syslog facility at build time (defaults to local2,
  no functional change)
- [2] Add ability to specify ldap configuration file (defaults to
  ${PREFIX}/etc/ldap.conf, no functional change)

PR:		[2]: ports/127822
Submitted by:	[1]: skreuzer@@ (private mail)
		[2]: Sergey Skvortsov <skv@@freebsd.org>
@
text
@d36 1
a36 1
		SHELL_SETS_HOME "Set HOME environment to target user in shell mode" off \
@


1.103
log
@- Take maintainer. Thanks Tom for all your hard work on this.

Approved by:	tmclaugh
@
text
@d9 1
a9 1
PORTVERSION=	1.6.9.20
d16 2
a17 4
		ftp://ftp.wiretapped.net/pub/security/host-security/sudo/ \
		${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	tmclaugh/sudo
DISTNAME=	${PORTNAME}-1.6.9p20
d22 1
d34 1
a34 1
OPTIONS=	LDAP	"With LDAP support" off \
d36 2
a37 2
		SHELL_SETS_HOME "Set HOME env to target user in shell mode" off \
		DISABLE_ROOT_SUDO	"Disable root sudo" off \
d41 3
d60 2
a61 1
CONFIGURE_ARGS+=--with-ldap-conf-file=${PREFIX}/etc/ldap.conf
d63 1
d84 1
a84 1
MAN5=		sudoers.5
d99 1
a99 2
	${INSTALL_DATA} ${WRKSRC}/BUGS ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/CHANGES ${DOCSDIR}
@


1.102
log
@Add OPTIONS for WITH_DISABLE_ROOT_SUDO, WITH_DISABLE_AUTH, and
WITH_NOARGS_SHELL

Submitted by:	Scott Fultz
@
text
@d21 1
a21 1
MAINTAINER=	tmclaugh@@FreeBSD.org
@


1.101
log
@Security update for sudo to 1.6.9p20 for CVE 2009-0034

Changes:
- Only use the cached supplementory group vector when matching groups
  for the invoking user. (security)
- When setting the umask, use the union of the user's umask and the
  default value set in sudoers so that we never lower the user's umask
  when running a command.
- Sudo now operates in the C locale again when doing a match against
  sudoers.

PR:		131446
Submitted by:	Eygene Ryabinkin
Security:	vid:13d6d997-f455-11dd-8516-001b77d09812
@
text
@d37 4
a40 1
		SHELL_SETS_HOME "Set HOME env to target user in shell mode" off
d68 12
@


1.100
log
@Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.

To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.

To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.

Changes to Mk/*:
 - Add runtime detection magic in bsd.port.mk
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
@
text
@d9 1
a9 1
PORTVERSION=	1.6.9.17
d19 1
a19 1
DISTNAME=	${PORTNAME}-1.6.9p17
@


1.99
log
@- Update to 1.6.9p17
* the -i flag implies resetting the environment as it did prior to
  1.6.9.  The -i and -E flags are now mutually-exclusive.
@
text
@a25 1
CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
@


1.98
log
@- Fix pkg-plist, libtool archive is no longer installed.

Prompted by:	pavmail
@
text
@d9 1
a9 2
PORTVERSION=	1.6.9.15
PORTREVISION=	1
d19 1
a19 1
DISTNAME=	${PORTNAME}-1.6.9p15
@


1.97
log
@- Update to 1.6.9p15
* The HOME environment variable is once again preserved by default, as per
  the documentation.

- Finally remember to fix the $FreeBSD$ line in pam file.
@
text
@d10 1
@


1.96
log
@- Update to 1.6.9p14

* Check sudoers even if user is found in LDAP so Defaults can take
  effect.
* Fix crash when pam_lastlog is (incorrectly) usesd in session section
  of PAM file.
@
text
@d9 1
a9 1
PORTVERSION=	1.6.9.14
d19 1
a19 1
DISTNAME=	${PORTNAME}-1.6.9p14
@


1.95
log
@Update to 1.6.9p12

Changes:
- The ALL command in sudoers now implies SETENV permissions.
- The command search is now performed using the target user's auxiliary
  group vector too.
- Various LDAP code improvements.
- Added passprompt_override flag to sudoers to cause sudo's prompt to be
  used in all cases.  Also set when the -p flag is used.
- New %p prompt escape that expands to the user whose password is being
  prompted, as specified by the rootpw, targetpw and runaspw sudoers
  flags.
@
text
@d9 1
a9 1
PORTVERSION=	1.6.9.12
d19 1
a19 1
DISTNAME=	${PORTNAME}-1.6.9p12
@


1.94
log
@- Make fetchable again.  Add my MASTER_SITE_LOCAL to the mix and replace
  a number of outdated sites.

Notified by:	Ferenc Gartner
Approved by:	portmgr (linimon, erwin)
@
text
@d9 1
a9 1
PORTVERSION=	1.6.9.6
d19 1
a19 1
DISTNAME=	${PORTNAME}-1.6.9p6
@


1.93
log
@Update to 1.6.9p6
- Sudo now only prints the password prompt if the process is in the
  foreground.
@
text
@d12 7
a18 9
		http://probsd.org/sudoftp/ \
		http://ftp.cerias.purdue.edu/pub/tools/unix/sysutils/sudo/ \
		http://mirrors.theonlinerecordstore.com/sudo/ \
		http://core.ring.gr.jp/archives/misc/sudo/ \
		http://www.ring.gr.jp/archives/misc/sudo/ \
		http://sudo.tsuren.net/dist/ \
		http://pluto.cdpa.nsysu.edu.tw/sudo/ \
		ftp://ftp.cs.colorado.edu/pub/sysadmin/sudo/ \
		ftp://ftp.stikman.com/pub/sudo/
@


1.92
log
@Update to 1.6.9p5:
- Fixed a bug in the IP address matching introduced by the IPV6 merge.
- Fixed sudoedit when used on a non-existent file.
- Groups and netgroups are now valid in an LDAP sudoRunas statement.
@
text
@d9 1
a9 1
PORTVERSION=	1.6.9.5
d21 1
a21 1
DISTNAME=	${PORTNAME}-1.6.9p5
@


1.91
log
@Install schema.OpenLDAP into DOCSDIR.

Prompted by:	flz
@
text
@d9 1
a9 1
PORTVERSION=	1.6.9.4
d21 1
a21 1
DISTNAME=	${PORTNAME}-1.6.9p4
@


1.90
log
@Update to 1.6.9p4
- IPv6 support added.
- Added notes to default sudoers for handling environmental variables
  related to our pkg_* tools and portupgrade.
@
text
@d91 1
@


1.89
log
@- Work around broken configure script and explicitly set location of
  sudo_noexec.so to unbreak NOEXEC option. [1]
- Build using --with-secure-path if SUDO_SECURE_PATH is set when
  building the port.  SUDO_SECURE_PATH should be set to a PATH string.
  [2]
- Don't bother deleting sudo_noexec.la.  Deleting the file after it's
  installed is ugly and since it's not harmful it's not worth patching
  the install.
- Set CONFIGURE_TARGET.

PR:		115442 [1], 115381 [2]
Submitted by:	vd [1], Janos Mohacsi [2]
@
text
@d9 1
a9 2
PORTVERSION=	1.6.9.3
PORTREVISION=	2
d21 1
a21 1
DISTNAME=	${PORTNAME}-1.6.9p3
d36 1
a36 2
		--with-pam \
		--with-noexec=${PREFIX}/libexec/sudo_noexec.so
@


1.88
log
@Fix session stack in default pam file.
@
text
@d10 1
a10 1
PORTREVISION=	1
d29 1
d37 2
a38 1
		--with-pam
d46 6
a74 1
	${RM} ${PREFIX}/libexec/sudo_noexec.la
d79 1
a79 1
		cp -p ${PREFIX}/etc/pam.d/sudo.default \
@


1.87
log
@Update to 1.6.9p3
- Fixes bug related to supplemental group matching
@
text
@d10 1
@


1.86
log
@Update to 1.6.9p2
- Environment handling fix.
@
text
@d9 1
a9 1
PORTVERSION=	1.6.9.2
d21 1
a21 1
DISTNAME=	${PORTNAME}-1.6.9p2
@


1.85
log
@Fix PORTVERSION

Noticed by:	ume
@
text
@d9 1
a9 1
PORTVERSION=	1.6.9.1
d21 1
a21 1
DISTNAME=	${PORTNAME}-1.6.9p1
@


1.84
log
@- Update to 1.6.9p1
  * Worked around a bug in some PAM implementations that caused a crash
    when no tty was present.
  * Fixed a crash on some platforms in the error logging function.
- Change default pam session stack to pam_permit like su does [1]
- Grab maintainership

Sugested by:	des [1]
@
text
@d9 1
a9 1
PORTVERSION=	1.6.9.p1
@


1.83
log
@- Fix segfault when there is no TTY when executing. [1]
- Temporarilly disable session entry in default pam file because
  pam_lastlog causes users to appear as though they have logged out in
  system logs. [2]

Reported by:	yarodin@@gmail.com [1], Paul Fraser <pfraser@@gmail.com> [2]
Submitted by:	Todd Miller [1]
@
text
@d9 1
a9 2
PORTVERSION=	1.6.9
PORTREVISION=	1
d21 1
d23 1
a23 1
MAINTAINER=	ports@@FreeBSD.org
@


1.82
log
@Update to 1.6.9

Application changes:
- PAM, since present, is used by default.
- Environment variable handling has changed significantly.
- Sudo checks the user's supplemental group vector so nsswitch order is
  no longer important for group based rules.
(See UPGRADE and CHANGING under share/doc/sudo/ for more.)

Port changes:
- PAM file is no longer clobered on reinstall.
- OPIE option has been removed due to PAM being used by default.
- Selected documentation is now installed.
@
text
@d10 1
@


1.81
log
@- Add an option to enable insults

Submitted by:	Dan Casey <dcasey@@debtresolve.com>
@
text
@d9 1
a9 2
PORTVERSION=	1.6.8.12
PORTREVISION=	2
a20 1
DISTNAME=	${PORTNAME}-1.6.8p12
a36 1
		OPIE	"With OPIE support" off \
d51 1
a51 4
.endif

.if defined(WITH_OPIE) || ${OSVERSION} > 500021
CONFIGURE_ARGS+=--with-opie
d53 1
a53 1
CONFIGURE_ARGS+=--with-skey
a63 3
post-patch:
	@@${REINPLACE_CMD} -e 's|^|#|g' ${WRKSRC}/sample.sudoers

d65 1
a65 1
	${INSTALL_DATA} ${WRKSRC}/sample.sudoers ${PREFIX}/etc/sudoers.sample
d67 20
a86 2
	${RM} ${PREFIX}/libexec/sudo_noexec.la
	${INSTALL_DATA} ${FILESDIR}/pam.conf ${PREFIX}/etc/pam.d/sudo
@


1.80
log
@Install a PAM policy, rather than just suggesting that the admin do so.
@
text
@d40 1
d45 5
@


1.79
log
@Reset mharo due to maintainer-timeouts and no response to PRs.

Hat:		portmgr
@
text
@d10 1
a10 1
PORTREVISION=	1
d71 1
a71 1
	${CAT} ${PKGMESSAGE}
@


1.78
log
@fix option text

Reported by: Nick Fishman <kwlogical@@bellsouth.net>
@
text
@d24 1
a24 1
MAINTAINER=	mharo@@FreeBSD.org
@


1.77
log
@- Add LDAP support (off by default)
- OPTIONS'fy
- Remove obsoleted USE_REINPLACE

PR:		ports/95598
Submitted by:	Dmitriy Kirhlarov <dkirhlarov@@localhost.oilspace.com>
Approved by:	maintainer timeout (2 weeks)
@
text
@d40 1
a40 1
		SHELL_SETS_HOME "Set $HOME to target user in shell mode" off
@


1.76
log
@- Remove etc/sudoers on deinstall if user haven't modified it

PR:		ports/69288 (based on)
Approved by:	maintainer timeout (mharo; year and a half)
@
text
@a26 1
USE_REINPLACE=	yes
d38 4
d44 6
d71 1
@


1.75
log
@Upgrade to 1.6.8.12

PR:		88865
Submitted by:	Phil Oleson <oz@@nixil.net>
@
text
@d10 1
d60 1
@


1.74
log
@Security update to latest release: 1.6.8p9.

<Security Alert>
Summary:
A race condition in Sudo's command pathname handling prior
to Sudo version 1.6.8p9 that could allow a user with Sudo
privileges to run arbitrary commands.
Sudo versions affected:
Sudo versions 1.3.1 up to and including 1.6.8p8.
</Security Alert>

More information about this incident available at:
http://www.sudo.ws/sudo/alerts/path_race.html
@
text
@d9 1
a9 2
PORTVERSION=	1.6.8.9
PORTREVISION=	0
d21 1
a21 1
DISTNAME=	${PORTNAME}-1.6.8p9
@


1.73
log
@Upgrade to 1.6.8p8
@
text
@d9 1
a9 1
PORTVERSION=	1.6.8.8
d22 1
a22 1
DISTNAME=	${PORTNAME}-1.6.8p8
@


1.72
log
@update to 1.6.8p7
@
text
@d9 1
a9 1
PORTVERSION=	1.6.8.7
d22 1
a22 1
DISTNAME=	${PORTNAME}-1.6.8p7
@


1.71
log
@Upgrade to 1.6.8p6
@
text
@d9 1
a9 1
PORTVERSION=	1.6.8.6
d22 1
a22 1
DISTNAME=	${PORTNAME}-1.6.8p6
@


1.70
log
@Update to 1.6.8p5
@
text
@d9 1
a9 1
PORTVERSION=	1.6.8.5
d22 1
a22 1
DISTNAME=	${PORTNAME}-1.6.8p5
@


1.69
log
@Update to latest release of sudo
@
text
@d9 1
a9 1
PORTVERSION=	1.6.8.4
d22 1
a22 1
DISTNAME=	${PORTNAME}-1.6.8p4
@


1.68
log
@Update to sudo-1.6.3p8, which *really* includes the CDPATH fix, and
another one that does not directly affect FreeBSD (our _PATH_VARTMP
was fine before, too).

Approved by:	mharo (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	1.6.8.3
d22 1
a22 1
DISTNAME=	${PORTNAME}-1.6.8p3
@


1.67
log
@strip out CDPATH

Submitted by:	Peter Pentchev <roam@@ringlet.net>
@
text
@d9 2
a10 2
PORTVERSION=	1.6.8.2
PORTREVISION=	1
d22 1
a22 1
DISTNAME=	${PORTNAME}-1.6.8p2
@


1.66
log
@Update to 1.6.8p2

 o Bash exported functions and the CDPATH variable are now stripped from
   the environment passed to the program to be executed.
@
text
@d10 1
a10 1
PORTREVISION=	0
@


1.65
log
@Update to 1.6.8p1

Submitted by:	many people
Approved by:	portsmgr (marcus)
@
text
@d9 1
a9 1
PORTVERSION=	1.6.8.1
d22 1
a22 1
DISTNAME=	${PORTNAME}-1.6.8p1
@


1.64
log
@Update to 1.6.8
@
text
@d9 1
a9 1
PORTVERSION=	1.6.8
d22 1
a22 1
DISTNAME=	${PORTNAME}-1.6.8
@


1.63
log
@Undo yesterdays change after sysutils/porttools suddenly failed.

Kris (bento (noh! pointyhat)) reported it

PR:		ports/58387
@
text
@d9 2
a10 2
PORTVERSION=	1.6.7.5
PORTREVISION=	2
d22 1
a22 1
DISTNAME=	${PORTNAME}-1.6.7p5
d53 1
d60 1
@


1.62
log
@[PATCH] security/sudo: Utilize EXAMPLESDIR

	Utilize EXAMPLESDIR to improves layout; i.e.,

	  configuration file        -> ${PREFIX}/etc
	  sample configuration file -> ${PREFIX}/share/examples/${PORTNAME}

	This change helps if many configuration files and sample ones exist.

PR:		ports/58387
Submitted by:	Hideyuki KURASHINA <rushani@@FreeBSD.org>
@
text
@d10 1
a10 1
PORTREVISION=	1
d58 1
a58 2
	@@${MKDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/sample.sudoers ${EXAMPLESDIR}/sudoers
@


1.61
log
@Add SIZE
@
text
@d10 1
a10 1
PORTREVISION?=	0
d58 2
a59 1
	${INSTALL_DATA} ${WRKSRC}/sample.sudoers ${PREFIX}/etc/sudoers.sample
@


1.60
log
@Add more MASTER_SITES and remove dead one
@
text
@d30 1
a30 1
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \
@


1.59
log
@Add another MASTER_SITE

Submitted by:	"Michael Sharp" <ms@@probsd.org>
@
text
@d14 6
d21 1
a21 2
		ftp://ftp.stikman.com/pub/sudo/ \
		ftp://ftp.uu.net/pub/security/sudo/
@


1.58
log
@Add WITH_SHELL_SETS_HOME knob to security/sudo

PR:		47087
Submitted by:	    Stefan Farfeleder <stefan@@fafoe.dyndns.org>
@
text
@d13 1
@


1.57
log
@upgrade from 1.6.7.4 to 1.6.7.5

PR:		52237
Submitted by:	Sergey A. Osokin <osa@@FreeBSD.org.ru>
@
text
@d41 4
@


1.56
log
@update from 1.6.6 to 1.6.7p4

PR:             51084
Submitted by:   Sergey A. Osokin  <osa@@freebsd.org.ru>
@
text
@d9 1
a9 1
PORTVERSION=	1.6.7.4
d16 1
a16 1
DISTNAME=	${PORTNAME}-1.6.7p4
@


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

E Nomini Patri, E Fili, E Spiritu Sancti.
@
text
@d9 2
a10 2
PORTVERSION=	1.6.6
PORTREVISION=	1
d16 1
a16 1
DISTNAME=	${PORTNAME}-1.6.6
@


1.54
log
@Add a patch from the Sudo CVS repository for proper handling of
the PAM transition from echoed to non-echoed input.

PR:		46026
Approved by:	mharo (maintainer)
@
text
@d19 1
@


1.53
log
@don't depend on perl

Submitted by:	David Yeske <dyeske@@yahoo.com>
@
text
@d10 1
a10 1
PORTREVISION=	0
@


1.52
log
@remove insults and allow root to use sudo
@
text
@d20 1
d44 1
a44 1
	@@${PERL} -i -pe 's,^,#,g' ${WRKSRC}/sample.sudoers
@


1.51
log
@update to 1.6.6
@
text
@a26 2
		--with-insults \
		--with-all-insults \
a27 1
		--disable-root-sudo \
@


1.50
log
@revert change from this morning
@
text
@d9 1
a9 1
PORTVERSION=	1.6.5.2
d16 1
a16 1
DISTNAME=	${PORTNAME}-1.6.5p2
@


1.49
log
@Patch sudo 1.6.5.2 with GlobalInterSec's sudo patch.
@
text
@d9 1
a9 1
PORTVERSION=	1.6.5.2.1
a16 2
PATCHFILES=	sudo-1.6.5p3.patch
PATCH_SITES=	http://www.globalintersec.com/adv/files/
@


1.48
log
@update to 1.6.5p2
@
text
@d9 1
a9 1
PORTVERSION=	1.6.5.2
d17 2
@


1.47
log
@update to 1.6.5p1
@
text
@d9 1
a9 1
PORTVERSION=	1.6.5.1
d16 1
a16 1
DISTNAME=	${PORTNAME}-1.6.5p1
@


1.46
log
@correct checksum

ps. sorry mharo

PR:		33976, 33981
Submitted by:	many people (including me :)
@
text
@d9 1
a9 1
PORTVERSION=	1.6.5
d16 1
@


1.45
log
@update to 1.6.5
@
text
@a15 1
DISTNAME=	${PORTNAME}-1.6.5
d45 1
a45 1
	perl -i -pe 's,^,#,g' ${WRKSRC}/sample.sudoers
@


1.44
log
@update to 1.6.4p2
@
text
@d9 1
a9 1
PORTVERSION=	1.6.4.2
d16 1
a16 1
DISTNAME=	${PORTNAME}-1.6.4p2
@


1.43
log
@Update to 1.6.4.1, which fixes a security hole when sending email
notifications
@
text
@d9 1
a9 1
PORTVERSION=	1.6.4.1
d16 1
a16 1
DISTNAME=	${PORTNAME}-1.6.4p1
@


1.42
log
@Bump port revision to reflect change in November to pkg-install
which sets the file permissions on the sudoers file.
@
text
@d9 2
a10 2
PORTVERSION=	1.6.3.7
PORTREVISION=	2
d12 2
a13 1
MASTER_SITES=	ftp://ftp.cs.colorado.edu/pub/sysadmin/sudo/ \
d16 1
a16 1
DISTNAME=	${PORTNAME}-1.6.3p7
@


1.41
log
@Support latest -current which has no libskey.2.

No response from:	maintainer
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/sudo/Makefile,v 1.40 2001/06/24 12:39:55 mharo Exp $
d10 1
a10 1
PORTREVISION=	1
@


1.40
log
@Use PAM and bump PORTREVISION as a result

Submitted by:	Blaz Zupan <blaz@@amis.net>
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/sudo/Makefile,v 1.39 2001/06/22 08:48:47 mharo Exp $
d33 3
a35 1
.ifdef(WITH_OPIE)
d50 1
a50 1
.include <bsd.port.mk>
@


1.39
log
@Add WITH_OPIE, which will compile with OPIE instead of S/Key
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/sudo/Makefile,v 1.38 2001/03/07 10:31:39 mharo Exp $
d10 1
d29 3
a31 1
		--disable-root-sudo
d34 1
a34 2
CONFIGURE_ARGS+=--with-opie \
		--with-long-otp-prompt
@


1.38
log
@update to 1.6.3p7

From the CHANGES file:

416) Fix negation of path-type Defaults entries in a boolean context.
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/sudo/Makefile,v 1.37 2001/02/21 12:42:59 mharo Exp $
d20 1
a20 2
CONFIGURE_ARGS=	--with-skey \
		--sysconfdir=${PREFIX}/etc \
d29 7
@


1.37
log
@Update to 1.6.3p5
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/sudo/Makefile,v 1.36 2001/02/14 20:19:43 lioux Exp $
d9 1
a9 1
PORTVERSION=	1.6.3.6
d14 1
a14 1
DISTNAME=	${PORTNAME}-1.6.3p6
@


1.36
log
@typo clean up police: \s -> \t
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/sudo/Makefile,v 1.35 2000/08/27 22:46:53 mharo Exp $
d9 1
a9 1
PORTVERSION=	1.6.3.5
d11 4
a14 2
MASTER_SITES=	ftp://ftp.cs.colorado.edu/pub/sysadmin/sudo/
DISTNAME=	${PORTNAME}-1.6.3p5
@


1.35
log
@update to p5
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/sudo/Makefile,v 1.34 2000/06/10 04:31:37 mharo Exp $
d24 2
a25 2
  		--with-insults \
  		--with-all-insults \
@


1.34
log
@update to 1.6.3p4
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/sudo/Makefile,v 1.33 2000/04/17 23:08:29 mharo Exp $
d9 1
a9 1
PORTVERSION=	1.6.3.4
d12 1
a12 1
DISTNAME=	${PORTNAME}-1.6.3p4
@


1.33
log
@update to 1.6.3
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/sudo/Makefile,v 1.32 2000/04/09 18:30:39 cpiazza Exp $
d9 1
a9 1
PORTVERSION=	1.6.3
d12 1
@


1.32
log
@Update with the new PORTNAME/PORTVERSION variables
@
text
@d5 1
a5 1
# $FreeBSD: ports/security/sudo/Makefile,v 1.31 2000/04/07 06:09:12 mharo Exp $
d9 1
a9 1
PORTVERSION= 	1.6.2p3
d25 1
a31 1
	perl -i -pe 's,!!PREFIX!!,${PREFIX},g' ${WRKSRC}/*.man
@


1.31
log
@install sample file with everything commented out so that random
system users don't accidently get configured to do stuff as root.

Submitted by:	Adam Steffes
@
text
@a1 1
# Version required:     1.6.2p1
d5 1
a5 1
# $FreeBSD: ports/security/sudo/Makefile,v 1.30 2000/03/20 23:53:40 mharo Exp $
d8 2
a9 1
DISTNAME=	sudo-1.6.2p3
@


1.30
log
@upgrade to 1.6.2p3
@
text
@d6 1
a6 1
# $FreeBSD: ports/security/sudo/Makefile,v 1.29 2000/02/05 08:37:43 mharo Exp $
d32 1
@


1.29
log
@update to 1.6.2p1
@
text
@d6 1
a6 1
# $FreeBSD: ports/security/sudo/Makefile,v 1.28 1999/12/22 17:53:38 mharo Exp $
d9 1
a9 1
DISTNAME=	sudo-1.6.2p1
d23 2
@


1.28
log
@Update to 1.6.1
@
text
@d2 1
a2 1
# Version required:     1.6.1
d6 1
a6 1
# $FreeBSD: ports/security/sudo/Makefile,v 1.27 1999/12/10 19:51:09 obrien Exp $
d9 1
a9 1
DISTNAME=	sudo-1.6.1
@


1.27
log
@For some reason etc/sudoers.sample isn't installed by the distfiles's
Makefile any more.  So install it manually.
@
text
@d2 1
a2 1
# Version required:     1.6
d6 1
a6 1
# $FreeBSD: ports/security/sudo/Makefile,v 1.26 1999/12/10 19:02:28 cpiazza Exp $
d9 1
a9 1
DISTNAME=	sudo-1.6
d11 1
a11 1
MASTER_SITES=	ftp://ftp.cs.colorado.edu/pub/sysadmin/sudo/OLD/
d18 1
a18 1
		--sysconfdir=/usr/local/etc \
d27 3
@


1.26
log
@Unbreak for 3.4-R by changing the MASTER_SITE path in case mharo
doesn't get to PR 15403 in time.
@
text
@d6 1
a6 1
# $FreeBSD: ports/security/sudo/Makefile,v 1.25 1999/12/10 02:27:58 mharo Exp $
d27 3
@


1.25
log
@update to 1.6.

had to remove manpage path corrections patch (patch-ac) because
I don't have time till after Friday to work on this port more.
@
text
@d6 1
a6 1
# $FreeBSD: ports/security/sudo/Makefile,v 1.24 1999/08/31 06:50:27 mharo Exp $
d11 1
a11 1
MASTER_SITES=	ftp://ftp.cs.colorado.edu/pub/sysadmin/sudo/
@


1.24
log
@FreeBSD.ORG -> FreeBSD.org

Prompted by PR:  13476, 13477
Submitted by:  KATO Tsuguru
@
text
@d2 1
a2 1
# Version required:     1.5.9.4
d6 1
a6 1
# $FreeBSD: ports/security/sudo/Makefile,v 1.23 1999/08/31 01:51:52 peter Exp $
d9 1
a9 2
DISTNAME=	cu-sudo.v1.5.9p4
PKGNAME=	sudo-1.5.9.4
a14 1
WRKSRC=		${WRKDIR}/sudo.v1.5.9p4
d18 1
a18 2
		--with-opie \
		--with-logfac=LOG_AUTH \
@


1.23
log
@$Id$ -> $FreeBSD$
@
text
@d6 1
a6 1
# $FreeBSD$
d14 1
a14 1
MAINTAINER=	mharo@@FreeBSD.ORG
@


1.22
log
@upgdate to sudo.v1.5.9p4
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.21 1999/08/07 21:10:50 mharo Exp $
@


1.21
log
@Update to version 1.5.9p3
@
text
@d2 1
a2 1
# Version required:     1.5.9.3
d6 1
a6 1
# $Id: Makefile,v 1.20 1999/06/07 19:21:19 mharo Exp $
d9 2
a10 2
DISTNAME=	cu-sudo.v1.5.9p3
PKGNAME=	sudo-1.5.9.3
d16 1
a16 1
WRKSRC=		${WRKDIR}/sudo.v1.5.9p3
@


1.20
log
@update to 1.5.9.2
@
text
@d2 1
a2 1
# Version required:     1.5.9.2
d6 1
a6 1
# $Id: Makefile,v 1.19 1999/04/22 15:54:57 mharo Exp $
d9 2
a10 2
DISTNAME=	cu-sudo.v1.5.9p2
PKGNAME=	sudo-1.5.9.2
d16 1
a16 1
WRKSRC=		${WRKDIR}/sudo.v1.5.9p2
@


1.19
log
@Upgrade from 1.5.8.2 to 1.5.89.1 and change MAINTAINER to me.

PR:		11079
Submitted by:	Hans Huebner hans@@huebner.org
@
text
@d2 1
a2 1
# Version required:     1.5.8.2
d6 1
a6 1
# $Id: Makefile,v 1.18 1999/03/29 00:52:35 billf Exp $
d9 2
a10 2
DISTNAME=	cu-sudo.v1.5.9p1
PKGNAME=	sudo-1.5.9.1
d16 1
a16 1
WRKSRC=		${WRKDIR}/sudo.v1.5.9p1
@


1.18
log
@Upgrade to v1.5.8p2

PR:		ports/10817(not used), ports/10499
Submitted by:	foxfair, Ying-Chieh Liao <ijliao@@Terry.Dorm10.NCTU.edu.tw>
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.17 1999/03/09 07:50:02 obrien Exp $
d9 2
a10 2
DISTNAME=	cu-sudo.v1.5.8p2
PKGNAME=	sudo-1.5.8.2
d14 1
a14 1
MAINTAINER=	erich@@FreeBSD.ORG
d16 1
a16 1
WRKSRC=		${WRKDIR}/sudo.v1.5.8p2
@


1.17
log
@1.5.8p1 is gone, 1.5.8p2 is in its place.
@
text
@d2 1
a2 1
# Version required:     1.5.6.5
d6 1
a6 1
# $Id: Makefile,v 1.16 1999/03/08 16:27:28 erich Exp $
d9 2
a10 2
DISTNAME=	cu-sudo.v1.5.8p1
PKGNAME=	sudo-1.5.8.1
d16 1
a16 3
BROKEN= '1.5.8p2 is out'

WRKSRC=		${WRKDIR}/sudo.v1.5.8p1
@


1.16
log
@upgrade to 1.5.8.1

Submitted by:	Igor Vinokurov <igor@@rtsnet.ru>
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.15 1999/01/10 18:33:36 steve Exp $
d15 2
@


1.15
log
@Update to version 1.5.7.4.

PR:		9346
Submitted by:	Palle Girgensohn <girgen@@partitur.se>
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.14 1998/10/27 04:54:42 asami Exp $
d9 2
a10 2
DISTNAME=	cu-sudo.v1.5.7p4
PKGNAME=	sudo-1.5.7.4
a12 1
EXTRACT_SUFX=	.tar.Z
d16 1
d18 10
a27 2
CONFIGURE_ARGS=	--with-C2 --with-skey --with-fbsdops
WRKSRC=		${WRKDIR}/sudo.v1.5.7p4
@


1.14
log
@Version changed again, this time to 1.5.6.5.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.13 1998/10/26 13:20:23 vanilla Exp $
d9 2
a10 2
DISTNAME=	cu-sudo.v1.5.6p5
PKGNAME=	sudo-1.5.6.5
d19 1
a19 1
WRKSRC=		${WRKDIR}/sudo.v1.5.6p5
@


1.13
log
@Upgrade to latest version, remove BROKEN tag.
@
text
@d2 1
a2 1
# Version required:     1.5.6.4
d6 1
a6 1
# $Id: Makefile,v 1.12 1998/10/26 08:58:30 asami Exp $
d9 2
a10 2
DISTNAME=	cu-sudo.v1.5.6p4
PKGNAME=	sudo-1.5.6.4
d19 1
a19 1
WRKSRC=		${WRKDIR}/sudo.v1.5.6p4
@


1.12
log
@The distfile doesn't exist on master site anymore....
@
text
@d2 1
a2 1
# Version required:     1.5.6.3
d6 1
a6 1
# $Id: Makefile,v 1.11 1998/10/23 14:29:31 vanilla Exp $
d9 2
a10 2
DISTNAME=	cu-sudo.v1.5.6p3
PKGNAME=	sudo-1.5.6.3
a16 2
BROKEN=		fetch

d19 1
a19 1
WRKSRC=		${WRKDIR}/sudo.v1.5.6p3
@


1.11
log
@Upgrade to 1.5.6p3, and change erich's email address.
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.10 1998/01/13 13:49:01 erich Exp $
d16 2
@


1.10
log
@upgrade to 1.5.4
Submitted by:	Warner Losh
@
text
@d2 1
a2 1
# Version required:     1.5.3
d6 1
a6 1
# $Id: Makefile,v 1.9 1997/11/12 03:24:41 obrien Exp $
d9 2
a10 2
DISTNAME=	cu-sudo.v1.5.4
PKGNAME=	sudo-1.5.4
d15 1
a15 1
MAINTAINER=	erich@@rrnet.com
d19 1
a19 1
WRKSRC=		${WRKDIR}/sudo.v1.5.4
@


1.9
log
@Since we have S/Key in the base system, might as well suport it.
(someone that uses OPIE should test out that link option)
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.8 1997/10/22 08:46:03 obrien Exp $
d9 2
a10 2
DISTNAME=	cu-sudo.v1.5.3
PKGNAME=	sudo-1.5.3
d12 1
a12 1
MASTER_SITES=	ftp://freestuff.cs.colorado.edu/pub/sysadmin/sudo/
d19 1
a19 1
WRKSRC=		${WRKDIR}/sudo.v1.5.3
@


1.8
log
@Sudo's config is in fact the autoconf type.. lets say so.
Now sudo will obey ${PREFIX}
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.7 1996/11/26 15:27:10 erich Exp $
d18 1
a18 1
CONFIGURE_ARGS=	--with-C2 --with-fbsdops
@


1.7
log
@upgrade to 1.5.3
Submitted by:	Masafumi NAKANE (max@@wide.ad.jp)
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.6 1996/11/18 14:13:33 asami Exp $
d17 1
a17 1
HAS_CONFIGURE=	yes
@


1.6
log
@Compress a bunch of manpages.  Remove unnecessary @@ directives from
PLISTs.

Note: I know that this is going to break some symlinks and/or .so
includes, I will back some of these out as I run into these during
package building.
@
text
@d2 1
a2 1
# Version required:     1.5
d6 1
a6 1
# $Id: Makefile,v 1.5 1996/11/12 00:05:35 obrien Exp $
d9 2
a10 2
DISTNAME=	cu-sudo.v1.5
PKGNAME=	sudo-1.5
d19 1
a19 1
WRKSRC=		${WRKDIR}/sudo.v1.5
@


1.5
log
@Moved sudo from ports/sysutils -> ports/security.

Reviewed by:    Satoshi
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.4 1996/09/06 13:41:02 erich Exp $
d20 2
@


1.4
log
@upgrade to v1.5
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.3 1996/02/16 10:38:03 asami Exp $
d11 2
a12 2
CATEGORIES+=	sysutils
MASTER_SITES=	ftp://freestuff.cs.colorado.edu//pub/sysadmin/sudo/
@


1.3
log
@Fix ordering of variables.
@
text
@d2 1
a2 1
# Version required:     1.4
d6 1
a6 1
# $Id: Makefile,v 1.2 1996/02/05 16:37:40 erich Exp $
d9 2
a10 2
DISTNAME=	cu-sudo.v1.4
PKGNAME=	sudo-1.4
d12 1
a12 1
MASTER_SITES=	ftp://ftp.cs.colorado.edu/pub/sysadmin/utilities/
d18 2
a19 1
WRKSRC=		${WRKDIR}/sudo.v1.4
@


1.2
log
@upgrade to version 1.4
@
text
@d6 1
a6 1
# $Id: Makefile,v 1.1.1.1 1995/09/22 13:52:50 erich Exp $
a10 1
MAINTAINER=	erich@@rrnet.com
d13 1
d15 1
a15 1
EXTRACT_SUFX=	.tar.Z
@


1.1
log
@Initial revision
@
text
@d2 1
a2 1
# Version required:     1.3.1pl4
d6 1
a6 1
# $Id$
d9 2
a10 2
DISTNAME=	cu-sudo.v1.3.1pl4
PKGNAME=	sudo-1.3.1.4
d13 2
a14 1
MASTER_SITES=	ftp://mroe.cs.colorado.edu/pub/sysadmin/utilities/
d18 1
a18 1
WRKSRC=		${WRKDIR}/sudo.v1.3.1pl4
@


1.1.1.1
log
@added sudo to ports/sysutils

Reviewed by:	satoshi
@
text
@@
