From f87521eb12832381a03494ecb4cd1305bd87c65d Mon Sep 17 00:00:00 2001 From: Bertrand Jacquin Date: Sun, 9 Jun 2013 02:56:41 +0200 Subject: net-misc/icmptx: Move to EAPI 5, define REQUIRED_USE so we need client or server or both, respect CFLAGS and LDFLAGS, remove doc info Package-Manager: portage-2.1.12.3 --- net-misc/icmptx/ChangeLog | 4 ++++ net-misc/icmptx/Manifest | 4 ++-- net-misc/icmptx/icmptx-0.2.ebuild | 20 ++++++++++---------- 3 files changed, 16 insertions(+), 12 deletions(-) (limited to 'net-misc') diff --git a/net-misc/icmptx/ChangeLog b/net-misc/icmptx/ChangeLog index 680e1c5b..2f1a8f8a 100644 --- a/net-misc/icmptx/ChangeLog +++ b/net-misc/icmptx/ChangeLog @@ -2,6 +2,10 @@ # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 09 Jun 2013; Bertrand Jacquin icmptx-0.2.ebuild: + net-misc/icmptx: Move to EAPI 5, define REQUIRED_USE so we need client or + server or both, respect CFLAGS and LDFLAGS, remove doc info + 09 Jun 2013; Bertrand Jacquin -icmptx-0.01.ebuild, -files/icmptx-0.01-BJA-Makefile.diff: net-misc/icmptx: Remove old diff --git a/net-misc/icmptx/Manifest b/net-misc/icmptx/Manifest index 85dedabe..fa4513d0 100644 --- a/net-misc/icmptx/Manifest +++ b/net-misc/icmptx/Manifest @@ -3,6 +3,6 @@ AUX icmptxcd.conf 326 SHA256 faa34b1718fa242d924a198a6143a4325e3c0527cffe9fccff6 AUX icmptxcd.init 1341 SHA256 1acd601b5552bb547d16b4e01661b7ac96c0703130af4103db52eb27fd3d6b19 WHIRLPOOL 959c7a8233fda947cb81d8bd0ae9e3fb6afd034e57856deba52d5f01bdd6545a84310aa0c6274a5ac05068851b5a7fb10e4d270a6542bf40d9be3ccd1778776a AUX icmptxd.conf 327 SHA256 eafa579a4b39678609616197481afed2a0398edaca2ff291c2e002f3fb422a4e WHIRLPOOL 22ea7e53203d11716c90f5d6bf8ff812d42e52749b5e88bb83720dfbd12d1ddb8d991095bcf28c3d581b9701dfc8a3718d2946979a456572cf9287087fccd6df AUX icmptxd.init 1357 SHA256 d1061d597a0b6dbe764a2a1aed25c83b22f737638a913eec40b9960d92445c5d WHIRLPOOL 353812ded797db6a0cfaa7d7e8f2cf45bfd2864523e7bc4bc29171db69a26e382519d10bb35286a703e421951c4515bf0efaaf6cdaaae9ddeb1deda6368f302b -EBUILD icmptx-0.2.ebuild 1108 SHA256 f193db21692335562a9b539ba4b2dd5ee1efcc86999b9e7ac8e29468308d8480 WHIRLPOOL e7b1cfd213951f764fac063e11567f549410336601e10a8eb29a3235f001994c6ad3a2bb23e30f42f5ea9bcc47e23485013286e7875afb7061a08c67e8af54b9 -MISC ChangeLog 1396 SHA256 20ce6ffd393cf20fd4e0005279f11f2e2a3ebde76454f250aa40f053928d3478 WHIRLPOOL 83742eaf0053ab779df9de8c30ffa19a8e9607262d0a27656de480c4e89665a674ef61a42ecbb3034eb2d1c13ee81aca10bcb5335cb3f928bfba8def8c92341a +EBUILD icmptx-0.2.ebuild 971 SHA256 ab3d672b86204128da62d4f0ebcbcbac854171a5b2839892c3846dd0ec3442ef WHIRLPOOL 4565ff245b0d4031aa2641eddda40c3c22bf2749945c5d4be2af1c58736f18ea2f8865c00b0658d0a413c94d37cbff32aa66ecc7bbdafc9956ea8bdf31d4a874 +MISC ChangeLog 1547 SHA256 ff5af80d8be287338a385ddafbc31854bbd8730cd6e8d7ee86ebaf9058eb0a4d WHIRLPOOL 50fa9fe4275ed0f221c1a87e95db6db0e62585cfc6794dc09b945f6eb2f19fe91bd3ff81ac282ec73da43003603e8f4e5e169f7c3a954bd52ed7c264616f7d6b MISC metadata.xml 256 SHA256 556c3d16793383c1a759d6ee6bb971a0b1b6bd2075af119b34f7dc0b9c3c0e00 WHIRLPOOL 97ff0d5db52739ebe7340faca515d302a4cb9e8aea20b4f894eb82cad09b91083f9a99f51520d0dbf7496ccccbdfa75e9cd0279d2fabc0f9cb45b5137fcd8919 diff --git a/net-misc/icmptx/icmptx-0.2.ebuild b/net-misc/icmptx/icmptx-0.2.ebuild index 42a4678c..b73f05b7 100644 --- a/net-misc/icmptx/icmptx-0.2.ebuild +++ b/net-misc/icmptx/icmptx-0.2.ebuild @@ -1,9 +1,8 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ -# Nonofficial ebuild by Ycarus. For new version look here : http://gentoo.zugaina.org/ -EAPI=4 +EAPI=5 inherit git-2 linux-info DESCRIPTION="IP over ICMP tunnel" @@ -14,7 +13,10 @@ RDEPEND="virtual/libc" DEPEND="virtual/os-headers ${RDEPEND}" KEYWORDS="~amd64 ~x86 ~ppc" + IUSE="client server" +REQUIRED_USE="|| ( client server )" + LICENSE="GPL-3" SLOT="0" RESTRICT="mirror" @@ -22,11 +24,14 @@ RESTRICT="mirror" CONFIG_CHECK="~TUN" src_prepare () { - epatch "${FILESDIR}"/${P}-BJA-Makefile.diff + epatch "${FILESDIR}/${P}-BJA-Makefile.diff" } src_compile () { - emake CC="$(tc-getCC)" + emake \ + CC="$(tc-getCC)" \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" } src_install() { @@ -42,8 +47,3 @@ src_install() { newconfd "${FILESDIR}"/icmptxd.conf icmptxd fi } - -pkg_postinst() { - einfo "Please read the documentation provided in" - einfo " `find /usr/share/doc/${PF}/ -name 'README*' 2> /dev/null`" -} -- cgit v1.2.3