aboutsummaryrefslogtreecommitdiff
path: root/security/sudo
diff options
context:
space:
mode:
authorMichael Haro <mharo@FreeBSD.org>2004-08-20 06:49:35 +0000
committerMichael Haro <mharo@FreeBSD.org>2004-08-20 06:49:35 +0000
commit41fc6dd01dce82b627429a53cc12596793d04b3c (patch)
tree01722534b4637e356b8580f4b28aee7b28c0c827 /security/sudo
parent6bed3db87db257d9cc566b07ffcb129bb7ce6a3b (diff)
downloadports-41fc6dd01dce82b627429a53cc12596793d04b3c.tar.gz
ports-41fc6dd01dce82b627429a53cc12596793d04b3c.zip
Notes
Diffstat (limited to 'security/sudo')
-rw-r--r--security/sudo/Makefile8
-rw-r--r--security/sudo/distinfo4
-rw-r--r--security/sudo/files/patch-auth::pam.c16
-rw-r--r--security/sudo/pkg-plist2
4 files changed, 9 insertions, 21 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index 704266ac447b..0c13f7d1150e 100644
--- a/security/sudo/Makefile
+++ b/security/sudo/Makefile
@@ -6,8 +6,8 @@
#
PORTNAME= sudo
-PORTVERSION= 1.6.7.5
-PORTREVISION= 2
+PORTVERSION= 1.6.8
+PORTREVISION= 0
CATEGORIES= security
MASTER_SITES= http://www.sudo.ws/sudo/dist/ \
http://probsd.org/sudoftp/ \
@@ -19,7 +19,7 @@ MASTER_SITES= http://www.sudo.ws/sudo/dist/ \
http://pluto.cdpa.nsysu.edu.tw/sudo/ \
ftp://ftp.cs.colorado.edu/pub/sysadmin/sudo/ \
ftp://ftp.stikman.com/pub/sudo/
-DISTNAME= ${PORTNAME}-1.6.7p5
+DISTNAME= ${PORTNAME}-1.6.8
MAINTAINER= mharo@FreeBSD.org
COMMENT= Allow others to run commands as root
@@ -50,11 +50,13 @@ CONFIGURE_ARGS+=--enable-shell-sets-home
MAN5= sudoers.5
MAN8= sudo.8 visudo.8
+MLINKS= sudo.8 sudoedit.8
post-patch:
@${REINPLACE_CMD} -e 's|^|#|g' ${WRKSRC}/sample.sudoers
post-install:
${INSTALL_DATA} ${WRKSRC}/sample.sudoers ${PREFIX}/etc/sudoers.sample
+ ${RM} ${PREFIX}/libexec/sudo_noexec.la
.include <bsd.port.post.mk>
diff --git a/security/sudo/distinfo b/security/sudo/distinfo
index a9188fdbdb57..fc7a311e8a6d 100644
--- a/security/sudo/distinfo
+++ b/security/sudo/distinfo
@@ -1,2 +1,2 @@
-MD5 (sudo-1.6.7p5.tar.gz) = 55d503e5c35bf1ea83d38244e0242aaf
-SIZE (sudo-1.6.7p5.tar.gz) = 349785
+MD5 (sudo-1.6.8.tar.gz) = 94e0657c46e129cf6f1fe7ee313d6636
+SIZE (sudo-1.6.8.tar.gz) = 577564
diff --git a/security/sudo/files/patch-auth::pam.c b/security/sudo/files/patch-auth::pam.c
deleted file mode 100644
index bed7753f8257..000000000000
--- a/security/sudo/files/patch-auth::pam.c
+++ /dev/null
@@ -1,16 +0,0 @@
---- auth/pam.c.orig Wed Apr 2 11:55:50 2003
-+++ auth/pam.c Wed Apr 2 11:57:32 2003
-@@ -224,11 +224,11 @@
- p = pm->msg;
- /* Read the password. */
- pass = tgetpass(p, def_ival(I_PASSWD_TIMEOUT) * 60, flags);
-- pr->resp = estrdup(pass ? pass : "");
-+ pr->resp = estrdup((const char *)pass ? (const char *)pass : "");
- if (*pr->resp == '\0')
- nil_pw = 1; /* empty password */
- else
-- memset(pass, 0, strlen(pass));
-+ memset((void *)pass, 0, strlen((const char *)pass));
- break;
- case PAM_TEXT_INFO:
- if (pm->msg)
diff --git a/security/sudo/pkg-plist b/security/sudo/pkg-plist
index e4ca595b134b..aac447565035 100644
--- a/security/sudo/pkg-plist
+++ b/security/sudo/pkg-plist
@@ -1,4 +1,6 @@
@unexec if cmp -s %D/etc/sudoers %D/etc/sudoers.sample; then rm -f %D/etc/sudoers; fi
bin/sudo
+bin/sudoedit
etc/sudoers.sample
+libexec/sudo_noexec.so
sbin/visudo