summaryrefslogtreecommitdiff
path: root/packaging/gentoo/net-dialup/radsecproxy/files
diff options
context:
space:
mode:
authorvenaas <venaas>2007-06-19 09:29:57 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2007-06-19 09:29:57 +0000
commit71fab9c3e4b7f71148081249321f9509d997a334 (patch)
treec1e8e1869f742df7101283baea071d78d817b15a /packaging/gentoo/net-dialup/radsecproxy/files
parent4b2960c88e7dd342756498ad7a2bf27b99a68533 (diff)
added package files
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/branches/release-1.0@144 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'packaging/gentoo/net-dialup/radsecproxy/files')
-rw-r--r--packaging/gentoo/net-dialup/radsecproxy/files/digest-radsecproxy-1.0_alpha13
-rw-r--r--packaging/gentoo/net-dialup/radsecproxy/files/radsecproxy.confd6
-rwxr-xr-xpackaging/gentoo/net-dialup/radsecproxy/files/radsecproxy.initd24
3 files changed, 33 insertions, 0 deletions
diff --git a/packaging/gentoo/net-dialup/radsecproxy/files/digest-radsecproxy-1.0_alpha1 b/packaging/gentoo/net-dialup/radsecproxy/files/digest-radsecproxy-1.0_alpha1
new file mode 100644
index 0000000..6c1f5dd
--- /dev/null
+++ b/packaging/gentoo/net-dialup/radsecproxy/files/digest-radsecproxy-1.0_alpha1
@@ -0,0 +1,3 @@
+MD5 a1f228747e284ffbd6b3c167358d1ce1 radsecproxy-1.0-alpha-p1.tar.gz 95760
+RMD160 ee6b8dda0e5c2d6a321a17462525d049caa82eef radsecproxy-1.0-alpha-p1.tar.gz 95760
+SHA256 032a79942bc9dec6c836d41497b0a5377c7b855b3383e2df6eebafd8a596347e radsecproxy-1.0-alpha-p1.tar.gz 95760
diff --git a/packaging/gentoo/net-dialup/radsecproxy/files/radsecproxy.confd b/packaging/gentoo/net-dialup/radsecproxy/files/radsecproxy.confd
new file mode 100644
index 0000000..ac05c94
--- /dev/null
+++ b/packaging/gentoo/net-dialup/radsecproxy/files/radsecproxy.confd
@@ -0,0 +1,6 @@
+#
+# Options for radsecproxy
+#
+# For example tell radsecproxy to use a non-default config file
+
+#OPTS="-c /usr/local/etc/radsecproxy.conf"
diff --git a/packaging/gentoo/net-dialup/radsecproxy/files/radsecproxy.initd b/packaging/gentoo/net-dialup/radsecproxy/files/radsecproxy.initd
new file mode 100755
index 0000000..2b11b9c
--- /dev/null
+++ b/packaging/gentoo/net-dialup/radsecproxy/files/radsecproxy.initd
@@ -0,0 +1,24 @@
+#!/sbin/runscript
+
+depend() {
+ use logger dns
+ need net
+}
+
+CMD="/usr/sbin/radsecproxy"
+
+start() {
+ ebegin "Starting radsecproxy"
+ if test -n "${OPTS}" ; then
+ start-stop-daemon --start --exec ${CMD} -- ${OPTS} >/dev/null 2>&1
+ else
+ start-stop-daemon --start --exec ${CMD} -- >/dev/null 2>&1
+ fi
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping radsecproxy"
+ start-stop-daemon --stop --exec ${CMD}
+ eend $?
+}