summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2006-02-10 02:05:51 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2006-02-10 02:05:51 +0000
commitf89c281ed4608ab8522f1edd63f332ac3f27c226 (patch)
treee4c3039e1dd256808865ce6390445f333941e26e /sys-auth/icmpdn/files
parentVersion bump which fixes #108219 by Morten Cools / Pierre Cassimans. (diff)
downloadgentoo-2-f89c281ed4608ab8522f1edd63f332ac3f27c226.tar.gz
gentoo-2-f89c281ed4608ab8522f1edd63f332ac3f27c226.tar.bz2
gentoo-2-f89c281ed4608ab8522f1edd63f332ac3f27c226.zip
Initial commit. Original ebuild submitted by Fredrik Tolf <fredrik@dolda2000.com>, bug #93870.
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'sys-auth/icmpdn/files')
-rw-r--r--sys-auth/icmpdn/files/conf.d-icmpdnd15
-rw-r--r--sys-auth/icmpdn/files/digest-icmpdn-0.43
-rw-r--r--sys-auth/icmpdn/files/init.d-icmpdnd27
3 files changed, 45 insertions, 0 deletions
diff --git a/sys-auth/icmpdn/files/conf.d-icmpdnd b/sys-auth/icmpdn/files/conf.d-icmpdnd
new file mode 100644
index 000000000000..999d51dcaa73
--- /dev/null
+++ b/sys-auth/icmpdn/files/conf.d-icmpdnd
@@ -0,0 +1,15 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/icmpdn/files/conf.d-icmpdnd,v 1.1 2006/02/10 02:05:51 robbat2 Exp $
+
+# Set the TTL (Time-to-Live) value in responses to TTL seconds rather
+# than the default of 3600 seconds
+#TTL=3600
+
+# Set the domain name in responses to domainname, rather than the
+# default as described above. This option is useful in case the system
+# is not configured to set up its own hostname.
+#DOMAINNAME=mydomainname.com
+
+# Other options
+#ICMPDND_OPTS=""
diff --git a/sys-auth/icmpdn/files/digest-icmpdn-0.4 b/sys-auth/icmpdn/files/digest-icmpdn-0.4
new file mode 100644
index 000000000000..2052e9d019e9
--- /dev/null
+++ b/sys-auth/icmpdn/files/digest-icmpdn-0.4
@@ -0,0 +1,3 @@
+MD5 d62a3e98e14a9a1a0a53cfd5e9032da5 icmpdn-0.4.tar.gz 332780
+RMD160 48b640f84afbcb531d16aa13b9841bc795606f82 icmpdn-0.4.tar.gz 332780
+SHA256 8d53bd2ddfeb1a013b549e7e5d4a606af50d621b6e803dcfac9d870c77af8b45 icmpdn-0.4.tar.gz 332780
diff --git a/sys-auth/icmpdn/files/init.d-icmpdnd b/sys-auth/icmpdn/files/init.d-icmpdnd
new file mode 100644
index 000000000000..741eec578290
--- /dev/null
+++ b/sys-auth/icmpdn/files/init.d-icmpdnd
@@ -0,0 +1,27 @@
+#!/sbin/runscript
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/icmpdn/files/init.d-icmpdnd,v 1.1 2006/02/10 02:05:51 robbat2 Exp $
+
+BINARY="/usr/sbin/icmpdnd"
+
+[ -n "${TTL}" ] && ICMPDND_OPTS="${ICMPDND_OPTS} -t ${TTL}"
+[ -n "${DOMAINNAME}" ] && ICMPDND_OPTS="${ICMPDND_OPTS} -d ${DOMAINNAME}"
+
+depend() {
+ need net
+ after ypbind
+}
+
+start() {
+ ebegin "Starting icmpdnd"
+ start-stop-daemon --start --quiet --exec ${BINARY} -- ${ICMPDND_OPTS}
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping icmpdnd"
+ start-stop-daemon --stop --quiet --exec ${BINARY}
+ eend $?
+}
+