head 1.6; access; symbols pkgsrc-2023Q2:1.4.0.28 pkgsrc-2023Q2-base:1.4 pkgsrc-2023Q1:1.4.0.26 pkgsrc-2023Q1-base:1.4 pkgsrc-2022Q4:1.4.0.24 pkgsrc-2022Q4-base:1.4 pkgsrc-2022Q3:1.4.0.22 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.20 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.4.0.18 pkgsrc-2022Q1-base:1.4 pkgsrc-2021Q4:1.4.0.16 pkgsrc-2021Q4-base:1.4 pkgsrc-2021Q3:1.4.0.14 pkgsrc-2021Q3-base:1.4 pkgsrc-2021Q2:1.4.0.12 pkgsrc-2021Q2-base:1.4 pkgsrc-2021Q1:1.4.0.10 pkgsrc-2021Q1-base:1.4 pkgsrc-2020Q4:1.4.0.8 pkgsrc-2020Q4-base:1.4 pkgsrc-2020Q3:1.4.0.6 pkgsrc-2020Q3-base:1.4 pkgsrc-2020Q2:1.4.0.4 pkgsrc-2020Q2-base:1.4 pkgsrc-2020Q1:1.4.0.2 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.3.0.70 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.3.0.66 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.64 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.62 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.60 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.58 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.56 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.54 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.52 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.3.0.50 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.3.0.46 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.44 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.42 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.40 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.38 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.36 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.34 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.32 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.30 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.3.0.28 pkgsrc-2015Q1-base:1.3 pkgsrc-2014Q4:1.3.0.26 pkgsrc-2014Q4-base:1.3 pkgsrc-2014Q3:1.3.0.24 pkgsrc-2014Q3-base:1.3 pkgsrc-2014Q2:1.3.0.22 pkgsrc-2014Q2-base:1.3 pkgsrc-2014Q1:1.3.0.20 pkgsrc-2014Q1-base:1.3 pkgsrc-2013Q4:1.3.0.18 pkgsrc-2013Q4-base:1.3 pkgsrc-2013Q3:1.3.0.16 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.3.0.14 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.3.0.12 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.10 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.8 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.6 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.4 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.2 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.2.0.24 pkgsrc-2011Q3-base:1.2 pkgsrc-2011Q2:1.2.0.22 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.2.0.20 pkgsrc-2011Q1-base:1.2 pkgsrc-2010Q4:1.2.0.18 pkgsrc-2010Q4-base:1.2 pkgsrc-2010Q3:1.2.0.16 pkgsrc-2010Q3-base:1.2 pkgsrc-2010Q2:1.2.0.14 pkgsrc-2010Q2-base:1.2 pkgsrc-2010Q1:1.2.0.12 pkgsrc-2010Q1-base:1.2 pkgsrc-2009Q4:1.2.0.10 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q3:1.2.0.8 pkgsrc-2009Q3-base:1.2 pkgsrc-2009Q2:1.2.0.6 pkgsrc-2009Q2-base:1.2 pkgsrc-2009Q1:1.2.0.4 pkgsrc-2009Q1-base:1.2 pkgsrc-2008Q4:1.2.0.2 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.1.1.1.0.20 pkgsrc-2008Q3-base:1.1.1.1 cube-native-xorg:1.1.1.1.0.18 cube-native-xorg-base:1.1.1.1 pkgsrc-2008Q2:1.1.1.1.0.16 pkgsrc-2008Q2-base:1.1.1.1 cwrapper:1.1.1.1.0.14 pkgsrc-2008Q1:1.1.1.1.0.12 pkgsrc-2008Q1-base:1.1.1.1 pkgsrc-2007Q4:1.1.1.1.0.10 pkgsrc-2007Q4-base:1.1.1.1 pkgsrc-2007Q3:1.1.1.1.0.8 pkgsrc-2007Q3-base:1.1.1.1 pkgsrc-2007Q2:1.1.1.1.0.6 pkgsrc-2007Q2-base:1.1.1.1 pkgsrc-2007Q1:1.1.1.1.0.4 pkgsrc-2007Q1-base:1.1.1.1 pkgsrc-2006Q4:1.1.1.1.0.2 pkgsrc-2006Q4-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.6 date 2023.08.18.22.20.49; author hauke; state dead; branches; next 1.5; commitid bfnjkzZ3HKa4OjBE; 1.5 date 2023.08.17.21.26.49; author hauke; state Exp; branches; next 1.4; commitid tz8KKjgy67GdybBE; 1.4 date 2020.03.17.22.14.15; author wiz; state Exp; branches; next 1.3; commitid MeiK3t13OVFRVN0C; 1.3 date 2011.11.01.21.08.55; author scottr; state Exp; branches; next 1.2; 1.2 date 2008.10.21.20.46.28; author adrianp; state Exp; branches; next 1.1; 1.1 date 2006.10.21.09.05.44; author adrianp; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2006.10.21.09.05.44; author adrianp; state Exp; branches; next ; desc @@ 1.6 log @Rework the www/viewvc package some: Put the preferences under PKG_SYSCONFDIR Pre-set pkgsrc-dependend viewvc.conf entries Lose the MESSAGE, it was pointless Install the docs @ text @$NetBSD: patch-ab,v 1.5 2023/08/17 21:26:49 hauke Exp $ Make paths adaptable for pkgsrc installation. --- conf/viewvc.conf.dist.orig 2023-01-04 14:48:34.000000000 +0000 +++ conf/viewvc.conf.dist @@@@ -218,7 +218,8 @@@@ ## /etc/mime.types, ## /usr/local/apache2/conf/mime.types ## -#mime_types_files = mimetypes.conf +#mime_types_files = mimetypes.conf, +# @@PKG_SYSCONFDIR@@/httpd/mime.types ## address: The address of the local repository maintainer. (This ## option is provided only as a convenience for ViewVC installations @@@@ -313,6 +314,7 @@@@ ## rcs_dir = /usr/bin/ ## #rcs_dir = +rcs_dir = @@RCS_PREFIX@@/bin/ ## cvsnt: Location of cvsnt program. ViewVC can use CVSNT (www.cvsnt.org) ## instead of the RCS utilities to retrieve information from CVS @@@@ -335,6 +337,7 @@@@ ## diff = /usr/bin/diff ## #diff = +svn = @@PREFIX@@/bin/ ## cvsgraph: Location of the CvsGraph program, a graphical CVS version ## graph generator (see options.use_cvsgraph). @@@@ -342,7 +345,7 @@@@ ## Example: ## cvsgraph = /usr/local/bin/cvsgraph ## -#cvsgraph = +cvsgraph = @@PREFIX@@/bin/ ##--------------------------------------------------------------------------- @@@@ -754,12 +757,14 @@@@ ## use_cvsgraph: Use CvsGraph to offer visual graphs of CVS revision history. ## #use_cvsgraph = 0 +use_cvsgraph = @@CVSGRAPH_OPT@@ ## cvsgraph_conf: Location of the customized cvsgraph configuration file. ## May be specified as an absolute path or as a path relative to this ## configuration file. ## #cvsgraph_conf = cvsgraph.conf +cvsgraph_conf = @@PREFIX@@/@@VIEWVCDIR@@/cvsgraph.conf ## allowed_cvsgraph_useropts: A list of settings used for cvsgraph's ## user-modifiable behavior which can be changed in the graph display. @ 1.5 log @Use PKG_SYSCONFDIR instead of PREFIX/etc Construct the comment in the spirot of the example @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.4 2020/03/17 22:14:15 wiz Exp $ @ 1.4 log @viewvc: update to 1.2.0. ViewVC 1.2.0 is a sort of interim release (and release line) intended to be the last ViewVC release line that offers Python 2 support. Rather than bundle into the next major post-1.1 release both the switch to Python 3 plus all the ViewVC-1.1-incompatible changes that have been baking unreleased for the past decade, we decided to roll out those changes as ViewVC 1.2 without the Python 3 upgrade bit. ChangeLog: bumped minimum supported Python version to 2.4 implemented support for property diffs (Tigris #383) allow user-configurable cvsgraph display (Tigris #336) allow rNNNN syntax for Subversion revision numbers (Tigris #441) display revision numbers in CVS tag/branch selector (Tigris #546) allow roots to have optional context (#58) use a more secure temporary file generator (#159) fix problems with make-database and special characters (#141, #182) fix bogus default ci_when value in cvsdb (#200) standalone query interface removed (#206) GUI support (--gui) removed from standalone.py @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.3 2011/11/01 21:08:55 scottr Exp $ d3 3 a5 1 --- conf/viewvc.conf.dist.orig 2020-03-17 18:04:41.000000000 +0000 d7 2 a8 1 @@@@ -219,6 +219,7 @@@@ d11 3 a13 2 #mime_types_files = mimetypes.conf +#mime_types_file = @@PREFIX@@/etc/httpd/mime.types @ 1.3 log @Update viewvc package to 1.1.11. Significant changes from version 1.0 include: * Pluggable, Python-based authorization subsystem * Support for path-based authorization, including parsing and honoring Subversion authz configuration files * Support for per-virtual host and per-root configurations * Template improvements @ text @d1 1 a1 1 $NetBSD$ d3 3 a5 3 --- conf/viewvc.conf.dist.orig 2011-04-20 09:56:39.000000000 -0500 +++ conf/viewvc.conf.dist 2011-10-31 21:43:19.000000000 -0500 @@@@ -186,6 +186,7 @@@@ d13 1 a13 1 @@@@ -280,6 +281,7 @@@@ d21 2 a22 2 @@@@ -302,6 +304,7 @@@@ ## svn = /usr/bin/svn d24 1 a24 1 #svn = d27 3 a29 3 ## diff: Location of the GNU diff program, used for showing file ## version differences. @@@@ -317,7 +320,7 @@@@ d38 1 a38 1 @@@@ -622,12 +625,14 @@@@ d51 2 a52 2 ## use_re_search: Enable regular expression search of files in a directory. ## @ 1.2 log @Fix paths on install PKGREVISION++ @ text @d3 6 a8 25 --- viewvc.conf.dist.orig 2008-02-25 20:47:24.000000000 +0000 +++ viewvc.conf.dist @@@@ -105,6 +105,7 @@@@ cvs_roots = cvs: /home/cvsroot default_root = cvs # uncomment if the RCS binaries are not on the standard path +rcs_path = @@RCS_PREFIX@@/bin/ #rcs_path = /usr/bin/ # ViewVC can use CVSNT (www.cvsnt.org) instead of the RCS @@@@ -125,7 +126,8 @@@@ default_root = cvs use_rcsparse = 0 # uncomment if the svn command-line utilities are not on the standard path -#svn_path = /usr/bin/ +#svn_path = @@PREFIX@@/bin/ +svn_path = @@PREFIX@@/bin/ # # This is a pathname to a MIME types file to help viewvc to guess the @@@@ -135,7 +137,7 @@@@ use_rcsparse = 0 # uncomment this option and point it at a MIME type file. # # For example, you can use the mime.types from apache here: -#mime_types_file = /usr/local/apache/conf/mime.types d11 31 a41 24 # This address is shown in the footer of the generated pages. # It must be replaced with the address of the local repository maintainer. @@@@ -495,14 +497,14 @@@@ highlight_line_numbers = 1 highlight_convert_tabs = 2 # use php to colorize .php and .inc files? -use_php = 0 +use_php = @@PHP_OPT@@ # path to php executable # (This should be set to the path of a PHP CLI executable, not the path # to a CGI executable. If you use a CGI executable, you may see "no input file # specified" or "force-cgi-redirect" errors instead of colorized source. The # output of "php -v" tells you whether an given executable is CLI or CGI.) -php_exe_path = php +php_exe_path = @@PREFIX@@/bin/php # php_exe_path = /usr/local/bin/php # php_exe_path = C:\Program Files\php\cli\php.exe @@@@ -510,20 +512,20 @@@@ php_exe_path = php # Use CvsGraph. See http://www.akhphd.au.dk/~bertho/cvsgraph/ for # documentation and download. # -use_cvsgraph = 0 a42 1 # use_cvsgraph = 1 d44 5 a48 13 # # if the cvsgraph program is not on the path, set this value # -cvsgraph_path = -# cvsgraph_path = /usr/local/bin/ +cvsgraph_path = @@PREFIX@@/bin/ +# cvsgraph_path = @@PREFIX@@/bin/ # # Location of the customized cvsgraph configuration file. # You will need an absolute pathname here: # -cvsgraph_conf = cvsgraph.conf d51 2 a52 2 # # Set to enable regular expression search of all files in a directory @ 1.1 log @Initial revision @ text @d3 1 a3 1 --- viewvc.conf.dist.orig 2006-09-28 02:13:36.000000000 +0100 d5 19 a23 1 @@@@ -135,7 +135,7 @@@@ use_rcsparse = 0 d32 1 a32 1 @@@@ -456,14 +456,14 @@@@ highlight_line_numbers = 1 d49 1 a49 1 @@@@ -477,20 +477,20 @@@@ allow_tar = 0 d60 1 a60 1 cvsgraph_path = d62 1 @ 1.1.1.1 log @ViewVC is a browser interface for CVS and Subversion version control repositories. It generates templatized HTML to present navigable directory, revision, and change log listings. It can display specific versions of files as well as diffs between those versions. Basically, ViewVC provides the bulk of the report-like functionality you expect out of your version control tool, but much more prettily than the average textual command-line program output. @ text @@