head	1.34;
access;
symbols
	RELEASE_8_3_0:1.32
	RELEASE_9_0_0:1.32
	RELEASE_7_4_0:1.32
	RELEASE_8_2_0:1.32
	RELEASE_6_EOL:1.32
	RELEASE_8_1_0:1.32
	RELEASE_7_3_0:1.32
	RELEASE_8_0_0:1.32
	RELEASE_7_2_0:1.32
	RELEASE_7_1_0:1.31
	RELEASE_6_4_0:1.31
	RELEASE_5_EOL:1.31
	RELEASE_7_0_0:1.30
	RELEASE_6_3_0:1.30
	PRE_XORG_7:1.30
	RELEASE_4_EOL:1.30
	RELEASE_6_2_0:1.28
	RELEASE_6_1_0:1.26
	RELEASE_5_5_0:1.26
	RELEASE_6_0_0:1.25
	RELEASE_5_4_0:1.25
	RELEASE_4_11_0:1.25
	RELEASE_5_3_0:1.25
	RELEASE_4_10_0:1.24
	RELEASE_5_2_1:1.24
	RELEASE_5_2_0:1.24
	RELEASE_4_9_0:1.23
	RELEASE_5_1_0:1.22
	RELEASE_4_8_0:1.22
	RELEASE_5_0_0:1.21
	RELEASE_4_7_0:1.21
	RELEASE_4_6_2:1.19
	RELEASE_4_6_1:1.19
	RELEASE_4_6_0:1.19
	RELEASE_5_0_DP1:1.19
	RELEASE_4_5_0:1.19
	RELEASE_4_4_0:1.19
	RELEASE_4_3_0:1.18
	RELEASE_4_2_0:1.18
	RELEASE_4_1_1:1.18
	RELEASE_4_1_0:1.18
	RELEASE_3_5_0:1.18
	RELEASE_4_0_0:1.13
	RELEASE_3_4_0:1.12
	RELEASE_3_3_0:1.12
	RELEASE_3_2_0:1.11
	super_3_11_9:1.9
	super_3_11_8:1.8
	RELEASE_3_1_0:1.6
	RELEASE_2_2_8:1.3
	super_3_11_6:1.4
	RELEASE_3_0_0:1.1.1.1
	RELEASE_2_2_7:1.1.1.1
	RELEASE_2_2_6:1.1.1.1
	RELEASE_2_2_5:1.1.1.1
	RELEASE_2_2_2:1.1.1.1
	super_3_9_7:1.1.1.1
	OBRIEN:1.1.1;
locks; strict;
comment	@# @;


1.34
date	2012.11.17.06.01.21;	author svnexp;	state Exp;
branches;
next	1.33;

1.33
date	2012.11.10.17.38.33;	author pawel;	state Exp;
branches;
next	1.32;

1.32
date	2009.03.09.19.29.09;	author miwi;	state Exp;
branches;
next	1.31;

1.31
date	2008.01.07.22.38.24;	author miwi;	state Exp;
branches;
next	1.30;

1.30
date	2006.12.16.11.53.53;	author miwi;	state Exp;
branches;
next	1.29;

1.29
date	2006.11.08.09.28.29;	author farrokhi;	state Exp;
branches;
next	1.28;

1.28
date	2006.07.24.12.12.42;	author jmelo;	state Exp;
branches;
next	1.27;

1.27
date	2006.07.16.15.18.24;	author clsung;	state Exp;
branches;
next	1.26;

1.26
date	2005.10.11.19.04.39;	author erwin;	state Exp;
branches;
next	1.25;

1.25
date	2004.09.03.17.55.00;	author obrien;	state Exp;
branches;
next	1.24;

1.24
date	2003.09.24.09.36.57;	author osa;	state Exp;
branches;
next	1.23;

1.23
date	2003.07.24.18.43.52;	author obrien;	state Exp;
branches;
next	1.22;

1.22
date	2003.03.07.06.10.50;	author ade;	state Exp;
branches;
next	1.21;

1.21
date	2002.08.04.07.43.00;	author obrien;	state Exp;
branches;
next	1.20;

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

1.19
date	2001.04.22.05.35.14;	author fenner;	state Exp;
branches;
next	1.18;

1.18
date	2000.05.16.16.58.31;	author obrien;	state Exp;
branches;
next	1.17;

1.17
date	2000.04.21.08.19.08;	author mharo;	state Exp;
branches;
next	1.16;

1.16
date	2000.04.09.18.30.39;	author cpiazza;	state Exp;
branches;
next	1.15;

1.15
date	2000.03.22.00.27.49;	author obrien;	state Exp;
branches;
next	1.14;

1.14
date	2000.03.20.02.37.21;	author obrien;	state Exp;
branches;
next	1.13;

1.13
date	2000.02.13.03.24.23;	author obrien;	state Exp;
branches;
next	1.12;

