From owner-freebsd-current@FreeBSD.ORG Mon Mar 15 21:07:43 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E7E6A16A4CE for ; Mon, 15 Mar 2004 21:07:43 -0800 (PST) Received: from tx3.oucs.ox.ac.uk (tx3.oucs.ox.ac.uk [163.1.2.167]) by mx1.FreeBSD.org (Postfix) with ESMTP id 51AC443D41 for ; Mon, 15 Mar 2004 21:07:43 -0800 (PST) (envelope-from colin.percival@wadham.ox.ac.uk) Received: from scan3.oucs.ox.ac.uk ([163.1.2.166] helo=localhost) by tx3.oucs.ox.ac.uk with esmtp (Exim 4.24) id 1B36nm-0008PB-Ng for freebsd-current@freebsd.org; Tue, 16 Mar 2004 05:07:42 +0000 Received: from rx3.oucs.ox.ac.uk ([163.1.2.165]) by localhost (scan3.oucs.ox.ac.uk [163.1.2.166]) (amavisd-new, port 25) with ESMTP id 31966-08 for ; Tue, 16 Mar 2004 05:07:42 +0000 (GMT) Received: from gateway.wadham.ox.ac.uk ([163.1.161.253]) by rx3.oucs.ox.ac.uk with smtp (Exim 4.24) id 1B36nm-0008P8-AI for freebsd-current@freebsd.org; Tue, 16 Mar 2004 05:07:42 +0000 Received: (qmail 15811 invoked by uid 1004); 16 Mar 2004 05:07:42 -0000 Received: from colin.percival@wadham.ox.ac.uk by gateway by uid 71 with qmail-scanner-1.20 (clamscan: 0.67. sweep: 2.18/3.79. Clear:RC:1(163.1.161.131):. Processed in 0.105486 secs); 16 Mar 2004 05:07:42 -0000 Received: from dhcp1131.wadham.ox.ac.uk (HELO piii600.wadham.ox.ac.uk) (163.1.161.131) by gateway.wadham.ox.ac.uk with SMTP; 16 Mar 2004 05:07:41 -0000 Message-Id: <6.0.1.1.1.20040316023919.039fa5f0@imap.sfu.ca> X-Sender: cperciva@imap.sfu.ca (Unverified) X-Mailer: QUALCOMM Windows Eudora Version 6.0.1.1 Date: Tue, 16 Mar 2004 05:07:29 +0000 To: freebsd-current@freebsd.org From: Colin Percival Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Nuking parts of the world X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2004 05:07:44 -0000 For the benefit of people who, for religious reasons, want to nuke part of the world from their systems, I've put together a minimal framework for packaging the base system. After applying the patch at http://www.daemonology.net/freebsd-pkgbase/pkgbase-5.2.diff to my RELENG_5_2 source tree, I can run: # cd /usr/src && make indexworld # pkg_delete freebsd-base-sendmail and get the desired behaviour. I've defined the following packages so far, but it is easy to add more: freebsd-base-bind freebsd-base-binutils freebsd-base-fingerd freebsd-base-ftpd freebsd-base-games freebsd-base-lpr freebsd-base-sendmail freebsd-base-vi Please note that this code is less than 16 hours old, so there are probably all sorts of problems with it... Colin Percival