Line 0
Link Here
|
|
|
1 |
--- README.orig 2009-09-10 04:59:59.000000000 +0900 |
2 |
+++ README 2012-12-27 19:22:20.000000000 +0900 |
3 |
@@ -7,7 +7,7 @@ |
4 |
|
5 |
FreeBSD Port Tools consist of the several small scripts run from |
6 |
port(1) front-end: |
7 |
-- port commit: commit a port into the FreeBSD Ports CVS Repository |
8 |
+- port commit: commit a port into the FreeBSD Ports SVN Repository |
9 |
- port create: create a new port from a template |
10 |
- port diff: generate a diff against a previous version of the port |
11 |
- port fetch: fetch distfile(s) of a new version of the port |
12 |
@@ -43,42 +43,35 @@ |
13 |
Let us assume you are interested in helping out with one of the ports. |
14 |
The most convenient way of doing that with the Port Tools is the following. |
15 |
Even though the Port Tools have 3 most of diff generation, the recommended is |
16 |
-CVS (default). Do not be scared away at this point - it is very simple. |
17 |
+SVN (default). Do not be scared away at this point - it is very simple. |
18 |
Let me give a quick overview: |
19 |
|
20 |
-1. Set up CVSROOT environment variable |
21 |
- |
22 |
- sgk@elf% export CVSROOT=":pserver:anoncvs@anoncvs.FreeBSD.org:/home/ncvs" |
23 |
- |
24 |
- NOTE: you may want to check the Handbook for a list of anonymous CVS servers |
25 |
- (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/anoncvs.html). |
26 |
- |
27 |
-2. Check out a working copy of the port. I usually do it in ~/ports directory: |
28 |
+1. Check out a working copy of the port. I usually do it in ~/ports directory: |
29 |
(NOTE: my ~/ports directory contains only those ports I am interested in, |
30 |
i.e. either maitain or send changes/updates to. Thus, it does not have |
31 |
to contain the whole FreeBSD Ports tree) |
32 |
|
33 |
sgk@elf:~% cd ~/ports |
34 |
- sgk@elf:~/ports% cvs co ipsvd |
35 |
+ sgk@elf:~/ports% svn co ipsvd |
36 |
|
37 |
ipsvd is the sample port name. |
38 |
|
39 |
-3. Now, make your changes - e.g. change PORTVERSION from 0.6.0 to 0.6.1. |
40 |
+2. Now, make your changes - e.g. change PORTVERSION from 0.6.0 to 0.6.1. |
41 |
|
42 |
sgk@elf:~/ports/ipsvd% cd ipsvd |
43 |
sgk@elf:~/ports/ipsvd% vim Makefile |
44 |
|
45 |
-4. At this moment we need to fetch the new distfile and run "make makesum" |
46 |
+3. At this moment we need to fetch the new distfile and run "make makesum" |
47 |
to update the distinfo file. There is even simpler way to accomplish this |
48 |
with the Port Tools version 0.50 or later: |
49 |
|
50 |
sgk@elf:~/ports/ipsvd% port fetch |
51 |
|
52 |
-5. Now we want to make sure that the port compiles, installs and works fine: |
53 |
+4. Now we want to make sure that the port compiles, installs and works fine: |
54 |
|
55 |
sgk@elf:~/ports/ipsvd% port test |
56 |
|
57 |
-6. Once I am satisfied with the results, let us submit a PR |
58 |
+5. Once I am satisfied with the results, let us submit a PR |
59 |
with the port update: |
60 |
|
61 |
sgk@elf:~/ports/ipsvd% port submit |