LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 09-03-2006, 12:26 PM   #1
jaakkop
Member
 
Registered: Aug 2004
Posts: 433

Rep: Reputation: 30
NetBSD, pkgsrc: Getting only some of the sources.


Hi,

Can I get only some of the sources via CVS with pkgsrc. I have a limited amount of HDD space and certainly don't need all of the sources.
 
Old 09-03-2006, 02:42 PM   #2
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
You can... but you need to be sure you get everything you need.

Code:
cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc/mk
cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc/bootstrap
cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc/pkgtools/digest
cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc/audio/xmms
cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc/misc/screen
You NEED the first line and probably want the second. The third is a very common dependancy -- you want that also. Below that, you want to grab all the programs you want and their depends.

You can simplify this in the future by creating complete .cvsignore files in each directory. I would recommend the cvsignore process from the start but there is too much of a chance you'll be too selective and miss a dependancy and then have to try and edit out the regexp which blocked it. This method above will make you get every depends by hand but also shows you how to do it.

Last edited by frob23; 09-04-2006 at 12:36 PM.
 
Old 09-04-2006, 08:58 AM   #3
jaakkop
Member
 
Registered: Aug 2004
Posts: 433

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by frob23
You can... but you need to be sure you get everything you need.

[code]cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc/mk
cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc/bootstrap
cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc/pkgtools/digest
cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc/audio/xmms
cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P pkgsrc/misc/screen
[code]
You NEED the first line and probably want the second. The third is a very common dependancy -- you want that also. Below that, you want to grab all the programs you want and their depends.

You can simplify this in the future by creating complete .cvsignore files in each directory. I would recommend the cvsignore process from the start but there is too much of a chance you'll be too selective and miss a dependancy and then have to try and edit out the regexp which blocked it. This method above will make you get every depends by hand but also shows you how to do it.
Ty, that really helped
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Recommendation for Debian Etch sources.list ( /etc/apt/sources.list ) forgox Debian 6 05-05-2007 01:57 PM
Error installing fluxbox thru pkgsrc OBcecado *BSD 15 04-03-2006 03:58 AM
Slackware Linux with pkgsrc Packages [gentoo-like Slack] Anonymo Slackware 1 12-19-2005 09:46 AM
Ubuntu Sources List! I need some great sources lists! Jengo Linux - Newbie 1 06-24-2005 04:50 PM
Software Sources Manager, how to add installation cd sources after deletion Lakota Mandriva 1 10-23-2003 12:39 AM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 05:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration