Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Mar 2002 23:39:29 -0500
From:      parv <parv_@yahoo.com>
To:        Drew Tomlinson <drew@mykitchentable.net>
Cc:        Rob B <rbyrnes@ozemail.com.au>, questions@FreeBSD.ORG
Subject:   Re: How to ignore some ports?
Message-ID:  <20020311043929.GA12768@moo.holy.cow>
In-Reply-To: <005d01c1c8b1$67065780$1c01a8c0@lc.ca.gov>
References:  <5.1.0.14.2.20020311130104.037912d0@pop.ozemail.com.au> <20020310222257.B6712@peckdani-2.user.msu.edu> <003301c1c8ad$860e8340$1c01a8c0@lc.ca.gov> <5.1.0.14.2.20020311144456.01be1500@pop.ozemail.com.au> <005d01c1c8b1$67065780$1c01a8c0@lc.ca.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
in message <005d01c1c8b1$67065780$1c01a8c0@lc.ca.gov>, 
wrote Drew Tomlinson thusly...
>
> ----- Original Message -----
> From: "Rob B" <rbyrnes@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

-- 
 

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020311043929.GA12768>