Translations of this page?:

CVS Phrasebook

Setup

Add CVSROOT variable to profile

export CVSROOT=anoncvs@anoncvs1.ca.openbsd.org:/cvs
#export CVSROOT=anoncvs@anoncvs.comstyle.com:/cvs
export PKG_PATH=ftp://ftp.ca.openbsd.org/pub/OpenBSD/snapshots/packages/`machine -a`/
 
# For use with make package 2>&1 | $PL /usr/ports/log
export PL=/usr/ports/infrastructure/build/portslogger

Check Out

checkout ports tree and system sources

cd /usr
sudo cvs -d$CVSROOT co ports
sudo cvs -d$CVSROOT co src

checkout particular port

# cd /var/hg/ports/lang
# cvs -d$CVSROOT co ports/lang/erlang
cvs checkout: warning: server is not creating directories one at a time
cvs checkout: warning: server is not creating directories one at a time
U ports/lang/erlang/Makefile
U ports/lang/erlang/distinfo
cvs server: Updating ports/lang/erlang/files
cvs server: Updating ports/lang/erlang/patches
U ports/lang/erlang/patches/patch-make_target_mk
U ports/lang/erlang/patches/patch-Makefile_in
U ports/lang/erlang/patches/patch-erts_emulator_obsolete_driver_h
U ports/lang/erlang/patches/patch-erts_emulator_Makefile_in
U ports/lang/erlang/patches/patch-erts_emulator_zlib_Makefile_in
U ports/lang/erlang/patches/patch-erts_etc_unix_Install_src
U ports/lang/erlang/patches/patch-erts_lib_src_Makefile_in
U ports/lang/erlang/patches/patch-lib_compiler_src_v3_codegen_erl
U ports/lang/erlang/patches/patch-lib_tools_c_src_Makefile_in
cvs server: Updating ports/lang/erlang/pkg
U ports/lang/erlang/pkg/PFRAG.shared
U ports/lang/erlang/pkg/DESCR
U ports/lang/erlang/pkg/PLIST
#

Updates

Update to current building (-d) and prunning (-P) directories and resetting any sticky tags/dates/kopts (-A)

# cd /usr/ports
# cvs -d$CVSROOT up -PAd

You need to explicitly specify -d$CVSROOT if you are getting the follwoing error:

cvs update: ignoring CVS/Root because it specifies a non-existent repository /cvs

Error Messages

 
cvs_phrasebook.txt · Last modified: 2010/04/09 18:35 by Alex Popov
 
Except where otherwise noted, content on this wiki is licensed under the following license:Public Domain
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki