Files @ 475bd1a361e8
Branch filter:

Location: ohnobinki_overlay/app-crypt/mit-krb5/files/mit-krb5kdc.initd

binki
bumped to dev-embedded/phidget-2.1.5.20090105, created new files/phidget21-crosscompile.patch for this version, updated logic in dev-embedded/phidget's ebuilds
logic was changed in the all of the ebuilds - they are all identical except for which patches are referenced. Fixed references to things like make=>emake and calling java stuff when the java use-flag was disabled. The new files/phidget21-crosscompile.patch (files/phidget21-2.1.5.20090105.patch) was needed because the context of the diff against the Makefile changed.
#!/sbin/runscript

#---------------------------------------------------------------------------
# This script starts/stops the MIT Kerberos 5 KDC
#---------------------------------------------------------------------------

daemon="MIT Kerberos 5 KDC"	
exec="/usr/sbin/krb5kdc"

opts="start stop restart"

depend() {
	MYNEED="net"
	if [ "${NEED_LDAP}x" = "1x" ]; then
	    MYNEED="${MYNEED} slapd"
	fi
	need ${MYNEED}
}

start() {
	ebegin "Starting $daemon"
	start-stop-daemon --start --quiet --exec ${exec} 1>&2
	eend $? "Error starting $daemon"
}

stop() { 
        ebegin "Stopping $daemon"
        start-stop-daemon --stop --quiet --oknodo --exec ${exec} 1>&2
        eend $? "Error stopping $daemon"
}

restart() {
   svc_stop
   svc_start
}