Commit graph

48 commits

Author SHA1 Message Date
jlam
d7fd38173d Mark as USE_BUILDLINK_ONLY. 2001-08-02 17:27:41 +00:00
jlam
9820a22a90 In package Makefiles, create FILES_SUBST instead of duplicating sed
expression for substituting in DEINSTALL/INSTALL scripts.  Use "${CMP} -s"
instead of "diff -q" since the former is more portable across OSes.
2001-07-13 07:09:17 +00:00
wiz
a660ab3da1 Remove build time dependency on autoconf by adding a patch for configure.
Fixes pkg/13004.
2001-06-26 00:49:54 +00:00
agc
a35e3d707c Move to sha1 digests, add distfile sizes. 2001-04-19 15:40:29 +00:00
agc
2d6b6a009c + move the distfile digest/checksum value from files/md5 to distinfo
+ move the patch digest/checksum values from files/patch-sum to distinfo
2001-04-17 11:43:32 +00:00
itojun
7d1286b91e upgrade to 1.6.3p7. p6 is no longer available.
416) Fix negation of path-type Defaults entries in a boolean context.
2001-04-08 00:02:45 +00:00
hubertf
e32afb6fea Change BUILD_DEPENDS semantics:
first component is now a package name+version/pattern, no more
executable/patchname/whatnot.

While there, introduce BUILD_USES_MSGFMT as shorthand to pull in
devel/gettext unless /usr/bin/msgfmt exists (i.e. on post-1.5 -current).

Patch by Alistair Crooks <agc@netbsd.org>
2001-03-27 03:19:43 +00:00
assar
55da32de67 turn KERBEROS into a binary switch 2001-03-04 03:26:50 +00:00
itojun
c1618cc152 upgrade to 1.6.3p6. (security fix)
415) Fix word splitting bug that caused a segv for very long command line args.
2001-02-23 08:11:35 +00:00
wiz
a87738b456 Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT. 2001-02-17 17:42:09 +00:00
tron
f2d262e0be Use full pathname "${LOCALBASE}/bin/auto..." in dependences and make
targets. This includes a fix for PR pkg/12125 by Tomasz Luchowski.
2001-02-05 09:00:54 +00:00
wiz
b979f7222a Add automatic ${VARIABLE} handling for MESSAGE files.
Convert most MESSAGE files to new syntax (${VARIABLE} gets replaced,
not @VARIABLE@, nor @@VARIABLE@@).
By default, substitutions are done for LOCALBASE, PKGNAME, PREFIX,
X11BASE, X11PREFIX; additional patterns can be added via MESSAGE_SUBST.
Clean up some packages while I'm there; add RCS tags to most MESSAGEs.
Remove some uninteresting MESSAGEs.
2001-01-29 11:34:21 +00:00
jlam
d75ede5b27 Look for build dependency in path instead. 2000-12-06 16:27:39 +00:00
jlam
3668b20367 * Cosmetic changes to Makefile.
* Use DEINSTALL/INSTALL scripts to handle config files.
* Install the UPGRADE file and add a MESSAGE file to refer to it, instead
  of spewing a big file every time sudo is installed.
2000-12-06 06:33:39 +00:00
jlam
23370c3263 Update sudo to 1.6.3p5. Changes from version 1.6.3p4:
* Fixed listpw and verifypw sudoers options.
	* Do not write NUL when writing passwd prompt.
2000-12-05 18:30:05 +00:00
thorpej
c986504d51 Don't syslog krb5_init_context() failure. It can happen if
Kerberos is simply not configured on the system.
2000-08-10 16:57:32 +00:00
thorpej
61e0d5c07e Make this work with Heimdal Kerberos 5. Requires fleshed-out MCC
support in Heimdal.
2000-08-10 02:25:28 +00:00
thorpej
f7dd62d6ee Remove a commend/if clause which turns out to not actually
be true.
2000-08-09 20:01:45 +00:00
veego
167953d5bb Make it work on Solaris. 2000-07-26 15:12:08 +00:00
mjl
26e1caa2ee Update to 1.6.3p4. Notable changes:
393) Users in the 'exempt' group shouldn't get their $PATH overridden
     by 'secure-path'.  Patch from jmknoble@pobox.com.
