commit:     77cacb73cd9e57c7a96040d018850e6eeda3d766
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Wed Mar 17 20:15:23 2021 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Wed Mar 17 20:41:53 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77cacb73

net-dns/resolv_wrapper: bump to v1.1.7

Add test support.

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 net-dns/resolv_wrapper/Manifest                    |  1 +
 net-dns/resolv_wrapper/resolv_wrapper-1.1.7.ebuild | 32 ++++++++++++++++++++++
 2 files changed, 33 insertions(+)

diff --git a/net-dns/resolv_wrapper/Manifest b/net-dns/resolv_wrapper/Manifest
index 1efec700e44..512449c54d2 100644
--- a/net-dns/resolv_wrapper/Manifest
+++ b/net-dns/resolv_wrapper/Manifest
@@ -1,2 +1,3 @@
 DIST resolv_wrapper-1.1.5.tar.gz 34241 BLAKE2B 
7025885731a1defa79ae7a0381ca4394c37508883dc5e19aa9e29b0545cddc1c3f2b5091991a3e1599654e1a64442a6a36760f7725e54d1270c1a5b71bd3fadb
 SHA512 
d11beff60cf935c0c12ac97ae375299ab1cd2e270d09438cf81b5c19dd94b7d430484c44ec9611171b67654d5c0f26afc4aa9d069d61293a956ef8fc59efc7a8
 DIST resolv_wrapper-1.1.6.tar.gz 38276 BLAKE2B 
4b1c79a342b74f33063ba480b1706a107c53275430b3f5e1e46204265af3501394f72b6119e98ad3382e48f9a8f2511e679b3f4093446beaa11095bfaed340ce
 SHA512 
cc379124c6104ba1330dfc038f04f9b473b71ac81b18889e481fb7812b38e71040ca6bed7bffd6eeaf77abeb8452a4d3308514ec6380811327dc832aa0381be8
+DIST resolv_wrapper-1.1.7.tar.gz 45148 BLAKE2B 
d1b860187bfa3be6eadd848abc458d5c9e3c4c4048a70b37d7548caf2604bda51f8a3606487fb95d682ab39e06f63f29b85de981ae32527997799fa5d72befab
 SHA512 
531a7734f40d8a7cb3da4618eebbb4530657ad2cdcf3c1cd48f3ae1dcf55fc003205e44745fc3f70704060ae0c6a2516919c61fd10223ff56d90a47a3c59b3c0

diff --git a/net-dns/resolv_wrapper/resolv_wrapper-1.1.7.ebuild 
b/net-dns/resolv_wrapper/resolv_wrapper-1.1.7.ebuild
new file mode 100644
index 00000000000..50e162a2788
--- /dev/null
+++ b/net-dns/resolv_wrapper/resolv_wrapper-1.1.7.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS=cmake
+inherit cmake-multilib
+
+DESCRIPTION="Wrapper for DNS name resolving or DNS faking"
+HOMEPAGE="https://cwrap.org/resolv_wrapper.html";
+SRC_URI="https://ftp.samba.org/pub/cwrap/${P}.tar.gz";
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="test? (
+               dev-util/cmocka
+               net-libs/socket_wrapper
+       )"
+
+# Work around a problem with >=dev-util/cmake-3.3.0 (bug #558340)
+# Because of this we cannot use cmake-multilib_src_configure() here.
+multilib_src_configure() {
+       local mycmakeargs=(
+               -DCMAKE_LIBRARY_PATH=/usr/$(get_libdir)
+               -DUNIT_TESTING=$(usex test)
+       )
+       cmake_src_configure
+}

Reply via email to