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