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 E2BC4138359 for ; Wed, 8 Jul 2020 14:46:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1907DE079E; Wed, 8 Jul 2020 14:46:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 EB119E079E for ; Wed, 8 Jul 2020 14:46:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 A2AB634F559 for ; Wed, 8 Jul 2020 14:46:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 492C0274 for ; Wed, 8 Jul 2020 14:46:14 +0000 (UTC) From: "Sergey Popov" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergey Popov" Message-ID: <1594219569.31b0ec1ff5de7dddb1c2291e64290c2a82c9b2ab.pinkbyte@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/dhcdrop/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/dhcdrop/dhcdrop-0.5-r1.ebuild X-VCS-Directories: net-misc/dhcdrop/ X-VCS-Committer: pinkbyte X-VCS-Committer-Name: Sergey Popov X-VCS-Revision: 31b0ec1ff5de7dddb1c2291e64290c2a82c9b2ab X-VCS-Branch: master Date: Wed, 8 Jul 2020 14:46:14 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 193e01a4-ceec-4398-9d07-d7a82c3ba350 X-Archives-Hash: ed8baaac258ae063a1eb91d74b9d6fe1 commit: 31b0ec1ff5de7dddb1c2291e64290c2a82c9b2ab Author: Sergey Popov gentoo org> AuthorDate: Wed Jul 8 14:45:28 2020 +0000 Commit: Sergey Popov gentoo org> CommitDate: Wed Jul 8 14:46:09 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31b0ec1f net-misc/dhcdrop: revision bump Bump EAPI to 7 Fix building with clang Closes: https://bugs.gentoo.org/731694 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Sergey Popov gentoo.org> net-misc/dhcdrop/dhcdrop-0.5-r1.ebuild | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/net-misc/dhcdrop/dhcdrop-0.5-r1.ebuild b/net-misc/dhcdrop/dhcdrop-0.5-r1.ebuild new file mode 100644 index 00000000000..5757f718f4d --- /dev/null +++ b/net-misc/dhcdrop/dhcdrop-0.5-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Effectively suppresses illegal DHCP servers on the LAN" +HOMEPAGE="http://www.netpatch.ru/dhcdrop.html" +SRC_URI="http://www.netpatch.ru/projects/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~mips ~x86" + +IUSE="static" + +RDEPEND="!static? ( net-libs/libpcap )" +DEPEND="static? ( net-libs/libpcap[static-libs] ) + ${RDEPEND}" + +DOCS=( AUTHORS ChangeLog INSTALL NEWS README ) + +src_prepare() { + # Fix building with clang, bug #731694 + sed -i \ + -e '/^PACKAGE_/s/"//g' \ + configure || die + + eapply_user +} + +src_configure() { + econf $(use static && echo "--enable-static-build") +}