Update FreeBSD Ports Collection Up to Date and Latest更新FreeBSD的港口收集到的日期和最新

CVSup can be used as a quick method for getting the Ports Collection and keep the ports tree up to date. cvsup可以被用来作为一种快速的方法获得港口收集和保持港口树直至目前为止。 CVSup distributes and updates source trees from a master CVS repository on a remote server host. cvsup分发和更新树木的来源,从掌握CVS仓库对远端伺服器主机。 The FreeBSD sources are maintained in a CVS repository on a central development machine in California.该FreeBSD的来源是保持在一个CVS存放在一个中央的发展机在加利福尼亚州。 With CVSup, FreeBSD users can easily keep their own source trees up to date.与cvsup , FreeBSD的用户可以轻松地保持自己的来源,树木直至目前为止。

CVSup uses the so-called pull model of updating. cvsup使用,使所谓的拉模型的更新。 Under the pull model, each client asks the server for updates, if and when they are wanted.根据拉模型,每个客户要求服务器的更新,如果和当他们想。 The server waits passively for update requests from its clients.服务器等待被动更新的要求,其客户。 Thus all updates are instigated by the client.因此,所有更新的煽动下,由客户端。 The server never sends unsolicited updates.服务器从来没有发送未经请求的更新。 Users must either run the CVSup client manually to get an update, or they must set up a cron job to run it automatically on a regular basis用户必须运行cvsup客户端手动获得更新,或他们必须成立一个作业运行,它会自动进行定期的基础上

There are few ways to install CVSup in FreeBSD:有几种方法来安装cvsup在FreeBSD作业系统:

  1. Install CVSup by using the precompiled net/cvsup package from the FreeBSD packages collection安装cvsup用预净/ cvsup包从FreeBSD的软件包收集
  2. Build CVSup from source by using the net/cvsup port (which includes CVSup GUI).建立cvsup从源头抓起,使用NET / cvsup港口(其中包括cvsup贵) 。 Warning: the net/cvsup port depends on the Modula-3 system, which takes a substantial amount of time and disk space to download and build.警告:净/ cvsup港口依赖于modula - 3系统,该系统需要大量的时间和磁盘空间以下载和建设。

If CVSup is installed on a machine which does not have XFree86?如果cvsup是安装在一台机器没有XFree86的? or Xorg installed, such as a server, use the port which does not include the CVSup GUI, net/cvsup-without-gui.或xorg安装,如服务器,使用港口其中不包括cvsup鬼,净/ cvsup -无贵。

For example,举例来说,
# pkg_add -r cvsup-without-gui # pkg_add - R的cvsup -无贵

Or build from ports collection at net/cvsup-without-gui.或兴建港口收集在网/ cvsup -无贵。

After installing, CVSup is ready and can be executed with the following command:安装完成后, cvsup是准备和可以执行与以下命令:

# cvsup -L 2 -h cvsup.FreeBSD.org /usr/share/examples/cvsup/ports-supfile # cvsup -升二- H的cvsup.freebsd.org在/ usr / share /例子/ cvsup /港口supfile

where cvsup.FreeBSD.org is a CVSup server that change be change to a CVSup server near you.凡cvsup.freebsd.org是一个cvsup服务器上的变化加以变更为cvsup服务器你附近。 See看见 CVSup Mirrors cvsup镜像 for a complete listing of mirror sites.一个完整的上市镜像站点。

Replace /root/ports-supfile with your own supfile name and location.替换/根/港口supfile与自己的supfile名称和位置。

The -L 2 tells CVSup to print out the details of all the file updates it is doing. -升二告诉cvsup打印出来的细节,所有的档案的更新是这样做。 There are three levels of verbosity, from -L 0 to -L 2.有三个层次的verbosity ,从-升0 -升2 。 The default is 0, which means total silence except for error messages.预设值是零,这意味着总的沉默,除了错误讯息。

While -h specify the supfile location.而- H的指定supfile的位置。

It’s also possible to create a configuration file for CVSup to avoid the need of passing the CVSup server on the command line.它也可以创建一个配置文件cvsup ,以避免需要通过cvsup服务器上的命令行。 CVSup’s operation is controlled by a configuration file called the supfile. cvsup的行动是控制组态档名为supfile 。 There are some sample supfiles in the directory /usr/share/examples/cvsup/.也有一些样本supfiles在目录中在/ usr / share /例子/ cvsup / 。

