Re: Where can I find a list of the cvsup tags for ports?

2004-02-05 Thread Frank Knobbe
On Wed, 2004-02-04 at 14:31, stan wrote:
 I have a system that I have removed all teh non English language port
 directories, and I run a cvsup _with_ a refuse file for these. Then I did a
 portdb -Uu. This resulted in a fair number of complaints, but when I ran
 portupgrade -aRr it hapilly took of running.
 
 Granted this sytem only has 19 ports installed. But it seems to work. Am I
 missing somehting hrere?

Nope. I've been doing that too. I have non-english and unused ports
commented out in my ports-supfile (ports-all commented out and
individual ports are in), and also listed non-language ports in refuse.
portupgrade runs fine. portdb complaints with a ton of error messages
about dependencies missing etc, but all is well.

The only gotcha I encountered is when new ports branches are added (i.e.
port-dns). Since I list specific ports in my supfile, new ports are not
caught automatically, which means the supfile needs occasional
maintenance. That's about it. And you're right, it's a space saver on
small drives :)

Cheers,
Frank



signature.asc
Description: This is a digitally signed message part


Re: Where can I find a list of the cvsup tags for ports?

2004-02-05 Thread stan
On Thu, Feb 05, 2004 at 06:36:59PM -0600, Frank Knobbe wrote:
 On Wed, 2004-02-04 at 14:31, stan wrote:
  I have a system that I have removed all teh non English language port
  directories, and I run a cvsup _with_ a refuse file for these. Then I did a
  portdb -Uu. This resulted in a fair number of complaints, but when I ran
  portupgrade -aRr it hapilly took of running.
  
  Granted this sytem only has 19 ports installed. But it seems to work. Am I
  missing somehting hrere?
 
 Nope. I've been doing that too. I have non-english and unused ports
 commented out in my ports-supfile (ports-all commented out and
 individual ports are in), and also listed non-language ports in refuse.
 portupgrade runs fine. portdb complaints with a ton of error messages
 about dependencies missing etc, but all is well.
 
 The only gotcha I encountered is when new ports branches are added (i.e.
 port-dns). Since I list specific ports in my supfile, new ports are not
 caught automatically, which means the supfile needs occasional
 maintenance. That's about it. And you're right, it's a space saver on
 small drives :)

Thanks for the confirmation that it works on a more fully populated
machine.


-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Where can I find a list of the cvsup tags for ports?

2004-02-04 Thread Roop Nanuwa
stan wrote:

I want to omit some of the ports from my cvsup run. I've always used the
ports-all tag, but these days there a a good many non English language ports
that only use space on my disks.
I would like to limit the collections. Probably by excluding certain ports
subtags, rather than explicitly including the ones I want, as I think this
would be more robust relative to future additions.
 

Where can I find a list? And what's the syntax of the exclude statement?

 

RTFM @ http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/cvsup.html
and
RTFM @ 
http://www.freebsd.org/cgi/man.cgi?query=cvsupapropos=0sektion=0manpath=FreeBSD+5.2-RELEASE+and+Portsformat=html
(the part about the 'refuse' file)

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


RE: Where can I find a list of the cvsup tags for ports?

2004-02-04 Thread Randy Grafton
You can use the refuse file to omit branches. I've attached my cvsupfile and
my refuse file to give you an idea as to how this works. I placed my
cvsupfile in /usr/local/etc and the refuse file goes in /user/local/etc/sup.
I then call cvsup -g -L 2 /usr/local/etc/cvsupfile. The directory locations
are based on the settings within the cvsupfile.

-Randy

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of stan
Sent: Wednesday, February 04, 2004 8:21 AM
To: Free BSD Questions list
Subject: Where can I find a list of the cvsup tags for ports?


I want to omit some of the ports from my cvsup run. I've always used the
ports-all tag, but these days there a a good many non English language ports
that only use space on my disks.

I would like to limit the collections. Probably by excluding certain ports
subtags, rather than explicitly including the ones I want, as I think this
would be more robust relative to future additions.

Where can I find a list? And what's the syntax of the exclude statement?

-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


refuse
Description: Binary data


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


Re: Where can I find a list of the cvsup tags for ports?

2004-02-04 Thread Kent Stewart
On Wednesday 04 February 2004 07:42 am, Randy Grafton wrote:
 You can use the refuse file to omit branches. I've attached my
 cvsupfile and my refuse file to give you an idea as to how this
 works. I placed my cvsupfile in /usr/local/etc and the refuse file
 goes in /user/local/etc/sup. I then call cvsup -g -L 2
 /usr/local/etc/cvsupfile. The directory locations are based on the
 settings within the cvsupfile.

The problem is that when you add this refuses, you can no longer use 
portupgrade because building INDEX will most likely fail and the 
resulting INDEX.db will be close to useless.

Kent


 -Randy

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of stan
 Sent: Wednesday, February 04, 2004 8:21 AM
 To: Free BSD Questions list
 Subject: Where can I find a list of the cvsup tags for ports?


 I want to omit some of the ports from my cvsup run. I've always used
 the ports-all tag, but these days there a a good many non English
 language ports that only use space on my disks.

 I would like to limit the collections. Probably by excluding certain
 ports subtags, rather than explicitly including the ones I want, as I
 think this would be more robust relative to future additions.

 Where can I find a list? And what's the syntax of the exclude
 statement?

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


Re: Where can I find a list of the cvsup tags for ports?

2004-02-04 Thread stan
On Wed, Feb 04, 2004 at 08:48:06AM -0800, Kent Stewart wrote:
 On Wednesday 04 February 2004 07:42 am, Randy Grafton wrote:
  You can use the refuse file to omit branches. I've attached my
  cvsupfile and my refuse file to give you an idea as to how this
  works. I placed my cvsupfile in /usr/local/etc and the refuse file
  goes in /user/local/etc/sup. I then call cvsup -g -L 2
  /usr/local/etc/cvsupfile. The directory locations are based on the
  settings within the cvsupfile.
 
 The problem is that when you add this refuses, you can no longer use 
 portupgrade because building INDEX will most likely fail and the 
 resulting INDEX.db will be close to useless.

ARGH! So I have to use up (albiet not a huge amount) of disk space holding
these unwanted ports, just to allow portupgrade (which I can't live
wihtout) to work? I do a portdb -Uu after every cvsup run if that maters.



-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Where can I find a list of the cvsup tags for ports?

2004-02-04 Thread Kent Stewart
On Wednesday 04 February 2004 09:26 am, stan wrote:
 On Wed, Feb 04, 2004 at 08:48:06AM -0800, Kent Stewart wrote:
  On Wednesday 04 February 2004 07:42 am, Randy Grafton wrote:
   You can use the refuse file to omit branches. I've attached my
   cvsupfile and my refuse file to give you an idea as to how this
   works. I placed my cvsupfile in /usr/local/etc and the refuse
   file goes in /user/local/etc/sup. I then call cvsup -g -L 2
   /usr/local/etc/cvsupfile. The directory locations are based on
   the settings within the cvsupfile.
 
  The problem is that when you add this refuses, you can no longer
  use portupgrade because building INDEX will most likely fail and
  the resulting INDEX.db will be close to useless.

 ARGH! So I have to use up (albiet not a huge amount) of disk space
 holding these unwanted ports, just to allow portupgrade (which I
 can't live wihtout) to work? I do a portdb -Uu after every cvsup run
 if that maters.

I would probably think of something like If you want to fly with 
Eagles, you have to understand the price.  Of cousre, flying with 
Eagles is following ports-all on a frequent basis. If you are content 
with it being updated every month or 2, you don't have any problems. 
When you refuse, you may leave behind an out of date link. If you 
delete the ports tree, you may produce 100's of messages from broken 
describes. 

You don't have to include everything on all machines, but you really do 
on the one that builds INDEX and INDEX.db. 

How many MBs are you going to save versus how much trouble you are going 
to create. The time and money to get around the problem is your choice. 
I think refusing a large number of ports is comparable to not building 
sendmail and then finding out that you aren't getting output from your 
cron jobs. 

I also think that adding a huge number of refuses and then bitching when 
INDEX doesn't build is a sufficient reason to add you to a twit list. I 
don't do that but I do think it is a sufficient reason.

Kent
-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html

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


Re: Where can I find a list of the cvsup tags for ports?

2004-02-04 Thread stan
On Wed, Feb 04, 2004 at 08:48:06AM -0800, Kent Stewart wrote:
 On Wednesday 04 February 2004 07:42 am, Randy Grafton wrote:
  You can use the refuse file to omit branches. I've attached my
  cvsupfile and my refuse file to give you an idea as to how this
  works. I placed my cvsupfile in /usr/local/etc and the refuse file
  goes in /user/local/etc/sup. I then call cvsup -g -L 2
  /usr/local/etc/cvsupfile. The directory locations are based on the
  settings within the cvsupfile.
 
 The problem is that when you add this refuses, you can no longer use 
 portupgrade because building INDEX will most likely fail and the 
 resulting INDEX.db will be close to useless.
 
Well, a quick test seems to prove this theory false. 

I have a system that I have removed all teh non English language port
directories, and I run a cvsup _with_ a refuse file for these. Then I did a
portdb -Uu. This resulted in a fair number of complaints, but when I ran
portupgrade -aRr it hapilly took of running.

Granted this sytem only has 19 ports installed. But it seems to work. Am I
missing somehting hrere?


-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Where can I find a list of the cvsup tags for ports?

2004-02-04 Thread stan
On Wed, Feb 04, 2004 at 09:45:11AM -0800, Kent Stewart wrote:
 On Wednesday 04 February 2004 09:26 am, stan wrote:
  On Wed, Feb 04, 2004 at 08:48:06AM -0800, Kent Stewart wrote:
   On Wednesday 04 February 2004 07:42 am, Randy Grafton wrote:
You can use the refuse file to omit branches. I've attached my
cvsupfile and my refuse file to give you an idea as to how this
works. I placed my cvsupfile in /usr/local/etc and the refuse
file goes in /user/local/etc/sup. I then call cvsup -g -L 2
/usr/local/etc/cvsupfile. The directory locations are based on
the settings within the cvsupfile.
  
   The problem is that when you add this refuses, you can no longer
   use portupgrade because building INDEX will most likely fail and
   the resulting INDEX.db will be close to useless.
 
  ARGH! So I have to use up (albiet not a huge amount) of disk space
  holding these unwanted ports, just to allow portupgrade (which I
  can't live wihtout) to work? I do a portdb -Uu after every cvsup run
  if that maters.
 
 How many MBs are you going to save versus how much trouble you are going 
 to create. The time and money to get around the problem is your choice. 
 I think refusing a large number of ports is comparable to not building 
 sendmail and then finding out that you aren't getting output from your 
 cron jobs. 

Well, on machines with 2G drives, every byt counts :-)


-- 
They that would give up essential liberty for temporary safety deserve
neither liberty nor safety.
-- Benjamin Franklin
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]