This solved the issue with symlinks to directories. The semantic
of `ln -fs' is special if you run it for directories twice, e.g.
mkdir from
ln -sf from to
find . -name from -or -name to
./to
./from
now run it again
ln -sf from to
find . -name from -or -name to
./to
./from
./from/from
ls -l from
total 1
lrwxrwxr-x 1 wosch devel 4 Oct 6 13:54 from -> from
PR: 222737
www.freebsd.org/security/{advisories,patches}/...
from the en_US.ISO8859-1 directory as we do for logos, etc.
The magic is a bit special to avoid having to add each advisory
or errata notice, and their patches and signatures individually.
Factor out the slightly different to bsd.links.mk SYMLINKS
support as well as the "bulk data install" that cannot be
handled by just DATA as (i) the input dir differs, (ii) input
uses a 1 or more level of sub-directories.
This is the second of three steps. The last one will be to link
to these files locally rather than to security.freebsd.org.
Approved by: gabor
The web build uses WEBGRP and CGIGRP to determine group ownership
during the build phase. When left unset, the default group is 'www'.
The problem is that if $USER is not in group 'www', the build will
fail due to lack of permissions via chgrp(1).
This change sets default values for WEBGRP and CGIGRP to $USER, unless
explicitly set during build time to prevent chgrp(1)-invoked build
failure.
Note: This change has no effect for users currently setting WEBGRP
and CGIGRP, either via command-line or within scripts.
Reviewed by: -www@ (silence)
time on the bottom of each page:
Last modified: 2010/05/09 21:07:40
Since the move to Subversion, the $FreeBSD$ string is slightly different
and so the code that does this no longer works correctly, causing the
output appears as:
Last modified: 38826 2012-05-17
Arguably, having the SVN revision number in the output is useful,
however this wasn't intentional - and instead appears to be an
oversight.
This change both fixes the missing date and adds extra information,
producing the following output:
Last modified: 2012-05-17 19:12:14Z
(head/en_US.ISO8859-1/htdocs/internet.sgml r38826)
Adding the path to the source file will hopefully make it much easier
for people wishing to contribute to the page to find the source
Approved by: bcr (mentor)
M mk/web.site.mk
- Move files under <lang>/htdocs/share to <lang>/share.
- s/WEB_PREFIX/DOC_PREFIX/
- Update the webupdate script to use the SVN repository.
Approved by: doceng (implicit)
2012-05-17 03:23:15 +00:00
Renamed from share/htdocs/mk/web.site.mk (Browse further)