2012-11-10 18:38:33 +01:00
|
|
|
# Created by: David O'Brien (obrien@NUXI.com)
|
1999-08-31 03:53:22 +02:00
|
|
|
# $FreeBSD$
|
1997-04-24 10:02:43 +02:00
|
|
|
|
2000-04-09 20:34:06 +02:00
|
|
|
PORTNAME= super
|
2008-01-07 23:38:24 +01:00
|
|
|
PORTVERSION= 3.30.0
|
1997-04-24 10:02:43 +02:00
|
|
|
CATEGORIES= security sysutils
|
2006-07-24 14:12:42 +02:00
|
|
|
MASTER_SITES= ftp://ftp.ucolick.org/pub/users/will/ \
|
|
|
|
http://www.ucolick.org/~will/RUE/super/
|
2002-08-04 09:43:00 +02:00
|
|
|
EXTRACT_SUFX= -tar.gz
|
1997-04-24 10:02:43 +02:00
|
|
|
|
2009-03-09 20:29:12 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= Allow others to run commands as root
|
1997-04-24 10:02:43 +02:00
|
|
|
|
2013-05-16 07:29:15 +02:00
|
|
|
LICENSE= ART10 GPLv1
|
|
|
|
LICENSE_COMB= dual
|
|
|
|
|
1998-11-19 10:19:19 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2012-11-10 18:38:33 +01:00
|
|
|
|
1997-04-24 10:02:43 +02:00
|
|
|
MAN1= super.1 setuid.1
|
|
|
|
MAN5= super.5
|
|
|
|
|
2012-11-10 18:38:33 +01:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} 's|\.\/mkdir_p -p755|mkdir -p -m 755|g' \
|
|
|
|
${WRKSRC}/Makefile.in
|
|
|
|
|
1997-04-24 10:02:43 +02:00
|
|
|
post-install:
|
2003-09-24 11:37:11 +02:00
|
|
|
@${STRIP_CMD} ${PREFIX}/bin/super ${PREFIX}/bin/setuid
|
2012-11-10 18:38:33 +01:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
.if ${PORT_OPTIONS:MEXAMPLES}
|
2002-08-04 09:43:00 +02:00
|
|
|
@${MKDIR} ${DOCSDIR} ${EXAMPLESDIR}
|
2012-11-10 18:38:33 +01:00
|
|
|
${INSTALL_DATA} ${FILESDIR}/sample.tab ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/sample.cdmount ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/barebones.tab ${EXAMPLESDIR}
|
1997-04-24 10:02:43 +02:00
|
|
|
.endif
|
|
|
|
|
2005-10-11 21:04:39 +02:00
|
|
|
.include <bsd.port.mk>
|