395) Fixed a bug that caused an infinite loop when the password
     timeout was disabled.
396) It is now possible to set the path to the editor for visudo as well
     as the flag that determines whether or not visudo will look at
     $EDITOR in the sudoers file.
398) Added rootpw, runaspw, and targetpw to prompt for the root, runas_default
     and target user's passwords respectively (instead of the invoking user's
     password).
399) Added -S flag to force password read from stdin.
400) Restore coredumpsize resource limit before exec'ing the child
     process (sudo sets it to 0 internally).
404) Fixed a bug where sudo would hang around and consume CPU if we spawn
     a long-running process.
406) Added set_logname run-time option.  When unset, sudo will not set
     the USER and LOGNAME environment variables.
407) Wildcards are now allowed in the hostnames specified in sudoers.
     The 'fqdn' option is often required for this to be useful.
408) Fixed a bug where host and user qualifiers in a Defaults entry were
     not being used correctly and the entry was being applied globally.
409) Fixed targetpw, rootpw, and runaspw options when used with non-passwd
     authentication (pam, etc).
410) When the targetpw flag is set, use the target username as part
     of the timestamp path.
411) Fixed a bug that prevented the -H option from being useful.
412) Fixed a case where a string was used after it has been freed.
2000-06-06 11:07:19 +00:00
thorpej
2388b352d8 Only enable Kerberos 5 support if USE_HEIMDAL is set; sudo uses API
features present in Heimdal but NOT present in MIT Kerberos (one more
reason to ditch MIT, I guess).
2000-02-28 01:55:26 +00:00
thorpej
565be9586e Find krb5 includes/libraries as installed in a crypto-aware NetBSD
installation.

Still doesn't work; MIT Kerberos 5 is missing some calls that
sudo wants (tho Heimdal has them).
2000-02-27 20:48:16 +00:00
jlam
9a70ae8992 Update to sudo-1.6.2p1. Changes from 1.6.2 (committed yesterday!):
393) Users in the 'exempt' group shouldn't get their $PATH overridden
     by 'secure-path'.  Patch from jmknoble@pobox.com.

394) Pam now works on HP-UX 11.0, thanks to Jeff A. Earickson.
2000-01-28 17:01:46 +00:00
jlam
ca4a2fdd0c Update to sudo-1.6.2. This is a bugfix release over sudo-1.6.1.
Changes from Sudo 1.6.1:

383) Better behavior for -l and -v flags in conjunction with NOPASSWD and
     added "verifypw" and "listpw" options.

384) For HP-UX with cc, add the -Aa flag along with -D_HPUX_SOURCE.

385) Fix compilation with K&R compilers.

386) For netgroup host matching, match against the short version of the
     hostname as well as the long one if they are different.

387) Terminate passwd reading on '\r' in addition to '\n'

388) Visudo used to loop endlessly if a user entered ^D at the whatnow
     prompt.  EOF is now treaded as 'x' (exit w/o saving changes).

389) The 'shell_noargs' runtime option is back based on a patch from
     bguillory@email.com.

390) Systems that return RLIM_INFINITY for RLIMIT_NOFILE (like AIX)
     would loop for a very loing time during sudo startup.  A value of
     RLIM_INFINITY is now ignored (getdtablesize/sysconf is used instead).

391) Locking in visudo was broken.  We now lock the sudoers file, not the
     sudoers temp file, which should be safe.

392) PAM fixups: custom prompts now work correctly and errors are
     dealt with more sanely.  Patches from Cloyce D. Spradling.
2000-01-28 00:33:21 +00:00
abs
df05aef71f Strip trailing '.', and/or leading '(a|an) ' 2000-01-05 15:37:50 +00:00
jlam
cd06a400cd CHANGES 1999-12-30 22:51:28 +00:00
kim
d0e9933400 Change how Kerberos support is enabled in pkgsrc.
Quick guide for compiling packages:
- set KERBEROS=4 or KERBEROS=5 in /etc/mk.conf

Quick guide for configuring Kerberos support in a package Makefile:
- test for KERBEROS value and enable the appropriate version with
  CONFIGURE_ARGS or other means and set USE_KERBEROS=yes