1.12
date	99.08.31.01.51.53;	author peter;	state Exp;
branches;
next	1.11;

1.11
date	99.02.28.21.42.55;	author asami;	state Exp;
branches;
next	1.10;

1.10
date	99.02.26.13.00.44;	author obrien;	state Exp;
branches;
next	1.9;

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

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

1.7
date	99.02.18.22.57.42;	author obrien;	state Exp;
branches;
next	1.6;

1.6
date	98.12.02.06.37.33;	author obrien;	state Exp;
branches;
next	1.5;

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

1.4
date	98.12.01.09.50.50;	author obrien;	state Exp;
branches;
next	1.3;

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

1.2
date	98.11.19.09.19.18;	author obrien;	state Exp;
branches;
next	1.1;

1.1
date	97.04.24.08.02.43;	author obrien;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	97.04.24.08.02.43;	author obrien;	state Exp;
branches;
next	;


desc
@@


1.34
log
@Switch exporter over
@
text
@# Created by: David O'Brien (obrien@@NUXI.com)
# $FreeBSD: head/security/super/Makefile 307297 2012-11-10 17:38:33Z pawel $

PORTNAME=	super
PORTVERSION=	3.30.0
CATEGORIES=	security sysutils
MASTER_SITES=	ftp://ftp.ucolick.org/pub/users/will/ \
		http://www.ucolick.org/~will/RUE/super/
EXTRACT_SUFX=	-tar.gz

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

LICENSE=	GPLv1

GNU_CONFIGURE=	yes
MAKE_JOBS_SAFE=	yes

MAN1=		super.1 setuid.1
MAN5=		super.5

.include <bsd.port.options.mk>

post-patch:
	@@${REINPLACE_CMD} 's|\.\/mkdir_p -p755|mkdir -p -m 755|g' \
		${WRKSRC}/Makefile.in

post-install:
	@@${STRIP_CMD} ${PREFIX}/bin/super ${PREFIX}/bin/setuid