As root, copy /usr/share/examples/cvsup/ports-supfile to a new location, such as /root or your home directory.以root的身份,复制在/ usr / share /例子/ cvsup /港口supfile到一个新的位置,如/根或您的主目录。

Edit ports-supfile.编辑港口supfile 。

Change CHANGE_THIS.FreeBSD.org to a CVSup server near you.改变change_this.freebsd.org一个cvsup服务器你附近。 See看见 CVSup Mirrors cvsup镜像 for a complete listing of mirror sites.一个完整的上市镜像站点。

To run cvsup by using the supfile, use the following as root, so that cvsup has the permissions it needs to update your files:运行cvsup使用supfile ,请使用以下,以root的身份,使cvsup有权限的,它需要更新您的档案:

# cvsup -L 2 /root/ports-supfile # cvsup -升2 /根/港口supfile

Replace /root/ports-supfile with your own supfile name and location.替换/根/港口supfile与自己的supfile名称和位置。

The -L 2 tells CVSup to print out the details of all the file updates it is doing. -升二告诉cvsup打印出来的细节,所有的档案的更新是这样做。 There are three levels of verbosity, from -L 0 to -L 2.有三个层次的verbosity ,从-升0 -升2 。 The default is 0, which means total silence except for error messages.预设值是零,这意味着总的沉默,除了错误讯息。

If you are not running X11 or if you just do not like GUIs, you should add a couple of options to the command line when you run cvsup and your CVSup is installed with GUI:如果您没有运行X11或如果你只是不喜欢guis ,你应该添加一对夫妇的选择,以命令行当您运行cvsup和您的cvsup安装与贵:

# cvsup -g -L 2 supfile # cvsup -克-升2 supfile

Replace supfile with your own supfile name and location.取代supfile与自己的supfile名称和位置。

The -g tells CVSup not to use its GUI. -克告诉cvsup不使用其贵。 This is automatic if you are not running X11, but otherwise you have to specify it.这是自动如果您没有运行X11 ,但否则,你必须指定它。

Running the CVSup command later will download and apply all the recent changes to your Ports Collection, except actually rebuilding the ports for your own system.运行cvsup命令后,会下载并适用于所有最近的更改到您的港口收集,其实,除了重建港口为自己的系统。

IMPORTANT : This is a machine translated page which is provided "as is" without warranty. 重要说明 :这是一个机器翻译网页是“按原样”提供的担保。 Machine translation may be difficult to understand.机器翻译可能很难理解。 Please refer to请参阅 original English article原来的英语文章 whenever possible.只要有可能。

Share and contribute or get technical support and help at分享和贡献,或取得技术的支持和帮助,在 My Digital Life Forums 我的数字生活论坛 .



