diff options
author | Thomas Deutschmann <whissi@gentoo.org> | 2021-03-17 21:15:23 +0100 |
---|---|---|
committer | Thomas Deutschmann <whissi@gentoo.org> | 2021-03-17 21:41:53 +0100 |
commit | 77cacb73cd9e57c7a96040d018850e6eeda3d766 (patch) | |
tree | b608650d339c8123c6f90f1e83654311647ccc11 /net-dns/resolv_wrapper | |
parent | sys-kernel/vanilla-sources: Automated version bump to {5.4.106,5.10.24,5.11.7... (diff) | |
download | gentoo-77cacb73cd9e57c7a96040d018850e6eeda3d766.tar.gz gentoo-77cacb73cd9e57c7a96040d018850e6eeda3d766.tar.bz2 gentoo-77cacb73cd9e57c7a96040d018850e6eeda3d766.zip |
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@gentoo.org>
Diffstat (limited to 'net-dns/resolv_wrapper')
-rw-r--r-- | net-dns/resolv_wrapper/Manifest | 1 | ||||
-rw-r--r-- | net-dns/resolv_wrapper/resolv_wrapper-1.1.7.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/net-dns/resolv_wrapper/Manifest b/net-dns/resolv_wrapper/Manifest index 1efec700e444..512449c54d28 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 000000000000..50e162a27887 --- /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 +} |