- make sure to disable Kerberos support otherwise (especially if
  using configure, which might automatically detect it)
- BUILD_DEFS and RESTRICTED are set automatically in bsd.pkg.mk
  when USE_KERBEROS=yes is set
1999-09-14 02:32:21 +00:00
kim
c00d43f70e Got some coffee, feel much better now. Thank you. 1999-09-13 13:30:45 +00:00
kim
02bd4492fd Add Kerberos V support, record Kerberos options. 1999-09-13 13:24:48 +00:00
kim
a40be5c1a9 Use Kerberos IV where appropriate. 1999-09-13 13:17:40 +00:00
jlam
94b5df60f7 Update sudo to 1.5.9p4. It's the latest stable security release. 1999-08-31 19:26:40 +00:00
agc
00a16e3008 Add package patch checksum files. 1999-07-09 14:22:59 +00:00
frueauf
4b2a245037 Update sudo to 1.5.9p1. 1999-05-09 14:10:27 +00:00
agc
697a80799f Make this work on Solaris.
Substitute ${LOCALBASE} for the hardcoded value in the manual pages.
1999-03-30 15:37:00 +00:00
hubertf
2a95ad9c6b Fix CONFLICTS (remove redundancy, mostly) 1999-02-20 22:48:24 +00:00
frueauf
0bf080ed59 pkglint: move WRKSRC where it belongs. 1998-12-14 10:25:50 +00:00
frueauf
7a70ef5668 Update sudo to 1.5.7p4.
Changes since 1.5.6:
- Various bug fixes (not security related).
- All compile-time options are now set via options to the configure script.
- visudo is now installed in /usr/local/sbin where it belongs.
  [of course this is ${PREFIX}/sbin in our package for a long time - TF]
- two problems with tgetpass() have been fixed. In one case the user was
  not always given a chance to enter a password. In the other a newline
  was not always printed after the password was entered on Linux.
- Added support for Digital UNIX SIA (Security Integration Architecture).
- %groups now work as RunAs specifiers like the man page says.
- Sudo now sets the USER environment variable to the target user
  (root unless -u is specified).
- Sudo will print "command not found" unless configure was run with
  --disable-path-info. Also, tell user when we ignore '.' in their path and
  it would have been used but for --with-ignore-dot. This means that sudo can
  be used to gather information about the existence of executable in
  directories not accessible by a normal user. If this bothers you, run
  configure with --disable-path-info.
  [in our package --disable-path-info is default - TF]
- A longstanding bug wrt "sudo -l" has been fixed that could cause "sudo -l"
  to complain about non-existent syntax errors.
- When configured with --with-tty-tickets the filename is now "user:tty"
  (was "user.tty") since a username could have a '.' in it.
1998-12-13 11:34:31 +00:00
frueauf
c931b5eab3 Update sudo to 1.5.6p2. 1998-09-28 13:10:07 +00:00
agc
f7c4996e0b Add NetBSD RCS Ids. 1998-08-07 13:27:33 +00:00
agc
41bfb30737 Add NetBSD RCS Ids. 1998-08-07 11:08:53 +00:00
frueauf
8dbd15d094 Update to sudo-1.5.4p1. 1998-07-01 19:09:42 +00:00
agc
988019b016 Update package Makefiles for automatic manual page handling. 1998-06-22 12:58:33 +00:00
agc
258b808c9f Use the bsd.pkg.mk and bsd.pkg.subdir.mk files in the pkgsrc tree.
Remove redundant (and sometimes erroneous) comments.
1998-04-15 10:38:15 +00:00
hubertf
b9cb721cf6 portlint: add RCS Id 1998-01-24 22:53:04 +00:00
hubertf
cc5e8a4a80 portlint: use command macros 1998-01-24 22:52:56 +00:00
hubertf
8639bafeaa Fix setting CONFIGURE_ARGS ("=" -> "+=") 1997-12-22 07:45:38 +00:00
hubertf
da40dd73e2 Update for NetBSD, mostly by Soren S. Jorvang <soren@t.dk> 1997-12-14 23:38:21 +00:00
hubertf
e189790044 Import vanialla FreeBSD sudo. 1997-12-14 23:27:00 +00:00