1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
Commit Graph

87 Commits

Author SHA1 Message Date
Mark Linimon
f6159fbf7a Revert last commit. It is not possible (yet) to have the dirrmtry usage
in the post-install target.  Its usage must preceed generate-plist.

This problem needs to be revisited either in a rework of bsd.port.mk or
each of these Makefiles.

Hat:		portmgr
Pointy hat:	edwin`
2006-01-23 07:04:10 +00:00
Edwin Groothuis
d568611c3e eplace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtry
Approved by:    krion@
PR:             ports/88711 (related)
2006-01-22 05:52:28 +00:00
Erwin Lansing
f9a0b9ba40 Add SHA256
PR:		89828
Submitted by:	Jonathan Noack <noackjr@alumni.rice.edu> (maintainer)
2005-12-03 21:40:31 +00:00
Pav Lucistnik
34c5e48693 - Style
PR:		ports/79709
Submitted by:	Jonathan Noack <noackjr@alumni.rice.edu> (maintainer)
2005-04-10 12:54:06 +00:00
Akinori MUSHA
ac33bf9849 Hand the maintainership over to Jon Noack. Thanks! 2005-03-06 13:47:15 +00:00
Akinori MUSHA
22fb98ec9a Remove a -p flag which seems to be an overkill 2005-02-11 22:52:01 +00:00
Akinori MUSHA
81d2328c62 Change the maintainer to myself, adding a note that issues that are
not specific to this port/package should go to the freebsd-cvsweb
mailing list.

Requested by:	scop
2005-01-30 16:53:43 +00:00
Akinori MUSHA
509afa1e6a Remove -l from the default cvs(1) options.
PR:		ports/69854
Submitted by:	Marco Trentini <mark@remotelab.org>
Suggested by:	scop

Replace a hardcoded /usr/local with $PREFIX.
2004-08-12 13:18:53 +00:00
Trevor Johnson
8232e82f85 SIZEify (maintainer timeout) 2004-03-31 03:12:58 +00:00
Akinori MUSHA
22c13d6e03 Turn off perl's -T flag for the moment, for CVSweb 2.0.6's code does
not pass Perl 5.8's stricter taint checks.  The flag will be turned on
again when the port is updated to the next release.

PR:		ports/62650, ports/62743
Submitted by:	naddy, Palle Girgensohn <girgen@pingpong.net>
2004-02-24 14:18:50 +00:00
Ade Lovett
7e52725f2a Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
2003-03-07 06:14:21 +00:00
Ville Skyttä
2796176caf Update to FreeBSD-CVSweb 2.0.6.
Approved by:	knu (mentor)
2002-09-26 21:16:50 +00:00
Ville Skyttä
914249f480 Update to FreeBSD-CVSweb 2.0.5.
Approved by:	knu (mentor)
2002-07-23 15:09:59 +00:00
Ville Skyttä
72332230ee Released FreeBSD-CVSweb 2.0.4.
Approved by:	knu (mentor)
2002-07-06 18:43:48 +00:00
Ville Skyttä
2620fcf374 Update project web page address.
Approved by:	knu (mentor)
2002-07-06 18:28:38 +00:00
Ville Skyttä
7d373b9e47 Add trailing slash to example URI.
Approved by:	knu (mentor)
2002-07-06 18:27:23 +00:00
Akinori MUSHA
3091de99ec Pass the maintainership over to freebsd-cvsweb@FreeBSD.org. 2002-06-18 09:12:45 +00:00
Akinori MUSHA
c7e7b48bef Update to FreeBSD-cvsweb 2.0.3.
2002-05-22  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.cgi: Previous fixes against cross-site scripting
	vulnerabilities were insufficient and buggy (error messages were
	messed up).  Revamp fatal() to HTML-quote automatically and fix
	error message output.
2002-05-22 08:14:05 +00:00
Akinori MUSHA
94c93334f5 Update to FreeBSD-cvsweb 2.0.2 and unmark FORBIDDEN.
2002-05-22  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.cgi: Read configuration files with `do' instead of
	`require' to unbreak mod_perl support.
	[Submitted by: "Khachaturov, Vassilii" <vassilii@tarunz.org>]

	* cvsweb.cgi: Cosmetic fixes.  Use and/or rather than &&/|| to
	connect sentences.

	* cvsweb.cgi: Exit with -1 if exec() fails.

	* cvsweb.cgi: Do not print a redundant `Diff' for rev.1.1.
	[Submitted by:	Ville Skytt,Ad(B <ville.skytta@iki.fi>]

	* cvsweb.cgi: Prevent cross-site scripting.
	[Submitted by: Motoyuki Konno <motoyuki@bsdclub.org> (modified)]

	* cvsweb.cgi: Skip a possible `locked by' clause and extract a
	revision number out of a log entry properly.
	[Submitted by: "Khachaturov, Vassilii" <vassilii@tarunz.org>]

	* cvsweb.cgi: Apply some HTML cleanups and use CSS instead of
	ancient HTML 3/4 tags and attributes.
	[Submitted by:	Ville Skytt,Ad(B <ville.skytta@iki.fi>]

	* cvsweb.cgi: Pass `use' features to import to make it more memory
	efficient.
	[Submitted by: Ville Skytt,Ad(B <ville.skytta@iki.fi>]

	* cvsweb.cgi: Add new configuration variables: $allow_log_extra,
	$allow_dir_extra, and $allow_source_extra.
	[Submitted by: "Khachaturov, Vassilii" <vassilii@tarunz.org>]

	* cvsweb.cgi: Release as FreeBSD-cvsweb 2.0.2.

2002-05-11  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.cgi: There are no spaces at EOL in modern rlog output.
	[Submitted by: "Khachaturov, Vassilii" <vassilii@tarunz.org>]

2002-05-08  Motoyuki Konno <motoyuki@FreeBSD.org>

	* cvsweb.cgi: Fix a cross-site scripting vulnerablity.

2002-05-07  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.conf-netbsd, cvsweb.conf-openbsd: NetBSD and OpenBSD
	don't use $CVSHeader$ but $Id$.
	[Submitted by: motoyuki@FreeBSD.org]

	* cvsweb.cgi: Work around a bug of cvs -p; expand symlinks in a
	cvsroot.
	[Submitted by: motoyuki@FreeBSD.org]

	* cvsweb.cgi: Fix parsing in 'tags' state.
	[Submitted by: "Khachaturov, Vassilii" <vassilii@tarunz.org>]
2002-05-22 06:57:12 +00:00
Akinori MUSHA
a746a00c9b Mark as FORBIDDEN; due to cross-site scripting vulnerabilities.
I'll hopefully release the next version this weekend.
2002-05-15 17:48:54 +00:00
Akinori MUSHA
6fa4e9c326 Correct document file names.
Submitted by:	naddy
Pointy hat to:	knu
2002-04-10 23:05:00 +00:00
Akinori MUSHA
27b99cb1fd Update to FreeBSD-cvsweb 2.0.1.
2002-04-11  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.cgi, cvsweb.conf: Perform an HTML cleanup.
	[Submitted by: Ville Skytt,Ad(B <ville.skytta@iki.fi>]

	* cvsweb.cgi: Call this version FreeBSD-cvsweb 2.0.1.

2002-04-05  Akinori MUSHA  <knu@iDaemons.org>

	* INSTALL: Somehow description configuration doesn't work if you
	put trailing /'s in module names, so fix the document for the
	moment.
	[Submitted by: Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>]

2002-02-06  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.cgi: Use TMPDIR instead of the hardcoded /tmp.

	* cvsweb.cgi: Never pass 'MAIN' to cvs(1).  'HEAD' is the valid
	tag.
2002-04-10 19:58:54 +00:00
Akinori MUSHA
32c83edfbc Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if
make(1) is invoked with the -s option while ECHO_CMD is always set to
the echo command.

Use command macros where appropriate.
2002-01-29 10:16:28 +00:00
Akinori MUSHA
84e6da4029 Update to FreeBSD-cvsweb 2.0.0.
* cvsweb.conf-freebsd: Allow downloading a tarball of a project
  directory as well as a port directory.

* cvsweb.cgi, cvsweb.conf: Introduce optional output filter.
  [Requested by: Shigeyuki Fukushima <shige@FreeBSD.org>]

* cvsweb.cgi: Fix a bug where it produces wrong download links when
  cvsweb.cgi is placed right under the document root.
  [Reported by: Arnaud on EFnet]
2001-11-07 21:41:57 +00:00
Akinori MUSHA
92e5d6f66e Forgot to update patches. 2001-08-01 10:12:14 +00:00
Akinori MUSHA
d7437a7136 Update to knu-cvsweb 1.112.1.82.
2001-08-01  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.cgi: perltidy -i=8 -t -pt=2 -bt=2 -sbt=2 -ci=4 -noll -sfs
	-nasc -ce

	* cvsweb.conf, cvsweb.conf-freebsd, cvsweb.conf-netbsd,
	cvsweb.conf-openbsd, cvsweb.conf-ruby: perltidy -i=8 -t -pt=2 -bt=2
	-sbt=2 -ci=4 -noll -sfs -nasc -ce

	* cvsweb.cgi, cvsweb.conf: MFZ 1.111, but introduce @ForbiddenFiles
	instead of @DissallowRead to forbid user to cvs
	checkout/diff/annotate specified files.

	* cvsweb.cgi: MFZ 1.112: A couple of trivial fixes.

2001-07-26  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.cgi: Chdir to TMPDIR so it works even when the cgi-bin
	directory is unreadable.
	[Submitted by: Dmitry Morozovsky <marck@rinet.ru>]

	* cvsweb.cgi: Let the module/path box appear and work properly
	when there is only one repository.
	[Submitted by: Dmitry Morozovsky <marck@rinet.ru>]
2001-08-01 10:03:43 +00:00
Akinori MUSHA
47716d0ace Update to knu-cvsweb 1.110.1.78.
2001-07-06  Akinori MUSHA  <knu@iDaemons.org>

        * cvsweb.cgi, cvsweb.conf: Support "zip" as an additional
        archiver.

        * cvsweb.cgi: MFZ 1.110.  But the bug had already been fixed in
        knu-cvsweb.

2001-06-22  Akinori MUSHA  <knu@iDaemons.org>

        * cvsweb.cgi: Get rid of a potential "uninitialized variable
        usage" warning.
        [Submitted by: Bill Fenner <fenner@FreeBSD.org>]

2001-06-08  Akinori MUSHA  <knu@iDaemons.org>

        * cvsweb.cgi: MFZ 1.109.  Preset the global variable the stores
        the per file cvs info to avoid accumulating cruft under modperl.
2001-07-06 09:51:49 +00:00
Akinori MUSHA
3543d11719 Update to 1.106.1.74.
2001-06-05  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.cgi: Change "Previous Directory" to "Parent Directory".

	* cvsweb.cgi: Properly HTML-quote function names in the colored
	diff view.
	[Submitted by: Ian Whalley <ian@whalley.org>]

2001-05-18  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.cgi: Avoid localizing @_ to make threaded Perl happy.
	[FreeBSD PR: 26851]
	[Submitted by: David Wolfskill <dhw@whistle.com>]
2001-06-05 10:54:07 +00:00
Akinori MUSHA
e26611706c Don't bother Perl with $@%'s in CVSROOT, TITLE, etc..
PR:		ports/27234
Submitted by:	Gordon Burditt <gordon@hammy.lonestar.org>
2001-05-19 21:00:43 +00:00
Akinori MUSHA
ec89854104 Update to knu-cvsweb 1.106.1.72.
2001-05-10  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.cgi: Correct a link in the navigation header.
	[Submitted by: Tanaka Akira <akr@m17n.org>]
2001-05-10 17:50:35 +00:00
Akinori MUSHA
72bd7e8e3e Update to knu-cvsweb 1.106.1.71.
2001-05-08  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.cgi: Fix a typo and get diff -F RE to really work.
2001-05-07 17:17:19 +00:00
Akinori MUSHA
cd4250fe80 Update to knu-cvsweb 1.106.1.70b. No functional changes but only
documentational changes.

2001-04-25  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.conf: Introduce the new knu-cvsweb site:
	http://www.idaemons.org/~knu/cvsweb/

	* ChangeLog: Update and reformat.
2001-04-24 16:02:37 +00:00
Akinori MUSHA
0a51fda249 Update to knu-cvsweb 1.106.1.70.
2001-03-28 02:20  knu

	* cvsweb.cgi: Re-fix the bogus fix for the previous
	colons-in-a-filename problem.

	Noted by:	Yar Tikhiy <yar@freebsd.org>

2001-03-28 01:39  knu

	* cvsweb.cgi: Conform cvsweb-markup pages to HTML 4.0 Transitional.

	Submitted by:	Will Andrews <will@physics.purdue.edu>
	Validated by:	http://validator.w3.org/
2001-03-27 17:29:06 +00:00
Akinori MUSHA
8497c48241 Update to knu-cvsweb 1.106.1.68.
2001-03-23  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.cgi: Encode colons in file names properly.

	FreeBSD PR:     25963
	Submitted by:   Marc van Woerkom <3d@FreeBSD.org>

	* cvsweb.cgi: MFZ: 1.106.  Do closedir() properly.

2001-02-01  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.cgi: Use a fixed-width font in the colored diff view.

	Requested by:   Julian Elischer <julian@elischer.org>
2001-03-22 19:49:09 +00:00
Akinori MUSHA
808a2eada9 Add %%PORTDOCS%%. 2001-02-10 13:19:57 +00:00
Akinori MUSHA
e80b23e9c7 Update to knu-cvsweb 1.105.1.65.
2001-01-29  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.cgi: Remove an obsolete notice: CVSWEB_CONFIG is disused.
	One leftover substitution: "cvs" -> $CMD{cvs}
2001-01-29 03:59:16 +00:00
Akinori MUSHA
a417793506 Update a patch to fix a typo rather than a repack/update. 2001-01-14 09:14:53 +00:00
Akinori MUSHA
db80aaacb9 Update to knu-cvsweb 1.105.1.64.
2001-01-13  Akinori MUSHA  <knu@iDaemons.org>

	* cvsweb.conf: Add some knu-cvsweb info.

	* cvsweb.cgi: MFZ: 1.105.

	* README.knu, TODO.knu, cvsweb.cgi, cvsweb.conf,
	cvsweb.conf-freebsd, cvsweb.conf-netbsd, cvsweb.conf-openbsd,
	cvsweb.conf-ruby: Change CVS tags: "Id" -> "Idaemons".
2001-01-14 08:40:40 +00:00
Akinori MUSHA
7a981c1892 Update to knu-cvsweb 1.104.1.63.
2001-01-12 08:42  knu

	* cvsweb.cgi, cvsweb.conf-freebsd, cvsweb.conf-netbsd,
	cvsweb.conf-openbsd: Clean up URI parser.

	Workaround thttpd's buggy SCRIPT_NAME / PATH_INFO parser.

	Requested by:	Makoto MATSUSHITA <matusita@jp.FreeBSD.org>

	Allow downloading a single port/pkgsrc in tarball by default.
2001-01-12 04:14:36 +00:00
Akinori MUSHA
a047053c55 Update to knu-cvsweb 1.104.1.62.
2001-01-12 03:17  knu

	* cvsweb.cgi, cvsweb.conf: D'oh, forgot to chomp the result of
	`uname`.

	Submitted by:	Christian Weisgerber <naddy@mips.inka.de>
2001-01-11 18:20:24 +00:00
Akinori MUSHA
d7d50312b5 Update to knu-cvsweb 1.104.1.61.
2001-01-11 11:00  knu

	* cvsweb.cgi, cvsweb.conf: Oops.

2001-01-11 10:52  knu

	* cvsweb.cgi, cvsweb.conf, cvsweb.conf-freebsd, cvsweb.conf-netbsd,
	cvsweb.conf-openbsd: Run "tar cf - ... | gzip -c" rather than "tar
	zcf - ..." to avoid tar(1)'s automatic padding of nulls to align
	with the block size, which is just garbage for a receiver.

	Noted by:	Katsuyuki Komatsu <komatsu@sarion.co.jp>

	Have $uname variable to hold the OS implementation name.

	Move %CMD's initialization part to the beginning of cvsweb.conf so
	it can use $uname and configure properly for the OS.

	Wrap FreeBSD or OpenBSD specific features in conditional blocks
	using $uname.

	Fix some open() calls in good manners.
2001-01-11 03:41:57 +00:00
Akinori MUSHA
5c89a45427 Update to knu-cvsweb 1.104.1.59.
2001-01-05 09:00  knu

	* cvsweb.cgi: Delete $ENV{PATH} before everything. (against -T
	paranoia) It's nothing to worry since cvsweb.cgi always invokes
	executables by full paths, though.

	Correct the error messages regarding $command_path.

2001-01-03 17:57  knu

	* cvsweb.cgi, cvsweb.conf: Don't rely on perl's $ENV{PATH} search.
	Search commands for itself and specify them by full paths.
2001-01-05 00:13:39 +00:00
Akinori MUSHA
54cfbac643 Update to knu-cvsweb 1.104.1.57.
2001-01-03 11:55  knu

	* README.knu, cvsweb.cgi: Don't forget to add $query to the URL
	when redirecting.  Now module alias redirection and Attic
	redirection work with all sticky variables preserved. (Previously
	they didn't work against a non-default cvsroot)

	Put a text field on each directory view that allows user to jump
	directly to an arbitrary module, which can be specified either by a
	full module/file path or by a module alias.
2001-01-03 03:24:08 +00:00
Akinori MUSHA
a9c83761b1 Update to knu-cvsweb 1.104.1.56.
2001-01-03 08:34  knu

	* README.knu, cvsweb.cgi, cvsweb.conf: List CVS repository entries
	in the specified order, not alphabetical.

	Now /usr/local/etc/cvsweb/ is the default directory for
	configuration files.
2001-01-02 23:47:41 +00:00
Akinori MUSHA
f46dcf77e6 Update to knu-cvsweb 1.104.1.55.
2001-01-02 21:23  knu

	* cvsweb.cgi, cvsweb.conf: Get cvsweb.cgi to run under perl -T.

	Change perl command line:

	  Change perl5 to perl and just declare `require 5.000'.

	  Remove -s option that was intended for debug use.

	  Add -T option to perform security checks.

	Change search paths for cvsweb.conf:

	  Don't adopt the value of $ENV{CVSWEB_CONFIG} that was intended
	for
	  debug use.

	  Search the same directory that cvsweb.cgi is in instead of the
	  current directory.

	Invoking `last' in `do { ... } while (0);' is wrong.  Change the
	loop to `while (1) { ... last; }'.

	Don't do chdir.  Instead, use tar(1)'s -C option and cvs(1)
	export's -d option.

	Explicitly define $ENV{PATH}.

	Turn $allow_compress off by default so user can debug cvsweb.cgi
	easily.
2001-01-02 12:39:00 +00:00
Akinori MUSHA
4701f83604 Update to knu-cvsweb 1.104.1.54.
- Install cvsweb.conf* files under ${PREFIX}/etc/cvsweb/.

2001-01-02 08:15  knu

	* cvsweb.cgi, cvsweb.conf, cvsweb.conf-freebsd, cvsweb.conf-netbsd,
	cvsweb.conf-openbsd, cvsweb.conf-ruby: Add $prkeyword variable to
	allow user to use (e.g.) `Bug' instead of `PR' as the bug report
	identifier.

	Add cvsweb.conf-{freebsd,openbsd,netbsd,ruby} files, and move
	rather FreeBSD specific configuration values to
	cvsweb.conf-freebsd.

	Add a %funcline_regexp entry for Ruby. (*.rb)

2001-01-02 06:24  knu

	* cvsweb.conf: Add `pending' to the list of PR categories.

2001-01-02 05:57  knu

	* cvsweb.cgi: Reduce 'Use of uninitialized value' warnings.

	Noticed by:	Wolfram Schneider <wosch@schneider.org>
2001-01-01 23:51:22 +00:00
Akinori MUSHA
173508aba5 Update to knu-cvsweb 1.104.1.52.
2000-12-30 08:56  knu

	* cvsweb.cgi: Oops, I forgot "cvs export" always need a -r/-D.
	Specify -rHEAD when no tag/branch is defaulted.

2000-12-30 08:35  knu

	* cvsweb.cgi, cvsweb.conf: Add $preformat_in_markup variable and
	turn it off by default.  This option should be turned off when you
	have files in the repository that are in a multibyte encoding which
	uses HTML special characters ([<>&"]) as part of a multi-byte
	character. (such as iso-2022-jp, ShiftJIS, etc.)  Otherwise those
	files will get screwed up in markup.

	Fix for those systems which tar(1)'s are not GNU tar(1).

	- Add @@tar_options variable and make the --ignore-failed-read flag
	optional.

	- Use cvs export instead of cvs checkout, so the --exclude 'CVS'
	flag isn't needed.

	Noticed by:	Christian Weisgerber <naddy@mips.inka.de>

	Fix for those systems which cvs(1)'s don't support -R option.
	(Actually, only FreeBSD's and OpenBSD's cvs(1) support it)

	- Add @@cvs_options and make the -R flag optional.

2000-12-29 22:29  knu

	* cvsweb.cgi: Add charset to all text/* output, including diffs.

	Submitted by:	Alexey Zelkin <phantom@cris.net>
2000-12-29 23:59:35 +00:00
Akinori MUSHA
8360729a69 Update to knu-cvsweb 1.104.1.49. Tiny fixes.
2000-12-29 18:12  knu

	* cvsweb.cgi: The use of `do "file"' is obsolete.  Use require
	instead.

2000-12-29 17:47  knu

	* cvsweb.cgi: Add the prototype declaration for hrefquote().
2000-12-29 09:16:10 +00:00
Akinori MUSHA
29196ffb00 Update to knu-cvsweb 1.104.1.47.
2000-12-29 03:17  knu

	* README.knu: Mention automatic tarball generation feature.

2000-12-29 03:16  knu

	* TODO.knu: Directory sorting was fixed at the same time that "show
	only tags" feature was fixed.

2000-12-29 03:07  knu

	* cvsweb.cgi: Specify --ignore-failed-read on invoking tar(1).

2000-12-29 02:49  knu

	* cvsweb.cgi, cvsweb.conf: Add "automatic tarball generation"
	feature.  You can check out a whole directory in gzipped tarball.

	Obtained from:	Debian package: cvsweb_1.93-1

	Allow space characters in file names. (not tested yet)
2000-12-28 18:31:12 +00:00
Akinori MUSHA
85a7d5d4e0 Update to knu-cvsweb 1.104.1.45.
2000-12-18 13:25  knu

	* TODO.knu, cvsweb.cgi: Revert MFZ: 1.103 -> 1.104 which introduced
	a bogus bug.  As noone seems to need to use 0.X revisions, I'd just
	drop it.  This should fix the "show only tags" feature.

2000-12-18 12:47  knu

	* cvsweb.cgi: Silence the warnings.

2000-12-18 11:48  knu

	* cvsweb.cgi: Add meta tags to prevent WWW robots from crawling
	over the cvsweb.

	Submitted by:	Wolfram Schneider <wolfram@schneider.org>
2000-12-18 04:31:26 +00:00