diff options
author | hubertf <hubertf@pkgsrc.org> | 1997-12-14 23:38:21 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 1997-12-14 23:38:21 +0000 |
commit | da40dd73e210b72f65fed462da164077a17b4ee8 (patch) | |
tree | 81ae8b19d6aefa0a2ea8bf04d75cc2a1dbffa8d1 /security/sudo/patches | |
parent | e18979004418322ae56212e9503a7d8abb18a8c8 (diff) | |
download | pkgsrc-da40dd73e210b72f65fed462da164077a17b4ee8.tar.gz |
Update for NetBSD, mostly by Soren S. Jorvang <soren@t.dk>
Diffstat (limited to 'security/sudo/patches')
-rw-r--r-- | security/sudo/patches/patch-ab | 19 | ||||
-rw-r--r-- | security/sudo/patches/patch-ac | 10 |
2 files changed, 15 insertions, 14 deletions
diff --git a/security/sudo/patches/patch-ab b/security/sudo/patches/patch-ab index 9930c0de3e0..150181d7f95 100644 --- a/security/sudo/patches/patch-ab +++ b/security/sudo/patches/patch-ab @@ -1,10 +1,11 @@ ---- ./Makefile.in.org Sun Aug 25 10:29:31 1996 -+++ ./Makefile.in Wed Oct 16 00:43:03 1996 -@@ -214,6 +214,7 @@ - else \ - $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0440 $(srcdir)/sudoers $(sudoersdir)/sudoers; \ - fi -+ $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0440 $(srcdir)/sudoers $(sudoersdir)/sudoers.sample +--- check.c.orig Sat Nov 29 23:32:37 1997 ++++ check.c Sat Nov 29 23:32:51 1997 +@@ -733,7 +733,7 @@ + (void) fclose(user_skey->keyfile); - install-man: - $(INSTALL) -o $(install_uid) -g $(install_gid) -m 0444 $(srcdir)/sudo.$(mantype) $(mandir8)/sudo.$(mansect8) + /* get the skey part of the prompt */ +- if ((rval = skeychallenge(user_skey, user_name, challenge)) != 0) { ++ if ((rval = skeychallenge(user_skey, user_name, challenge, sizeof(challenge))) != 0) { + #ifdef OTP_ONLY + (void) fprintf(stderr, + "%s: You do not exist in the s/key database.\n", diff --git a/security/sudo/patches/patch-ac b/security/sudo/patches/patch-ac index 253990f28d8..056fb254bd7 100644 --- a/security/sudo/patches/patch-ac +++ b/security/sudo/patches/patch-ac @@ -10,7 +10,7 @@ .PP \fBsudo\fR determines who is an authorized user by consulting the -file \fI/etc/sudoers\fR. By giving \fBsudo\fR the \f(CW-v\fR flag a user -+file \fI/usr/local/etc/sudoers\fR. By giving \fBsudo\fR the \f(CW-v\fR flag a user ++file \fI/usr/pkg/etc/sudoers\fR. By giving \fBsudo\fR the \f(CW-v\fR flag a user can update the time stamp without running a \fIcommand.\fR The password prompt itself will also time out if the password is not entered with N minutes (again, this is defined at installation @@ -19,7 +19,7 @@ .PP .Vb 1 -\& /etc/sudoers file of authorized users. -+\& /usr/local/etc/sudoers file of authorized users. ++\& /usr/pkg/etc/sudoers file of authorized users. .Ve .SH "ENVIRONMENT VARIABLES" .IX Header "ENVIRONMENT VARIABLES" @@ -95,7 +95,7 @@ .Vb 2 -\& /etc/sudoers file of authorized users. -\& /etc/netgroup list of network groups. -+\& /usr/local/etc/sudoers file of authorized users. ++\& /usr/pkg/etc/sudoers file of authorized users. +\& /etc/netgroup list of network groups. .Ve .SH "SEE ALSO" @@ -108,8 +108,8 @@ .Vb 2 -\& /etc/sudoers file of authorized users. -\& /etc/stmp lock file for visudo. -+\& /usr/local/etc/sudoers file of authorized users. -+\& /usr/local/etc/stmp lock file for visudo. ++\& /usr/pkg/etc/sudoers file of authorized users. ++\& /usr/pkg/etc/stmp lock file for visudo. .Ve .SH "ENVIRONMENT VARIABLES" .IX Header "ENVIRONMENT VARIABLES" |