From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- sys-auth/icmpdn/Manifest | 7 +++++++ sys-auth/icmpdn/files/conf.d-icmpdnd | 14 +++++++++++++ sys-auth/icmpdn/files/init.d-icmpdnd | 26 ++++++++++++++++++++++++ sys-auth/icmpdn/icmpdn-0.4.ebuild | 38 ++++++++++++++++++++++++++++++++++++ sys-auth/icmpdn/metadata.xml | 7 +++++++ 5 files changed, 92 insertions(+) create mode 100644 sys-auth/icmpdn/Manifest create mode 100644 sys-auth/icmpdn/files/conf.d-icmpdnd create mode 100644 sys-auth/icmpdn/files/init.d-icmpdnd create mode 100644 sys-auth/icmpdn/icmpdn-0.4.ebuild create mode 100644 sys-auth/icmpdn/metadata.xml (limited to 'sys-auth/icmpdn') diff --git a/sys-auth/icmpdn/Manifest b/sys-auth/icmpdn/Manifest new file mode 100644 index 000000000000..770edfadc8dc --- /dev/null +++ b/sys-auth/icmpdn/Manifest @@ -0,0 +1,7 @@ +AUX conf.d-icmpdnd 472 SHA256 5bbd861ff740dd3c69a02a0ad2a1694979dab02a1d14e88c3cd91047167da03c SHA512 3318dbc6bb808c20088a1e83214a3b7d34486d367fabf243917da8e174dae39741115016c8fd5ee874191d7f5e3dc3cf2e0e9711df3b9d3862dd9f9d3f22ab4f WHIRLPOOL 03dec175741e904f87f1b37e8e8d5ea65a1d22ce653a9a06ad9a7e2b019ec583cee3cd2ba910e304e7a8e7484e9528547a6a7e0d117d39d72972c318b49d7cbe +AUX init.d-icmpdnd 568 SHA256 06cbc61d2cdbca9f78c9ec4831eaab4ff8b68931065c777b5ec250bc515958db SHA512 7d2b72a1613f736b4538add02cdfeef37d4f0ce68fbadde126717317a863e2e22533c0f7b74a21cf1ea2f123487fab68ec3d47f40f8addfacf6a5ba091268610 WHIRLPOOL 65f7a4a02575ee7b2e3a9a328830a8132d658c555a966fb0dca6b6fb8da05b023cfcdb98cc2e6697058e034207a744333a4d12301c307a32d98a76afb34d446a +DIST icmpdn-0.4.tar.gz 332780 SHA256 8d53bd2ddfeb1a013b549e7e5d4a606af50d621b6e803dcfac9d870c77af8b45 SHA512 2bcaa8987f1479fe0b562b805f1515d7dfba74ce8ca2f82156176eb9a059a6903e324a7fe64e256fec8a032a68de4618eb469e856d0004a3ceea4897f0833b1d WHIRLPOOL d4a2a46ecf0793b7f7ab2732203ad871550132a360cc5d5d9a3b3ad7aa1a316104f49137095da16f9fd6dc06c9eb9f3eb9e8b2a96b269f5c528c5806d5707ec0 +EBUILD icmpdn-0.4.ebuild 980 SHA256 a7ec3957948257f1da74ce16108b42544ccd965ebbe4e3e02d764031f295a683 SHA512 50defc8714f2f52a102363a7f7f32945e38e1c9e6e7ba68afc8632990ecfa67b5aa043f5d6b1d381cc4a853a39d7692e21389b877c8e6b058d0f9b16f0b6423d WHIRLPOOL cc8764117396b21ddb99e883ab05f89daeaf61f28c02a885f4fb4a820d222e7e453c44afe43747fbdc9f2fcc2c9446b8f5754ccc35eb5cc210cf345000c5c999 +MISC ChangeLog 2346 SHA256 46e79c1ffc6da8e8311ed11eb9c69e079deb6c036aefb3b71233c454aa2a7e8c SHA512 e944a8643587b1dfec272ecef00b97a64d9e007e40d6882cd95ea8ea28b83664d35484ffb3878bdd851c11300c1f5faab6e8f1d8e9d6fa1a2c785984744a96f8 WHIRLPOOL 0d0854628581499b59cc945c1f34c4cdec388d3cfc1397ef324af0e4704a454b047d93fa9e31de80d712fb8433062d6306c81fafa44bd9380dca69e5ac94ce3d +MISC ChangeLog-2015 716 SHA256 5ca150f62007dfd3737ef76e03e00e1972aec36dae35a14761a40c8694a39509 SHA512 ab0ac83bd4124a1f67154c7c8c3be0571171c5cc99cecc0f42ad4af77154d778e23ad5d4664b5faa9e697ccfa5f9a07d5c410d529e3b3c26d0b78380cc7edb01 WHIRLPOOL bb23dcbacedcec22dd4bd84c763553c60f319f9dd3800ca49659238d306ffb75114225333e25d4b92b91fe5ab8178ba9c5c25f121cd8e99ed85ee17d5fdd08a5 +MISC metadata.xml 216 SHA256 f7475919f28a8a93ec8bd025c8f8bbab918f66d0d1737420c876f0480308fe6a SHA512 e881b59fe49746eb25ad66c258b41aba501e4eb563129093a3898ea970a20506e7898f7c355cfcf99605234962bf2c77c1309c258b9a2b84ee4302ccb71c9dbd WHIRLPOOL 163285b60aa93e00993af659dc1e29a9eb245bd3415dd5ec75b284250596165f469028102b72fa0c344834443a44c1bbcf6272fe6a3f5211f721fc96e1c6ec16 diff --git a/sys-auth/icmpdn/files/conf.d-icmpdnd b/sys-auth/icmpdn/files/conf.d-icmpdnd new file mode 100644 index 000000000000..24e6e95fef25 --- /dev/null +++ b/sys-auth/icmpdn/files/conf.d-icmpdnd @@ -0,0 +1,14 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +# 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/init.d-icmpdnd b/sys-auth/icmpdn/files/init.d-icmpdnd new file mode 100644 index 000000000000..452b644c63fa --- /dev/null +++ b/sys-auth/icmpdn/files/init.d-icmpdnd @@ -0,0 +1,26 @@ +#!/sbin/openrc-run +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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..2c344aa6e5b0 --- /dev/null +++ b/sys-auth/icmpdn/icmpdn-0.4.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +inherit eutils flag-o-matic multilib + +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="" + +src_compile() { + append-cppflags -D_GNU_SOURCE #241318 + econf \ + --sysconfdir=/etc \ + --libdir=/$(get_libdir) \ + || 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,so} +} + +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..79d462e85571 --- /dev/null +++ b/sys-auth/icmpdn/metadata.xml @@ -0,0 +1,7 @@ + + + + + robbat2@gentoo.org + + -- cgit v1.2.3