head	1.38;
access;
symbols
	RELEASE_8_3_0:1.36
	RELEASE_9_0_0:1.34
	RELEASE_7_4_0:1.33
	RELEASE_8_2_0:1.33
	RELEASE_6_EOL:1.32
	RELEASE_8_1_0:1.31
	RELEASE_7_3_0:1.31
	old_RELEASE_8_0_0:1.25
	old_RELEASE_7_2_0:1.24
	old_old_RELEASE_7_1_0:1.22
	old_old_RELEASE_6_4_0:1.22
	old_old_RELEASE_5_EOL:1.22
	old_old_RELEASE_7_0_0:1.22
	old_old_RELEASE_6_3_0:1.22
	old_old_PRE_XORG_7:1.22
	old_old_RELEASE_4_EOL:1.22
	old_old_RELEASE_6_2_0:1.19
	old_old_RELEASE_6_1_0:1.18
	old_old_RELEASE_5_5_0:1.18
	old_old_RELEASE_6_0_0:1.12
	old_old_RELEASE_5_4_0:1.5
	old_old_RELEASE_4_11_0:1.5;
locks; strict;
comment	@# @;


1.38
date	2012.11.17.06.01.21;	author svnexp;	state Exp;
branches;
next	1.37;

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

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

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

1.34
date	2011.09.23.22.25.19;	author amdmi3;	state Exp;
branches;
next	1.33;

1.33
date	2010.12.29.20.04.30;	author pgollucci;	state Exp;
branches;
next	1.32;

1.32
date	2010.09.15.18.35.11;	author ade;	state Exp;
branches;
next	1.31;

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

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

1.29
date	2010.01.13.18.32.44;	author cy;	state Exp;
branches;
next	1.28;

1.28
date	2009.12.30.17.50.00;	author pav;	state Exp;
branches;
next	1.27;

1.27
date	2009.12.15.07.17.46;	author cy;	state Exp;
branches;
next	1.26;

1.26
date	2009.12.14.07.47.06;	author cy;	state Exp;
branches;
next	1.25;

1.25
date	2009.09.02.15.01.51;	author amdmi3;	state Exp;
branches;
next	1.24;

1.24
date	2009.01.13.06.45.40;	author cy;	state Exp;
branches;
next	1.23;

1.23
date	2009.01.13.04.07.57;	author cy;	state Exp;
branches;
next	1.22;

1.22
date	2007.01.06.22.42.50;	author cy;	state Exp;
branches;
next	1.21;

1.21
date	2007.01.05.22.31.57;	author cy;	state Exp;
branches;
next	1.20;

1.20
date	2007.01.05.03.30.02;	author cy;	state Exp;
branches;
next	1.19;

1.19
date	2006.06.11.21.04.34;	author erwin;	state Exp;
branches;
next	1.18;

1.18
date	2005.10.26.17.14.38;	author cy;	state Exp;
branches;
next	1.17;

1.17
date	2005.10.25.18.58.03;	author cy;	state Exp;
branches;
next	1.16;

1.16
date	2005.10.25.18.56.46;	author cy;	state Exp;
branches;
next	1.15;

1.15
date	2005.10.24.23.46.47;	author cy;	state Exp;
branches;
next	1.14;

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

1.13
date	2005.10.04.22.16.02;	author cy;	state Exp;
branches;
next	1.12;

1.12
date	2005.06.17.17.00.02;	author cy;	state Exp;
branches;
next	1.11;

1.11
date	2005.06.01.21.27.52;	author cy;	state Exp;
branches;
next	1.10;

1.10
date	2005.05.07.03.14.06;	author kris;	state Exp;
branches;
next	1.9;

1.9
date	2005.04.21.23.17.21;	author cy;	state Exp;
branches;
next	1.8;

1.8
date	2005.04.21.21.49.24;	author cy;	state Exp;
branches;
next	1.7;

1.7
date	2005.04.19.23.38.05;	author cy;	state Exp;
branches;
next	1.6;

1.6
date	2005.04.13.02.03.45;	author cy;	state Exp;
branches;
next	1.5;

1.5
date	2004.11.14.04.05.42;	author cy;	state Exp;
branches;
next	1.4;

1.4
date	2004.10.30.01.46.55;	author cy;	state Exp;
branches;
next	1.3;

1.3
date	2004.10.29.18.31.14;	author cy;	state Exp;
branches;
next	1.2;

1.2
date	2004.10.28.22.33.41;	author cy;	state Exp;
branches;
next	1.1;

1.1
date	2004.10.28.20.04.55;	author cy;	state Exp;
branches;
next	;


desc
@@