3 Responses to “Update FreeBSD Ports Collection Up to Date and Latest” 3回应“更新FreeBSD的港口收集到的日期和最新的”

  1. Easy Way to Upgrade FreeBSD’s Ports » My Digital Life简单的方法来升级的FreeBSD的港口»我的数位生活
    January 3rd, 2006 16:17 2006年1月3日16时17分
    1

    [...] Before you can update and upgrade the FreeBSD’s ports, the Ports Collection needs to be updated. [ … … ]之前,您可以更新和升级的FreeBSD的港口,港口的收集需要更新。 Follow step here to update the Ports Collection.后续步骤,在这里,以更新的港口收集。 [...] [ … … ]

  2. Update FreeBSD Ports Collection to Latest Version with Security Update with Portmanager and Portaudit » My Digital Life更新FreeBSD的港口收集到最新版本,与安全性更新与portmanager和portaudit »我的数位生活
    May 18th, 2006 22:30 2006年5月18日22时30分
    2

    [...] Portmanager is an FreeBSD utility that automates the process of upgrading and managing installed FreeBSD ports without or almost without user intervention when updating. [ … … ] portmanager是一个FreeBSD的实用工具,自动化升级过程和管理安装FreeBSD的港口,没有或几乎无需用户干预时,敬请谅解! Portmanager ensures that FreeBSD installed ports accurately reflect and update as of those available in the ports tree. portmanager确保FreeBSD的安装港口,准确地反映和更新这些可在港口的树。 To use portmanager, the FreeBSD ports collection tree needs to be updated with CVSup or Portsnap.使用portmanager , FreeBSD的港口收集树需要更新与cvsup或portsnap 。 [...] [ … … ]

  3. knowelus.com » Updating FreeBSD Ports Collection knowelus.com »更新FreeBSD的港口收集
    June 21st, 2006 13:06 2006年6月21日13时06分
    3

    [...] CVSup can be used as a quick method for getting the Ports Collection and keep the ports tree up to date. [ … … ] cvsup可以被用来作为一种快速的方法获得港口收集和保持港口树直至目前为止。 CVSup distributes and updates source trees from a master CVS repository on a remote server host. cvsup分发和更新树木的来源,从掌握CVS仓库对远端伺服器主机。 The FreeBSD sources are maintained in a CVS repository on a central development machine in California.该FreeBSD的来源是保持在一个CVS存放在一个中央的发展机在加利福尼亚州。 With CVSup, FreeBSD users can easily keep their own source trees up to date.与cvsup , FreeBSD的用户可以轻松地保持自己的来源,树木直至目前为止。 CVSup uses the so-called pull model of updating. cvsup使用,使所谓的拉模型的更新。 Under the pull model, each client asks the server for updates, if and when they are wanted.根据拉模型,每个客户要求服务器的更新,如果和当他们想。 The server waits passively for update requests from its clients.服务器等待被动更新的要求,其客户。 Thus all updates are instigated by the client.因此,所有更新的煽动下,由客户端。 The server never sends unsolicited updates.服务器从来没有发送未经请求的更新。 Users must either run the CVSup client manually to get an update, or they must set up a cron job to run it automatically on a regular basis There are few ways to install CVSup in FreeBSD: Install CVSup by using the precompiled net/cvsup package from the FreeBSD packages collection.用户必须运行cvsup客户端手动获得更新,或他们必须成立一个作业运行,它会自动进行定期的基础上,有几种方法来安装cvsup在FreeBSD作业系统:安装cvsup用预净/ cvsup软件包该软件包FreeBSD的收集。 To install from package collection.安装包收集。   # pkg_add -r cvsup-without-gui# cd /usr/ports/net/cvsup-without-gui # make install clean   Or build CVSup from source by using the net/cvsup port (which includes CVSup GUI). # pkg_add - R的cvsup -无贵#裁谈会在/ usr /港口/净/ cvsup -无贵# make install的清洁或建立cvsup从源头抓起,使用NET / cvsup港口(其中包括cvsup贵) 。 Warning: the net/cvsup port depends on the Modula-3 system, which takes a substantial amount of time and disk space to download and build.警告:净/ cvsup港口依赖于modula - 3系统,该系统需要大量的时间和磁盘空间以下载和建设。 To build from source.建立从源头。 After installing, CVSup is ready and can be executed with the following command:   # cvsup -L 2 -h cvsup.FreeBSD.org /usr/share/examples/cvsup/ports-supfile   Change cvsup.FreeBSD.org to a CVSup server near you.安装完成后, cvsup是准备和可以执行与以下命令: # cvsup -升二- H的cvsup.freebsd.org在/ usr / share /例子/ cvsup /港口supfile改变cvsup.freebsd.org一个cvsup服务器附近您。 See CVSup Mirrors for a complete listing of mirror sites.见cvsup反射镜的完整清单镜像站点。   The -L 2 tells CVSup to print out the details of all the file updates it is doing. -升二告诉cvsup打印出来的细节,所有的档案的更新是这样做。 There are three levels of verbosity, from -L 0 to -L 2.有三个层次的verbosity ,从-升0 -升2 。 The default is 0, which means total silence except for error messages.预设值是零,这意味着总的沉默,除了错误讯息。   While -h specify the supfile location.而- H的指定supfile的位置。   You may want to use your own ports-supfile, for example to avoid the need of passing the CVSup server on the command line.您可能会想要利用自己的港口supfile ,例如,以避免需要通过cvsup服务器上的命令行。 As root, copy /usr/share/examples/cvsup/ports-supfile to a new location, such as /root or your home directory.以root的身份,复制在/ usr / share /例子/ cvsup /港口supfile到一个新的位置,如/根或您的主目录。   #cp /usr/share/examples/cvsup/ports-supfile /root Edit ports-supfile #vi /root/ports-supfile Change   CHANGE_THIS.FreeBSD.org to a CVSup server near you. #警务处处长在/ usr / share /例子/ cvsup /港口supfile /根编辑港口supfile #六/根/港口supfile改变change_this.freebsd.org一个cvsup服务器你附近。 See CVSup Mirrors for a complete listing of mirror sites.Then, you can update your port collections with this command:   # cvsup -L 2 /root/ports-supfile     links: freebsd.org  mydigitallife.info   [...]见cvsup反射镜的完整清单一面镜子, sites.then ,您可以更新您的收藏港口与此命令: # cvsup -升2 /根/港口supfile链接: freebsd.org mydigitallife.info [ … … ]

