-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathREADME.CVS
84 lines (54 loc) · 2.41 KB
/
README.CVS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
Anonymous CVS Access
====================
Anonymous CVS access is freely available to netcat CVS repository. The
repository includes only the strict source files and templates which are needed
by GNU auto-tools to prepare the working source.
In order to build this sources, you need the following tools properly installed
in your system:
autoconf (GNU Autoconf) 2.53
automake (GNU automake) 1.6.3
GNU Make version 3.79.1
Any version above the specified is accepted. Older versions may or may not
work, but if you use a version older than the officially supported, do not
send bug reports about compilation failure.
How to checkout the source tree
===============================
The repository can be checked out by using the following syntax:
$ cvs -d:pserver:[email protected]:/cvsroot/netcat login
(just press enter to the password prompt)
$ cvs -d:pserver:[email protected]:/cvsroot/netcat co netcat
After you checked out the repository a first time, you won't need the above
commands any more. To resync your local repository with the server repository
you can use this command:
$ cd netcat
$ cvs update -dP
(note that the -dP is very important to keep your repository directory
structure sync with the server's one)
Setting up a better CVS working environment
===========================================
There are a few tricks that can make cvs usage a little easier. The first
thing to do is to create the following file in your home directory:
$ cat <<EOF > $HOME/.cvsrc
diff -u
update -dP
checkout -P
EOF
Alternatively you can use your favorite text editor to create it, just make
the file contains those three rows.
Now, to resynch the working repository with the official repository you'll
just need to type:
$ cd netcat
$ cvs update
Other CVS repository features
=============================
Currently, CVS contains tags for each relevant point release. For example you
can checkout version 0.6.2 of GNU Netcat by typing (make sure to enter the
working repository directory first):
$ cvs update -r netcat_release_0_6_2
The repository also contains some branches, which usually represent a stable
fork of the development line. This way you can retrieve the latest stability
fixes for a release serie, like 0.7.x:
$ cvs update -r netcat_branch_0_7
To return to the main trunk (thus retrieving the most up to date development
source), use the following command:
$ cvs update -A