From owner-freebsd-hackers Wed Jun 2 18: 3:39 1999 Delivered-To: freebsd-hackers@freebsd.org Received: from picnic.mat.net (picnic.mat.net [206.246.122.133]) by hub.freebsd.org (Postfix) with ESMTP id BFFE814EF8 for ; Wed, 2 Jun 1999 18:03:32 -0700 (PDT) (envelope-from chuckr@picnic.mat.net) Received: from localhost (chuckr@localhost) by picnic.mat.net (8.9.3/8.8.5) with ESMTP id VAA88707; Wed, 2 Jun 1999 21:02:58 -0400 (EDT) Date: Wed, 2 Jun 1999 21:02:58 -0400 (EDT) From: Chuck Robey To: Ben Rosengart Cc: hackers@FreeBSD.ORG Subject: Re: documentation on packages In-Reply-To: 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, 2 Jun 1999, Ben Rosengart wrote: > Hello, > I'm looking for some documentation on how to create packages. > Specifically, I need to learn how to make the package perform certain > actions upon installation. > > Does anyone have a pointer to some good docs on package rolling? > > As usual with this list, I'd appreciate a copy of any replies, as I > don't have time for -stable, -current *and* -hackers. Thanks in > advance. Well, the conventional way to do it is create a port, and then just "make package". If you want to hand-roll one, I've never done that, but I'd read pkg_create(1) first if I did. Actually, I'd do the port, then use the stuff from pkg_create to add notation to the PLIST to get what you're asking for. > > -- > Ben > > UNIX Systems Engineer, Skunk Group > StarMedia Network, Inc. > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message > ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@picnic.mat.net | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run picnic (FreeBSD-current) (301) 220-2114 | and jaunt (Solaris7). ----------------------------+----------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message