1.38
log
@Switch exporter over
@
text
@# Ports collection Makefile for:	sudosh
# Date created:				10/28/2004
# Whom:					cy@@FreeBSD.org
#
# $FreeBSD: head/security/sudosh3/Makefile 302355 2012-08-09 19:47:19Z cy $
#

PORTNAME=		sudosh3
PORTVERSION=		3.2.0
PORTREVISION=		2
CATEGORIES=		security
MASTER_SITES=		SF/${PORTNAME}

MAINTAINER=		cy@@FreeBSD.org
COMMENT=		Third version of the sudo shell
CONFLICTS=		sudosh-*

FORBIDDEN=		Secunia Advisory SA38292, ISS X-Force sudosh-replay-bo (55903), replay() function buffer overflow.

RUN_DEPENDS=		sudo:${PORTSDIR}/security/sudo

GNU_CONFIGURE=		yes

CONFIGURE_ARGS=		--bindir="${PREFIX}/bin"
CONFIGURE_ARGS+=	--sysconfdir="${PREFIX}/etc"
CONFIGURE_ARGS+=	--program-transform-name=''
.if defined(SUDOSH_LOGDIR)
CONFIGURE_ARGS+=	--with-logdir="${SUDOSH_LOGDIR}"
.else
CONFIGURE_ARGS+=	--with-logdir=/var/log/sudosh
.endif
LDFLAGS+=		-lutil

MAN1=			sudosh.1
MAN5=			sudosh.conf.5
MAN8=			sudosh-replay.8

.include <bsd.port.pre.mk>

post-install:
	@@${TEST} -f ${PREFIX}/etc/sudosh.conf || ${CP} -p ${PREFIX}/etc/sudosh.conf.sample ${PREFIX}/etc/sudosh.conf

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


1.37
log
@SVN rev 302355 on 2012-08-09 19:47:19Z by cy

Secunia Advisory SA38292, ISS X-Force sudosh-replay-bo (55903), replay() function buffer overflow.

Security:	Secunia Advisory SA38292, ISS X-Force sudosh-replay-bo (55903)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.36
log
@Fix PORTREVISION typo.
@
text
@d18 2
@


1.35
log
@Update package description.
@
text
@d10 1
a10 1
PORTREVSION=		2
@


1.34
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
@d10 1
a10 1
PORTREVISION=		1
@


1.33
log
@- DISTNAME= ${PORTNAME}-${PORTVERSION} is the default and not needed.

PR:             ports/153292
Submitted by:   myself (pgollucci)
Tested by:      -exp run by pav
Approved by:    portmgr (pav)
@
text
@d30 1
a30 1
CONFIGURE_ENV=		LDFLAGS="-lutil"
@


1.32
log
@Autotools update.   Read ports/UPDATING 20100915 for details.

Approved by:	portmgr (for Mk/bsd.port.mk part)
Tested by:	Multiple -exp runs
@
text
@a12 1
DISTNAME=		${PORTNAME}-${PORTVERSION}
@


1.31
log
@Remove the requirement for automake as it's not needed to build.
@
text
@d10 1
@


1.30
log
@Repair configure error.
@
text
@a20 2
HAS_CONFIGURE=		yes
USE_AUTOTOOLS=		automake:110
@


1.29
log
@Unbreak, add autotools dependency.
@
text
@d21 1
@


1.28
log
@- Mark BROKEN: fails to package

Reported by:	pointyhat
@
text
@a19 2
BROKEN=			does not package

d21 1
@


1.27
log
@Welcome sudosh3 to the ports collection.
@
text
@d20 2
@


1.26
log
@Forced commit to document that security/sudosh3 was repocopied from
security/sudos2.

PR:		141115
@
text
@d8 2
a9 2
PORTNAME=		sudosh2
PORTVERSION=		1.0.2
d11 1
a11 1
MASTER_SITES=		SF/${PORTNAME}/${PORTNAME}/v${PORTVERSION}
a12 1
EXTRACT_SUFX=		.tbz2
d15 1
a15 1
COMMENT=		Second version of the sudo shell
a17 1
USE_BZIP2=		yes
d36 6
a41 1
.include <bsd.port.mk>
@


1.25
log
@- Retire MASTER_SITE_SOURCEFORGE_EXTENDED, it's no longer needed - all mirrors actually have all distfiles
- Merge all SF mirrors to MASTER_SITE_SOURCEFORGE, resort according to quick download speed survey
- Fix MASTER_SITES for all port that have used SOURCEFORGE_EXTENTED

Approved by:	portmgr (pav)
@
text
@@


