From owner-freebsd-ports Sat Mar 25 10:42:45 1995 Return-Path: ports-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id KAA29793 for ports-outgoing; Sat, 25 Mar 1995 10:42:45 -0800 Received: from gndrsh.aac.dev.com (gndrsh.aac.dev.com [198.145.92.241]) by freefall.cdrom.com (8.6.10/8.6.6) with ESMTP id KAA29782 for ; Sat, 25 Mar 1995 10:42:42 -0800 Received: (from rgrimes@localhost) by gndrsh.aac.dev.com (8.6.8/8.6.6) id KAA07789; Sat, 25 Mar 1995 10:41:58 -0800 From: "Rodney W. Grimes" Message-Id: <199503251841.KAA07789@gndrsh.aac.dev.com> Subject: Re: non-initial installation To: mark@grondar.za (Mark Murray) Date: Sat, 25 Mar 1995 10:41:57 -0800 (PST) Cc: asami@cs.berkeley.edu, chaos@rivers.oscs.montana.edu, ports@FreeBSD.org In-Reply-To: <199503251128.NAA10783@grunt.grondar.za> from "Mark Murray" at Mar 25, 95 01:28:18 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Content-Length: 1709 Sender: ports-owner@FreeBSD.org Precedence: bulk > > > I've thinking about this for a while. I think it would be very useful > > if we can make it possible to "deinstall" ports from the ports dir by > > using the Makefile and pkg/PLIST, as there should be enough > > information in there to determine which files should be deleted. > > > > Currently I do a "make package" and "pkg_add" following a "make > > install" to ensure the package is registered (so that I can deinstall > > it). But this is kinda redundant. > > > > Another idea is to automatically "register" the port into > > /var/db/ports when we do "make install" by copying the PLIST file with > > appropriate modifications. Then we don't have to touch pkg_delete. > > Also, this way we can ensure we have the right version of the packing > > list when we do a deinstall. > > > > What do people think? > > I don't really mind which one you use, but whichever it is, YES PLEASE! > > Another idea: whenever a big system change comes along, I want to be able > to recompile all the ports _I_ use. How about some kind of _really_ simple > file that is included into the ports/Makefile _if_it_exists_, that forces > a make to make only a selected subset of ports? This file should obviously > never be messed with by sup/ctm. (Or am i being a real twit and not noticing > that such a mechanism already exists?) Pretty simple, /usr/ports/makefile ^ make will read makefile before Makefile. In makefile you would do something like this: SUBDIR= comms/kermit comms/rzsz devel/gmake net/sup Works for me.... -- Rod Grimes rgrimes@gndrsh.aac.dev.com Accurate Automation Company Custom computers for FreeBSD