Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to ignore some ports?

0 views
Skip to first unread message

Rob B

unread,
Mar 10, 2002, 10:12:15 PM3/10/02
to
Hi all,

Running cvsup at the moment, I notice that I am getting a lot of ports that
I don't need, such as the ../japanese, ../korean etc. I am using the
supfile in /usr/share/examples/cvsup/ports-supfile so I would assume that I
would use the "refuse" file in the same directory, but this doesn't work.

Here is the contects of the refuse file:

src/etc/sendmail/freebsd.mc*
ports/chinese
ports/french
ports/german
ports/hebrew
ports/japanese
ports/korean
ports/russian
ports/ukrainian
ports/vietnamese
doc/de
doc/de_*
doc/es
doc/es_*
doc/fr
doc/fr_*
doc/ja
doc/ja_*
doc/nl
doc/nl_*
doc/ru
doc/ru_*
doc/sr
doc/sr_*
doc/zh
doc/zh_*

Should I be deleting the diretories mentioned in the refuse file?

Cheers,
Rob

--
A few thousand rads never hurt anybody.

[15200.8 km (8207.8 mi), 262.8 deg](Apparent) Rennerian
This is random quote 55 of a collection of 1204


To Unsubscribe: send mail to majo...@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message

Dan Peck

unread,
Mar 10, 2002, 10:22:57 PM3/10/02
to
Check out the bottom of the ports-supfile that you're using. you
probably have ports-all line uncommented. Look below that, and you
should have all of the individual collections listed. Comment out the
line that says porst-all, and then uncomment the port directorys that
you wish to continue with. All better :)

-Dan

--
"Your theory is cray, but it's not crazy enough to be true."
--Neils Bohr.

Drew Tomlinson

unread,
Mar 10, 2002, 10:33:34 PM3/10/02
to

----- Original Message -----
From: "Dan Peck" <peck...@msu.edu>
To: "Rob B" <rby...@ozemail.com.au>
Cc: <ques...@FreeBSD.ORG>
Sent: Sunday, March 10, 2002 7:22 PM
Subject: Re: How to ignore some ports?


> Check out the bottom of the ports-supfile that you're using. you
> probably have ports-all line uncommented. Look below that, and you
> should have all of the individual collections listed. Comment out the
> line that says porst-all, and then uncomment the port directorys that
> you wish to continue with. All better :)

Or for even finer control, read the handbook and learn how to create a
refuse file.

Drew

Brian T.Schellenberger

unread,
Mar 10, 2002, 10:40:13 PM3/10/02
to
On Sunday 10 March 2002 10:12 pm, Rob B wrote:
| Hi all,
|
| Running cvsup at the moment, I notice that I am getting a lot of ports that
| I don't need, such as the ../japanese, ../korean etc. I am using the
| supfile in /usr/share/examples/cvsup/ports-supfile so I would assume that I
| would use the "refuse" file in the same directory, but this doesn't work.

I don't quite get this, but to get it work, I created a sub-directory called
sup and put "refuse" in there, and then it worked.

--
Brian T. Schellenberger . . . . . . . b...@wnt.sas.com (work)
Brian, the man from Babble-On . . . . b...@babbleon.org (personal)
ME --> http://www.babbleon.org
http://www.eff.org <-- GOOD GUYS --> http://www.programming-freedom.org

Drew Tomlinson

unread,
Mar 10, 2002, 10:42:23 PM3/10/02
to

----- Original Message -----
From: "Drew Tomlinson" <dr...@mykitchentable.net>
To: "Dan Peck" <peck...@msu.edu>; "Rob B" <rby...@ozemail.com.au>
Cc: <ques...@FreeBSD.ORG>
Sent: Sunday, March 10, 2002 7:33 PM
Subject: Re: How to ignore some ports?


>
> ----- Original Message -----
> From: "Dan Peck" <peck...@msu.edu>
> To: "Rob B" <rby...@ozemail.com.au>
> Cc: <ques...@FreeBSD.ORG>
> Sent: Sunday, March 10, 2002 7:22 PM
> Subject: Re: How to ignore some ports?
>
>
> > Check out the bottom of the ports-supfile that you're using. you
> > probably have ports-all line uncommented. Look below that, and you
> > should have all of the individual collections listed. Comment out
the
> > line that says porst-all, and then uncomment the port directorys
that
> > you wish to continue with. All better :)
>
> Or for even finer control, read the handbook and learn how to create a
> refuse file.

OK, my bad. You are already using a refuse file. What do you mean by
"it doesn't work"? The refuse file won't delete files that already
exist but they shouldn't be updated.

Drew

Rob B

unread,
Mar 10, 2002, 10:48:28 PM3/10/02
to
At 14:42 11/03/2002, Drew Tomlinson sent this up the stick:

><snip>

> > > >
> > > > Should I be deleting the diretories mentioned in the refuse file?
> > > >
> > > > Cheers,
> > > > Rob

My main problem is where the heck to put the refuse file. As I said, I had
it in the same directory as the supfile but that didn't work, it kept
updating the files and directories that were listed in the refuse file.

I've since made a symlink to /usr/refuse, since "base" is defined in the
supfile as /usr and I'm testing this option now.

