From 7c3692d926a94ba682906dc03e76c826f4893a32 Mon Sep 17 00:00:00 2001 From: Bertrand Jacquin Date: Wed, 31 Aug 2016 21:51:13 +0100 Subject: net-misc/icmptx: Convert init scripts to openrc-run Package-Manager: portage-2.2.28 --- net-misc/icmptx/Manifest | 6 +++--- net-misc/icmptx/files/icmptxcd.init | 4 ++-- net-misc/icmptx/files/icmptxd.init | 4 ++-- net-misc/icmptx/icmptx-0.2-r1.ebuild | 41 ++++++++++++++++++++++++++++++++++++ net-misc/icmptx/icmptx-0.2.ebuild | 41 ------------------------------------ 5 files changed, 48 insertions(+), 48 deletions(-) create mode 100644 net-misc/icmptx/icmptx-0.2-r1.ebuild delete mode 100644 net-misc/icmptx/icmptx-0.2.ebuild (limited to 'net-misc') diff --git a/net-misc/icmptx/Manifest b/net-misc/icmptx/Manifest index 0ad41dd4..beab4bfb 100644 --- a/net-misc/icmptx/Manifest +++ b/net-misc/icmptx/Manifest @@ -1,7 +1,7 @@ AUX icmptx-0.2-BJA-Makefile.diff 621 SHA256 a8b69eed0e17aa9b3ca8d2fef44823648c94b6a07c26bac2cc02830db8993604 WHIRLPOOL d401e78ffe6e25efa47bd9bb9bf79efdda5c66837c145c624caca69000c9b0231e659d68a6010e7c82e344cf6cb0949139045e23e94af40201131324559c3f73 AUX icmptxcd.conf 326 SHA256 faa34b1718fa242d924a198a6143a4325e3c0527cffe9fccff60ddc8631d32d6 WHIRLPOOL 4c286867affa1ae17a3e680842be185df4b6f8e158fb56175c319979284389eadba33b3dbc0e62242854a48bf876dec44b0373620536c378682b8b392bfbf540 -AUX icmptxcd.init 1220 SHA256 778360c4524615cd11c261661adb892e1b573fbb132c6fcec523d1f0149fefcf WHIRLPOOL 2c55a26a422dc38c54205a65ca066f1ea1900b9649ffae99c767b5e5848c0c8e294c7c9bd0e2634123f3724745ae2195440695416fd1ab0a414f6465d35c8478 +AUX icmptxcd.init 1221 SHA256 0f8aef6959f589c37cf99667ec19ea3baeb80d138e1599713bb35ddc80b09c29 WHIRLPOOL cafe71b859352b1ad006297e948535282090963f73a4701f7a272639ca560c4f22bdebdf3bcb9674e74f90705617f0c3f267ed5444b7163365dc331d84c03cf7 AUX icmptxd.conf 327 SHA256 eafa579a4b39678609616197481afed2a0398edaca2ff291c2e002f3fb422a4e WHIRLPOOL 22ea7e53203d11716c90f5d6bf8ff812d42e52749b5e88bb83720dfbd12d1ddb8d991095bcf28c3d581b9701dfc8a3718d2946979a456572cf9287087fccd6df -AUX icmptxd.init 1236 SHA256 1283f0d0c855100218a6cbd7ffd14158a5d7c7d46e5963ecc4c5db08aeb011a8 WHIRLPOOL d3102a4dec53f41edf39599e21d3a4eefe47d474ef598ef87479ec4399ca353cab48d46c058db8e5c21c41f299f482deae05e87d77b94ad7165686df81242fde -EBUILD icmptx-0.2.ebuild 803 SHA256 d4846bc9c6261008165c108ae6f6d0ceb169d89ac252302d1f29dcce933734fd WHIRLPOOL dc1012496e9e77a11d158ddb069bc0c70a6b643a809618e30db05b91ecc2af21a90fa1efb49f12c0ce42ef5ec93ffcd09efbafb6d0e8a57c82033c17e259791f +AUX icmptxd.init 1237 SHA256 6653ad84fa5a1e10f8879588a1ad507d3ceaa558dfb4758f4e7686969504fe00 WHIRLPOOL a7456eb9da9a4a46dd58dde3e27ef1364980e351a650db8ac86e6449d060ba4e4d5eff90cccea21292752de468d19d456a2fffb8222acad5b8fb47e0d19b24f4 +EBUILD icmptx-0.2-r1.ebuild 803 SHA256 98164a5dcad4eb932f7c215b4427fca43eb9883eb0ebb05b55e77f262dbca17f WHIRLPOOL d689cd1593039ac93932c9f2895d07ae7cc0dc44b65537161792c7b67228b16d88cdaed0d69b1d1024ab09ae4f5f41c91e3d1276135559a1efe80b9c8d1a27af MISC metadata.xml 391 SHA256 2511a8930242273d157fe8f24a1d305a0af512b6c7c3094c886d731cbaf4f56b WHIRLPOOL 1b0ad34074fc013713b690a71495f7b5f813ae52e09f27ecc0fec26f93a02602c09eaf9737da0b7b3b193d9ab9c263613f9149ea4197e874b4270b9a9592d182 diff --git a/net-misc/icmptx/files/icmptxcd.init b/net-misc/icmptx/files/icmptxcd.init index e84ddf32..1c93685a 100644 --- a/net-misc/icmptx/files/icmptxcd.init +++ b/net-misc/icmptx/files/icmptxcd.init @@ -1,5 +1,5 @@ -#!/sbin/runscript -# Copyright 1999-2013 Gentoo Foundation +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ diff --git a/net-misc/icmptx/files/icmptxd.init b/net-misc/icmptx/files/icmptxd.init index dcc1df70..8fd82c6d 100644 --- a/net-misc/icmptx/files/icmptxd.init +++ b/net-misc/icmptx/files/icmptxd.init @@ -1,5 +1,5 @@ -#!/sbin/runscript -# Copyright 1999-2013 Gentoo Foundation +#!/sbin/openrc-run +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ diff --git a/net-misc/icmptx/icmptx-0.2-r1.ebuild b/net-misc/icmptx/icmptx-0.2-r1.ebuild new file mode 100644 index 00000000..a0410b4f --- /dev/null +++ b/net-misc/icmptx/icmptx-0.2-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit git-r3 linux-info + +DESCRIPTION="IP over ICMP tunnel" +HOMEPAGE="https://github.com/jakkarth/icmptx" + +LICENSE="GPL-3" +KEYWORDS="~amd64 ~x86 ~ppc" +SLOT="0" +IUSE="client server" +REQUIRED_USE="|| ( client server )" + +EGIT_REPO_URI="git://github.com/jakkarth/${PN}.git" +EGIT_COMMIT="${PV}" + +CONFIG_CHECK="~TUN" + +src_prepare() { + epatch "${FILESDIR}/${P}-BJA-Makefile.diff" + + tc-export CC +} + +src_install() { + dosbin icmptx + dodoc README + + if use client ; then + newinitd "${FILESDIR}/icmptxcd.init" icmptxcd + newconfd "${FILESDIR}/icmptxcd.conf" icmptxcd + fi + + if use server ; then + newinitd "${FILESDIR}/icmptxd.init" icmptxd + newconfd "${FILESDIR}/icmptxd.conf" icmptxd + fi +} diff --git a/net-misc/icmptx/icmptx-0.2.ebuild b/net-misc/icmptx/icmptx-0.2.ebuild deleted file mode 100644 index c0b8b228..00000000 --- a/net-misc/icmptx/icmptx-0.2.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -inherit git-r3 linux-info - -DESCRIPTION="IP over ICMP tunnel" -HOMEPAGE="https://github.com/jakkarth/icmptx" - -LICENSE="GPL-3" -KEYWORDS="~amd64 ~x86 ~ppc" -SLOT="0" -IUSE="client server" -REQUIRED_USE="|| ( client server )" - -EGIT_REPO_URI="git://github.com/jakkarth/${PN}.git" -EGIT_COMMIT="${PV}" - -CONFIG_CHECK="~TUN" - -src_prepare() { - epatch "${FILESDIR}/${P}-BJA-Makefile.diff" - - tc-export CC -} - -src_install() { - dosbin icmptx - dodoc README - - if use client ; then - newinitd "${FILESDIR}/icmptxcd.init" icmptxcd - newconfd "${FILESDIR}/icmptxcd.conf" icmptxcd - fi - - if use server ; then - newinitd "${FILESDIR}/icmptxd.init" icmptxd - newconfd "${FILESDIR}/icmptxd.conf" icmptxd - fi -} -- cgit v1.2.3