head 1.4; access; symbols pkgsrc-2026Q1:1.4.0.100 pkgsrc-2026Q1-base:1.4 pkgsrc-2025Q4:1.4.0.98 pkgsrc-2025Q4-base:1.4 pkgsrc-2025Q3:1.4.0.96 pkgsrc-2025Q3-base:1.4 pkgsrc-2025Q2:1.4.0.94 pkgsrc-2025Q2-base:1.4 pkgsrc-2025Q1:1.4.0.92 pkgsrc-2025Q1-base:1.4 pkgsrc-2024Q4:1.4.0.90 pkgsrc-2024Q4-base:1.4 pkgsrc-2024Q3:1.4.0.88 pkgsrc-2024Q3-base:1.4 pkgsrc-2024Q2:1.4.0.86 pkgsrc-2024Q2-base:1.4 pkgsrc-2024Q1:1.4.0.84 pkgsrc-2024Q1-base:1.4 pkgsrc-2023Q4:1.4.0.82 pkgsrc-2023Q4-base:1.4 pkgsrc-2023Q3:1.4.0.80 pkgsrc-2023Q3-base:1.4 pkgsrc-2023Q2:1.4.0.78 pkgsrc-2023Q2-base:1.4 pkgsrc-2023Q1:1.4.0.76 pkgsrc-2023Q1-base:1.4 pkgsrc-2022Q4:1.4.0.74 pkgsrc-2022Q4-base:1.4 pkgsrc-2022Q3:1.4.0.72 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.70 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.4.0.68 pkgsrc-2022Q1-base:1.4 pkgsrc-2021Q4:1.4.0.66 pkgsrc-2021Q4-base:1.4 pkgsrc-2021Q3:1.4.0.64 pkgsrc-2021Q3-base:1.4 pkgsrc-2021Q2:1.4.0.62 pkgsrc-2021Q2-base:1.4 pkgsrc-2021Q1:1.4.0.60 pkgsrc-2021Q1-base:1.4 pkgsrc-2020Q4:1.4.0.58 pkgsrc-2020Q4-base:1.4 pkgsrc-2020Q3:1.4.0.56 pkgsrc-2020Q3-base:1.4 pkgsrc-2020Q2:1.4.0.52 pkgsrc-2020Q2-base:1.4 pkgsrc-2020Q1:1.4.0.32 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.4.0.54 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.4.0.50 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.4.0.48 pkgsrc-2019Q2-base:1.4 pkgsrc-2019Q1:1.4.0.46 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.4.0.44 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.4.0.42 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.4.0.40 pkgsrc-2018Q2-base:1.4 pkgsrc-2018Q1:1.4.0.38 pkgsrc-2018Q1-base:1.4 pkgsrc-2017Q4:1.4.0.36 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.4.0.34 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.4.0.30 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.4.0.28 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.26 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.24 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.22 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.20 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.18 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.16 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.14 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.12 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.10 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.8 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.6 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.4 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.2 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.3.0.18 pkgsrc-2013Q3-base:1.3 pkgsrc-2013Q2:1.3.0.16 pkgsrc-2013Q2-base:1.3 pkgsrc-2013Q1:1.3.0.14 pkgsrc-2013Q1-base:1.3 pkgsrc-2012Q4:1.3.0.12 pkgsrc-2012Q4-base:1.3 pkgsrc-2012Q3:1.3.0.10 pkgsrc-2012Q3-base:1.3 pkgsrc-2012Q2:1.3.0.8 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.6 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.4 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.2 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.2.0.32 pkgsrc-2011Q2-base:1.2 pkgsrc-2011Q1:1.2.0.30 pkgsrc-2011Q1-base:1.2 pkgsrc-2010Q4:1.2.0.28 pkgsrc-2010Q4-base:1.2 pkgsrc-2010Q3:1.2.0.26 pkgsrc-2010Q3-base:1.2 pkgsrc-2010Q2:1.2.0.24 pkgsrc-2010Q2-base:1.2 pkgsrc-2010Q1:1.2.0.22 pkgsrc-2010Q1-base:1.2 pkgsrc-2009Q4:1.2.0.20 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q3:1.2.0.18 pkgsrc-2009Q3-base:1.2 pkgsrc-2009Q2:1.2.0.16 pkgsrc-2009Q2-base:1.2 pkgsrc-2009Q1:1.2.0.14 pkgsrc-2009Q1-base:1.2 pkgsrc-2008Q4:1.2.0.12 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.10 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.8 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.6 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.4 pkgsrc-2008Q1:1.2.0.2 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.1.0.6 pkgsrc-2007Q4-base:1.1 pkgsrc-2007Q3:1.1.0.4 pkgsrc-2007Q3-base:1.1 pkgsrc-2007Q2:1.1.0.2 pkgsrc-2007Q2-base:1.1; locks; strict; comment @# @; 1.4 date 2013.10.14.06.51.02; author adam; state Exp; branches; next 1.3; commitid lIbbhkwwgmaoee9x; 1.3 date 2011.09.22.15.16.26; author ryoon; state Exp; branches; next 1.2; 1.2 date 2008.01.04.06.48.06; author martti; state Exp; branches; next 1.1; 1.1 date 2007.05.27.09.49.53; author schmonz; state Exp; branches; next ; desc @@ 1.4 log @Changes 1.12.13: SECURITY FIXES * CVS now uses version 1.2.3 of the ZLib compression libraries in order to avoid two recently announced security vulnerabilities in them. Both may be used for denial of service attacks and one may reportedly allow execution of arbitrary code, though this is not confirmed. NEW FEATURES * Thanks to Conrad Pino , a hang in the Windows client, which had pretty much rendered the client useless, has been fixed. * A minor problem preventing build of the Kerberos4 client has been fixed. * The path to the config file may be set as an argument to the CVS server commands. * Sections of directives specific to one or more repositories and not others may now be specified in the config file. * %{sV} format strings are now available to the verifymsg trigger, similar to the %{stVv} available to loginfo. * `cvs watch add' on an empty directory no longer clears watchers, and specifying a directory for `cvs watch add' now (correctly) sets default attributes. * Missing CVSROOT/history files will now cause CVS to attempt to create one. To suppress history logging, set LogHistory equal to the empty string in CVSROOT/config. * There are several new options available in CVSROOT/config. These are TmpDir, HistoryLogPath, HistorySearchPath, MinCompressionLevel, & MaxCompressionLevel. Please see the manual for more. * CVS on Solaris 10 was refusing to parse command options. This has been fixed. * The Windows client now creates locks compatible with older versions of CVS by default. This should only be relevant if your client is accessing a local repository concurrently with another, older client. If you would like to disable compatibility mode (because it is slightly faster), edit the LOCK_COMPATIBILITY flag in windows-NT/config.h and recompile. * Misc efficiency and portability improvements. BUG FIXES * Thanks to Serguei E. Leontiev , CVS with Kerberos 5 GSSAPI should automatically link on FreeBSD 5.x. * Thanks to Rahul Bhargava , heavily loaded systems suffering from a disk crash or power failure will not lose data they claimed to have committed. * CVS server now handles conflict markers in Entry requests as documented. * CVS now remembers that binary file merge conflicts occurred until the timestamp of the updated binary file changes. * CVS client now saves some bandwidth by not sending the contents of files with conflicts to the server when it isn't needed. * CVS now does correct locking during import. * A problem where the server could block indefinitely waiting for an EOF from the client when compression was enabled has been fixed. * `cvs diff' no longer splits its arguments on spaces. * Thanks to an old report and patch from Stewart Brodie , a potential crash in response to a corrupt RCS file has been fixed. * CVS now locks the history and val-tags files before writing to them. Especially with large repositories, users should no longer see new warnings about corrupt history records when using the `cvs history' command. Existing corrupt history records will still need to be removed manually. val-tags corruption should have had less obvious effects, but removing the CVSROOT/val-tags file and allowing a 1.11.21 or later version of CVS to regenerate it may eliminate a few odd behaviors and possibly cause a slight speed up of read transactions in large repositories over time. BUILD ISSUES * The RPM spec file works again with the most modern versions of `rpm'. It also finds the correct version of install-sh when building the CVS with GSSAPI. DEVELOPER ISSUES * We've standardized on Automake 1.9.6 to get some at new features that make our jobs easier. See the HACKING file for more on using the autotools with CVS. @ text @$NetBSD$ --- src/main.c.orig 2005-10-02 15:17:21.000000000 +0000 +++ src/main.c @@@@ -41,6 +41,7 @@@@ int really_quiet = 0; int quiet = 0; int trace = 0; int noexec = 0; +int nolock = 0; int readonlyfs = 0; int logoff = 0; @@@@ -56,6 +57,7 @@@@ struct config *config; mode_t cvsumask = UMASK_DFLT; +char *RCS_citag = NULL; char *CurDir; @@@@ -284,6 +286,7 @@@@ static const char *const opt_usage[] = " -r Make checked-out files read-only.\n", " -w Make checked-out files read-write (default).\n", " -n Do not execute anything that will change the disk.\n", + " -u Don't create locks (implies -l).\n", " -t Show trace of program execution (repeat for more\n", " verbosity) -- try with -n.\n", " -R Assume repository is read-only, such as CDROM\n", @@@@ -511,7 +514,7 @@@@ main (int argc, char **argv) int help = 0; /* Has the user asked for help? This lets us support the `cvs -H cmd' convention to give help for cmd. */ - static const char short_options[] = "+QqrwtnRvb:T:e:d:Hfz:s:xa"; + static const char short_options[] = "+QqrwtunRvb:T:e:d:Hfz:s:xa"; static struct option long_options[] = { {"help", 0, NULL, 'H'}, @@@@ -667,6 +670,11 @@@@ main (int argc, char **argv) break; case 'n': noexec = 1; + nolock = 1; + logoff = 1; + break; + case 'u': + nolock = 1; logoff = 1; break; case 'v': @ 1.3 log @* Fix build on Darwin 11.0.1. * Patches regen. @ text @d1 1 a1 1 $NetBSD: patch-ap,v 1.2 2008/01/04 06:48:06 martti Exp $ d3 1 a3 1 --- src/main.c.orig 2008-01-28 14:55:45.000000000 +0000 d5 1 a5 1 @@@@ -46,6 +46,7 @@@@ int really_quiet = 0; d10 1 d13 2 a14 3 /* @@@@ -60,6 +61,7 @@@@ int gzip_level; int top_level_admin = 0; d21 1 a21 1 @@@@ -249,6 +251,7 @@@@ static const char *const opt_usage[] = d26 4 a29 4 " -t Show trace of program execution -- try with -n.\n", " -v CVS version and copyright.\n", " -T tmpdir Use 'tmpdir' for temporary files.\n", @@@@ -407,7 +410,7 @@@@ main (argc, argv) d33 2 a34 2 - static const char short_options[] = "+Qqrwtnvb:T:e:d:Hfz:s:xa"; + static const char short_options[] = "+Qqrwtunvb:T:e:d:Hfz:s:xa"; d38 1 a38 1 @@@@ -531,6 +534,11 @@@@ main (argc, argv) @ 1.2 log @Updated devel/scmcvs to 1.11.22 * The CVS client again correctly reports files with conflicts when using servers running CVS 1.11.20/1.12.12, or earlier (and maybe 3rd party servers). * The GSSAPI server should now build under HP-UX. * `cvs rtag' now correctly tags files that have been removed from the trunk. * Code efficiency has been improved slightly. * A rare race condition that could leave a lock on the val-tags file has been avoided. * A potential buffer overflow in the history command has been fixed. * Thanks to a report and patch from Garrett Rooney , paused trigger processes no longer cause the CVS server to consume 100% CPU. * Thanks to a suggestion from Joseph P. Skudlarek , an :extssh: has been added as a synonym of the :ext: access method, as a kindness to users of old version of Eclipse. * Misc documentation updates and minor bug fixes. @ text @d1 1 a1 1 $NetBSD: patch-ap,v 1.1 2007/05/27 09:49:53 schmonz Exp $ d3 3 a5 3 --- src/main.c.orig 2006-05-16 06:12:35.000000000 +0300 +++ src/main.c 2008-01-02 14:45:05.000000000 +0200 @@@@ -46,6 +46,7 @@@@ d13 1 a13 1 @@@@ -60,6 +61,7 @@@@ d21 1 a21 1 @@@@ -249,6 +251,7 @@@@ d29 1 a29 1 @@@@ -407,7 +410,7 @@@@ d38 1 a38 1 @@@@ -531,6 +534,11 @@@@ @ 1.1 log @Move cvs to scmcvs so it can be checked out on a case-insensitive filesystem without interference from devel/CVS metadata. PKGNAME stays the same. Discussed with agc. @ text @d1 1 a1 1 $NetBSD: patch-ap,v 1.8 2006/01/29 02:40:40 wiz Exp $ d3 3 a5 3 --- src/main.c.orig 2005-09-05 20:04:38.000000000 +0200 +++ src/main.c @@@@ -46,6 +46,7 @@@@ int really_quiet = 0; d12 2 a13 2 /* Set if we should be writing CVSADM directories at top level. At @@@@ -54,6 +55,7 @@@@ int logoff = 0; d21 1 a21 1 @@@@ -243,6 +245,7 @@@@ static const char *const opt_usage[] = d29 1 a29 1 @@@@ -401,7 +404,7 @@@@ main (argc, argv) d38 1 a38 1 @@@@ -525,6 +528,11 @@@@ main (argc, argv) @