Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jul 2001 07:52:16 -0800
From:      Beech Rintoul <akbeech@anchoragerescue.org>
To:        Steve Tremblett <sjt@cisco.com>, Steve Tremblett <sjt@cisco.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: ports management & subtree deletion?
Message-ID:  <01071007521601.03545@galaxy.anchoragerescue.org>
In-Reply-To: <20010710095549.I3087@sjt-u10.cisco.com>
References:  <20010709142547.B2752@sjt-u10.cisco.com> <20010710093549.F3087@sjt-u10.cisco.com> <20010710095549.I3087@sjt-u10.cisco.com>

next in thread | previous in thread | raw e-mail | index | archive | help
The only problem I see with editing the makefile is you will probibly have to 
do it each time you cvsup, same with INDEX. 

Beech


On Tuesday 10 July 2001 05:55 am, Steve Tremblett wrote:
> The culprit is the main Makefile:
>
> ...
> SUBDIR += archivers
> SUBDIR += astro
> SUBDIR += audio
> SUBDIR += benchmarks
> ...
>
> editing it directly to remove the specific subdirs fixes the problem,
> but is that the "proper" way to do this?
>
> +---- Steve Tremblett wrote:
> | +---- Beech Rintoul wrote:
> | | You might also try deleting INDEX and do a make index from the top
> | | level of the ports.
> |
> | tried that - made no difference... :(
> |
> | | Beech
> | |
> | | On Monday 09 July 2001 11:56, Steve Tremblett wrote:
> | | > +---- Beech Rintoul wrote:
> | | > | You need to add a textfile named "refuse" to your sup directory.
> | | > | List one per line: ports/directory name
> | | > | Then delete the directories. If you have a stock file tree the sup
> | | > | directory is in /usr/sup.
> | | >
> | | > I already have that, and I've been using it for quite some time
> | | > without problems.  My refuse file (if it matters):
> | | >
> | | > 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/zh
> | | > doc/zh_*
> | | > ports/astro*
> | | > ports/biology*
> | | > ports/cad*
> | | > ports/chinese*
> | | > ports/french*
> | | > ports/german*
> | | > ports/hebrew*
> | | > ports/japanese*
> | | > ports/korean*
> | | > ports/russian*
> | | > ports/vietnamese*
> | | >
> | | > After creating the refuse file some months ago, I deleted the
> | | > directories I wasn't interested in and then followed it with a
> | | > successful cvsup.  cvsup updates and port builds work fine.
> | | >
> | | > | On Monday 09 July 2001 10:25, Steve Tremblett wrote:
> | | > | > I have deleted directories from my ports tree because I'm not
> | | > | > interested in them (ie. various foreign-language stuff, some of
> | | > | > the scientific stuff etc.).  I just tried to generate the
> | | > | > README.html files with 'make readmes' from the /usr/ports
> | | > | > directory, but it fails with the following error:
> | | > | >
> | | > | > sjt-bsd /usr/ports # make readmes ===>  Creating README.html cd:
> | | > | > can't cd to astro ^C sjt-bsd /usr/ports #
> | | > | >
> | | > | > At the point of the ^C, the make process is hung, but there is no
> | | > | > CPU or IO activity.  I don't know what broke this, since I have
> | | > | > never run 'make readmes' before.
> | | > | >
> | | > | > My direct question is how to delete subtrees from /usr/ports
> | | > | > while still allowing 'make readmes' to work?  I have a feeling
> | | > | > that it has something to do with /usr/ports/INDEX, but that is
> | | > | > just a guess.  I am also guessing that other ports facilities
> | | > | > besides README.html generation won't work either.  General build
> | | > | > & installation works fine.
> | | > | >
> | | > | > As an aside for my own interest, how would I go about
> | | > | > investigating this further?  If a process is in a waiting state,
> | | > | > how do I identify what it is waiting for and what other process
> | | > | > is holding the resource?
> | | > | >
> | | > | > Thanks for any and all information you may share
> | | > |
> | | > | --
> | | > | Micro$oft: "Where can we make you go today?"
> | | > | -------------------------------------------------------------------
> | | > |      Beech Rintoul - IT Manager - Instructor -
> | | > | akbeech@anchoragerescue.org /"\   ASCII Ribbon Campaign  |
> | | > | Anchorage Gospel Rescue Mission
> | | > | \ / - NO HTML/RTF in e-mail  | P.O. Box 230510
> | | > |  X  - NO Word docs in e-mail | Anchorage, AK 99523-0510
> | | > | / \
> | | > | -----------------------------------------------------------------
> | | > |
> | | > |
> | | > |
> | | > |
> | | > |
> | | > |
> | | > |
> | | > |
> | | > |
> | | > |
> | | > |
> | | > |
> | | > | To Unsubscribe: send mail to majordomo@FreeBSD.org
> | | > | with "unsubscribe freebsd-questions" in the body of the message
> | | >
> | | > +---end quoted text---
> | |
> | | --
> | | Micro$oft: "Where can we make you go today?"
> | | -------------------------------------------------------------------
> | |      Beech Rintoul - IT Manager - Instructor -
> | | akbeech@anchoragerescue.org /"\   ASCII Ribbon Campaign  | Anchorage
> | | Gospel Rescue Mission \ / - NO HTML/RTF in e-mail  | P.O. Box 230510
> | |  X  - NO Word docs in e-mail | Anchorage, AK 99523-0510
> | | / \ -----------------------------------------------------------------
> |
> | +---end quoted text---
> |
> | --
> | Steve Tremblett
> | Cisco Systems
>
> +---end quoted text---

-- 
Micro$oft: "Where can we make you go today?"
-------------------------------------------------------------------
     Beech Rintoul - IT Manager - Instructor - akbeech@anchoragerescue.org
/"\   ASCII Ribbon Campaign  | Anchorage Gospel Rescue Mission
\ / - NO HTML/RTF in e-mail  | P.O. Box 230510
 X  - NO Word docs in e-mail | Anchorage, AK 99523-0510
/ \ -----------------------------------------------------------------












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?01071007521601.03545>