From owner-freebsd-questions@FreeBSD.ORG Mon Mar 16 21:05:48 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4E7310656D9 for ; Mon, 16 Mar 2009 21:05:48 +0000 (UTC) (envelope-from chowse@charter.net) Received: from mta31.charter.net (mta31.charter.net [216.33.127.82]) by mx1.freebsd.org (Postfix) with ESMTP id 7ADE38FC13 for ; Mon, 16 Mar 2009 21:05:48 +0000 (UTC) (envelope-from chowse@charter.net) Received: from imp11 ([10.20.200.11]) by mta31.charter.net (InterMail vM.7.09.01.00 201-2219-108-20080618) with ESMTP id <20090316210547.HKOE2647.mta31.charter.net@imp11> for ; Mon, 16 Mar 2009 17:05:47 -0400 Received: from [192.168.254.3] ([24.176.102.105]) by imp11 with charter.net id Tx5n1b00P2GSkqY05x5n9N; Mon, 16 Mar 2009 17:05:47 -0400 Message-Id: From: Charles Howse To: FreeBSD Questions In-Reply-To: Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v930.3) Date: Mon, 16 Mar 2009 16:05:47 -0500 References: <6377DBBF-8969-471B-B06E-AC744D1E6CB9@charter.net> <20090316192810.3c2fef44@gumby.homeunix.com> X-Mailer: Apple Mail (2.930.3) Subject: Re: portsnap ignores REFUSE directives X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Mar 2009 21:05:49 -0000 On Mar 16, 2009, at 2:43 PM, Charles Howse wrote: > > On Mar 16, 2009, at 2:28 PM, RW wrote: > >> On Mon, 16 Mar 2009 12:18:06 -0500 >> Charles Howse wrote: >> >>> Hi, >>> I just installed 6.4-RELEASE on the way to -STABLE. >>> I chose NOT to install the ports during installation. >>> I configured /etc/portsnap.conf, uncommenting the REFUSE directives, >>> because I only speak English. >>> >>> I created the proper directories, including /usr/ports. >>> I ran 'portsnap fetch extract', and now I find arabic, chinese, >>> french, german, hebrew, hungarian, etc. in my ports tree. >>> >>> What might be the problem here? >> >> Are these directories actually populated with ports? >> >> If not, my guess is that it's simply ignoring ports that match the >> category, rather than removing the category entirely. > > I checked the chinese, and yes, there are ports as well as the > makefile etc. under the port. > Looks completely normal as if I wasn't using REFUSE. > > If you look at the /etc/portsnap.conf file, the lines look like this: > # > # > # REFUSE this that t'other > # REFUSE some more stuff > > I just deleted the '#' and left the space at the beginning of the > line. > Surely that wouldn't fubar it, would it? > I'll try again and remove the leading space, but I'n not optimistic. > > Is the portsnap author a member of this list? I fired off a quick email to the portsnap author, and here is his reply: >> Hello, >> I was just wondering if you were answering questions about portsnap? >> You might want to look at the thread on freebsd-questions titled >> 'portsnap ignores REFUSE directives' > > REFUSE directives must start a line in portsnap.conf -- your leading > whitespace is making portsnap not recognize the option. I guess that settles that. :-) Nice to know that folks higher in the FreeBSD 'food chain' are so quick to respond and help.