sudo/rc.sudo

Tue, 28 Aug 2012 18:28:45 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Tue, 28 Aug 2012 18:28:45 +0200
changeset 528
3b08e6396b45
permissions
-rw-r--r--

Massively update from 5.1 to 5.5 release, completely changing from
autotools to cmake build configuration along with the corresponding
corrections. Correct some less important problems like typical german
english mistakes, as well as use parallel make for faster builds with
SMP and multicore architectures. Warning, the 5.5 releases of MySQL
seem to be equally bug ridden as the 5.1 are, for example building
the NDBCluster storage engine fails.

michael@456 1 #!@l_prefix@/bin/openpkg rc
michael@456 2 ##
michael@456 3 ## rc.sudo -- Run-Commands
michael@456 4 ##
michael@456 5
michael@456 6 %config
michael@456 7 sudo_enable="$openpkg_rc_def"
michael@456 8 sudo_log_prolog="true"
michael@456 9 sudo_log_epilog="true"
michael@456 10 sudo_log_numfiles="10"
michael@456 11 sudo_log_minsize="1M"
michael@456 12 sudo_log_complevel="9"
michael@456 13
michael@456 14 %daily -u @l_susr@
michael@456 15 rcService sudo enable yes || exit 0
michael@456 16 shtool rotate -f \
michael@456 17 -n ${sudo_log_numfiles} -s ${sudo_log_minsize} -d \
michael@456 18 -z ${sudo_log_complevel} -o @l_rusr@ -g @l_rgrp@ -m 644 \
michael@456 19 -P "${sudo_log_prolog}" \
michael@456 20 -E "${sudo_log_epilog}" \
michael@456 21 @l_prefix@/var/sudo/sudo.log
michael@456 22

mercurial