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 majord...@freebsd.org > with "unsubscribe freebsd-hackers" in the body of the message > ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chu...@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 majord...@freebsd.org with "unsubscribe freebsd-hackers" in the body of the message