Initial import of Matthew Snelham <zeypher@sigalrm.com> latest ebuilds into the devel tree

and the skel.* files
This commit is contained in:
geos_one
2007-03-06 23:23:03 +00:00
parent f184ff9ef7
commit b8d2a0230e
48 changed files with 1930 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
waserror=0
function sd_action() {
MSG=$1
shift
#echo "ACTION: $*"
$* > /dev/null
rc=$?
if [ $rc -ne 0 ] ; then
sd_log_failure_msg $"$MSG"
else
sd_log_success_msg $"$MSG"
fi
return $rc
}
function sd_log_info_msg() {
einfo " $*"
}
function sd_log_warning_msg() {
ewarn " $*"
}
function sd_log_success_msg() {
einfo " $*"
eend 0
}
function sd_log_failure_msg() {
waserror=1
einfo " $*"
eend 1
}
function startproc() {
/sbin/start-stop-daemon --start -p $3 --exec $4 -- -p $3
}
function killproc() {
/sbin/start-stop-daemon --stop -p $3
}