Rob


--
Fleas on my catma!

[15200.8 km (8207.8 mi), 262.8 deg](Apparent) Rennerian

This is random quote 426 of a collection of 1204

Drew Tomlinson

unread,
Mar 10, 2002, 11:01:19 PM3/10/02
to
----- Original Message -----
From: "Rob B" <rby...@ozemail.com.au>
To: "Drew Tomlinson" <dr...@mykitchentable.net>
Cc: "Dan Peck" <peck...@msu.edu>; <ques...@FreeBSD.ORG>
Sent: Sunday, March 10, 2002 7:48 PM
Subject: Re: How to ignore some ports?

[snip]

> My main problem is where the heck to put the refuse file. As I said,
I had
> it in the same directory as the supfile but that didn't work, it kept
> updating the files and directories that were listed in the refuse
file.
>
> I've since made a symlink to /usr/refuse, since "base" is defined in
the
> supfile as /usr and I'm testing this option now.

Mine is in the same directory as my supfile and seems to work. I'm not
an expert in these matters so maybe someone else might have other ideas
as to what's wrong.

Good Luck,

Drew

Rob B

unread,
Mar 10, 2002, 11:13:14 PM3/10/02
to
At 14:40 11/03/2002, Brian T.Schellenberger sent this up the stick:

>On Sunday 10 March 2002 10:12 pm, Rob B wrote:
>| Hi all,
>|
>| Running cvsup at the moment, I notice that I am getting a lot of ports that
>| I don't need, such as the ../japanese, ../korean etc. I am using the
>| supfile in /usr/share/examples/cvsup/ports-supfile so I would assume that I
>| would use the "refuse" file in the same directory, but this doesn't work.
>
>I don't quite get this, but to get it work, I created a sub-directory called
>sup and put "refuse" in there, and then it worked.

This works ... thanks Brian

Rob


--
Freedom is just a hallucination created by a pathological lack of paranoia.

[15200.8 km (8207.8 mi), 262.8 deg](Apparent) Rennerian

This is random quote 438 of a collection of 1204

Server Admin

unread,
Mar 10, 2002, 11:23:08 PM3/10/02
to
...all of mine are working fine as: /usr/sup/refuse

.... our website: http://www.sage-one.net/

Best regards,

Jack L. Stone
Server Admin

parv

unread,
Mar 10, 2002, 11:39:29 PM3/10/02
to
in message <005d01c1c8b1$67065780$1c01...@lc.ca.gov>,
wrote Drew Tomlinson thusly...

>
> ----- Original Message -----
> From: "Rob B" <rby...@ozemail.com.au>
[snip]
> > My main problem is where the heck to put the refuse file. As I
> > said, I had it in the same directory as the supfile but that
> > didn't work, it kept updating the files and directories that
> > were listed in the refuse file.
> >
> > I've since made a symlink to /usr/refuse, since "base" is
> > defined in the supfile as /usr and I'm testing this option now.
>
> Mine is in the same directory as my supfile and seems to work.
> I'm not an expert in these matters so maybe someone else might
> have other ideas as to what's wrong.

so far nobody has replied w/ a definite answer, so i will wing it
too... :}

place for the refuse file depends upon what do you have in your
cvsup configuration file for "base" (as cvsup will read refuse files
from that directory & subdirectories).

my ports cvsup configuration...

*default host=cvsup8.FreeBSD.org
*default release=cvs delete use-rel-suffix compress
*default tag=.

# ports tree is installed under /source/ports
*default prefix=/source

# directory where all the files rest created & used by cvsup
*default base=/source/cvsup

ports-all

.../source/cvsup directory structure...

# /bin/ls -l /source/cvsup/
drwxr-xr-x 6 root wheel 512 Jul 3 2001 sup

# /bin/ls -l /source/cvsup/sup
drwxr-xr-x 2 root wheel 512 Sep 24 23:28 doc-all
drwxr-xr-x 2 root wheel 512 Mar 8 03:28 ports-all
-rw-r--r-- 1 root wheel 290 Dec 30 01:01 refuse
drwxr-xr-x 2 root wheel 512 Mar 10 23:02 src-all
drwxr-xr-x 2 root wheel 512 Jul 3 2001 xc-all

# cat /source/cvsup/sup/refuse
doc/de_*
doc/es_*
doc/fr_*
doc/it_*
doc/ja_*
doc/ko_*
doc/nl_*
doc/ru_*
doc/sr_*
doc/vn_*
doc/zh_*

ports/INDEX
ports/kde*
ports/*/kde*
ports/palm
ports/chinese
ports/french
ports/german
ports/hebrew
ports/italian


ports/japanese
ports/korean
ports/russian
ports/ukrainian
ports/vietnamese

...if cvsup finds /source/cvsup/sup/refuse, it will apply use it.
then if cvsup happens to find /source/cvsup/sup/ports-all/refuse,
then that will be used next.

i could have divided my above file in /source/cvsup/sup/ports-all/refuse
& /source/cvsup/sup/docs-all/refuse, but i might forget to update
them every time, or worse, forget their location.


- parv

--

0 new messages