diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-05 04:27:10 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-05 04:27:10 +0100 |
commit | f3f72d0d5f1ae9ee74acaa63ccb7a247468e73bf (patch) | |
tree | e67f56736e141f27487331c26096c4c0a51979a8 /net-dns | |
parent | fa275aeb316ed5e68498ca0057b27a1e9c887e26 (diff) |
gentoo auto-resync : 05:10:2024 - 04:27:09
Diffstat (limited to 'net-dns')
-rw-r--r-- | net-dns/Manifest.gz | bin | 7871 -> 7864 bytes | |||
-rw-r--r-- | net-dns/pdns-recursor/Manifest | 4 | ||||
-rw-r--r-- | net-dns/pdns-recursor/pdns-recursor-5.0.8.ebuild | 132 | ||||
-rw-r--r-- | net-dns/pdns-recursor/pdns-recursor-5.0.9.ebuild | 2 | ||||
-rw-r--r-- | net-dns/rbldnsd/Manifest | 2 | ||||
-rw-r--r-- | net-dns/rbldnsd/files/rbldnsd-0.998b-emalloc-typesig.patch | 34 | ||||
-rw-r--r-- | net-dns/rbldnsd/rbldnsd-0.998b-r4.ebuild | 68 |
7 files changed, 106 insertions, 136 deletions
diff --git a/net-dns/Manifest.gz b/net-dns/Manifest.gz Binary files differindex d65315ce2c20..59b765c44a93 100644 --- a/net-dns/Manifest.gz +++ b/net-dns/Manifest.gz diff --git a/net-dns/pdns-recursor/Manifest b/net-dns/pdns-recursor/Manifest index bca1051fb631..149e98c970df 100644 --- a/net-dns/pdns-recursor/Manifest +++ b/net-dns/pdns-recursor/Manifest @@ -24,7 +24,6 @@ DIST libc-0.2.150.crate 719359 BLAKE2B d08e17fb29992c76337bb5862cbc1cdaf7b9d7749 DIST link-cplusplus-1.0.9.crate 7484 BLAKE2B 4f73807068243aa0dc4b6773c5446fc988154669eb196afca19fe39ffe63627ee705c4ee3cf9cca9628d0bb8fc4cdeb7ef52b41bab810d12721a6ad53d9557ee SHA512 30697093b54ca449135d7a2a963bdd9af61a446472b0f245c87a05bd6eefa62eeebf9cc58cf17aa77ac5f2301b05ae27d13eb50d92ec58fec27303f865261170 DIST once_cell-1.18.0.crate 32969 BLAKE2B a08d5beee50a7add28bd9e50b18709e7b34574f0f55f80909d5efb7ac5917e5f30bdcf3fb43ddd0a4f420a427390c7ffe1cc1c7191a3a1d939bc6e3139e6eef7 SHA512 9328968afdf3535b2d9e0113d75afa725259d76994ef2e1948ad7efa4ec8a65bac7cfdc31b749d5cd55ad4e28d2e28ac57b871e3067b89182453c7e2413a13b8 DIST once_cell-1.19.0.crate 33046 BLAKE2B c14b374eaf4ac0f60acc2e02f7bba270a0e8e0a6978d749cd3cb0ab3eb26907e4fbea70dd5132982f90290381ed18ff8a87fd530f1415fabffac864f157ea380 SHA512 4154876afd34a699ee650d1a8a1c5ee5a25f0ebd9388b8bef2564e33629fae68f113d7507488c68abbe7ea1acf9bbc41813cbbf3ef3e464e3f3b9cc7a51d870c -DIST pdns-recursor-5.0.8.tar.bz2 1675936 BLAKE2B 21bebcf135c310dc8b82223dd1dece8621b79bb34d2dd5f30970c577c300bf75728c45f138c36198ddacde004ac7e57f3a2083441577a355168c81730df6d125 SHA512 90d990cf6e8ce89252d0fc428265b93b70c974c9b86627fdf61534c5a5ecc85c2b3c51eb12d37a9bf6fcddf9e576dbc3c883e9f599687e7b2741a49194957c38 DIST pdns-recursor-5.0.9.tar.bz2 1679197 BLAKE2B 1f69f0aa800b8265a580eb9ac2101e19fc383c5a0d8ead98420d399f97fda748cff4e6d7b090259197be2d822e71f65d3c62ddf7710c56cc1e6ca7b600d972d0 SHA512 4fcb417e63383111bbb784b440c5b9bf9351a4d8dfae404aa468515cd74a4789fb969b8f3bcee1a08792dcb01a2d8129bbb671db1959f523e557bf69a4bc0fca DIST pdns-recursor-5.1.2.tar.bz2 1723288 BLAKE2B 2698d56e55ccf9538ac83b8a652616c90ab6b3fb3081975991ffb6580b31e268ca3b4a126cf5a92fb6f42d282a748b32b899c2711a2705899d6f82a25a9c6465 SHA512 c7d6f188d27c6f11b128945b7615f2f18caf1777b5122f5d4a85ef341b3117b3c26d91af3ecd32fc5cf76ccdb63598e874914f6c7f3e295857cca1a1eb89b61f DIST proc-macro2-1.0.69.crate 44271 BLAKE2B 9d1531a0b123e6238363d574bee03ad050454b65710b9800c12597f3a9ae2f9bf50c617da0472b7ac0b549afaca19c546ccd6519e648598500efda9c0db2ef6d SHA512 d197cbe9b6100c3193a01fd7dd6b4e49d440290012ababb5d9f139409f0afe816f213d67a03abeb1f3227228e0a1f2446d1dc0a2775363a15d1237c38b45d6a1 @@ -64,7 +63,6 @@ DIST windows_i686_msvc-0.52.5.crate 895404 BLAKE2B 02555169f8c5b944231a877de8693 DIST windows_x86_64_gnu-0.52.5.crate 831539 BLAKE2B 54f84c19988addeb7cbbbddb940e430e7345944589419592b99addf9b83bf6d801b18f4e80399b85bbb0b0ccf4608e36d9a50b79d8b1d6ce2b93745856e06eba SHA512 d9bf91765d02d2727344e42081f4bcfa73be97991495126f7e633f27e56a261ada3a8b865a559cfe71f9bc9aed5b14504f89138796766937b3521009726dfab8 DIST windows_x86_64_gnullvm-0.52.5.crate 433246 BLAKE2B f34328a6d100e092ecb34a6305daedf4fecd71840432f104e8707f049b60d784584ce4f02fabdd0281fdb8bc7ebed34b38fdacf3be9c8abd60084e9a4ee9fd56 SHA512 22a978c40df9705cd94e4c52f2b706e477e667b564c608d0adb144b38cb486c279c09d1eb1dd2d6c7bd3401b75a2dc5eafe0f7d642ffe6453f394d1f59483a08 DIST windows_x86_64_msvc-0.52.5.crate 827905 BLAKE2B fd5dac198bfbf29878cb461a7338c289c9af16ea80b3e5fa567980d2a6a5ea6a1cd83729ce6fd67e4da171873083dbeb1d6e16a287620f0245201f9cb29c29b4 SHA512 81176090dc725d7fe3867e6322fdc4a4065168580847b35e6f8da345f685c4f66a81e35cd1880dbaabdd4cdc82446dde9d6a0e583cf0b7fe47dda8bc8002f1c6 -EBUILD pdns-recursor-5.0.8.ebuild 2777 BLAKE2B 017fb252ba64ad28b38a8542606949d9b9bca52d28cf9d06d765fb33cd2845ae501ff28b9e5f34492ca07da5e7deb3277c2f844bb41d87108a84a543a883360f SHA512 f0a094a4a0578e8481f3a0d1d49779fd3e21957567e6752dee9d99fcaed326783ef44546324625fab6cb3d0182ba77ca3b0f7ec8a9ff54806ef29a92ccdeed74 -EBUILD pdns-recursor-5.0.9.ebuild 2779 BLAKE2B dc48f8dddf04df873e10df05409900851583bc024b421b1ef7cb98b11e8284c2600c9867084e9bdfc0fecd05de90b3b7e6a2d5b09789a8540375995a762f3a0f SHA512 53bfa5d94115aa5aa14117fe395f4e8c249225ce83f7dd800dc1bebfc47e25d020b4df977e1710d7eaf04906d77975e9e7e68ab19a552ef5c168a680de750e5a +EBUILD pdns-recursor-5.0.9.ebuild 2777 BLAKE2B 017fb252ba64ad28b38a8542606949d9b9bca52d28cf9d06d765fb33cd2845ae501ff28b9e5f34492ca07da5e7deb3277c2f844bb41d87108a84a543a883360f SHA512 f0a094a4a0578e8481f3a0d1d49779fd3e21957567e6752dee9d99fcaed326783ef44546324625fab6cb3d0182ba77ca3b0f7ec8a9ff54806ef29a92ccdeed74 EBUILD pdns-recursor-5.1.2.ebuild 3084 BLAKE2B 672cf8d397b80736bf86278702b569625cbb123b9c2974ae004c061dffb48e3b1934366b2bce9d6651df20db0fd383f83dcc96ec8cc4d7c294cd536d1bedee49 SHA512 3412b16620d2d44d4de47683d7d2905037a68f52c297c6ecb6e6ecef3c6bd00473d6bb94aeff19a0063c545847303613bb0e18068a31d93fa918eb202d7f4957 MISC metadata.xml 930 BLAKE2B 997ed7f557ddae9d8a5b3f92396cb5acb9cde67de5cc750c4c3b051635557ff22fcdd94400a95cc7e5328ccca9786fe3b780c81d57f785865a18e68701916d00 SHA512 3415ed721ad143cae712ee309ba9f3057273b8e594617fe12382bd316cad7dc6e2ed66d660d9c13fa3db993852c85f21d1ea1c0367e595dd5bbf782add225cd1 diff --git a/net-dns/pdns-recursor/pdns-recursor-5.0.8.ebuild b/net-dns/pdns-recursor/pdns-recursor-5.0.8.ebuild deleted file mode 100644 index e244974c1501..000000000000 --- a/net-dns/pdns-recursor/pdns-recursor-5.0.8.ebuild +++ /dev/null @@ -1,132 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" - -LUA_COMPAT=( lua5-{1..4} luajit ) - -CRATES=" - cc@1.0.84 - codespan-reporting@0.11.1 - cxx-build@1.0.110 - cxx@1.0.110 - cxxbridge-flags@1.0.110 - cxxbridge-macro@1.0.110 - equivalent@1.0.1 - hashbrown@0.14.2 - indexmap@2.1.0 - ipnet@2.9.0 - itoa@1.0.9 - libc@0.2.150 - link-cplusplus@1.0.9 - once_cell@1.18.0 - proc-macro2@1.0.69 - quote@1.0.33 - ryu@1.0.15 - scratch@1.0.7 - serde@1.0.192 - serde_derive@1.0.192 - serde_yaml@0.9.27 - syn@2.0.39 - termcolor@1.4.0 - unicode-ident@1.0.12 - unicode-width@0.1.11 - unsafe-libyaml@0.2.9 - winapi-i686-pc-windows-gnu@0.4.0 - winapi-util@0.1.6 - winapi-x86_64-pc-windows-gnu@0.4.0 - winapi@0.3.9 -" - -inherit cargo flag-o-matic lua-single - -DESCRIPTION="The PowerDNS Recursor" -HOMEPAGE="https://www.powerdns.com/" -SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2 ${CARGO_CRATE_URIS}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm x86" -IUSE="debug dnstap snmp sodium systemd test valgrind" -REQUIRED_USE="${LUA_REQUIRED_USE}" -RESTRICT="!test? ( test )" - -DEPEND="${LUA_DEPS} - dnstap? ( dev-libs/fstrm ) - systemd? ( sys-apps/systemd:0= ) - snmp? ( net-analyzer/net-snmp ) - sodium? ( dev-libs/libsodium:= ) - elibc_glibc? ( - arm? ( >=sys-libs/glibc-2.34 ) - x86? ( >=sys-libs/glibc-2.34 ) - ) - dev-libs/openssl:= - dev-libs/boost:=[context]" -RDEPEND="${DEPEND} - !<net-dns/pdns-2.9.20-r1 - acct-user/pdns - acct-group/pdns" -DEPEND="${DEPEND} - valgrind? ( dev-debug/valgrind )" -BDEPEND="virtual/pkgconfig" - -S="${WORKDIR}"/${P/_/-} - -pkg_setup() { - lua-single_pkg_setup - filter-flags -ftree-vectorize - append-lfs-flags - append-cppflags -D_TIME_BITS=64 -} - -src_configure() { - econf \ - --sysconfdir=/etc/powerdns \ - --with-nod-cache-dir=/var/lib/powerdns \ - --with-service-user=pdns \ - --with-service-group=pdns \ - --with-lua="${ELUA}" \ - $(use_enable debug verbose-logging) \ - $(use_enable systemd) \ - $(use_enable dnstap dnstap) \ - $(use_enable test unit-tests) \ - $(use_enable valgrind) \ - $(use_with sodium libsodium) \ - $(use_with snmp net-snmp) -} - -src_compile() { - default -} - -src_install() { - default - - mv "${D}"/etc/powerdns/recursor.conf{-dist,} - - # set defaults: setuid=nobody, setgid=nobody - sed -i \ - -e 's/^# set\([ug]\)id=$/set\1id=pdns/' \ - -e 's/^# quiet=$/quiet=on/' \ - -e 's/^# chroot=$/chroot=\/var\/lib\/powerdns/' \ - "${D}"/etc/powerdns/recursor.conf - - newinitd "${FILESDIR}"/pdns-recursor-r2 pdns-recursor -} - -src_test() { - default -} - -pkg_postinst() { - local old - - for old in ${REPLACING_VERSIONS}; do - ver_test ${old} -lt 4.0.0-r1 || continue - - ewarn "Starting with 4.0.0-r1 the init script has been renamed from precursor" - ewarn "to pdns-recursor, please update your runlevels accordingly." - - break - done -} diff --git a/net-dns/pdns-recursor/pdns-recursor-5.0.9.ebuild b/net-dns/pdns-recursor/pdns-recursor-5.0.9.ebuild index 35970c3ed18e..e244974c1501 100644 --- a/net-dns/pdns-recursor/pdns-recursor-5.0.9.ebuild +++ b/net-dns/pdns-recursor/pdns-recursor-5.0.9.ebuild @@ -46,7 +46,7 @@ SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2 ${CARGO_CRATE_ LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" +KEYWORDS="amd64 ~arm x86" IUSE="debug dnstap snmp sodium systemd test valgrind" REQUIRED_USE="${LUA_REQUIRED_USE}" RESTRICT="!test? ( test )" diff --git a/net-dns/rbldnsd/Manifest b/net-dns/rbldnsd/Manifest index 617c5cc3c7e6..081bf1cce68e 100644 --- a/net-dns/rbldnsd/Manifest +++ b/net-dns/rbldnsd/Manifest @@ -1,8 +1,10 @@ AUX confd-0.997a 1375 BLAKE2B 61980080ecad7a64ed547f19de7ca827057cca1ed4c4c724c5600faa8e1f5ae2845fef95a39a79ba297155ca7a0c33e1ed38eff86de65e19cc6c38fdd7b89944 SHA512 c26f561a0906704c8eb32d8748428b120489cb02d0c9b5ea814b7b4eb71e2ccdddc153d442ebcc46789e65c8c3aa3a305bbf56e6030f3b9994c6d7d247120669 AUX initd-0.997a 546 BLAKE2B 6f7a5220598bc37e7b3c59db65fd38f17ed68c407a9ff1c486c2052fba166fbcd854bca5dc6cedf59b497998d968077b39e790168dc7e93ee62fa29b4c5864fa SHA512 2d18c5126ee1cf79e45881cf358f9d9299387dc1b2c0ee2433f85f617694ba11fb2c80703c18002995dc3d1f3d9d561b9b473a9c705b5b0c8ff282385b2e3170 AUX rbldnsd-0.998b-cstd.patch 5373 BLAKE2B 8788217ca4823337b7735ec87596fb6dc92eca1857559851757400119a12c6fb56f923a5e2fff1bd1dff42360f49c06dbcd355070a2f421c5abe67f23243857f SHA512 4cd739b7e10813aac34a606e2b9f4ab03f267b60faed89a8acee5bede4a68c4d561d7d788c57b0c076f6d07937c13775a4cea3aca85639999d79c67a5211e9ef +AUX rbldnsd-0.998b-emalloc-typesig.patch 987 BLAKE2B c369be4b36e8c8055e6703f214ad619293e0faa7382fcfe9e219f740f8f95fe10778c76b047535a55bfa2e017dd8f386f50130432a2521f253d5ab7ef074e4e6 SHA512 308f1609743e423af8a2b2e6204b3bb158444e91a1b5f6cd7d755abb1959c6a51c57bd7d96252a196b2919af7a1d925e477129eda4573762e8a6d238cc150506 AUX rbldnsd-0.998b-mallinfo2.patch 1846 BLAKE2B 12ca80fec6d699921bf6bf04d03e5155da431e8b50ecea6cb61d96f6d2e89d4161e65ebc30675d03b3185a1232d93b609212daeb7d859eeba22c7378e1d8456b SHA512 3bb48f1804ddcc6850b5ed158f3d96c36ce2fd20f421c925b9a6ecf43842d64a9e6afb31eb26362a2a60379b07051441fe124f7e13aac1d95a6fb911c64062b9 AUX rbldnsd-0.998b-sys-poll.patch 1416 BLAKE2B cbffd0c2094a46c1b53a0a12ad20c18f44c8aaecb27d23a19b082c86c70b3b234dffa3e0d3495ec7f681fa8b42fe56541f7dc8d60c519a80eff3f742265f932b SHA512 92109d047b70c0391352108d042c414b3d6678a964a8c15c1a892d404f8642076326db68588074ec81639c6af99a38e10ac0cb7c1681a76d827aa0918312c26e DIST rbldnsd-0.998b.tar.gz 154022 BLAKE2B f0bf03bef69853d45c3546c6fd3e58ffb95e76192ecb64f71f6799c6041749b1d117bed2bb21edbf1dec81d1684334b3af7d60b35d49089efb3a5e28752be6db SHA512 9b9c8694824a99b4ad120a22dbe4b05351867434e43ed0d8137990d3ece90ed67349965b6ed0450066d6663c1858545774c733b0d7afff304095de500ba30175 EBUILD rbldnsd-0.998b-r3.ebuild 1669 BLAKE2B 810ae2deaf656e34840d3ca2142635a9e88bae6bfb2bc778a4277bf39b09cf9c7d5030183e8b98d12d38150374d2b15756f5359249935adb90ce3337039e993c SHA512 7c2da29f4edc2342bcfb6091672282448aaba3effdeb22e3dcbb94fe4afd059d0288a21d44b6aab85f03d42197b335f262b19332c3010c47b338279d7aac27e5 +EBUILD rbldnsd-0.998b-r4.ebuild 1723 BLAKE2B e6a436b94be7ca74a43cd3801099e3ed0d99879028bc829f48a5e98ca210e46d55887fe2e55c08839c746e70b2ff11971e4345f634256f14d8edfbc938ad74c1 SHA512 edeb166193c3bdb61df347079da1e4a3697fc5bf7622ca4507cd714ba9e4ea36281a3b7cb37a958e6fc59e57cb23bb1ac9b38ca5505b2a47f692875067daad33 MISC metadata.xml 1418 BLAKE2B 679c1b0228b34031facaa412144d2c31ca58b5f681ae51db198d7a0042c9c27f5688b5f0b5bb6fadf47d9fda5c87c4e924f27e7c8c6c83508af755ecce56cee4 SHA512 543b3c93fb1f56ac37d97a563eebece5593bcda75fc9a6d604d2ff33c16201c57470db99ee8da38ef69a34c0bb477306c3f296366b1b82538abe4e23dfabffa8 diff --git a/net-dns/rbldnsd/files/rbldnsd-0.998b-emalloc-typesig.patch b/net-dns/rbldnsd/files/rbldnsd-0.998b-emalloc-typesig.patch new file mode 100644 index 000000000000..9d66f8514890 --- /dev/null +++ b/net-dns/rbldnsd/files/rbldnsd-0.998b-emalloc-typesig.patch @@ -0,0 +1,34 @@ +From 5ba62bded7e26a0a6f3877491c7f102b3cf67e5e Mon Sep 17 00:00:00 2001 +From: Michael Orlitzky <michael@orlitzky.com> +Date: Fri, 4 Oct 2024 15:02:09 -0400 +Subject: [PATCH] mempool.c: fix type signature of emalloc() + +This file declares emalloc() as, + + void *emalloc(unsigned size); + +whereas the actual implementation of emalloc in rbldnsd_util.c is, + + char *emalloc(size_t size); + +The mismatch can cause problems for link-time optimization; in +particular it causes a warning to be raised -Wlto-type-mismatch. +On Gentoo, for example, we encourage users of LTO to build with +that warning enabled and promoted to an error. +--- + mempool.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/mempool.c b/mempool.c +index 2abbf3a..dd0d733 100644 +--- a/mempool.c ++++ b/mempool.c +@@ -18,7 +18,7 @@ + #define alignto sizeof(void*) + #define alignmask (alignto-1) + +-void *emalloc(unsigned size); ++char *emalloc(size_t size); + + #define MEMPOOL_CHUNKSIZE (65536-sizeof(unsigned)*4) + diff --git a/net-dns/rbldnsd/rbldnsd-0.998b-r4.ebuild b/net-dns/rbldnsd/rbldnsd-0.998b-r4.ebuild new file mode 100644 index 000000000000..8d32672045f6 --- /dev/null +++ b/net-dns/rbldnsd/rbldnsd-0.998b-r4.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="DNS server designed to serve blacklist zones" +HOMEPAGE="https://rbldnsd.io/" +SRC_URI="https://github.com/spamhaus/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~sparc ~x86" +IUSE="ipv6 zlib" + +RDEPEND="zlib? ( sys-libs/zlib )" +DEPEND="${RDEPEND}" +BDEPEND=" + acct-group/rbldns + acct-user/rbldns +" + +# The test suite was dropped from the ebuild because it requires +# python-2.7, and it will crash if you try to run it now. +RESTRICT=test + +# This check properly includes malloc.h; if mallinfo2 +# is "implicitly defined," then it's not there. +QA_CONFIG_IMPL_DECL_SKIP=( + mallinfo2 +) + +PATCHES=( + "${FILESDIR}/rbldnsd-0.998b-cstd.patch" + "${FILESDIR}/rbldnsd-0.998b-sys-poll.patch" + "${FILESDIR}/rbldnsd-0.998b-mallinfo2.patch" + "${FILESDIR}/rbldnsd-0.998b-emalloc-typesig.patch" +) + +src_configure() { + # The ./configure file is handwritten and doesn't support a `make + # install` target, so there are no --prefix options. The econf + # function appends those automatically, so we can't use it. We + # Have to set $CC here, too (and not just in the call to emake), + # because the ./configure script checks for it. + CC="$(tc-getCC)" ./configure \ + $(use_enable ipv6) \ + $(use_enable zlib) \ + || die "./configure failed" +} + +src_compile() { + emake \ + AR="$(tc-getAR)" \ + CC="$(tc-getCC)" \ + RANLIB="$(tc-getRANLIB)" +} + +src_install() { + einstalldocs + dosbin rbldnsd + doman rbldnsd.8 + newinitd "${FILESDIR}"/initd-0.997a rbldnsd + newconfd "${FILESDIR}"/confd-0.997a rbldnsd + diropts -g rbldns -o rbldns -m 0750 + keepdir /var/db/rbldnsd +} |