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
|
2001-03-07 10:31:39 +00:00
|
|
|
PORTVERSION= 1.6.3.7
|
2002-01-09 17:04:15 +00:00
|
|
|
PORTREVISION= 2
|
1996-11-12 00:05:35 +00:00
|
|
|
CATEGORIES= security
|
2001-02-21 12:42:59 +00:00
|
|
|
MASTER_SITES= ftp://ftp.cs.colorado.edu/pub/sysadmin/sudo/ \
|
|
|
|
ftp://ftp.stikman.com/pub/sudo/ \
|
|
|
|
ftp://ftp.uu.net/pub/security/sudo/
|
2001-03-07 10:31:39 +00:00
|
|
|
DISTNAME= ${PORTNAME}-1.6.3p7
|
1995-09-22 13:52:51 +00:00
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= mharo@FreeBSD.org
|
1996-02-16 10:38:03 +00:00
|
|
|
|
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 \
|
2001-02-14 20:19:44 +00:00
|
|
|
--with-insults \
|
|
|
|
--with-all-insults \
|
2000-04-17 23:08:30 +00:00
|
|
|
--with-logincap \
|
2001-06-24 12:39:55 +00:00
|
|
|
--disable-root-sudo \
|
|
|
|
--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
|
|
|
|
|
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:
|
2000-04-07 06:09:12 +00:00
|
|
|
perl -i -pe '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>
|