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
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')
-rw-r--r--sys-auth/icmpdn/ChangeLog11
-rw-r--r--sys-auth/icmpdn/Manifest15
-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
-rw-r--r--sys-auth/icmpdn/icmpdn-0.4.ebuild42
-rw-r--r--sys-auth/icmpdn/metadata.xml8
7 files changed, 121 insertions, 0 deletions
diff --git a/sys-auth/icmpdn/ChangeLog b/sys-auth/icmpdn/ChangeLog
new file mode 100644
index 000000000000..c12fa6b31882
--- /dev/null
+++ b/sys-auth/icmpdn/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for sys-auth/icmpdn
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/icmpdn/ChangeLog,v 1.1 2006/02/10 02:05:51 robbat2 Exp $
+
+*icmpdn-0.4 (10 Feb 2006)
+
+ 10 Feb 2006; Robin H. Johnson <robbat2@gentoo.org> +files/conf.d-icmpdnd,
+ +files/init.d-icmpdnd, +metadata.xml, +icmpdn-0.4.ebuild:
+ Initial commit. Original ebuild submitted by Fredrik Tolf
+ <fredrik@dolda2000.com>, bug #93870.
+
diff --git a/sys-auth/icmpdn/Manifest b/sys-auth/icmpdn/Manifest
new file mode 100644
index 000000000000..eb33a411fffc
--- /dev/null
+++ b/sys-auth/icmpdn/Manifest
@@ -0,0 +1,15 @@
+MD5 2cb497d5552887c9211d7b04c38f446e files/conf.d-icmpdnd 485
+RMD160 29ec65d2aa6c0cbcd3aa213b27de9445086c24e5 files/conf.d-icmpdnd 485
+SHA256 8f641571fb77bb98b45608ece71f6b39bfe919629e44fc5658296d24e327f9bd files/conf.d-icmpdnd 485
+MD5 f04b4352efc186488b647c7441fb4818 files/digest-icmpdn-0.4 232
+RMD160 a650f65442d99956d3862c4a1de5a0b280da384c files/digest-icmpdn-0.4 232
+SHA256 9f4630dc1c02ca4f3e18e25089c26bcfcf8bba7bb2ca955781e6b67fe0035b77 files/digest-icmpdn-0.4 232
+MD5 4f84aa0af45b28c7a44f986b24da58db files/init.d-icmpdnd 580
+RMD160 15d73c64396f59c2f1e8701145ee13e37bed8515 files/init.d-icmpdnd 580
+SHA256 ae849d7c32a2bd4f361fe53fdbe0f4e9bf195a43323e6d1c92e743a9e1bca3b3 files/init.d-icmpdnd 580
+MD5 d0f1c94448d425239b3e57db7024f9e9 icmpdn-0.4.ebuild 980
+RMD160 52a09af4e55adfc8049ca5d8b82f212a226d07c2 icmpdn-0.4.ebuild 980
+SHA256 cd7959ab3a7c55c4e5478855649df50e17e55d9444bb557bafa54f8c7676dab8 icmpdn-0.4.ebuild 980
+MD5 21cd68602737d7c996bceabf6e62c468 metadata.xml 223
+RMD160 ffa99612cf27469c417944deed0e0c9155e64331 metadata.xml 223
+SHA256 d6bb9ba68629616062b4433ab3b8fb01dfcafae5bb47804d9e06cdd6c66daa44 metadata.xml 223
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 $?
+}
+
diff --git a/sys-auth/icmpdn/icmpdn-0.4.ebuild b/sys-auth/icmpdn/icmpdn-0.4.ebuild
new file mode 100644
index 000000000000..1f0dc83c48eb
--- /dev/null
+++ b/sys-auth/icmpdn/icmpdn-0.4.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/icmpdn/icmpdn-0.4.ebuild,v 1.1 2006/02/10 02:05:51 robbat2 Exp $
+
+inherit eutils
+
+DESCRIPTION="ICMP Domain Name utilities & NSS backend"
+HOMEPAGE="http://www.dolda2000.com/~fredrik/icmp-dn/"
+SRC_URI="${HOMEPAGE}${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+DEPEND="sys-libs/glibc"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ LDFLAGS='-Wl,-z,now' \
+ econf \
+ --sysconfdir=/etc \
+ --libdir=/lib \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake install DESTDIR="${D}" || die "emake install failed"
+ newinitd ${FILESDIR}/init.d-icmpdnd icmpdnd
+ newconfd ${FILESDIR}/conf.d-icmpdnd icmpdnd
+ dodoc AUTHORS ChangeLog README
+ # must always run as root
+ fperms 4711 /usr/bin/idnlookup
+ # useless as nothing should link against this lib
+ rm ${D}/lib/*.la
+}
+
+pkg_postinst() {
+ einfo "To use the ICMP nameswitch module, add 'icmp'"
+ einfo "to the 'hosts' line in your /etc/nsswitch.conf"
+}
+
diff --git a/sys-auth/icmpdn/metadata.xml b/sys-auth/icmpdn/metadata.xml
new file mode 100644
index 000000000000..5d9f5be9d49d
--- /dev/null
+++ b/sys-auth/icmpdn/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>robbat2@gentoo.org</email>
+</maintainer>
+</pkgmetadata>