1.24
log
@Welcome the new sudosh2 port. Sudosh2 was forked from sudosh in 2007.
@
text
@d11 1
a11 2
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE_EXTENDED}
MASTER_SITE_SUBDIR=	${PORTNAME:S/_/-/}
@


1.23
log
@Forced commit to document the repocopy of sudosh to sudosh2. Sudosh2 is a
fork of sudosh (by Douglas Hanks). Douglas stopped updating sudosh in 2005,
and my fork was created in 2007.
@
text
@d8 2
a9 3
PORTNAME=		sudosh
PORTVERSION=		1.8.2
PORTREVISION=		5
d14 1
d17 2
a18 1
COMMENT=		A sudo shell
d20 1
@


1.22
log
@Fix SIBGUS and SIGSEGV violations on amd64 platform.
@
text
@@


1.21
log
@ptsname(3) is supported under FreeBSD 5.X and up.

Submitted by:	jkim
@
text
@d10 1
a10 1
PORTREVISION=		4
@


1.20
log
@Fix errant ifdefs which also fixes build under 4.X.

Submitted by:	jkim
@
text
@d10 1
a10 1
PORTREVISION=		3
@


1.19
log
@Remove the use of USE_GZIP. I cannot find any use of it in bsd.port.mk
and these ports build fine without it. My guess is that it was added
by someone as an opposite to USE_BZIP2 and other people copied it.
Remove it once and for all.

With hat:	portmgr
@
text
@d37 1
a37 7
.include <bsd.port.pre.mk>

.if ${OSVERSION} < 500000
BROKEN=			"Does not compile on FreeBSD 4.x"
.endif

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


1.18
log
@Make this port sysinstall friendly.
@
text
@a20 1
USE_GZIP=		yes
@


1.17
log
@Cosmetic formatting change.
@
text
@d10 1
a10 1
PORTREVISION=		2
a43 3
post-install:
	@@${CAT} ${PKGMESSAGE}

@


1.16
log
@Adjust port to installl sudoers.conf.sample as a reference sample file.
Conditionally install sudoers.conf.
@
text
@d17 1
a17 1
COMMENT=	A sudo shell
@


1.15
log
@Fix broken port, capture missing file in pkg-plist.

Pointy hat to:	me
@
text
@d10 1
a10 1
PORTREVISION=		1
d44 3
@


1.14
log
@BROKEN: Installs file outside of PREFIX
@
text
@d10 1
a20 2
BROKEN=			Installs file outside of PREFIX

d25 1
@


1.13
log
@Update 1.8.1 --> 1.8.2
@
text
@d20 2
@


1.12
log
@Update 1.6.3 --> 1.8.1
@
text
@d9 1
a9 1
PORTVERSION=		1.8.1
@


1.11
log
@Update 1.4.9p1 --> 1.6.3.

Fix a nasty job control/interrupt bug.
@
text
@d9 1
a9 1
PORTVERSION=		1.6.3
d33 1
@


1.10
log
@BROKEN on 4.x: Does not compile
@
text
@d9 1
a9 1
PORTVERSION=		1.4.9.1
d13 1
a13 1
DISTNAME=		${PORTNAME}-${PORTVERSION:C/\.[0-9]*$/p&/:C/p\./p/}
@


1.9
log
@Udate 1.4.8 --> 1.4.9p1
@
text
@d35 7
a41 1
.include <bsd.port.mk>
@


1.8
log
@Set a configurable sudosh logdir which defaults to the /var/log/sudosh
directory.
@
text
@d9 1
a9 2
PORTVERSION=		1.4.8
PORTREVISION=		1
d11 1
a11 1
MASTER_SITES=		${MASTER_SITE_SOURCEFORGE}
d13 1
d20 1
a20 1
USE_BZIP2=		yes
d24 1
@


1.7
log
@Package list fixup.

Noticed by:	kris
Pointy hat to:	myself
@
text
@d10 1
d24 5
@


1.6
log
@Udate 1.4.1 --> 1.4.8
@
text
@d25 3
@


1.5
log
@Fix link issue under FreeBSD-4.X due to unsupported functions.
@
text
@d9 1
a9 2
PORTVERSION=		1.4.1
PORTREVISION=		3
@


1.4
log
@Add a sudo dependency and dependency on libutil.
@
text
@d10 1
a10 1
PORTREVISION=		2
@


1.3
log
@Correct some tty handling problems.
@
text
@d18 2
d24 1
@


1.2
log
@Repair handling of ptys.
@
text
@d10 1
a10 1
PORTREVISION=		1
@


1.1
log
@Introduce sudosh (sudo shell) into the Ports Tree.
@
text
@d10 1
@

