From: "Sergey Popov" <pinkbyte@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/dhcdrop/
Date: Wed, 8 Jul 2020 14:46:14 +0000 (UTC) [thread overview]
Message-ID: <1594219569.31b0ec1ff5de7dddb1c2291e64290c2a82c9b2ab.pinkbyte@gentoo> (raw)
commit: 31b0ec1ff5de7dddb1c2291e64290c2a82c9b2ab
Author: Sergey Popov <pinkbyte <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 8 14:45:28 2020 +0000
Commit: Sergey Popov <pinkbyte <AT> gentoo <DOT> 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 <pinkbyte <AT> 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")
+}
next reply other threads:[~2020-07-08 14:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-08 14:46 Sergey Popov [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-08-11 11:36 [gentoo-commits] repo/gentoo:master commit in: net-misc/dhcdrop/ Sergey Popov
2022-08-23 7:06 Sergey Popov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1594219569.31b0ec1ff5de7dddb1c2291e64290c2a82c9b2ab.pinkbyte@gentoo \
--to=pinkbyte@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox