Commit graph

21 commits

Author SHA1 Message Date
Wolfram Schneider
9c93d11e18 we need to delete the target symlink first before we can create it
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
2017-10-07 09:03:10 +00:00
Wolfram Schneider
9647f5d77d 'make obj' doesn't really work for the docs, disable it by default
PR: 222488
2017-10-06 10:44:00 +00:00
Wolfram Schneider
446279c5cb upgrade to INDEX-11
PR: 222677
2017-10-03 11:17:44 +00:00
Wolfram Schneider
066c47a505 switch to HTTPS
PR: 222676
2017-09-29 09:18:35 +00:00
Wolfram Schneider
ef69133f3b switch to HTTPS
PR: 222676
2017-09-29 09:11:33 +00:00
Hiroki Sato
e5c4255d90 Use INDEX for the latest production release branch. 2016-06-27 00:01:56 +00:00
Warren Block
dfe61c9435 Allow installing website as an unprivileged user.
Reviewed by:	hrs
Approved by:	doceng (implicit)
2015-07-23 02:51:10 +00:00
Hiroki Sato
5e44b57891 Use URI to specify xhtml.xsl. 2013-11-14 21:39:04 +00:00
Gabor Kovesdan
f8e80d75f9 - Include command macros
- Drop some obsolete SGML constructs
2013-02-03 21:28:23 +00:00
Gabor Kovesdan
4cb9e266b6 - Remove doc.html.mk, which is not used any more
- Factor out command macros for better readability and consistency
  and less duplication
- Make some macros more consistent with the rest
2013-02-02 14:52:15 +00:00
Gabor Kovesdan
77d737ee88 - Rename the share/sgml directories to share/xml
- Fix build errors from the next change

Approved by:	doceng (implicit)
2012-10-01 11:56:00 +00:00
Gabor Kovesdan
b4346b9b2d - Rename .sgml files to .xml
- Reflect the rename in referencing files

Approved by:	doceng (implicit)
2012-10-01 09:53:01 +00:00
Bjoern A. Zeeb
8a1a59e2f5 Hook-up advistories and patches to be installed to
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
2012-09-17 08:42:56 +00:00
Gabor Kovesdan
bfb29d953f MFH
Approved by:	doceng (implicit)
2012-09-14 09:21:39 +00:00
Glen Barber
1456891f7e Change WEBGRP and CGIGRP defaults.
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)
2012-09-10 10:47:53 +00:00
Gabor Kovesdan
d7f1fde5eb - Add a cvs:keyword element to store the $FreeBSD$ keyword for later
processing
- Date is now obtained from cvs:keyword, so no need for the sed magic

Approved by:	doceng (implicit)
2012-08-04 22:42:35 +00:00
Gabor Kovesdan
9977e32c49 - Drop HTML Tidy support on webpages; on articles/books it is still used
since the default HTML output is not that clean

Approved by:	doceng (implicit)
2012-08-04 17:56:04 +00:00
Gabor Kovesdan
5b3709a67c - Render pages with the newly added XSLT
- Disable HTML tidy
- Remove old comment

Approved by:	doceng (implicit)
2012-07-15 10:42:40 +00:00
Gavin Atkinson
42398b4fce In the old CVS world, web pages would end up with the modified date and
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
2012-05-26 00:08:00 +00:00
Hiroki Sato
35babe0ae5 - Set svn:ketwords and svn:mime-type. Note that application/octet-stream is
set on some files as a workaround for binary check.
- Fix pathname for svn co in the webupdate script.

Approved by:	doceng (implicit)
2012-05-17 19:12:14 +00:00
Hiroki Sato
4fe414e55f - Move developers.sgml to the language-independent directory.
- 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)