aboutsummaryrefslogtreecommitdiff
path: root/security/sudo
diff options
context:
space:
mode:
authorTom McLaughlin <tmclaugh@FreeBSD.org>2007-07-26 15:53:40 +0000
committerTom McLaughlin <tmclaugh@FreeBSD.org>2007-07-26 15:53:40 +0000
commit59a14688662869eead89ac41e9bb4e56c3038f41 (patch)
treef80bcdc1d935f303d676a0dc3cbd62dae9cfc1be /security/sudo
parent6c6334da7a0865e2d41fd59226501f6604df0812 (diff)
downloadports-59a14688662869eead89ac41e9bb4e56c3038f41.tar.gz
ports-59a14688662869eead89ac41e9bb4e56c3038f41.zip
Notes
Diffstat (limited to 'security/sudo')
-rw-r--r--security/sudo/Makefile6
-rw-r--r--security/sudo/distinfo6
-rw-r--r--security/sudo/files/pam.conf6
-rw-r--r--security/sudo/files/patch-auth_pam.c13
4 files changed, 9 insertions, 22 deletions
diff --git a/security/sudo/Makefile b/security/sudo/Makefile
index 2b3f88664be0..aa07386171e5 100644
--- a/security/sudo/Makefile
+++ b/security/sudo/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= sudo
-PORTVERSION= 1.6.9
-PORTREVISION= 1
+PORTVERSION= 1.6.9.p1
CATEGORIES= security
MASTER_SITES= http://www.sudo.ws/sudo/dist/ \
http://probsd.org/sudoftp/ \
@@ -19,8 +18,9 @@ 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.9p1
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= tmclaugh@FreeBSD.org
COMMENT= Allow others to run commands as root
GNU_CONFIGURE= yes
diff --git a/security/sudo/distinfo b/security/sudo/distinfo
index 47d22014ded3..565d21bfbc47 100644
--- a/security/sudo/distinfo
+++ b/security/sudo/distinfo
@@ -1,3 +1,3 @@
-MD5 (sudo-1.6.9.tar.gz) = 7eeb0d89a7c358012377c8d150581cd7
-SHA256 (sudo-1.6.9.tar.gz) = 7c657029eaebe5dfa3617e47fcb90c1ed8a5eddebc48b8efeb85c88ee647787f
-SIZE (sudo-1.6.9.tar.gz) = 557692
+MD5 (sudo-1.6.9p1.tar.gz) = 3bd851451f00001f1f405653f2c1682f
+SHA256 (sudo-1.6.9p1.tar.gz) = 1b8bb1f15001844e956a3e72970d78b27ce737dbf4b59c60b6bb729349255757
+SIZE (sudo-1.6.9p1.tar.gz) = 557995
diff --git a/security/sudo/files/pam.conf b/security/sudo/files/pam.conf
index 40070d614c46..29aafcf2508c 100644
--- a/security/sudo/files/pam.conf
+++ b/security/sudo/files/pam.conf
@@ -11,9 +11,9 @@ auth include system
account include system
# session
-# XXX: pam_lastlog causes users to appear as though they are no longer
-# logged in in system logs. This is a temporary workaround.
-#session include system
+# XXX: pam_lastlog (used in system) causes users to appear as though
+# they are no longer logged in in system logs.
+session include pam_permit.so
# password
password include system
diff --git a/security/sudo/files/patch-auth_pam.c b/security/sudo/files/patch-auth_pam.c
deleted file mode 100644
index ed0a9ab39b37..000000000000
--- a/security/sudo/files/patch-auth_pam.c
+++ /dev/null
@@ -1,13 +0,0 @@
---- auth/pam.c.orig 2007-06-11 21:41:12.000000000 -0400
-+++ auth/pam.c 2007-07-22 21:02:46.956010000 -0400
-@@ -94,7 +94,9 @@
- log_error(USE_ERRNO|NO_EXIT|NO_MAIL, "unable to initialize PAM");
- return(AUTH_FATAL);
- }
-- if (strcmp(user_tty, "unknown"))
-+ if (strcmp(user_tty, "unknown") == 0)
-+ (void) pam_set_item(pamh, PAM_TTY, "");
-+ else
- (void) pam_set_item(pamh, PAM_TTY, user_tty);
-
- return(AUTH_SUCCESS);