On Thu, Oct 27, 2005 at 01:22:54PM +0800, Uwe Dippel wrote: > > -- php5-core-5.0.3p1 ------------------- > To finish the install, enable the php5 module with: > /usr/local/sbin/phpxs -s > > To enable parsing of PHP scripts, add the following to > /var/www/conf/httpd.conf: > > AddType application/x-httpd-php .php > > Copy the config file below into /var/www/conf/php.ini > /usr/local/share/examples/php5/php.ini-recommended > -----------------------------------------
The --- around it show that this is stuff that gets shown at the end of pkg_add. You *have* to read that stuff. We have done (are doing) editorial work so that the number of such messages decreases: stuff that should be in the pkg DESCR is no longer there. You *can* recall such messages later. pkg_info -M will show the message again. > Write the post-install message as scripts with comment lines. > Remember those packages only that generate a '+DISPLAY', at some place. > At any convenient moment, we can call up a small utility 'foo' showing these > script(s), in the sequence of the installs, one by one. At the same time > we'd be given a chance to execute the scripted part. Now comes the trick: > if we so did (execute); this would be remembered and this script executed > again at an update. Respectively not being executed at an update if we > declined the execution. This is a good suggestion, we already try to do stuff so that it is ready for cut&paste, adding comments makes a lot of sense. > Firstly, there would be a user-friendly way to activate newly installed > packages. > Secondly, it will still follow the philosophy of OpenBSD: > You "need to know" and act in order to get a service activated. > Thirdly, at an update specific action would be repeated; triggered by the > user having done it earlier. Yeah, that's another good suggestion, but as usual, we need to proceed really carefully there... the old package tools had ways more install scripts and nuts than the new ones, I don't think anyone wants to go back. Also, we want to deal with updates gracefully. There have already been huge improvements over the last months, let's go further.
