diff options
Diffstat (limited to 'sys-auth')
-rw-r--r-- | sys-auth/icmpdn/ChangeLog | 11 | ||||
-rw-r--r-- | sys-auth/icmpdn/Manifest | 18 | ||||
-rw-r--r-- | sys-auth/icmpdn/files/conf.d-icmpdnd | 15 | ||||
-rw-r--r-- | sys-auth/icmpdn/files/digest-icmpdn-0.4 | 3 | ||||
-rw-r--r-- | sys-auth/icmpdn/files/init.d-icmpdnd | 27 | ||||
-rw-r--r-- | sys-auth/icmpdn/icmpdn-0.4.ebuild | 42 | ||||
-rw-r--r-- | sys-auth/icmpdn/metadata.xml | 8 |
7 files changed, 124 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..90df60efcf98 --- /dev/null +++ b/sys-auth/icmpdn/Manifest @@ -0,0 +1,18 @@ +MD5 2e0fd3ed671b91c2adf33259c829f845 ChangeLog 467 +RMD160 5076d111ee3be6e0776fa76fd319215e642e7d7a ChangeLog 467 +SHA256 7f9ecf6e8db6a769105d5d89dcc393ef37f86ae0845815fe628ee188e36ac54c ChangeLog 467 +MD5 d6aaaaf3b4db7a7e209ca936d31a01db files/conf.d-icmpdnd 584 +RMD160 a84a4d8a0ca18fa00a3870f1bb0f57168226099b files/conf.d-icmpdnd 584 +SHA256 a4acdc5ac712d78f8f10f0e251fd8ad0a61da595f38605ca317dac012a79a00a files/conf.d-icmpdnd 584 +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 6bca29e495a3627b087a3de75484adfa files/init.d-icmpdnd 679 +RMD160 835a00f1b485dc43943c82e46dec06bb45bbca59 files/init.d-icmpdnd 679 +SHA256 bc59ffb1b15ed9f8922a68cca4fadf1be099dbbb94be015449a3894d616ae433 files/init.d-icmpdnd 679 +MD5 c6f2fd2b7f8bc857529a68bb2ac4e03e icmpdn-0.4.ebuild 1076 +RMD160 bff97340342f6ba4b6cc0eb24c34812d899e7843 icmpdn-0.4.ebuild 1076 +SHA256 6b9c4bf365c86c3a425bcf3d6b9b774e6364b69ecd3d555bc627d11da8ec6ec8 icmpdn-0.4.ebuild 1076 +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> |