Date: Sun, 09 Feb 2003 17:14:43 -0600 From: Kim Scarborough <sluggo@unknown.nu> To: ports@freebsd.org Subject: Problems with new port Message-ID: <3E46E0E3.7030708@unknown.nu>
next in thread | raw e-mail | index | archive | help
I'm about to submit a new port, but I'm having a problem with it that I can't figure out. I want it to create a new user, create an empty directory, and then run an interactive setup program that comes with the software. This works fine in interactive mode (where it just runs through the steps as I've listed them here) and in batch mode (where it creates the user and the directory and prints a message to run the setup program later), but I can't seem to get it to work the way I want in a package. If a package is created from this port, say for inclusion on the CDROM, it has to do all three steps on pkg_install, not when the port is built, for obvious reasons. I set up what I thought would be proper behavior in the pkg-install script and via the FOR_CDROM variable in the Makefile, but it's not doing any of those things. I've put up the shar file at <http://www.unknown.nu/temp/opennap-ng_shar>. If anyone has a few minutes and would like to look it over, I would be most appreciative. Also, this is by far the most elaborate port I've ever done, so I'm sure there are other problems with it that I've missed. If you see any of them, please let me know; I'd like to waste as little of the committer's time as possible. Thanks very much. -- ---------------------------------------------------------------------------- Kim Scarborough http://www.unknown.nu/kim/ ---------------------------------------------------------------------------- "Those who 'abjure' violence can only do so because others are committing violence on their behalf." -- George Orwell ---------------------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E46E0E3.7030708>