.if ${PORT_OPTIONS:MDOCS}
	@@${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
.endif
.if ${PORT_OPTIONS:MEXAMPLES}
	@@${MKDIR} ${DOCSDIR} ${EXAMPLESDIR}
	${INSTALL_DATA} ${FILESDIR}/sample.tab ${EXAMPLESDIR}
	${INSTALL_DATA} ${FILESDIR}/sample.cdmount ${EXAMPLESDIR}
	${INSTALL_DATA} ${WRKSRC}/barebones.tab ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>
@


1.33
log
@SVN rev 307297 on 2012-11-10 17:38:33Z by pawel

- Add LICENSE
- Add MAKE_JOBS_SAFE
- Support PORTEXAMPLES
- Replace patch with REINPLACE_CMD

PR:             ports/172063
Submitted by:   KATO Tsuguru <tkato432@@yahoo.com>
Feature safe:   yes
@
text
@d2 1
a2 1
# $FreeBSD$
@


1.32
log
@- Reset farrokhi@@freebsd.org due to long period of inactivity.

Approved by:	portmgr (linimon)
@
text
@d1 1
a1 5
# ex:ts=8
# Ports collection makefile for:  super
# Date created:			  Fri Mar 18, 1997
# Whom:				  David O'Brien (obrien@@NUXI.com)
#
a2 1
#
d14 2
d17 2
d22 6
d30 5
a34 1
.if !defined(NOPORTDOCS)
d36 3
a38 3
	@@${INSTALL_DATA} ${FILESDIR}/sample.tab ${FILESDIR}/sample.cdmount \
		${WRKSRC}/barebones.tab ${EXAMPLESDIR}
	@@${INSTALL_MAN} ${WRKSRC}/README ${DOCSDIR}
@


1.31
log
@- Update to 3.30.0

Submitted by:	farrokhi@@ (maintainer)
@
text
@d16 1
a16 1
MAINTAINER=	farrokhi@@FreeBSD.org
@


1.30
log
@- Updatre to 3.26.2

Submitted by:	farrokhi
@
text
@d10 1
a10 1
PORTVERSION=	3.26.2
@


1.29
log
@Change my email address to farrokhi@@ in all ports that I maintain.
Approved by:	miwi (mentor)
@
text
@d10 1
a10 1
PORTVERSION=	3.26.1
@


1.28
log
@- Update mastersite.
- Update pkg-descr.

PR:		ports/100715
Submitted by:	Babak Farrokhi <babak@@farrokhi.net> (maintainer)
@
text
@d16 1
a16 1
MAINTAINER=	babak@@farrokhi.net
@


1.27
log
@- update to 3.26.1
- take maintainership
- pet portlint

PR:		ports/100387
Submitted by:	maintainer (Babak Farrokhi)
@
text
@d12 2
a13 1
MASTER_SITES=	ftp://ftp.ucolick.org/pub/users/will/
@


1.26
log
@- Update to 3.26.0 to fix fetching [1]
- Reset maintainer
- Remove now useless check for FreeBSD 3.x
- Make sure the example configuration file only
  gets deinstalled if not changed.

PR:             74263
Submitted by:   freebsd@@simplerezo.com [1], distsurvey [1]
Approved by:    maintainer timeout (11 months)
@
text
@d10 1
a10 1
PORTVERSION=	3.26.0
d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
@


1.25
log
@Update to 3.23.0.  This release of super fixes a potential root exploit:
http://xforce.iss.net/xforce/xfdb/16458

PR:		71328
Submitted by:	Piet Delport <pjd@@point45.com>
@
text
@d10 1
a10 1
PORTVERSION=	3.23.0
d15 1
a15 1
MAINTAINER=	obrien@@FreeBSD.org
a17 6
.include <bsd.port.pre.mk>

.if ${OSVERSION} <= 300000
BROKEN=	'/usr/include/prot.h parse error'
.endif

d27 1
a27 1
		${EXAMPLESDIR}
d31 1
a31 1
.include <bsd.port.post.mk>
@


1.24
log
@Make portlint(1) happy by changing strip to ${STRIP_CMD}

Submitted by:	Oleg Karachevtsev <ok@@etrust.ru>
PR:		56998
@
text
@d10 1
a10 1
PORTVERSION=	3.20.1
@


1.23
log
@Upgrade to version 3.20.1.
@
text
@d29 1
a29 1
	@@strip ${PREFIX}/bin/super ${PREFIX}/bin/setuid
@


1.22
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
a10 1
PORTVERSION=	3.20.0
@


1.21
log
@Update to 3.20.0.  Parts taken from PR below.

PR:		40869
Submitted by:	Seamus Venasse <svenasse@@polaris.ca>
@
text
@d16 1
@


1.20
log
@Mark FORBIDDEN due to local root exploit.
@
text
@d2 1
a2 1
# Ports collection makefile for:  foo
d10 1
a10 1
PORTVERSION=	3.14.0
d12 2
a13 3
MASTER_SITES=	ftp://ftp.ucolick.org/pub/users/will/  \
		ftp://ftp.astro.caltech.edu/users/will/  \
		ftp://ftp.infodrom.north.de/pub/unix/utilities/super/
a16 2
FORBIDDEN=	"Local root exploit. http://online.securityfocus.com/archive/1/285241"

a28 3
	@@${MKDIR} ${PREFIX}/share/examples
	@@${INSTALL_DATA} ${FILESDIR}/sample.tab ${PREFIX}/share/examples
	@@${INSTALL_DATA} ${FILESDIR}/sample.cdmount ${PREFIX}/share/examples
d30 4
a33 2
	@@${MKDIR} ${PREFIX}/share/doc/super
	${INSTALL_MAN} ${WRKSRC}/README ${PREFIX}/share/doc/super
@


1.19
log
@phobos.caltech.edu asks people to use ftp.astro.caltech.edu instead.
@
text
@d6 1
a6 1
# $FreeBSD: ports/security/super/Makefile,v 1.18 2000/05/16 16:58:31 obrien Exp $
d17 2
@


1.18
log
@Update to version 3.14.0.
@
text
@d6 1
a6 1
# $FreeBSD: ports/security/super/Makefile,v 1.17 2000/04/21 08:19:08 mharo Exp $
d13 1
a13 1
		ftp://phobos.caltech.edu/users/will/  \
@


1.17
log
@Correct whitespace introduced during PORTNAME conversion and portlint
@
text
@d6 1
a6 1
# $FreeBSD: ports/security/super/Makefile,v 1.16 2000/04/09 18:30:39 cpiazza Exp $
d10 1
a10 1
PORTVERSION=	3.12.1
d12 2
a13 2
MASTER_SITES=	ftp://phobos.caltech.edu/users/will/  \
		ftp://ftp.ucolick.org/pub/users/will/  \
@


1.16
log
@Update with the new PORTNAME/PORTVERSION variables
@
text
@d6 1
a6 1
# $FreeBSD: ports/security/super/Makefile,v 1.15 2000/03/22 00:27:49 obrien Exp $
d10 1
a10 1
PORTVERSION= 	3.12.1
@


1.15
log
@Restore useless version required comments.
@
text
@a2 1
# Version required: 0.0
d6 1
a6 1
# $FreeBSD: ports/security/super/Makefile,v 1.14 2000/03/20 02:37:21 obrien Exp $
d9 2
a10 1
DISTNAME=	super-3.12.1
@


1.14
log
@Remove the "version required" line.
@
text
@d3 1
d7 1
a7 1
# $FreeBSD: ports/security/super/Makefile,v 1.13 2000/02/13 03:24:23 obrien Exp $
@


1.13
log
@Style nits in the ports I maintain.
@
text
@a2 1
# Version required:		  3.9.7
d6 1
a6 1
# $FreeBSD: ports/security/super/Makefile,v 1.12 1999/08/31 01:51:53 peter Exp $
@


1.12
log
@$Id$ -> $FreeBSD$
@
text
@d3 1
a3 1
# Version required:     	  3.9.7
d7 1
a7 1
# $FreeBSD$
d16 1
a16 1
MAINTAINER=     obrien@@FreeBSD.org
@


1.11
log
@Remove trailing whitespace.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.10 1999/02/26 13:00:44 obrien Exp $
@


1.10
log
@upgrade to 3.12.1

This version fixes the Brazilian Information Security Team Security Advisor
on "buffer overflow condition if the syslog option is enabled".
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.9 1999/02/19 02:33:45 obrien Exp $
d21 1
a21 1
BROKEN=	'/usr/include/prot.h parse error'         
@


1.9
log
@Updated to super-3.11.9
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.8 1999/02/18 22:59:28 obrien Exp $
d10 1
a10 1
DISTNAME=	super-3.11.9
@


1.8
log
@vesion 3.11.{7,8} fixes the February 15, 1999 ISS Security Advisory on
buffer overflow in the Super program.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.7 1999/02/18 22:57:42 obrien Exp $
d10 1
a10 1
DISTNAME=	super-3.11.8
@


1.7
log
@update to 3.11.8
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.6 1998/12/02 06:37:33 obrien Exp $
@


1.6
log
@Need to do a little bsd.port.pre.mk action to avoid a syntax error.
Noticed by:	Bill Fenner <fenner@@parc.xerox.com>
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.5 1998/12/01 10:17:44 obrien Exp $
d10 1
a10 1
DISTNAME=	super-3.11.6
@


1.5
log
@return breakage status (but only for 2.2.x)

Requested by:	Satoshi
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.4 1998/12/01 09:50:50 obrien Exp $
d18 3
a20 1
.if ${OSVERSION} < 300000
d38 1
a38 1
.include <bsd.port.mk>
@


1.4
log
@Mark unbroken.  2.2 is dead, 3.0 is the current and future. :-)
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.3 1998/11/23 09:02:19 asami Exp $
d17 4
@


