Re: ports upgrade question

2006-06-11 Thread wc_fbsd



On 6/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
I'm a newbie running 6.1 stable and I have what may be several 
simple questions: What exactly is happening when I run make index 
 make readmes after I upgrade my ports tree? Why aren't the 
indexes and readmes made when we run cvsup ports



You don't need to run make index... just cd into /usr/ports and type


Better yet, don't screw with cvsup.  Portsnap is standard equipment 
in 6.x.  It's much faster, uses less bandwidth, and is even less load 
on the update server.  And it does the indexes automatically.  Just 
man portsnap or search the archives.


  -Wayne
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ports upgrade question

2006-06-10 Thread aaronvan
I'm a newbie running 6.1 stable and I have what may be several simple 
questions: What exactly is happening when I run make index  make readmes 
after I upgrade my ports tree? Why aren't the indexes and readmes made when we 
run cvsup ports-supfile? Finally, why does it take so long to make what appear 
(to me) to be fairly small files? Thanks.

-- Aaron
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ports upgrade question

2006-06-10 Thread Nikolas Britton

On 6/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

I'm a newbie running 6.1 stable and I have what may be several simple questions: What exactly is 
happening when I run make index  make readmes after I upgrade my ports 
tree? Why aren't the indexes and readmes made when we run cvsup ports-supfile? Finally, why does 
it take so long to make what appear (to me) to be fairly small files? Thanks.



You don't need to run make index... just cd into /usr/ports and type
'make fetchindex' after every cvsup session. You don't need to run
make readmes too, these are just html pages with all the ports listed
on them... see here for an example: http://www.freebsd.org/ports/


--
BSD Podcasts @:
http://bsdtalk.blogspot.com/
http://freebsdforall.blogspot.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ports upgrade question

2006-06-10 Thread Nikolas Britton

On 6/10/06, Nikolas Britton [EMAIL PROTECTED] wrote:

On 6/10/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 I'm a newbie running 6.1 stable and I have what may be several simple questions: What exactly 
is happening when I run make index  make readmes after I upgrade my ports 
tree? Why aren't the indexes and readmes made when we run cvsup ports-supfile? Finally, why does it 
take so long to make what appear (to me) to be fairly small files? Thanks.


You don't need to run make index... just cd into /usr/ports and type
'make fetchindex' after every cvsup session. You don't need to run
make readmes too, these are just html pages with all the ports listed
on them... see here for an example: http://www.freebsd.org/ports/


err... that link/example should be something more like this one:
http://www.freebsd.org/cgi/ports.cgi?query=stuffstype=allsektion=all


--
BSD Podcasts @:
http://bsdtalk.blogspot.com/
http://freebsdforall.blogspot.com/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ports upgrade question 4.10 stable

2004-10-16 Thread Alexander J. Martinez
I am a new FreeBSD user coming from Debian Linux.
I think I have finally got the upgrading process done right.  I just
need to know if I am missing anything or have something configured
wrong. I have gotten bits and pieces from this forum, FreeBSD handbook
and the examples that came with this installation.  The following is the
supfile that I use with cvsup (no-gui)

# start supfile
# $FreeBSD: src/share/examples/cvsup/stable-supfile,v 1.19.2.6
# 2002/08/06 08:24:46 blackend Exp $ modified from the original file
# above cvsup hosts listed at
# http://www.freebsd.org/doc/handbook/mirrors.html.

*default host=cvsup4.us.FreeBSD.org
*default base=/var/db
*default prefix=/usr
*default release=cvs tag=.
*default delete use-rel-suffix
*default compress

# Main Ports Tree.
ports-all
# end supfile


The following script is the one I use to upgrade the ports:

# start of script file
cd /usr/ports
#
# check and rebuild pkg database
pkgdb -Fuvf
#
# run ports-all cvs
cvsup -g -L 2 -r 5 /root/stable-ports-supfile
echo .
echo strike any key to continue
clear
#
# check and rebuild again the pkg db
pkgdb -Fuvf
#
# get new list and check for insecure programs
portaudit -aF  /root/portaudit_log.txt
clear
less /root/portaudit_log.txt
#
# not sure if this is needed...portmanager
/usr/local/bin/portmanager -s  /root/portmanager_status_log.txt
clear
less /root/portmanager_status.txt
clear
#
# check for any needed steps before updating
less /usr/ports/UPDATING
#
clear
echo It is VERY important that you read all
echo of the UPDATING file!
echo .
echo If you ignore the contents of this file,
echo you may end up with a broken system...
echo .
echo You have been warned
echo .
echo If after reading the UPDATING file, you need
echo to make any manual changes...Ctrl C to
echo abort this script
echo .
echo otherwise strike a key to do a portupgrade
read JUNK
clear
#
# perform upgrade and generate a list of ports
portupgrade -a -v -l /root/portupgrade_log.txt
clear
less /root/portupgrade_log.txt
#
# check and rebuild agian the pkg db
pkgdb -Fuvf
# end of script file

-- 
- Windows users say they travel at the speed of sound
- Linux users say they travel at the speed of light
- FreeBSD users say...what's taking you guys so long?

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ports upgrade question

2004-05-03 Thread alexander botov
Hi to everyone !

I'm sure that this is a trivial question to ask . I'm considering source and 
ports tree upgarde from 5.2_REL to 5.2.1_REL . I've never did cvs before
(usually i back up , format + binary install and restore ) . I've read the 
article from the handbook and everything is pretty much explained there . My 
question is when i install the new distro how should i upgrade the ports tree 
after syncing it from cvs ? Are there any guidelines , tips or tricks ? I've 
heard about portupgrade port . Is this the right tool for bringing my ports 
up to date ? Your help will be greatly appreciated and I hope will save me 
hours of hesitation and headache :-)

Thanks

Excuse my english 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: ports upgrade question

2004-05-03 Thread Matthew Seaman
On Mon, May 03, 2004 at 02:25:18PM +0300, alexander botov wrote:

 I'm sure that this is a trivial question to ask . I'm considering source and 
 ports tree upgarde from 5.2_REL to 5.2.1_REL . I've never did cvs before
 (usually i back up , format + binary install and restore ) . I've read the 
 article from the handbook and everything is pretty much explained there . My 
 question is when i install the new distro how should i upgrade the ports tree 
 after syncing it from cvs ? Are there any guidelines , tips or tricks ? I've 
 heard about portupgrade port . Is this the right tool for bringing my ports 
 up to date ? Your help will be greatly appreciated and I hope will save me 
 hours of hesitation and headache :-)

You've pretty much got the right idea.  portupgrade(1) is the tool to
use.  However, you should read /usr/ports/UPDATING carefully -- apart
from anything else, if you're upgrading from the ports tree as it was
at the time of 5.2-RELEASE you'll have a tricky ruby(1) version bump
to deal with (ruby is the language portupgrade is written in) as well
as major updates for some large software collections like Gnome and
KDE.  

Note that the ports collection is developed pretty much independently
from the base system, and reflects the completely independent
development of software by any number of completely different
projects.  There's no particular requirement to only upgrade your
ports concurrently with upgrading your system.  In fact, it's probably
better to upgrade ports slightly more frequently (or perhaps even a
lot more frequently) than the base system.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature