Re: FreeBSD Security Survey
- From: Miroslav Lachman <000.fbsd@xxxxxxx>
- Date: Tue, 23 May 2006 11:58:44 +0200
Clemens Renner wrote:
In a different corner is portupgrade which basically constitutes a highly usable tool but has minor annoyances that really complicate things. For example, when upgrading MySQL -- even with mysql_enable=YES in rc.conf, portupgrade will stop the sever but not restart it. Is there any plausible reason for this behaviour? I can't think of any. In fact, I resort to
# portupgrade mysql-server && /usr/local/etc/rc.d/mysql restart
which is really annyoing if a lot of services will be upgraded that aren't automatically restarted. This would be a good thing to take care of.
If you are using portupgrade, you can use /usr/local/etc/pkgtools.conf
MAKE_ARGS = {
'databases/mysql41-*' => [
'WITH_CHARSET=latin2',
'WITH_XCHARSET=all',
'WITH_OPENSSL=yes',
'OVERWRITE_DB=no',
],
}
AFTERINSTALL = {
'databases/mysql41-server' => proc { |origin|
cmd_enable_rc(origin) + ';' + cmd_restart_rc(origin)
},
}
You must set it one time, you can enjoy it every upgrade.
Miroslav Lachman
_______________________________________________
freebsd-security@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-security
To unsubscribe, send any mail to "freebsd-security-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: FreeBSD Security Survey
- From: Clemens Renner
- Re: FreeBSD Security Survey
- References:
- RE: Re: FreeBSD Security Survey
- From: FreeBSD User
- Re: FreeBSD Security Survey
- From: Peter Jeremy
- Re: FreeBSD Security Survey
- From: Clemens Renner
- RE: Re: FreeBSD Security Survey
- Prev by Date: Re: FreeBSD Security Survey
- Next by Date: Re: FreeBSD Security Survey
- Previous by thread: Re: FreeBSD Security Survey
- Next by thread: Re: FreeBSD Security Survey
- Index(es):
Relevant Pages
|
|