首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 操作系统 > 其他操作系统 > Openbsd Source Code and Ports Tree
【标  题】:Openbsd Source Code and Ports Tree
【关键字】:Openbsd,Source,Code,and,Ports,Tree
【来  源】:http://www.cublog.cn/u/22965/showart.php?id=278190

Openbsd Source Code and Ports Tree

Notes about the source code:

src.tar.gz contains a source archive starting at /usr/src. This file contains everything you need except for the kernel sources, which are in a separate archive. To extract:

    # mkdir -p /usr/src
    # cd /usr/src
    # tar xvfz /tmp/src.tar.gz

sys.tar.gz contains a source archive starting at /usr/src/sys. This file contains all the kernel sources you need to rebuild kernels. To extract:

    # mkdir -p /usr/src/sys
    # cd /usr/src
    # tar xvfz /tmp/sys.tar.gz

Both of these trees are a regular CVS checkout. Using these trees it is possible to get a head-start on using the anoncvs servers as described here. Using these files results in a much faster initial CVS update than you could expect from a fresh checkout of the full OpenBSD source tree.

===============================================================================

Ports Tree

A ports tree archive is also provided. To extract:

    # cd /usr
    # tar xvfz /tmp/ports.tar.gz
    # cd ports

The ports/ subdirectory is a checkout of the OpenBSD ports tree. Go read the ports page if you know nothing about ports at this point. This text is not a manual of how to use ports. Rather, it is a set of notes meant to kickstart the user on the OpenBSD ports system.

The ports/ directory represents a CVS (see the manpage for cvs(1) if you aren't familiar with CVS) checkout of our ports. As with our complete source tree, our ports tree is available via anoncvs. So, in order to keep current with it, you must make the ports/ tree available on a read-write medium and update the tree with a command like:

    # cd [portsdir]/; cvs -d anoncvs@server.openbsd.org:/cvs update -Pd -rOPENBSD_4_1
    

[Of course, you must replace the local directory and server name here with the location of your ports collection and a nearby anoncvs server.]

Note that most ports are available as packages through FTP. Updated packages for the 4.1 release will be made available if problems arise.

If you're interested in seeing a port added, would like to help out, or just would like to know more, the mailing list ports@openbsd.org is a good place to know.

Openbsd Upgrade Guide: 4.0 to 4.1:【上一篇】
mysql备份脚本:【下一篇】
【相关文章】
  • Openbsd Upgrade Guide: 4.0 to 4.1
  • treeview的使用(递归动态加载菜单)
  • GetHashCode、Equals、IComparable的重载方式
  • change between char* and string
  • Enjory Code -- Code Technique -- Issue 1 -- 遣词造句
  • OpenCms中FCKEditor保存内容时invalid XML character (Unicode: 0x0)错误解决办法
  • encodeURI/decodeURI与UrlEncode/UrlDecode,噩梦在继续
  • STL/CLR, Compiler and Marshaling
  • 代码审查(code review)
  • Effective Code Reviews Without the Pain
  • 【随机文章】
  • Illustrator渐变网格工具不完全手册(3)
  • Linux教程[6]---Linux与其他操作系统的区别
  • oracle中关于null排序的问题
  • JAVA认证问答
  • vista带的微软拼音新版够缺德的!
  • 概要设计说明书
  • 多线程的sleep,静态链接
  • Eclipse3.2+Tomcat5.5.17+Oracle9i详细整合配置
  • 实现Access数据库的Web查询
  • 一套Eclipse可同时切换中文(简体,繁体),英文
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 软讯网络 All Rigths Reserved.