On Sat, Feb 20, 2010 at 04:55:58PM +0100, Christer Solskogen wrote: > Hi! > > I've just discovered the make option "make package-noinstall" which > makes a tbz in /usr/ports/packages from a already installed package. > But I've also found a bug(?) with that option. The package it creates > seems not to include rc.d script which will be included if you use > "make package" > I've tried this now with two ports (stunnel and mysql51-server) - but > I guess that it will happen to other ports as well.
I tested it with devel/git and it looks like a bug to me. I've got a patch which should fix it[1]. It's basically a copy/paste of the install-rc-script target into the do-package target and removing the two lines that actually install the script. A better solution may be to have one target install the rc script and one target add it to the plist. That way the add-to-plist target can be effectively shared. Minimizing the chances that changes in one do not reflect into the other. Does anyone have any opinions on this? If not I'll open a PR for portmgr. [1]: http://people.freebsd.org/~wxs/package-noinstall-rc-script.diff -- WXS _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[email protected]"
