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
--
"Your theory is cray, but it's not crazy enough to be true."
--Neils Bohr.
> 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
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
>
> ----- 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
><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
[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
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
.... our website: http://www.sage-one.net/
Best regards,
Jack L. Stone
Server Admin
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
--