1995-09-22 13:52:51 +00:00
|
|
|
# New ports collection makefile for: sudo
|
|
|
|
# Date created: Sun Aug 13 12:36:14 CDT 1995
|
|
|
|
# Whom: erich@rrnet.com
|
|
|
|
#
|
1999-08-31 01:53:22 +00:00
|
|
|
# $FreeBSD$
|
1995-09-22 13:52:51 +00:00
|
|
|
#
|
|
|
|
|
2000-04-09 18:34:06 +00:00
|
|
|
PORTNAME= sudo
|
2003-07-17 04:47:51 +00:00
|
|
|
PORTVERSION= 1.6.7.5
|
2003-04-19 20:21:29 +00:00
|
|
|
PORTREVISION?= 0
|
1996-11-12 00:05:35 +00:00
|
|
|
CATEGORIES= security
|
2002-01-15 02:56:33 +00:00
|
|
|
MASTER_SITES= http://www.sudo.ws/sudo/dist/ \
|
|
|
|
ftp://ftp.cs.colorado.edu/pub/sysadmin/sudo/ \
|
2001-02-21 12:42:59 +00:00
|
|
|
ftp://ftp.stikman.com/pub/sudo/ \
|
|
|
|
ftp://ftp.uu.net/pub/security/sudo/
|
2003-07-17 04:47:51 +00:00
|
|
|
DISTNAME= ${PORTNAME}-1.6.7p5
|
1995-09-22 13:52:51 +00:00
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= mharo@FreeBSD.org
|
2003-03-07 06:14:21 +00:00
|
|
|
COMMENT= Allow others to run commands as root
|
1996-02-16 10:38:03 +00:00
|
|
|
|
2002-09-14 19:27:18 +00:00
|
|
|
USE_REINPLACE= yes
|
1997-10-22 08:46:03 +00:00
|
|
|
GNU_CONFIGURE= yes
|
1999-03-08 16:27:29 +00:00
|
|
|
|
2001-06-22 08:48:47 +00:00
|
|
|
CONFIGURE_ARGS= --sysconfdir=${PREFIX}/etc \
|
1999-03-08 16:27:29 +00:00
|
|
|
--disable-log-wrap \
|
|
|
|
--with-ignore-dot \
|
|
|
|
--with-tty-tickets \
|
|
|
|
--with-env-editor \
|
2000-04-17 23:08:30 +00:00
|
|
|
--with-logincap \
|
2001-06-24 12:39:55 +00:00
|
|
|
--with-long-otp-prompt \
|
|
|
|
--with-pam
|
1999-03-08 16:27:29 +00:00
|
|
|
|
2001-09-29 01:15:23 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if defined(WITH_OPIE) || ${OSVERSION} > 500021
|
2001-06-24 12:39:55 +00:00
|
|
|
CONFIGURE_ARGS+=--with-opie
|
2001-06-22 08:48:47 +00:00
|
|
|
.else
|
|
|
|
CONFIGURE_ARGS+=--with-skey
|
|
|
|
.endif
|
|
|
|
|
2003-07-17 04:49:47 +00:00
|
|
|
.if defined(WITH_SHELL_SETS_HOME)
|
|
|
|
CONFIGURE_ARGS+=--enable-shell-sets-home
|
|
|
|
.endif
|
|
|
|
|
1996-11-18 14:17:24 +00:00
|
|
|
MAN5= sudoers.5
|
|
|
|
MAN8= sudo.8 visudo.8
|
1995-09-22 13:52:51 +00:00
|
|
|
|
1999-12-22 17:53:40 +00:00
|
|
|
post-patch:
|
2002-09-14 19:27:18 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|^|#|g' ${WRKSRC}/sample.sudoers
|
1999-12-22 17:53:40 +00:00
|
|
|
|
1999-12-10 19:51:09 +00:00
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/sample.sudoers ${PREFIX}/etc/sudoers.sample
|
|
|
|
|
2001-09-29 01:15:23 +00:00
|
|
|
.include <bsd.port.post.mk>
|