1.3
log
@Mark it broken, doesn't build on 2.2-stable.

=======
===>  Building for super-3.11.6
cc -c -DSUPERFILE=\"/usr/local/etc/super.tab\" -DTIMESTAMP_DIR=\"/usr/local/var/superstamps\" -DSYSLOG_PRIORITY=LOG_ERR -DHAVE_CONFIG_H -I.   -O -pipe super.c
In file included from localsys.h:166,
                 from super.h:18,
                 from super.c:12:
/usr/include/prot.h:60: parse error before `create_auth_reply'
/usr/include/prot.h:62: parse error before `KTEXT'
/usr/include/prot.h:62: warning: data definition has no type or storage class
*** Error code 1

Stop.
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.2 1998/11/19 09:19:18 obrien Exp $
a16 2

BROKEN=		build
@


1.2
log
@Update to version 3.11.6.
(currently the "password=y" feature to requre a password to be entered
before running a command only works on DES passwords)
@
text
@d7 1
a7 1
# $Id: Makefile,v 1.1.1.1 1997/04/24 08:02:43 obrien Exp $
d17 2
@


1.1
log
@Initial revision
@
text
@d5 1
a5 1
# Whom:				  David O'Brien (obrien@@FreeBSD.org)
d7 1
a7 1
# $Id: Makefile,v 1.2 1997/01/25 18:08:40 obrien Exp $
d10 1
a10 1
DISTNAME=	super-3.9.7
d12 3
a14 2
MASTER_SITES=	ftp://phobos.caltech.edu/users/will/
EXTRACT_SUFX=	.shar.gz
d16 1
a16 1
MAINTAINER=     obrien@@NUXI.com
d18 1
a18 3
EXTRACT_CMD=	zcat
EXTRACT_BEFORE_ARGS=
EXTRACT_AFTER_ARGS=	|sed -e '1,/Cut Here/d'|sh
a21 1

d25 2
a26 2
	@@${INSTALL} ${WRKSRC}/sample.tab ${PREFIX}/share/examples
	@@${INSTALL} ${WRKSRC}/sample.cdmount ${PREFIX}/share/examples
@


1.1.1.1
log
@Super is a setuid-root program that offers

    o  restricted setuid-root access to executables, adjustable
        on a per-program and per-user basis;

    o  a relatively secure environment for scripts, so that well-written
        scripts can be run as root (or some other uid/gid), without
        unduly compromising security.

See pkg/DESCR for a comparson w/sudo.
@
text
@@
