LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 764|回复: 4

cvsup的一个问题

[复制链接]
发表于 2003-12-23 00:01:03 | 显示全部楼层 |阅读模式
取得的文件都带有一个",v"的后缀,是何意?
如何更新原来的ports或src呢?
我的cvsup-file中设置的prefix=/home/ncvs,暂时没敢放在/usr下。
用的是图形界面的:
   #cvsup /root/cvsup-file

cvsup-file 如下:
大家帮看看
  1. #*default host=www.freebsd.org
  2. #*default host=cvsup.cn.freebsd.org
  3. *default host=freebsd.yintai.gov.cn
  4. *default base=/usr
  5. *default prefix=/home/ncvs
  6. *default release=cvs
  7. *default delete use-rel-suffix
  8. # If your network link is a T1 or faster, comment out the following line.
  9. #*default compress
  10. ## Main Source Tree.
  11. #
  12. # The easiest way to get the main source tree is to use the "src-all"
  13. # mega-collection.  It includes all of the individual "src-*" collections.
  14. src-all                        #edited in  2003.09.25
  15. # These are the individual collections that make up "src-all".  If you
  16. # use these, be sure to comment out "src-all" above.
  17. #src-base
  18. #src-bin
  19. #src-contrib
  20. #src-etc
  21. #src-games
  22. #src-gnu
  23. #src-include
  24. #src-kerberos5
  25. #src-kerberosIV
  26. #src-lib
  27. #src-libexec
  28. #src-release
  29. #src-sbin
  30. #src-share
  31. #src-sys
  32. #src-tools
  33. #src-usrbin
  34. #src-usrsbin
  35. # These are the individual collections that make up FreeBSD's crypto
  36. # collection. They are no longer export-restricted and are a part of
  37. # src-all
  38. #src-crypto
  39. #src-eBones
  40. #src-secure
  41. #src-sys-crypto
  42. ## Ports Collection.
  43. #
  44. # The easiest way to get the ports tree is to use the "ports-all"
  45. # mega-collection.  It includes all of the individual "ports-*"
  46. # collections,
  47. #ports-all
  48. # These are the individual collections that make up "ports-all".  If you
  49. # use these, be sure to comment out "ports-all" above and always include
  50. # "ports-base" if you use any of the other individual collections below.
  51. # Your ports may not build correctly without an up-to-date "ports-base".
  52. #
  53. #ports-base
  54. #
  55. #ports-archivers
  56. #ports-astro
  57. #ports-audio
  58. #ports-benchmarks
  59. #ports-biology
  60. #ports-cad
  61. #ports-chinese
  62. #ports-comms
  63. #ports-converters
  64. #ports-databases
  65. #ports-deskutils
  66. #ports-devel
  67. #ports-editors
  68. #ports-emulators
  69. #ports-finance
  70. #ports-french
  71. #ports-ftp
  72. #ports-games
  73. #ports-german
  74. ports-graphics
  75. #ports-hebrew
  76. #ports-hungarian
  77. #ports-irc
  78. #ports-japanese
  79. #ports-java
  80. #ports-korean
  81. #ports-lang
  82. #ports-mail
  83. #ports-math
  84. #ports-mbone
  85. #ports-misc
  86. #ports-multimedia
  87. ports-net
  88. #ports-news
  89. #ports-palm
  90. #ports-picobsd
  91. #ports-portuguese
  92. #ports-print
  93. #ports-russian
  94. #ports-science
  95. ports-security
  96. #ports-shells
  97. #ports-sysutils
  98. #ports-textproc
  99. #ports-ukrainian
  100. #ports-vietnamese
  101. #ports-www
  102. #ports-x11
  103. #ports-x11-clocks
  104. #ports-x11-fm
  105. #ports-x11-fonts
  106. #ports-x11-servers
  107. #ports-x11-toolkits
  108. ports-x11-wm
  109. ## Documentation
  110. #
  111. # The easiest way to get the doc tree is to use the "doc-all"
  112. # mega-collection.  It includes all of the individual "doc-*"
  113. # collections,
  114. #doc-all                        #edit by huajun,  23-09-2003
  115. ## CVSROOT control files
  116. #
  117. # This is to get the control files that cvs(1) needs and the commit logs.
  118. #cvsroot-all
  119. # These are the individual collections that make up "cvsroot-all"  If you
  120. # use these, be sure to comment out "cvsroot-all" above.  "cvsroot-common"
  121. # is a synthetic CVSROOT that has all the modules from the other CVSROOT-*
  122. # directories merged into one, and merged commitlogs via symlinks.
  123. #cvsroot-common
  124. #cvsroot-src
  125. cvsroot-ports                                #edit by huajun 25-09-2003
  126. #cvsroot-doc
复制代码
发表于 2003-12-23 08:08:06 | 显示全部楼层
 楼主| 发表于 2003-12-23 09:23:48 | 显示全部楼层
眼拙,没看出答案在哪里
我用的是cvsup(port/net/cvsup下make的),拉回来的文件后都加了一个“,v”
从我的配置和操作上看,没发现什么问题啊,也能下载文件,比如在/home/ncvs目录下,cvsup也会自动建立src子目录,其下也建有不少的子目录,也下载了很多文件,唯一就是多了一个“,v”
由于每次下载更新时间较长,所以没下完我就把 cvsup 终止了,是不是全部下载完后,cvsup才会把所有下载的文件的名字全改回来?
还有其它的建议吗?
发表于 2003-12-23 11:15:58 | 显示全部楼层
If the files are coming from a CVS repository, as is usually the case, then they will be RCS files. These have a `,v' suffix which must be taken into account in the patterns. For example, the FreeBSD documentation files are in a sub-directory of base called `doc'.  If `Makefile' from that directory is not required then the line doc/Makefile  will not work because the file on the server is called Makefile,v.' A  better solution would be  doc/Makefile*  which will match whether `Makefile' is an RCS file or not.

Assuming you want the most recent version of the sources, you simply need to add "tag=." to your supfile.

Good Luck!
 楼主| 发表于 2003-12-23 20:29:28 | 显示全部楼层
谢谢
干了一天活,晚上又有时间弄了,呵呵,多谢提醒,我看看manual先。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表