From owner-freebsd-hackers Wed Sep 20 14: 3:37 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 260A837B424; Wed, 20 Sep 2000 14:03:36 -0700 (PDT) Received: from localhost (kris@localhost) by freefall.freebsd.org (8.9.3/8.9.2) with ESMTP id OAA40006; Wed, 20 Sep 2000 14:03:36 -0700 (PDT) (envelope-from kris@FreeBSD.org) X-Authentication-Warning: freefall.freebsd.org: kris owned process doing -bs Date: Wed, 20 Sep 2000 14:03:35 -0700 (PDT) From: Kris Kennaway To: "Koster, K.J." Cc: "'FreeBSD Hackers mailing list'" Subject: Re: Executable packages (long, sorry) In-Reply-To: <59063B5B4D98D311BC0D0001FA7E4522026D78DA@l04.research.kpn.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 20 Sep 2000, Koster, K.J. wrote: > Riding on the wave of the unified BSD packages effort, this might be a good > time to rekindle that idea. Say that we agree on some form of uniform > package layout. You'd say that man pages go into $PKG_BASE/$PKG_NAME/man, > and that libraries go into $PKG_BASE/$PKG_NAME/lib, and that there is > probably a script named $PKG_BASE/$PKG_NAME/etc/rc that takes the arguments > "start" and "stop" for system startup. A script named > $PKG_BASE/$PKG_NAME/bin/run is invoked when a user types $PKG_NAME at the > command prompt (triggered by a script in /usr/local/bin, which is symlinked > to $PKG_NAME. It's not possible to determine where a lot of packages install, at run-time - they need compile-time settings. Our packages should mostly (with some notable exceptions where it's just too damn hard) be PREFIX-clean, meaning you can install them wherever you like, but you have to specify that at port compile-time. A similar idea has come up in the past about using something like stow to keep ports in sepoarate directories with symlinks from a master /usr/local/bin, but no-one's done the work to allow it. Hint. Kris -- In God we Trust -- all others must submit an X.509 certificate. -- Charles Forsythe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message