Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 May 2003 14:34:13 -0400
From:      parv <parv_fm@emailgroups.net>
To:        f-ports <freebsd-ports@freebsd.org>
Subject:   Cleansing $PORTSDIR & adding entry to CVSup refuse file
Message-ID:  <20030509183413.GA76108@moo.holy.cow>

next in thread | raw e-mail | index | archive | help
Hi,

Does anybody know of a program/script which will remove a port
directory and add an entry to CVSup refuse file, given a port
directory (and/or a file in that directory which doesn't have to
exist)?

If i give the input matching following regex to the said program...

  (ports/)?<category>/<port-dir>(/.*)?
  ($PORTSDIR/)?<category>/<port-dir>(/.*)?


...the program would delete $PORTSDIR/<category>/<port-dir> and add
an unique entry, ports/<category>/<port-dir>, to CVSup refuse file.

Currently i have a bash version which has some things hard coded
& not very flexible assumptions.  That is to say my version is not
suitable for public consumption yet.  I think i would convert that
to perl soon; didn't find anything in the ports.

So, i ask about the above to get other ideas/suggestions.


  - parv

-- 



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