From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C64F9139694 for ; Wed, 2 Aug 2017 11:58:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3D4E11FC10A; Wed, 2 Aug 2017 11:58:51 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 19B301FC10A for ; Wed, 2 Aug 2017 11:58:51 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3CC773417C2 for ; Wed, 2 Aug 2017 11:58:50 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D622075D1 for ; Wed, 2 Aug 2017 11:58:48 +0000 (UTC) From: "Lars Wendler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Lars Wendler" Message-ID: <1501675126.4b3c4d93cb24b19cbd514839c648a9b9d11b9ba7.polynomial-c@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-firewall/arptables/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-firewall/arptables/Manifest net-firewall/arptables/arptables-0.0.4.ebuild X-VCS-Directories: net-firewall/arptables/ X-VCS-Committer: polynomial-c X-VCS-Committer-Name: Lars Wendler X-VCS-Revision: 4b3c4d93cb24b19cbd514839c648a9b9d11b9ba7 X-VCS-Branch: master Date: Wed, 2 Aug 2017 11:58:48 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 3443f940-bce8-4441-9660-20b4a1f17627 X-Archives-Hash: e0e8c0e09746eec1e1fadb79dacf4512 commit: 4b3c4d93cb24b19cbd514839c648a9b9d11b9ba7 Author: Lars Wendler gentoo org> AuthorDate: Wed Aug 2 11:58:37 2017 +0000 Commit: Lars Wendler gentoo org> CommitDate: Wed Aug 2 11:58:46 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b3c4d93 net-firewall/arptables: Bump to version 0.0.4 Package-Manager: Portage-2.3.6, Repoman-2.3.3 net-firewall/arptables/Manifest | 1 + net-firewall/arptables/arptables-0.0.4.ebuild | 32 +++++++++++++++++++++++++++ 2 files changed, 33 insertions(+) diff --git a/net-firewall/arptables/Manifest b/net-firewall/arptables/Manifest index 1ffc750253c..73450610497 100644 --- a/net-firewall/arptables/Manifest +++ b/net-firewall/arptables/Manifest @@ -1 +1,2 @@ DIST arptables-v0.0.3-4.tar.gz 44335 SHA256 e529fd465c67d69ad335299a043516e6b38cdcd337a5ed21718413e96073f928 SHA512 a566b6df5c4b22c9c15d22c3801763e640f15b76043123c4ca8db1cc753a20a99b8b7b6dae2f0d9277cc6c49bcb269ba481958bcff3f6a516c7c9d8b553d35b5 WHIRLPOOL a045489531c2eec53cc57b18639291d38fa443a9b4e4539e096fa2afbaaa8585bfa387c4759e0a02d407d76ef0ed87f602b4f847edd49d3be9c1113264e69996 +DIST arptables-v0.0.4.tar.gz 45380 SHA256 277985e29ecd93bd759a58242cad0e02ba9d4a6e1b7795235e3b507661bc0049 SHA512 bd84e93ab5e0a038753aa17dae9e1f48364f2d2b1492dce2edac117e21edd5aa912be7b9e21bf4fb3698031d2f765a75fa067fe10ce20a1c8951ae7efcc5dbbd WHIRLPOOL 6209b2837e22fa1a3ef9d8d090210a8dda7b6199ec58cbdd565e646f24eb499ae4e3d36175e3ed215eb47783f33ae4a02a50e0b7df5aec78a82a6b5e2c7b1660 diff --git a/net-firewall/arptables/arptables-0.0.4.ebuild b/net-firewall/arptables/arptables-0.0.4.ebuild new file mode 100644 index 00000000000..23c063983b0 --- /dev/null +++ b/net-firewall/arptables/arptables-0.0.4.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +MY_P="${PN}-v${PV}" + +DESCRIPTION="set up, maintain, and inspect the tables of ARP rules in the Linux kernel" +HOMEPAGE="http://ebtables.sourceforge.net/" +SRC_URI="ftp://ftp.netfilter.org/pub/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +S="${WORKDIR}/${MY_P}" + +src_compile() { + # -O0 does not work and at least -O2 is required, bug #240752 + emake CC="$(tc-getCC)" COPT_FLAGS="-O2 ${CFLAGS//-O0/-O2}" + sed -ie 's:__EXEC_PATH__:/sbin:g' arptables-save arptables-restore \ + || die "sed failed" +} + +src_install() { + into / + dosbin arptables arptables-restore arptables-save + doman arptables.8 +}