diff options
Diffstat (limited to 'app-admin/radmind/files/radmind-1.7.0-gentoo.patch')
-rw-r--r-- | app-admin/radmind/files/radmind-1.7.0-gentoo.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/app-admin/radmind/files/radmind-1.7.0-gentoo.patch b/app-admin/radmind/files/radmind-1.7.0-gentoo.patch new file mode 100644 index 00000000000..3fad7b30467 --- /dev/null +++ b/app-admin/radmind/files/radmind-1.7.0-gentoo.patch @@ -0,0 +1,29 @@ +diff -Naur radmind-1.5.0/radmind.conf radmind-1.5.0-r1/radmind.conf +--- radmind-1.5.0/radmind.conf 1970-01-01 01:00:00.000000000 +0100 ++++ radmind-1.5.0-r1/radmind.conf 2005-02-24 23:04:12.379193384 +0100 +@@ -0,0 +1,3 @@ ++# chose server dir here ++# RADMIND_PATH="/srv/radmind" ++# RADMIND_OPTS="-D ${RADMIND_PATH} -p 6666" +diff -Naur radmind-1.5.0/rc.radmind radmind-1.5.0-r1/rc.radmind +--- radmind-1.5.0/rc.radmind 1970-01-01 01:00:00.000000000 +0100 ++++ radmind-1.5.0-r1/rc.radmind 2005-02-24 23:04:12.379193384 +0100 +@@ -0,0 +1,18 @@ ++#!/sbin/runscript ++ ++depend (){ ++ need net ++} ++ ++start(){ ++ ebegin "Starting radmind server" ++ start-stop-daemon --start --quiet --exec /usr/sbin/radmind \ ++ -- ${RADMIND_OPTS} ++ eend $? ++} ++ ++stop() { ++ ebegin "Stopping radmind" ++ start-stop-daemon --stop --quiet --exec /usr/sbin/radmind ++ eend $? ++} |