1 |
commit: 88e7a2cd47f330509b884ff00de834d03cb5c7bb |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 28 19:10:29 2023 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 28 23:20:53 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88e7a2cd |
7 |
|
8 |
net-dns/resolv_wrapper: add 1.1.8 |
9 |
|
10 |
Upstream Changelog: "Fix issues with glibc >= 2.34" |
11 |
|
12 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
13 |
|
14 |
net-dns/resolv_wrapper/Manifest | 1 + |
15 |
net-dns/resolv_wrapper/resolv_wrapper-1.1.8.ebuild | 31 ++++++++++++++++++++++ |
16 |
2 files changed, 32 insertions(+) |
17 |
|
18 |
diff --git a/net-dns/resolv_wrapper/Manifest b/net-dns/resolv_wrapper/Manifest |
19 |
index 5d399b55760b..8e6821cb9612 100644 |
20 |
--- a/net-dns/resolv_wrapper/Manifest |
21 |
+++ b/net-dns/resolv_wrapper/Manifest |
22 |
@@ -1 +1,2 @@ |
23 |
DIST resolv_wrapper-1.1.7.tar.gz 45148 BLAKE2B d1b860187bfa3be6eadd848abc458d5c9e3c4c4048a70b37d7548caf2604bda51f8a3606487fb95d682ab39e06f63f29b85de981ae32527997799fa5d72befab SHA512 531a7734f40d8a7cb3da4618eebbb4530657ad2cdcf3c1cd48f3ae1dcf55fc003205e44745fc3f70704060ae0c6a2516919c61fd10223ff56d90a47a3c59b3c0 |
24 |
+DIST resolv_wrapper-1.1.8.tar.gz 38051 BLAKE2B f9f4dee2d83a66d4efe911b9fc55ff1e06ad13fc876652416ce2c0cfa877d1be6b590bd322ad6b642a30a8d352bb3148ee79b5c1999b7ceedd338b711239cc34 SHA512 64cb722b3530b5669de1eba379ca4a577b505ac4be624d63a3988b16df2e3082489f48db099cba256dded9483ae913144b9a5c0c6e01af20da0709bd79c461c4 |
25 |
|
26 |
diff --git a/net-dns/resolv_wrapper/resolv_wrapper-1.1.8.ebuild b/net-dns/resolv_wrapper/resolv_wrapper-1.1.8.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..b47efa459a1b |
29 |
--- /dev/null |
30 |
+++ b/net-dns/resolv_wrapper/resolv_wrapper-1.1.8.ebuild |
31 |
@@ -0,0 +1,31 @@ |
32 |
+# Copyright 1999-2023 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+inherit cmake-multilib |
38 |
+ |
39 |
+DESCRIPTION="Wrapper for DNS name resolving or DNS faking" |
40 |
+HOMEPAGE="https://cwrap.org/resolv_wrapper.html" |
41 |
+SRC_URI="https://ftp.samba.org/pub/cwrap/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="BSD" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" |
46 |
+IUSE="test" |
47 |
+RESTRICT="!test? ( test )" |
48 |
+ |
49 |
+BDEPEND="test? ( |
50 |
+ dev-util/cmocka |
51 |
+ net-libs/socket_wrapper |
52 |
+ )" |
53 |
+ |
54 |
+# Work around a problem with >=dev-util/cmake-3.3.0 (bug #558340) |
55 |
+# Because of this we cannot use cmake-multilib_src_configure() here. |
56 |
+multilib_src_configure() { |
57 |
+ local mycmakeargs=( |
58 |
+ -DCMAKE_LIBRARY_PATH=/usr/$(get_libdir) |
59 |
+ -DUNIT_TESTING=$(usex test) |
60 |
+ ) |
61 |
+ cmake_src_configure |
62 |
+} |