cdf2765d83
The version currently in openwrt (1.8) has known security issues (see the release announcements for the subsequent releases) and is quite outdated (March 2010 as compared to Dec 2012). The following patch bumps the version and also cleans up the build script (mostly removing dead configure options, removing obsolete patches, etc). The testing binary "sclient" is dropped and kadmind is reintroduced in krb5-server (I know it was removed to "save space", but kadmind is around 60kB out of a total of around 700kB for a krb5-server installation and an installation without kadmind is pretty gimped). I hope this can be applied both to trunk and the attitude_adjustment branch. Signed-off-by: David Härdeman <david@hardeman.nu> git-svn-id: svn://svn.openwrt.org/openwrt/packages@35700 3c298f89-4303-0410-b956-a3cf2f4a3e73
20 lines
308 B
Bash
20 lines
308 B
Bash
#!/bin/sh /etc/rc.common
|
|
# Copyright (C) 2009 OpenWrt.org
|
|
|
|
START=60
|
|
|
|
start() {
|
|
mkdir -p /var/tmp
|
|
mkdir -p /etc/krb5kdc
|
|
|
|
[ -f /etc/krb5kdc/principal ] || ( echo; echo ) | kdb5_util create -s
|
|
|
|
/usr/sbin/krb5kdc
|
|
/usr/sbin/kadmind
|
|
}
|
|
|
|
stop() {
|
|
killall krb5kdc 2> /dev/null
|
|
killall kadmind 2> /dev/null
|
|
}
|