Leave a Reply离开的答复

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> 您可以使用这些标签:的<a href="" title=""> <abbr title=""> <acronym title="">的<b> <blockquote cite=""> <cite>的<code> <删除日期时间= “ ” >的<em>的<i> <q cite=""> <strike>的<strong>

Subscribe without commenting订阅无评论


Custom Search

New Articles新的条款,

Incoming Search Terms for the Article传入的搜索条件文章

update ports 更新港口 - - ports update 港口更新 - - updating ports 更新港口 - - how to update ports 如何更新港口 - - freebsd update ports collection FreeBSD的更新港口收集 - - freebsd ports mirror FreeBSD的港口一面镜子 - - freebsd 7 update ports FreeBSD的7更新港口 - - freebsd pkg_add update FreeBSD的pkg_add更新 - - update ports freebsd 7 更新港口和FreeBSD 7 - - freebsd 7.0 update ports 在FreeBSD 7.0更新港口 - - freebsd 7 cvsup FreeBSD的7 cvsup - - FreeBSD cvsup mirrows FreeBSD的cvsup mirrows - - freebsd 7 how to update ports FreeBSD的七如何更新港口 - - freebsd 7.0 cvsup 在FreeBSD 7.0 cvsup - - freebsd change mirror FreeBSD的变化一面镜子 - - update ports freebsd 更新港口和FreeBSD - - freebsd 7 ports update FreeBSD的7港口更新 - - freebsd updating ports collection FreeBSD的更新港口收集 - - portsnap vs cvsup portsnap与cvsup - - how to update ports collection freebsd 7 如何更新港口收集FreeBSD的7 - - change freebsd mirror 改变FreeBSD的一面镜子 - - command to download and install cvsup are on freebsd 7 命令来下载并安装cvsup是在FreeBSD 7 - - Upgrade FreeBSD 7 source and ports 升级FreeBSD的7资料来源和港口 - - freebsd cvsup update FreeBSD的cvsup更新 - - freebsd cvsupdate FreeBSD的cvsupdate - - freebsd cvs update FreeBSD的个人简历更新 - - cvsup ports mirrors cvsup港口镜 - - update freebsd 7 更新的FreeBSD 7 - - cvsup freebsd 7 cvsup的FreeBSD 7 - - pkg_add update freebsd pkg_add更新的FreeBSD - - update ports collection freebsd 更新港口收集和FreeBSD - - freebsd 7 update port FreeBSD的7更新港口 - - updating ports collection in freebsd 7 更新港口收集在FreeBSD的7 - - freebsd cvsup sweden mirror FreeBSD的cvsup瑞典一面镜子 - - ports-supfile example 港口supfile例子 - - freebsd cvsup update ports FreeBSD的cvsup更新港口 - - freebsd cvsup ports FreeBSD的cvsup港口 - - mirror freebsd ports 一面镜子, FreeBSD的港口 - - freebsd port mirror FreeBSD的港口一面镜子 - - freebsd update cvs FreeBSD的更新个人简历 - - how to update a port with cvsup 如何更新一个港口与cvsup - - updating ports collection 更新港口收集 - - freebsd supfile location FreeBSD的supfile的位置 - - freebsd cvs update ports FreeBSD的个人简历更新港口 - - update ports collection 更新港口收集 - - cvsup update ports cvsup更新港口 - - updating ports cvsup 更新港口cvsup - - freebsd ports mirrors FreeBSD的港口镜 - - cvsup upgrade 7.0 cvsup升级7.0 - - how to update ports 如何更新港口 - -