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: patch-viewvc-install,v 1.1 2023/08/18 22:20:49 hauke Exp $ Let pkgsrc machinery take care of config files --- viewvc-install.orig 2026-10-21 15:38:54.232041894 +0000 +++ viewvc-install @@@@ -67,12 +67,6 @@@@ FILE_INFO_LIST = [ ("bin/db/schema_0.sql", "bin/db/schema_0.sql", 0o0644, 1, 0, 0), ("bin/db/schema_1.sql", "bin/db/schema_1.sql", 0o0644, 1, 0, 0), ("bin/db/schema_2.sql", "bin/db/schema_2.sql", 0o0644, 1, 0, 0), - ("conf/viewvc.conf.dist", "viewvc.conf.dist", 0o0644, 0, 0, 0), - ("conf/viewvc.conf.dist", "viewvc.conf", 0o0644, 0, 1, 0), - ("conf/cvsgraph.conf.dist", "cvsgraph.conf.dist", 0o0644, 0, 0, 0), - ("conf/cvsgraph.conf.dist", "cvsgraph.conf", 0o0644, 0, 1, 0), - ("conf/mimetypes.conf.dist", "mimetypes.conf.dist", 0o0644, 0, 0, 0), - ("conf/mimetypes.conf.dist", "mimetypes.conf", 0o0644, 0, 1, 0), ] @@@@ -140,7 +134,7 @@@@ def replace_paths(contents): shbang = b"#!" + sys.executable.encode("utf-8", "surrogateescape") contents = re.sub(b"^#![^\n]*", _escape(shbang), contents) contents = replace_var(contents, b"LIBRARY_DIR", b"lib") - contents = replace_var(contents, b"CONF_PATHNAME", b"viewvc.conf") + contents = replace_var(contents, b"CONF_PATHNAME", b"@@PKG_SYSCONFDIR@@/viewvc.conf") return contents @ 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-aa,v 1.5 2011/11/01 21:08:55 scottr Exp $ d5 1 a5 1 --- viewvc-install.orig 2023-01-04 14:48:34.000000000 +0000 d7 19 a25 19 @@@@ -56,12 +56,6 @@@@ FILE_INFO_LIST = [ ("bin/cvsdbadmin", "bin/cvsdbadmin", 0755, 1, 0, 0), ("bin/svndbadmin", "bin/svndbadmin", 0755, 1, 0, 0), ("bin/make-database", "bin/make-database", 0755, 1, 0, 0), - ("conf/viewvc.conf.dist", "viewvc.conf.dist", 0644, 0, 0, 0), - ("conf/viewvc.conf.dist", "viewvc.conf", 0644, 0, 1, 0), - ("conf/cvsgraph.conf.dist", "cvsgraph.conf.dist", 0644, 0, 0, 0), - ("conf/cvsgraph.conf.dist", "cvsgraph.conf", 0644, 0, 1, 0), - ("conf/mimetypes.conf.dist", "mimetypes.conf.dist", 0644, 0, 0, 0), - ("conf/mimetypes.conf.dist", "mimetypes.conf", 0644, 0, 1, 0), ] if sys.platform == "win32": FILE_INFO_LIST.extend([ @@@@ -128,7 +122,7 @@@@ def replace_paths(contents): shbang = '#!' + sys.executable contents = re.sub('^#![^\n]*', _escape(shbang), contents) contents = replace_var(contents, 'LIBRARY_DIR', 'lib') - contents = replace_var(contents, 'CONF_PATHNAME', 'viewvc.conf') + contents = replace_var(contents, 'CONF_PATHNAME', '@@PKG_SYSCONFDIR@@/viewvc.conf') @