Commit Graph

16 Commits

Author SHA1 Message Date
Ruslan Ermilov 322628519e Reincarnate SETUID code in man(1), not compiled in by default.
The code will be fixed for all known security vulnerabilities,
and a make.conf(5) knob (ENABLE_SUID_MAN) will be provided for
those who still want it installed setuid for whatever reasons.
2002-01-22 15:15:38 +00:00
Ruslan Ermilov 30843b9337 Do not install man(1) setuid ``man''.
The catpaging and setuidness features of man(1) combined make
it vulnerable to a number of security attacks.  Specifically,
it was possible to overwrite system catpages with arbitrarily
contents by either setting up a symlink to a directory holding
system catpages, or by writing custom -mdoc or -man groff(1)
macro packages and setting up GROFF_TMAC_PATH in environment
to point to them.  (See PR below for details).

This means man(1) can no longer create system catpages on a
regular user's behalf.  (It is still able to if the user has
write permissions to the directory holding catpages, e.g.,
user's own manpages, or if the running user is ``root''.)

To create and install catpages during ``make world'', please
set MANBUILDCAT=YES in /etc/make.conf.  To rebuild catpages
on a weekly basis, please set weekly_catman_enable="YES" in
/etc/periodic.conf.

PR:		bin/32791
2002-01-15 14:11:05 +00:00
Nik Clayton 353b398056 Mention the path to the README file in the header comment.
Submitted by:	Rich Morin <rdm@cfcl.com>
2001-06-26 13:50:33 +00:00
David E. O'Brien 25d1a10fa0 Both X11 (3.x and 4.x) currently lack a libdata/ subdirectory,
(which is present both in /usr and /usr/local) which is causing a few
ports to erroneously report mtree failures on bento.

Submitted by:	ade
2001-06-01 09:56:15 +00:00
Ruslan Ermilov 2f397f6b6c Apparently, people do not listen for a plea to look into the
README file before making changes here.  Fix them once again.
2001-02-15 12:25:48 +00:00
Satoshi Asami 8f76bcf052 Add a few directories that were shared by a lot of ports: section 3
of perl man pages and site_perl directories for alpha and i386 in /usr/local,
and share/aclocal and share/doc/ja in /usr/local and /usr/X11R6.

Reviewed by:	the ports list
Approved by:	steve (alpha part)
2000-06-16 19:08:19 +00:00
Satoshi Asami b952892aa3 Add lib/X11/locale/zh_TW.Big5.
Found by:	bento
2000-04-29 11:43:18 +00:00
Satoshi Asami 8d2d2a6af9 Add ${X11BASE}/lib/aout. 2000-03-25 00:00:27 +00:00
Satoshi Asami ee4e87f009 Add ${X11BASE}/lib/X11/local -- this directory is created by the X
installation, so it should be in this file too.

Approved by:	jkh
2000-02-18 01:20:12 +00:00
Peter Wemm 9b7a44a60e $Id$ -> $FreeBSD$ 1999-08-27 23:37:10 +00:00
Rodney W. Grimes 928b6de37c This cleans up all the white space errors so that the next
commit is easier to understand.
1999-08-24 03:51:34 +00:00
Rodney W. Grimes f10c8263aa Fix script in README to actually work, empty lines produce as
much a diff as lines with the wrong stuff on it.

Add references in mtree data files to the README.
1999-08-23 05:12:43 +00:00
David E. O'Brien fe840f95a8 Simplify these now that default owner is root.wheel.
Partially reviewed by: bde
1998-09-19 18:50:27 +00:00
Jun-ichiro itojun Hagino 5c9490444d /usr/local/man/ja_JP.EUC -> /usr/local/man/ja
PR:		5251
1998-03-20 16:54:34 +00:00
Satoshi Asami 32ec0823e1 Add new directories according to jmz's XFree86-3.3 upgrade. Change
ownership of directories to root:wheel.  While I'm here, convert some
tabs to spaces.
1997-06-10 07:55:10 +00:00
Satoshi Asami 4ebe20a395 New mtree file for /usr/X11R6.
Approved (a long time ago) by: David Dawes
1997-06-04 00:02:01 +00:00