head 1.2; access; symbols pkgsrc-2026Q3:1.1.0.26 pkgsrc-2026Q3-base:1.1 pkgsrc-2026Q2:1.1.0.24 pkgsrc-2026Q2-base:1.1 pkgsrc-2026Q1:1.1.0.22 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.20 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.18 pkgsrc-2025Q3-base:1.1 pkgsrc-2025Q2:1.1.0.16 pkgsrc-2025Q2-base:1.1 pkgsrc-2025Q1:1.1.0.14 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.12 pkgsrc-2024Q4-base:1.1 pkgsrc-2024Q3:1.1.0.10 pkgsrc-2024Q3-base:1.1 pkgsrc-2024Q2:1.1.0.8 pkgsrc-2024Q2-base:1.1 pkgsrc-2024Q1:1.1.0.6 pkgsrc-2024Q1-base:1.1 pkgsrc-2023Q4:1.1.0.4 pkgsrc-2023Q4-base:1.1 pkgsrc-2023Q3:1.1.0.2 pkgsrc-2023Q3-base:1.1; locks; strict; comment @# @; 1.2 date 2026.10.21.16.00.17; author hauke; state Exp; branches; next 1.1; commitid yiv4AqkFBfRbqm0H; 1.1 date 2023.08.18.22.20.49; author hauke; state Exp; branches; next ; commitid bfnjkzZ3HKa4OjBE; desc @@ 1.2 log @www/viewvc -- update to v1.3.0 ChangeLog: updated dependency requirements minimum Python version is now 3.10 (#138,#400) minimum Subversion version now 1.14.0 with py3 bindings minimum Pygments version now 1.1 minimum MySQL version now MySQL 5.7/MariaDB 10.2 (#213) now using passlib (instead of fcrypt) for standalone authn support (#361) removed support for mod_python-based deployments (#234) removed support for ASP-based deployments (#235) removed support for the command-line blame script (#381) make-database now requires --force to destroy existing DB (#212) removed deprecated checkout_magic option/behavior (#215) new 'allow_mojibake' option (#216) require explicit match for web-friendly images in 'binary_mime_types' (#216) fix a problem on CVS checkout files with rcsparse (#272) new 'max_context' option, for GNU diffutils 3.8 and newer (#293) fix problems on diff view when hr_intraline is set (#275) new 'root_path_locale' option (Tigris #500) support Unicode root path both in CVS and Subversion (Tigris #500) fix encoding problems on diff view and generating patch (#301) new 'image' view for limited as-is image display (#360) disallow patch view on non-file paths (#370) separate CGI script for IIS server without PATH_INFO fix settings (#386) diff link in revision view uses r1 as old and r2 as new revision (#389) new 'allowed host' option, for validate Host: header value (#398) @ text @$NetBSD$ Make paths adaptable for pkgsrc installation. --- conf/viewvc.conf.dist.orig 2026-10-21 15:44:45.447515462 +0000 +++ conf/viewvc.conf.dist @@@@ -222,7 +222,8 @@@@ ## /etc/mime.types, ## /usr/local/apache2/conf/mime.types ## -#mime_types_files = mimetypes.conf +#mime_types_files = @@PKG_SYSCONFDIR@@/mimetypes.conf, +# @@PKG_SYSCONFBASE@@/httpd/mime.types ## allowed_hosts: A list of allowed hostname or hostname:port values ## specified in server URL. If there are no values specified, any hostname @@@@ -333,7 +334,7 @@@@ ## Example: ## rcs_dir = /usr/bin/ ## -#rcs_dir = +rcs_dir = @@RCSPATH@@/ ## cvsnt: Location of cvsnt program. ViewVC can use CVSNT (www.cvsnt.org) ## instead of the RCS utilities to retrieve information from CVS @@@@ -355,7 +356,7 @@@@ ## Example: ## diff = /usr/bin/diff ## -#diff = +diff = @@DIFF@@ ## max_context: Number of context lines to pass to diff program with ## "--unified" option, for "Full human readable" format. @@@@ -375,7 +376,7 @@@@ ## Example: ## cvsgraph = /usr/local/bin/cvsgraph ## -#cvsgraph = +cvsgraph = @@PREFIX@@/bin/cvsgraph ##--------------------------------------------------------------------------- @@@@ -744,7 +745,7 @@@@ ## template_dir = templates/default ## template_dir = /opt/custom-viewvc-templates/templates # -#template_dir = templates/default +template_dir = @@PREFIX@@/@@VIEWVCDIR@@/templates/default ## docroot: Web path to a directory that contains ViewVC static files ## (stylesheets, images, etc.) If set, static files will get @@@@ -846,13 +847,13 @@@@ ## 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 = @@PKG_SYSCONFDIR@@/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.1 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 @d1 1 a1 1 $NetBSD: patch-ab,v 1.5 2023/08/17 21:26:49 hauke Exp $ d5 1 a5 1 --- conf/viewvc.conf.dist.orig 2023-01-04 14:48:34.000000000 +0000 d7 1 a7 1 @@@@ -218,7 +218,8 @@@@ d15 3 a17 3 ## address: The address of the local repository maintainer. (This ## option is provided only as a convenience for ViewVC installations @@@@ -312,7 +313,7 @@@@ d26 1 a26 1 @@@@ -334,7 +335,7 @@@@ d31 1 a31 1 +diff = @@DIFF@@ d33 3 a35 3 ## cvsgraph: Location of the CvsGraph program, a graphical CVS version ## graph generator (see options.use_cvsgraph). @@@@ -342,7 +343,7 @@@@ d44 1 a44 1 @@@@ -662,7 +663,7 @@@@ d53 1 a53 1 @@@@ -753,13 +754,13 @@@@ @