From 9452a6e87b6c2c70513bc47a2470bf9f1168920e Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 13 Jun 2020 10:39:22 +0100 Subject: gentoo resync : 13.06.2020 --- net-dns/Manifest.gz | Bin 8529 -> 8524 bytes net-dns/bind-tools/Manifest | 2 +- net-dns/bind-tools/bind-tools-9.14.12.ebuild | 2 +- net-dns/bind/Manifest | 2 +- net-dns/bind/bind-9.14.12.ebuild | 2 +- net-dns/dnscrypt-proxy/Manifest | 10 +- .../dnscrypt-proxy/dnscrypt-proxy-2.0.41.ebuild | 5 + .../dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild | 5 + .../dnscrypt-proxy/dnscrypt-proxy-2.0.43.ebuild | 105 ++++++++++++ .../dnscrypt-proxy/dnscrypt-proxy-2.0.44.ebuild | 105 ++++++++++++ net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild | 5 + net-dns/knot/Manifest | 6 +- net-dns/knot/knot-2.9.2.ebuild | 102 ------------ net-dns/knot/knot-2.9.3.ebuild | 102 ------------ net-dns/knot/knot-2.9.5.ebuild | 102 ++++++++++++ net-dns/opendnssec/Manifest | 10 +- net-dns/opendnssec/opendnssec-1.3.18-r1.ebuild | 6 +- net-dns/opendnssec/opendnssec-1.4.12-r1.ebuild | 6 +- net-dns/opendnssec/opendnssec-1.4.8.2.ebuild | 6 +- net-dns/opendnssec/opendnssec-2.0.1-r1.ebuild | 6 +- net-dns/opendnssec/opendnssec-2.0.3-r1.ebuild | 6 +- net-dns/openresolv/Manifest | 4 +- net-dns/openresolv/metadata.xml | 12 +- net-dns/openresolv/openresolv-3.10.0.ebuild | 42 +++++ net-dns/pdns-recursor/Manifest | 14 +- .../files/pdns-recursor-4.3.1-gcc-10.patch | 61 +++++++ net-dns/pdns-recursor/files/pdns-recursor-r1 | 37 ----- net-dns/pdns-recursor/pdns-recursor-4.1.14.ebuild | 79 --------- net-dns/pdns-recursor/pdns-recursor-4.1.15.ebuild | 79 --------- net-dns/pdns-recursor/pdns-recursor-4.2.0.ebuild | 78 --------- net-dns/pdns-recursor/pdns-recursor-4.2.1.ebuild | 78 --------- .../pdns-recursor/pdns-recursor-4.3.0-r1.ebuild | 78 --------- net-dns/pdns-recursor/pdns-recursor-4.3.1.ebuild | 1 + net-dns/pdns/Manifest | 2 +- net-dns/pdns/pdns-4.3.0.ebuild | 2 +- net-dns/unbound/Manifest | 2 + net-dns/unbound/files/unbound-1.10.1-find-ar.patch | 11 ++ net-dns/unbound/unbound-1.10.1-r1.ebuild | 184 +++++++++++++++++++++ 38 files changed, 676 insertions(+), 683 deletions(-) create mode 100644 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.43.ebuild create mode 100644 net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.44.ebuild delete mode 100644 net-dns/knot/knot-2.9.2.ebuild delete mode 100644 net-dns/knot/knot-2.9.3.ebuild create mode 100644 net-dns/knot/knot-2.9.5.ebuild create mode 100644 net-dns/openresolv/openresolv-3.10.0.ebuild create mode 100644 net-dns/pdns-recursor/files/pdns-recursor-4.3.1-gcc-10.patch delete mode 100644 net-dns/pdns-recursor/files/pdns-recursor-r1 delete mode 100644 net-dns/pdns-recursor/pdns-recursor-4.1.14.ebuild delete mode 100644 net-dns/pdns-recursor/pdns-recursor-4.1.15.ebuild delete mode 100644 net-dns/pdns-recursor/pdns-recursor-4.2.0.ebuild delete mode 100644 net-dns/pdns-recursor/pdns-recursor-4.2.1.ebuild delete mode 100644 net-dns/pdns-recursor/pdns-recursor-4.3.0-r1.ebuild create mode 100644 net-dns/unbound/files/unbound-1.10.1-find-ar.patch create mode 100644 net-dns/unbound/unbound-1.10.1-r1.ebuild (limited to 'net-dns') diff --git a/net-dns/Manifest.gz b/net-dns/Manifest.gz index 0d87b0896893..7e85887d84b6 100644 Binary files a/net-dns/Manifest.gz and b/net-dns/Manifest.gz differ diff --git a/net-dns/bind-tools/Manifest b/net-dns/bind-tools/Manifest index 9f6070035d4c..0848afe1f375 100644 --- a/net-dns/bind-tools/Manifest +++ b/net-dns/bind-tools/Manifest @@ -5,7 +5,7 @@ DIST bind-9.14.9.tar.gz 6296339 BLAKE2B 65496ab94a83ddd1c519df4519373aa77858c6d6 DIST bind-9.16.1.tar.xz 4541768 BLAKE2B 4a2697c5317b2e186e57ef6613bdaedddb0f371c5a3d6a18b93c8e20de553eaa4d81d567e49b5ea395506e1d8aee729dcfa10896ed6dc8fee268d9ed5c7670d8 SHA512 9a1e8987f312b09a16c2ee0fd1d1eb8e4951b8dbcf3c0d51a1a1fb179a261028239ab2bebc3e559592cc766de57a26ba37b27621a0c5e1711d36c2416f0a0c26 DIST bind-9.16.3.tar.xz 4573044 BLAKE2B 0630c1225984dbe301ca3e4d768d402e3293eee0ae186257d05e9f9999cdfc9538baf015155471f8abe2e725fe8bdb08c0f45bb8619a4a35b781606ee09e708c SHA512 aded208ab8b10cac275512eb4cb19f4eabd654ef3c14ab0c635f7d09194df4f6dfa84d0b5d69ce93854ceb26a93e21d7122b01ce4f3996da807249ca41d877df EBUILD bind-tools-9.14.11.ebuild 3131 BLAKE2B 112a3438c465ee190a48162de12262c72be3d7e632d3a9f7072956571365216cb72dff0d8828bb0fed64533c37325786070203b72e2ab8b2cf35ff17f81574ca SHA512 e8eb7b1b8ee08d6aeabc62df4f86315068c161693aba50a7a5363f869ab09866914bf13739e9574e8106bdd09b2d580aba832f1099903bf1dffc0cfcdced8b22 -EBUILD bind-tools-9.14.12.ebuild 3131 BLAKE2B 112a3438c465ee190a48162de12262c72be3d7e632d3a9f7072956571365216cb72dff0d8828bb0fed64533c37325786070203b72e2ab8b2cf35ff17f81574ca SHA512 e8eb7b1b8ee08d6aeabc62df4f86315068c161693aba50a7a5363f869ab09866914bf13739e9574e8106bdd09b2d580aba832f1099903bf1dffc0cfcdced8b22 +EBUILD bind-tools-9.14.12.ebuild 3127 BLAKE2B 5ab77ad3a5136ea2a8c85925668c3a6003f22aa8041c0ccd67d0e1d0136842920664bda50f5288e2c23b92ba3147a7102899d95148e19b2ec1f19f7ef37e266f SHA512 e242937b73c752db8eed6d6d04001f0a13f4270e42407213c9f4e511d1d9732997a06bc61fa14494e5d8e4c6726cbdeb3d4655408a9cb5f06f24deaf1bda3b9d EBUILD bind-tools-9.14.8.ebuild 3123 BLAKE2B b835f6a2f94f61506b32c27d20d3971141f2f4edbd0a57aa77900375cfbbce52337aeda9fbc042daabc884117bf946b5ea8b7c2b656ef016d52faaab119eff58 SHA512 fa4804481455dd2852284ac0c9f0c50f3348b8a786ac4b45b441265c023d72c61f6a9ad6b2a5627376a4e8eaeed8c8c5d521098f6186c73a2b955aba50010d05 EBUILD bind-tools-9.14.9.ebuild 3131 BLAKE2B 112a3438c465ee190a48162de12262c72be3d7e632d3a9f7072956571365216cb72dff0d8828bb0fed64533c37325786070203b72e2ab8b2cf35ff17f81574ca SHA512 e8eb7b1b8ee08d6aeabc62df4f86315068c161693aba50a7a5363f869ab09866914bf13739e9574e8106bdd09b2d580aba832f1099903bf1dffc0cfcdced8b22 EBUILD bind-tools-9.16.1.ebuild 3149 BLAKE2B 447f8836c020b27c6a11715572ba0cd1038207e2bf2cd01e34bf00a2dd9403f8108892bc1bd899376979c64d8803af280acc5ac6e35f6f4b8033f32c118ba903 SHA512 ffdce682e5cf47da43ad16e705c2282397b1d9ab0bca22d810d818b129532c68d8b8baf4de1db1bc3dc6b2fcbf987ed49938bc93eb7d88775602b2921703d85d diff --git a/net-dns/bind-tools/bind-tools-9.14.12.ebuild b/net-dns/bind-tools/bind-tools-9.14.12.ebuild index b4e1f595e910..7a8291d3f9d9 100644 --- a/net-dns/bind-tools/bind-tools-9.14.12.ebuild +++ b/net-dns/bind-tools/bind-tools-9.14.12.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://downloads.isc.org/isc/bind9/${PV}/${MY_P}.tar.gz" LICENSE="Apache-2.0 BSD BSD-2 GPL-2 HPND ISC MPL-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 arm arm64 hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="+caps doc gssapi idn ipv6 libedit libressl readline xml" # no PKCS11 currently as it requires OpenSSL to be patched, also see bug 409687 diff --git a/net-dns/bind/Manifest b/net-dns/bind/Manifest index a1105e058a2a..b767b383741b 100644 --- a/net-dns/bind/Manifest +++ b/net-dns/bind/Manifest @@ -16,7 +16,7 @@ DIST bind-9.16.1.tar.xz 4541768 BLAKE2B 4a2697c5317b2e186e57ef6613bdaedddb0f371c DIST bind-9.16.3.tar.xz 4573044 BLAKE2B 0630c1225984dbe301ca3e4d768d402e3293eee0ae186257d05e9f9999cdfc9538baf015155471f8abe2e725fe8bdb08c0f45bb8619a4a35b781606ee09e708c SHA512 aded208ab8b10cac275512eb4cb19f4eabd654ef3c14ab0c635f7d09194df4f6dfa84d0b5d69ce93854ceb26a93e21d7122b01ce4f3996da807249ca41d877df DIST dyndns-samples.tbz2 22866 BLAKE2B 409890653c6536cb9c0e3ba809d2bfde0e0ae73a2a101b4f229b46c01568466bc022bbbc37712171adbd08c572733e93630feab95a0fcd1ac50a7d37da1d1108 SHA512 83b0bf99f8e9ff709e8e9336d8c5231b98a4b5f0c60c10792f34931e32cc638d261967dfa5a83151ec3740977d94ddd6e21e9ce91267b3e279b88affdbc18cac EBUILD bind-9.14.11.ebuild 11360 BLAKE2B de639a334f5f44e73d24fb3fc7cbfe08d9990e64f4efcd03ad6da2ade7adb9480c1538f572cdcd080533d57eb85d33c375cc262004946f1b4ff7959b516ccdb3 SHA512 ba89c0de1b98c6e2334caaecf5c7eb99e7fc8e1b96568ad75274d0015b574d58390b451b06f77cfe4eb657b6a7b7b78cedc3da7283257c6785fc231753d4f50b -EBUILD bind-9.14.12.ebuild 11356 BLAKE2B 4fcb1bd8548e6745f4ae1ec33f8252ffd006ee5a1673ee1edc36aef4f37ff74831051e3f135c4d5dbe8c7f1a6ba58bc7420525700302ae3f45f23ca13110ff64 SHA512 78559c54841a5735e74715a1283b46de349d079be7685133d6802daf297916a873705d607826a1149d4f0e39c833978d64a8b4aa8359e40441b618d1a9c2a4a8 +EBUILD bind-9.14.12.ebuild 11353 BLAKE2B 4e903fb198bc5b8d3acb82e02c682cc6875ac71641597612ced97fd93c21eae640f3c5df273faceeb9289b11d10e4755c6b2a3335335681e49f93d2b66c676aa SHA512 bbc546aab84cb92aab7d44623874edd54957faee195d1a6af4eeed020b7e79c2cb5e37b8f32f664952770b5132f4f22337d826bae8d08c332c2f9d3bc3d254c7 EBUILD bind-9.14.8.ebuild 11353 BLAKE2B ad192b5823ca915511b4a12325b3585ad6cd518f4d969b22fd91222628215b112f504d3df5c5ce9b0d3e7c6136b9153f8e7c6d4f5398a6c80660c373d6e61aa0 SHA512 df8f92513d2d53a3977ee2b270273a79ecff104ed21ec70309a5141d81611c2ab15e0504a4f23bd3ea122caa0a92d53257373b6f265873b2dee8783f61ee2df1 EBUILD bind-9.14.9.ebuild 11360 BLAKE2B de639a334f5f44e73d24fb3fc7cbfe08d9990e64f4efcd03ad6da2ade7adb9480c1538f572cdcd080533d57eb85d33c375cc262004946f1b4ff7959b516ccdb3 SHA512 ba89c0de1b98c6e2334caaecf5c7eb99e7fc8e1b96568ad75274d0015b574d58390b451b06f77cfe4eb657b6a7b7b78cedc3da7283257c6785fc231753d4f50b EBUILD bind-9.16.1.ebuild 11358 BLAKE2B a6cd6c275843327119193e86a708b4debac55d42984fa320364b6c0b9e2934b881c0a05b5fe2b70e84a9b41922688a2c61af185754817718c11dde2269de67ca SHA512 801bab9fbbd0693459085f3135219ea6f1bc74af5cff6fc2790281e94818658b6d10c53d45a15382979e592dd1487126c40d48b635a32af7dcae51bdbba01dcb diff --git a/net-dns/bind/bind-9.14.12.ebuild b/net-dns/bind/bind-9.14.12.ebuild index 49e92059321e..963cbddd176f 100644 --- a/net-dns/bind/bind-9.14.12.ebuild +++ b/net-dns/bind/bind-9.14.12.ebuild @@ -36,7 +36,7 @@ SRC_URI="https://downloads.isc.org/isc/bind9/${PV}/${P}.tar.gz LICENSE="Apache-2.0 BSD BSD-2 GPL-2 HPND ISC MPL-2.0" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" # -berkdb by default re bug 602682 IUSE="-berkdb +caps dlz dnstap doc dnsrps fixed-rrset geoip geoip2 gssapi json ldap libressl lmdb mysql odbc postgres python selinux static-libs diff --git a/net-dns/dnscrypt-proxy/Manifest b/net-dns/dnscrypt-proxy/Manifest index 93ba72f4dc82..620955289280 100644 --- a/net-dns/dnscrypt-proxy/Manifest +++ b/net-dns/dnscrypt-proxy/Manifest @@ -6,7 +6,11 @@ AUX dnscrypt-proxy.service 1198 BLAKE2B a457e57e2b91e6725fa3a515a2754fc7f39fc334 AUX dnscrypt-proxy.socket 517 BLAKE2B 959f3c38af826607a297b04c7c3284bb97588c8a8ea88e4502bb464eb791a88f7940f2131701ef071187910302b7c564aee928f1862eb15640c448179a54f066 SHA512 1f3776e37a9583771997f270983bc9430adf089631a94e52cd5f9dba07228584ecc149f37cf51f08b2c7f877d3e9aa430f98cf8d996d0f4cf3545c2c9ac0537d DIST dnscrypt-proxy-2.0.41.tar.gz 2323421 BLAKE2B 572a0ad15df6c40d1738b296972584f5d8fe382ca3c0a05b4fc74e986e767a058227dda2127c843127bc0b90e8b7bbe17a5eaee42175f0b77e21160ac63f7a88 SHA512 26be163daa03633f2d76f1121fb1987e0155613bd84cbb2aad2ba0eedbd35ec0b393d1c1a0aaba47968b3a08bd0273ad929a164695ce35d2ebe05ce3b5f5dfd1 DIST dnscrypt-proxy-2.0.42.tar.gz 2324442 BLAKE2B 8444eca1fc2bfc6029c1848bbeb77697b9b9c228c1bd0d17ed357b73667524c7052b33410a92847743533c3712f749fd93dbac46a81da48dae367e2a515cad8c SHA512 093b07ee8eb44c1264e6ea4b60ad32e0221b1b02c1d61f142b1fbf37dc5181533cc3c5d6e7468d0f7488611de4620947684269da9f08f21da0aa501ba70be711 -EBUILD dnscrypt-proxy-2.0.41.ebuild 2716 BLAKE2B d3339c8c26e08c9da0cfbda56d8c5b38dd0aab07f5a532a789619fd1efbefcdfa5a358d6a33e72f223f30c593fb497a1d443f20016cd465da3ad098c81050732 SHA512 34377d011df80e4c7f25c12a7883974d85f0208f1ecd9ad6de4015cae1df8f0dc2d7adf1c1106cdd9ee44644835b7a91cbbe1bf979d70f5ebdc41ab5f97b1204 -EBUILD dnscrypt-proxy-2.0.42.ebuild 2720 BLAKE2B 90ec901731f488b7254176d8ef8e1de893a308bdd5f6cc7e86444372eb0b2a91e1d5c189890f1547e0676e2a3e0cbf974e67573d6f70c1e26ad1c5205eda01bb SHA512 68341d67b2c7d6fa9a3e514b812be3126488441ff60eeefa391183b12b8e1c636f344d13032f39cc74d5d75c108f43caf6cdc578dd55971dc49f3afaf04a98e4 -EBUILD dnscrypt-proxy-9999.ebuild 2716 BLAKE2B d3339c8c26e08c9da0cfbda56d8c5b38dd0aab07f5a532a789619fd1efbefcdfa5a358d6a33e72f223f30c593fb497a1d443f20016cd465da3ad098c81050732 SHA512 34377d011df80e4c7f25c12a7883974d85f0208f1ecd9ad6de4015cae1df8f0dc2d7adf1c1106cdd9ee44644835b7a91cbbe1bf979d70f5ebdc41ab5f97b1204 +DIST dnscrypt-proxy-2.0.43.tar.gz 2279744 BLAKE2B f06892bc14da2be2e97dfb5d233420cf3726e359ccd0658d4309981291a12a7cac7a7592d11717a9466144bd5cb9d9a4e1b6ba8877a8b5c539783749588a10a1 SHA512 a1d14756d6be6450683a44adae197aa582df2556dda588debdadd0903b5993a4dc579880479f138ec3690045aeab833a19f23b2555a403930d26d4a5bc90ed5f +DIST dnscrypt-proxy-2.0.44.tar.gz 2279842 BLAKE2B 90f156914dd29ab5baa2eb02ed2992583999a6688d09a532f8c7c1ec6d285bd39893f66726da928f295056fd66cd756f4332f1ed21284ffa3d357ce355a08625 SHA512 009e2b669c1d6f6cd6b41f5e04d08735587f420dacdea8d422a3c12a62614c1ce1963deebca3af1f956070abd9ff5df9182cb27e31fa0fac8a95478739445801 +EBUILD dnscrypt-proxy-2.0.41.ebuild 2838 BLAKE2B e163d4d89bd9d66036ea6f454439a55f6b9bbf1fd859b0410c508880c063243a1b2e24f129ab94b06c79a0395d6bfa5705bd0e59169e66c15b6177f36652c3a4 SHA512 8e12277cf798a6aba9dd55ac8f35a9218a13b2ca4b06cf91e3255e6b09ef5be14209559f64574fb4454af455d152227ec7ce981bf4c3cad8fe1d045c99105af5 +EBUILD dnscrypt-proxy-2.0.42.ebuild 2842 BLAKE2B df98833edc111d3b2ee8304eddbf5ca002ee4f787ad09985f0b8e1f5edb5d2b27ef2f457aaa481198a8c42267e700892a7a910552a4ee7b333726a217768d755 SHA512 db0f3e0abb5cfbc76493c57ec29d6833c360f1a9a929ababc9a95e25c48ccd2a7ded9874177e14d1f078729d58ee23136122034644e6cbebc1485ff5df93b4f9 +EBUILD dnscrypt-proxy-2.0.43.ebuild 2845 BLAKE2B 0ccc6dff79fa94a1d4551a6f96247d19bc2a416297ccd6bdf40d0f6ef82e96d6878f52a78af405f1c936a1d9b6ff77c0f329ca815080a5ddbc35da80f01c8503 SHA512 be46f29a4efdf62a62b6293f1aa2b420ce52c6adeb9dbad219257f2cbfb146a35fa185acd6f4b9af90405565d5bfb2b39f970d12d6921795431bc477174e6df0 +EBUILD dnscrypt-proxy-2.0.44.ebuild 2845 BLAKE2B 0ccc6dff79fa94a1d4551a6f96247d19bc2a416297ccd6bdf40d0f6ef82e96d6878f52a78af405f1c936a1d9b6ff77c0f329ca815080a5ddbc35da80f01c8503 SHA512 be46f29a4efdf62a62b6293f1aa2b420ce52c6adeb9dbad219257f2cbfb146a35fa185acd6f4b9af90405565d5bfb2b39f970d12d6921795431bc477174e6df0 +EBUILD dnscrypt-proxy-9999.ebuild 2838 BLAKE2B e163d4d89bd9d66036ea6f454439a55f6b9bbf1fd859b0410c508880c063243a1b2e24f129ab94b06c79a0395d6bfa5705bd0e59169e66c15b6177f36652c3a4 SHA512 8e12277cf798a6aba9dd55ac8f35a9218a13b2ca4b06cf91e3255e6b09ef5be14209559f64574fb4454af455d152227ec7ce981bf4c3cad8fe1d045c99105af5 MISC metadata.xml 847 BLAKE2B a75805eb34aff94fa0e786397fce79a516f230ecd0e6dd62f10b7f917ee55bbc771c120e11495df5c6e11847f84b33e999628ca6da1ad57fbfa43a18f629897b SHA512 acd053787fb7a0e2c89c7f70fc7e24eccc945b9eb3083276b3683685674d995650f252d00400ee064e6d548855aa389b66d2d652dc5e0c787cb8a1248490c358 diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.41.ebuild b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.41.ebuild index 7bc0187ab8ce..4f7ddaa4a1b8 100644 --- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.41.ebuild +++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.41.ebuild @@ -39,6 +39,11 @@ src_compile() { popd >/dev/null || die } +src_test() { + cd "${PN}" || die + go test -mod=vendor -buildmode="$(usex pie pie default)" || die "Failed to run tests" +} + src_install() { pushd "${PN}" >/dev/null || die diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild index 2a13bf212258..a0456c6a5fc3 100644 --- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild +++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.42.ebuild @@ -39,6 +39,11 @@ src_compile() { popd >/dev/null || die } +src_test() { + cd "${PN}" || die + go test -mod=vendor -buildmode="$(usex pie pie default)" || die "Failed to run tests" +} + src_install() { pushd "${PN}" >/dev/null || die diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.43.ebuild b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.43.ebuild new file mode 100644 index 000000000000..bfc4fef8eb03 --- /dev/null +++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.43.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +EGO_PN="github.com/DNSCrypt/${PN}" + +inherit fcaps go-module systemd + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://${EGO_PN}.git" +else + SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +fi + +DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols" +HOMEPAGE="https://github.com/DNSCrypt/dnscrypt-proxy" + +LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0" +SLOT="0" +IUSE="pie" + +BDEPEND=">=dev-lang/go-1.13" + +RDEPEND=" + acct-group/dnscrypt-proxy + acct-user/dnscrypt-proxy +" + +FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy ) + +PATCHES=( "${FILESDIR}"/config-full-paths-r11.patch ) + +src_compile() { + pushd "${PN}" >/dev/null || die + go build -v -x -mod=readonly -mod=vendor -buildmode="$(usex pie pie default)" || die + popd >/dev/null || die +} + +src_test() { + cd "${PN}" || die + go test -mod=vendor -buildmode="$(usex pie pie default)" || die "Failed to run tests" +} + +src_install() { + pushd "${PN}" >/dev/null || die + + dobin dnscrypt-proxy + + insinto /etc/dnscrypt-proxy + newins example-dnscrypt-proxy.toml dnscrypt-proxy.toml + doins example-{blacklist.txt,whitelist.txt} + doins example-{cloaking-rules.txt,forwarding-rules.txt} + + popd >/dev/null || die + + insinto /usr/share/dnscrypt-proxy + doins -r "utils/generate-domains-blacklists/." + + newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy + newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy + + systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service dnscrypt-proxy.service + systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket dnscrypt-proxy.socket + + insinto /etc/logrotate.d + newins "${FILESDIR}"/dnscrypt-proxy.logrotate dnscrypt-proxy + + einstalldocs +} + +pkg_postinst() { + fcaps_pkg_postinst + go-module_pkg_postinst + + if ! use filecaps; then + ewarn "'filecaps' USE flag is disabled" + ewarn "${PN} will fail to listen on port 53" + ewarn "please do one the following:" + ewarn "1) re-enable 'filecaps'" + ewarn "2) change port to > 1024" + ewarn "3) configure to run ${PN} as root (not recommended)" + ewarn + fi + + if systemd_is_booted || has_version sys-apps/systemd; then + elog "Using systemd socket activation may cause issues with speed" + elog "latency and reliability of ${PN} and is discouraged by upstream" + elog "Existing installations advised to disable 'dnscrypt-proxy.socket'" + elog "It is disabled by default for new installations" + elog "check "$(systemd_get_systemunitdir)/${PN}.service" for details" + elog + + fi + + elog "After starting the service you will need to update your" + elog "/etc/resolv.conf and replace your current set of resolvers" + elog "with:" + elog + elog "nameserver 127.0.0.1" + elog + elog "Also see https://github.com/DNSCrypt/${PN}/wiki" +} diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.44.ebuild b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.44.ebuild new file mode 100644 index 000000000000..bfc4fef8eb03 --- /dev/null +++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-2.0.44.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +EGO_PN="github.com/DNSCrypt/${PN}" + +inherit fcaps go-module systemd + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://${EGO_PN}.git" +else + SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +fi + +DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols" +HOMEPAGE="https://github.com/DNSCrypt/dnscrypt-proxy" + +LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0" +SLOT="0" +IUSE="pie" + +BDEPEND=">=dev-lang/go-1.13" + +RDEPEND=" + acct-group/dnscrypt-proxy + acct-user/dnscrypt-proxy +" + +FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy ) + +PATCHES=( "${FILESDIR}"/config-full-paths-r11.patch ) + +src_compile() { + pushd "${PN}" >/dev/null || die + go build -v -x -mod=readonly -mod=vendor -buildmode="$(usex pie pie default)" || die + popd >/dev/null || die +} + +src_test() { + cd "${PN}" || die + go test -mod=vendor -buildmode="$(usex pie pie default)" || die "Failed to run tests" +} + +src_install() { + pushd "${PN}" >/dev/null || die + + dobin dnscrypt-proxy + + insinto /etc/dnscrypt-proxy + newins example-dnscrypt-proxy.toml dnscrypt-proxy.toml + doins example-{blacklist.txt,whitelist.txt} + doins example-{cloaking-rules.txt,forwarding-rules.txt} + + popd >/dev/null || die + + insinto /usr/share/dnscrypt-proxy + doins -r "utils/generate-domains-blacklists/." + + newinitd "${FILESDIR}"/dnscrypt-proxy.initd dnscrypt-proxy + newconfd "${FILESDIR}"/dnscrypt-proxy.confd dnscrypt-proxy + + systemd_newunit "${FILESDIR}"/dnscrypt-proxy.service dnscrypt-proxy.service + systemd_newunit "${FILESDIR}"/dnscrypt-proxy.socket dnscrypt-proxy.socket + + insinto /etc/logrotate.d + newins "${FILESDIR}"/dnscrypt-proxy.logrotate dnscrypt-proxy + + einstalldocs +} + +pkg_postinst() { + fcaps_pkg_postinst + go-module_pkg_postinst + + if ! use filecaps; then + ewarn "'filecaps' USE flag is disabled" + ewarn "${PN} will fail to listen on port 53" + ewarn "please do one the following:" + ewarn "1) re-enable 'filecaps'" + ewarn "2) change port to > 1024" + ewarn "3) configure to run ${PN} as root (not recommended)" + ewarn + fi + + if systemd_is_booted || has_version sys-apps/systemd; then + elog "Using systemd socket activation may cause issues with speed" + elog "latency and reliability of ${PN} and is discouraged by upstream" + elog "Existing installations advised to disable 'dnscrypt-proxy.socket'" + elog "It is disabled by default for new installations" + elog "check "$(systemd_get_systemunitdir)/${PN}.service" for details" + elog + + fi + + elog "After starting the service you will need to update your" + elog "/etc/resolv.conf and replace your current set of resolvers" + elog "with:" + elog + elog "nameserver 127.0.0.1" + elog + elog "Also see https://github.com/DNSCrypt/${PN}/wiki" +} diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild b/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild index 7bc0187ab8ce..4f7ddaa4a1b8 100644 --- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild +++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild @@ -39,6 +39,11 @@ src_compile() { popd >/dev/null || die } +src_test() { + cd "${PN}" || die + go test -mod=vendor -buildmode="$(usex pie pie default)" || die "Failed to run tests" +} + src_install() { pushd "${PN}" >/dev/null || die diff --git a/net-dns/knot/Manifest b/net-dns/knot/Manifest index 34703f24ba14..e07826308cad 100644 --- a/net-dns/knot/Manifest +++ b/net-dns/knot/Manifest @@ -2,9 +2,7 @@ AUX knot-1.service 337 BLAKE2B a6645b2ab92612f3c6640f4e9601cefe087a519d8a40b222e AUX knot.init 861 BLAKE2B 30ffe287f4f83058407ceab00b2113dade3b60b38d76c86f156cc31c33cc4f2ec8cf7f22172823755b71385ca18cc1044605b5479c9de05284f911d500b5dc40 SHA512 e5faa96cbee618e9042bdfd0628f06c4bc4d23c7295521771e16f6eae715835a240799e8425317b03b1ea162966defb5d6b6592139cb1d9d61b47a24961ec9b9 AUX knot.service 275 BLAKE2B c39b50630a84cb20d33a02ad82c0fc0c994b098766af0cd3e11b4ac6e2f6e6ebc38d6e5b99c358d5e771022fd6ad14fb7e04e95fd77ba677d10950e1fc52e9a9 SHA512 37c4700320a2781aa93ca92bc2634c3e080c87337b7d632d0e2fa23f6e2e8fa1985d1d8e2516fed02b612da4d340472d5f8d0ae37c5b323ac17bbd61ca243a86 DIST knot-2.8.5.tar.xz 1209076 BLAKE2B 7454499745caa04a9454f023bed0ce6d8ccc54fc2c264aada72a842c39b056a91caee908eb1b036fe77b97d8cea4f03b9afcd084a69846a2632e717f7c3591fd SHA512 f45e62816ddc1f534e724d2fa71831100efc01b415ec2ea8301d02cf44d8f104a248deccdb706ebad6853404aee2a209c2bf51b07076aa69340af6812e5a79de -DIST knot-2.9.2.tar.xz 1181860 BLAKE2B 4c4a54624cc0c107517596efb3d4a4dc205dac488e293b594e93f8e73b1face3c0ac4ca94d5def68576f7b801540468a355e5b4bd06d7992edc3bce122952fd3 SHA512 7e09cd6e587342b0a213f7a108704fff7535d02dd47d662e60b96ae5d75d9745d659131622253f964deb1607f28d172d1d46dc3b5f61e2f6c70e5002e746da68 -DIST knot-2.9.3.tar.xz 1214512 BLAKE2B a4545ba32827a1866046fd42a5819963607d5d7d1fd1e73b17b08dca9c3aeb3b8ecbad67ef3293f4a417ac2b25c7540e299cf914d90d6a659bcc58f809f178c7 SHA512 69186b0d83ab548e46a7eed2703b1c3e29de36123c39a7ca461a8728488433bcc27dd5564ff3cb55d8490d4515098cebdd72aa732742fb0b9fceaca27f456e08 +DIST knot-2.9.5.tar.xz 1190872 BLAKE2B 4c60972676efb2e6cef5431ab688ffff9eeda4fe5f9a02bba10fbfced50c1edc9e15b9cea9e018428f3d075ab241128748fa1f777e6fc9de0dbdca1033c8d92a SHA512 6bfd6a720eb512983f934c3bf853ac310391805a102546ed18b3e805d10339837569e970e0e51f64e9d938bc362c8f9d01acb15ca4dca0a66dea9deb6b59cc73 EBUILD knot-2.8.5.ebuild 1887 BLAKE2B 7eb58953ff6217a867692a88112fadfbccab09822786c9bcc5a3b049f9ad300d7406edca1122c326a2127811dc8af7c74de0625174ff1968645e91cf54c9ecc4 SHA512 c9e51d696c0e0d50b5b40ac76cd950eb7ca21a7a679f1655440d7a77af46aeec59697d12a84b8becf0f0de1a1a4e425bc4af4e51331a83e9fd724aab92b467bb -EBUILD knot-2.9.2.ebuild 1892 BLAKE2B bda8c5a9320f1cc5de5149a1435501595b50f7d39734a81106c7712c6bfb479afe3807d01849aab4cb0515859caa27a92baf24fe7ffea5cd7aba726ff85dd570 SHA512 5db2d53e35f7d4d644fde4aac1ecb6254ca654973181fbc16c5b0f670f8f812c8700f119d4344acba73bc30a48f4fa652a7b760a95b91a2af6ad5b9f96aeda3a -EBUILD knot-2.9.3.ebuild 1892 BLAKE2B 77b85a932381fcc4e31c4d245fe991d69502e8328fd76ae4efb111da584355d524e29fa03fc43cac694d5576a6736ece2754699c1ebd1a708dec25d84d2f539f SHA512 7c6bcaeb1bcd98160bd83fae71e3d07162d571fec51b558056e5c16553838a9f0742e84ffdc95e7a71ae94a762e84d4bd6902ab369a5e2ae0572897907dc78e7 +EBUILD knot-2.9.5.ebuild 1892 BLAKE2B 77b85a932381fcc4e31c4d245fe991d69502e8328fd76ae4efb111da584355d524e29fa03fc43cac694d5576a6736ece2754699c1ebd1a708dec25d84d2f539f SHA512 7c6bcaeb1bcd98160bd83fae71e3d07162d571fec51b558056e5c16553838a9f0742e84ffdc95e7a71ae94a762e84d4bd6902ab369a5e2ae0572897907dc78e7 MISC metadata.xml 1677 BLAKE2B 89c3190781cf6b6d6217c84dd45f78ebd86695e9c224c7fa7f5112b246b95b982fb025c6c30b065d59b11f3acdcabda8e92b0da001cf1a7ad3e67ee9b2207d3c SHA512 d1e480d3e5d422b94a952a8fd0a679052d24724cccdda0bf13808f1a6b47b129a1db6ad17a0a42d9a6d315e9cbe64293a1a22077b7affc36862313ff8715d9e1 diff --git a/net-dns/knot/knot-2.9.2.ebuild b/net-dns/knot/knot-2.9.2.ebuild deleted file mode 100644 index 832d155aba2c..000000000000 --- a/net-dns/knot/knot-2.9.2.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit systemd - -DESCRIPTION="High-performance authoritative-only DNS server" -HOMEPAGE="https://www.knot-dns.cz/" -SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -KNOT_MODULES=( - "+cookies" - "+dnsproxy" - "dnstap" - "geoip" - "+noudp" - "+onlinesign" - "+queryacl" - "+rrl" - "+stats" - "+synthrecord" - "+whoami" -) -IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}" - -RDEPEND=" - acct-group/knot - acct-user/knot - dev-db/lmdb - dev-libs/libedit - dev-libs/userspace-rcu:= - dev-python/lmdb - net-libs/gnutls:= - caps? ( sys-libs/libcap-ng ) - dnstap? ( - dev-libs/fstrm - dev-libs/protobuf-c:= - ) - geoip? ( dev-libs/libmaxminddb:= ) - idn? ( - !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 ) - libidn2? ( net-dns/libidn2:= ) - ) - systemd? ( sys-apps/systemd:= ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( dev-python/sphinx ) -" - -S="${WORKDIR}/${P/_/-}" - -src_configure() { - local u - local my_conf=( - --with-storage="${EPREFIX}/var/lib/${PN}" - --with-rundir="${EPREFIX}/var/run/${PN}" - $(use_enable fastparser) - $(use_enable dnstap) - $(use_enable doc documentation) - $(use_enable utils utilities) - --enable-systemd=$(usex systemd) - $(use_with idn libidn) - ) - - for u in "${KNOT_MODULES[@]#+}"; do - my_conf+=("$(use_with ${u} module-${u})") - done - - econf "${my_conf[@]}" -} - -src_compile() { - default - - use doc && emake -C doc html -} - -src_test() { - emake check -} - -src_install() { - use doc && local HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} ) - - default - - rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die - - newinitd "${FILESDIR}/knot.init" knot - if use systemd; then - systemd_newunit "${FILESDIR}/knot-1.service" knot.service - fi - - find "${D}" -name '*.la' -delete || die -} diff --git a/net-dns/knot/knot-2.9.3.ebuild b/net-dns/knot/knot-2.9.3.ebuild deleted file mode 100644 index 2cc9e9753dfc..000000000000 --- a/net-dns/knot/knot-2.9.3.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit systemd - -DESCRIPTION="High-performance authoritative-only DNS server" -HOMEPAGE="https://www.knot-dns.cz/" -SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -KNOT_MODULES=( - "+cookies" - "+dnsproxy" - "dnstap" - "geoip" - "+noudp" - "+onlinesign" - "+queryacl" - "+rrl" - "+stats" - "+synthrecord" - "+whoami" -) -IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}" - -RDEPEND=" - acct-group/knot - acct-user/knot - dev-db/lmdb - dev-libs/libedit - dev-libs/userspace-rcu:= - dev-python/lmdb - net-libs/gnutls:= - caps? ( sys-libs/libcap-ng ) - dnstap? ( - dev-libs/fstrm - dev-libs/protobuf-c:= - ) - geoip? ( dev-libs/libmaxminddb:= ) - idn? ( - !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 ) - libidn2? ( net-dns/libidn2:= ) - ) - systemd? ( sys-apps/systemd:= ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - virtual/pkgconfig - doc? ( dev-python/sphinx ) -" - -S="${WORKDIR}/${P/_/-}" - -src_configure() { - local u - local my_conf=( - --with-storage="${EPREFIX}/var/lib/${PN}" - --with-rundir="${EPREFIX}/var/run/${PN}" - $(use_enable fastparser) - $(use_enable dnstap) - $(use_enable doc documentation) - $(use_enable utils utilities) - --enable-systemd=$(usex systemd) - $(use_with idn libidn) - ) - - for u in "${KNOT_MODULES[@]#+}"; do - my_conf+=("$(use_with ${u} module-${u})") - done - - econf "${my_conf[@]}" -} - -src_compile() { - default - - use doc && emake -C doc html -} - -src_test() { - emake check -} - -src_install() { - use doc && local HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} ) - - default - - rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die - - newinitd "${FILESDIR}/knot.init" knot - if use systemd; then - systemd_newunit "${FILESDIR}/knot-1.service" knot.service - fi - - find "${D}" -name '*.la' -delete || die -} diff --git a/net-dns/knot/knot-2.9.5.ebuild b/net-dns/knot/knot-2.9.5.ebuild new file mode 100644 index 000000000000..2cc9e9753dfc --- /dev/null +++ b/net-dns/knot/knot-2.9.5.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit systemd + +DESCRIPTION="High-performance authoritative-only DNS server" +HOMEPAGE="https://www.knot-dns.cz/" +SRC_URI="https://secure.nic.cz/files/knot-dns/${P/_/-}.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +KNOT_MODULES=( + "+cookies" + "+dnsproxy" + "dnstap" + "geoip" + "+noudp" + "+onlinesign" + "+queryacl" + "+rrl" + "+stats" + "+synthrecord" + "+whoami" +) +IUSE="doc caps +fastparser idn +libidn2 systemd +utils ${KNOT_MODULES[@]}" + +RDEPEND=" + acct-group/knot + acct-user/knot + dev-db/lmdb + dev-libs/libedit + dev-libs/userspace-rcu:= + dev-python/lmdb + net-libs/gnutls:= + caps? ( sys-libs/libcap-ng ) + dnstap? ( + dev-libs/fstrm + dev-libs/protobuf-c:= + ) + geoip? ( dev-libs/libmaxminddb:= ) + idn? ( + !libidn2? ( net-dns/libidn:0= !net-dns/libidn2 ) + libidn2? ( net-dns/libidn2:= ) + ) + systemd? ( sys-apps/systemd:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + doc? ( dev-python/sphinx ) +" + +S="${WORKDIR}/${P/_/-}" + +src_configure() { + local u + local my_conf=( + --with-storage="${EPREFIX}/var/lib/${PN}" + --with-rundir="${EPREFIX}/var/run/${PN}" + $(use_enable fastparser) + $(use_enable dnstap) + $(use_enable doc documentation) + $(use_enable utils utilities) + --enable-systemd=$(usex systemd) + $(use_with idn libidn) + ) + + for u in "${KNOT_MODULES[@]#+}"; do + my_conf+=("$(use_with ${u} module-${u})") + done + + econf "${my_conf[@]}" +} + +src_compile() { + default + + use doc && emake -C doc html +} + +src_test() { + emake check +} + +src_install() { + use doc && local HTML_DOCS=( doc/_build/html/{*.html,*.js,_sources,_static} ) + + default + + rmdir "${D}/var/run/${PN}" "${D}/var/run/" || die + + newinitd "${FILESDIR}/knot.init" knot + if use systemd; then + systemd_newunit "${FILESDIR}/knot-1.service" knot.service + fi + + find "${D}" -name '*.la' -delete || die +} diff --git a/net-dns/opendnssec/Manifest b/net-dns/opendnssec/Manifest index 6b55666194a5..21960c2e4677 100644 --- a/net-dns/opendnssec/Manifest +++ b/net-dns/opendnssec/Manifest @@ -18,9 +18,9 @@ DIST opendnssec-1.4.12.tar.gz 1036392 BLAKE2B 3bfbcfe91d7da7c2e4b1c5439f7d55e156 DIST opendnssec-1.4.8.2.tar.gz 1043171 BLAKE2B 20b1fa0d97b776223314937061cd42f4fe0a924e58a159fd0399d23058e2b0fd44d55049947de26c36aade5b5599527fc03f09eeef4e20f8c9beee40dfbcd7fb SHA512 7f2e10b425f60947aca40c61509b07ddc4363105cc882b518ffa816437299d6f881411cb38325f27b3a34c2005953988b39c945362866dd0f1f7c6ef973bfa06 DIST opendnssec-2.0.1.tar.gz 1101523 BLAKE2B 0446efd04e73e00d204c53164c3c6aaecb9f37014a110ee85d7e7b1728d225aafcf9e6ef31a7dd29cdf2e875e7b653ab6e8178cece65c47a1c5b027facc16130 SHA512 aa12818f92688e087acaff8a6771d2a7da733e04d9e821967d313c7ff880a1056f470b11988eba1e7aad606418c3a4587f654163d74f68e3f61943c74d86d052 DIST opendnssec-2.0.3.tar.gz 1103355 BLAKE2B b64e729003de86e4139efaad60c9feae9f4e19c16a29fdced55d66f5896c4b7d76c4b8c57a8330d55c0c03e87de1ebe6ec49ef9d1b6e215be963680d2c805579 SHA512 4745a9ac317cc65d6f5b14be640687efd5fde2149541f692fb607a458378d27e903f175023c1aa16a777d17cef9cc68f1a84e7e7cdb233466d26756721b34424 -EBUILD opendnssec-1.3.18-r1.ebuild 5717 BLAKE2B a0367f5c05d1211c7ab393dde80fc3f96c40dacb8ba6494507878eb871fc89541a74f07cd5aec1406ebce7d7e386097ad2bce5ba2fec691e6a087348d033d3ba SHA512 012d731bf038501ee3bbe6efe115fdbdd278bc912128d209c4d777d9b3a56b46e4357a91524d617836e88abe716f1d17b7ed35114ff84585b306343e3aed5075 -EBUILD opendnssec-1.4.12-r1.ebuild 5804 BLAKE2B 24230a7e63a77b1f77f921d85608c85fd924235e2a996dbbd0b24b50eeb22cefeeff3a3f8c15b1d604f77355f5b3fe52e0d3c03fce693f00cfe7b94f9a7535d9 SHA512 b833b447452d048e3ce0b5619fb4969fceb80d2ceb168c5e3cca06bd30b0395edd745de2de558cdcf7beb86ebfce84691db9868f32f3583d706701072e18707a -EBUILD opendnssec-1.4.8.2.ebuild 5854 BLAKE2B bd33ae903129a4cc06053d00840f848c1cc02c52040ed95b0137671ea9b03067eec5b8dc6edd89ade59c8ddf2f83928edbe62577f83b78511fa0aa2521ee9662 SHA512 a66894f5e6439658027c00298690c855603d1e97b17f3e06e461fde9efcab3b9dc10a285b55c435a85ad17de01202529b01a2ae5fcf052e9e103f86bcd8f2ac2 -EBUILD opendnssec-2.0.1-r1.ebuild 6787 BLAKE2B 203de779bc74c2273598ab37e0faa1a9a9dcc3a7ea00697b3c88180b90db9b9d09891442793ba9401aa1a3f5bf22b02f40a99a29496a5b8aeb2e6aa7149ccab5 SHA512 3a91fe2a31c58225de3ae786fbd3697ee4935e3ebd8949d066c41a14998f577dc9afbae758eb890d94960ba7912ba5ce4d9fefea1702c0687dec30cab1204283 -EBUILD opendnssec-2.0.3-r1.ebuild 6759 BLAKE2B 59e2fbd023d0c57480743fdcdbfdca29e3080bc726f8fd472f4dbae876e6e5738ec0d9b58194177fee23406aac8477dbf5726fa94a9f286f274826cd353e1603 SHA512 e34deebce92b6c3057e36a88cd46efef5141a3903a36df39e052fa64323559d1cf9ea32d85dc209613b7b6c6536c592678ae78310274cbbce08d2a1aaea3ecc7 +EBUILD opendnssec-1.3.18-r1.ebuild 5719 BLAKE2B 33ed406b2fb2bfdcd7a33a67971ceed4986958b8016259693379726604342ef930ce9626e962125a02b315bc0fc2b07ab31cbd88c09060b3b08b48f51ffd5652 SHA512 098d741ffe09e814ce0697d6d9b824080efcb08548c932b8e1a78fa905c4e680fa193304cf51e75563c70cd939597fb30e858d90eeea5984b15a0810d4fd6e22 +EBUILD opendnssec-1.4.12-r1.ebuild 5806 BLAKE2B 96d15804c15759d8f5c6caa8284d583e30308cb6fa24d9d36b177d8505bb816ab6d899ddd82225c1102a4ac58b1f98110f53cb6bdf7c40255532dbf91cf8959e SHA512 67c7c4afec19bb5f2c22498fcb385c4ce1042fa1e98b3b12bd183d8999531facf1d878c1f0800d22d19f67e09259b2545c0738e609885178f8a294020517861d +EBUILD opendnssec-1.4.8.2.ebuild 5856 BLAKE2B b9b4bf8e9d94743c7bd4189889e3071aeaacb71915749b542b59d28a86260affd402bbcd2b2f88896a791237bcc358e0bdc72f4e068e61b048bf98ec03e3cd74 SHA512 e9f000c17e6bb9bdcd66bc38e2b7c21ff3dce0da7dcda07e2062ccd64416cc563577cc6856bb279d575eb74896e89527a895fc825fcd2cda8431c8e14c372633 +EBUILD opendnssec-2.0.1-r1.ebuild 6789 BLAKE2B 996d5f5d1335513084428339fd2ccb9482a1901b5940bf77bfd19bda36f6b99a4dd40f0d35cbe4d90f7e5b9ca37566b6f65e5aed21174618a1e477f97cc0de6c SHA512 982583cba1c39f9591d710bb4dbb7cf5b53c4b7b9a073b01416097bf7b604a94582f564bf60b7e8d4de588300bcb77d826f7cb3a9987475a94901f3b67d1d7e1 +EBUILD opendnssec-2.0.3-r1.ebuild 6761 BLAKE2B 67105b5333460bf466ac4620a7efb093423321b5878e715475e0232ac9a74ff51534a75b4417abc6a26a46027c31585ff60cfe92eed03b0300a2fb5e3cf0363b SHA512 dc199e6aaa506090c25ba9ea9538cda922f67dcb509a3e6ddf6ddbc9d15300d0d5166720ca53b10be49f99a13c90a9f1aef7429a1c0e26b039cbdac28f5bcad6 MISC metadata.xml 906 BLAKE2B 87ce475aaab1ed562daa0c2102e206f32abc25b9fd77932bd6a33e5f31990864dd0da48e48e7165debc10ae0653f6bed364c12a52df48dd448e29590bf6f7141 SHA512 9cddc6b15c7a959cb885bc639c19e166ee202dd4b45db50c9bbb3b61fe9e84311f023a3d34cfc44e689cf81df092211fa4cb88427fb143c113bdfc1e7897112e diff --git a/net-dns/opendnssec/opendnssec-1.3.18-r1.ebuild b/net-dns/opendnssec/opendnssec-1.3.18-r1.ebuild index c29c6bf1ac7b..a37fb6fc331a 100644 --- a/net-dns/opendnssec/opendnssec-1.3.18-r1.ebuild +++ b/net-dns/opendnssec/opendnssec-1.3.18-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -8,8 +8,8 @@ PKCS11_IUSE="+softhsm opensc external-hsm" inherit autotools multilib user DESCRIPTION="An open-source turn-key solution for DNSSEC" -HOMEPAGE="http://www.opendnssec.org/" -SRC_URI="http://www.${PN}.org/files/source/${MY_P}.tar.gz" +HOMEPAGE="https://www.opendnssec.org/" +SRC_URI="https://www.${PN}.org/files/source/${MY_P}.tar.gz" LICENSE="BSD GPL-2" SLOT="0" diff --git a/net-dns/opendnssec/opendnssec-1.4.12-r1.ebuild b/net-dns/opendnssec/opendnssec-1.4.12-r1.ebuild index 61d2ca9f1014..7204fc6a5df8 100644 --- a/net-dns/opendnssec/opendnssec-1.4.12-r1.ebuild +++ b/net-dns/opendnssec/opendnssec-1.4.12-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -8,8 +8,8 @@ PKCS11_IUSE="+softhsm opensc external-hsm" inherit autotools eutils multilib user DESCRIPTION="An open-source turn-key solution for DNSSEC" -HOMEPAGE="http://www.opendnssec.org/" -SRC_URI="http://www.${PN}.org/files/source/${MY_P}.tar.gz" +HOMEPAGE="https://www.opendnssec.org/" +SRC_URI="https://www.${PN}.org/files/source/${MY_P}.tar.gz" LICENSE="BSD GPL-2" SLOT="0" diff --git a/net-dns/opendnssec/opendnssec-1.4.8.2.ebuild b/net-dns/opendnssec/opendnssec-1.4.8.2.ebuild index 271869383a54..fa23c0bf555a 100644 --- a/net-dns/opendnssec/opendnssec-1.4.8.2.ebuild +++ b/net-dns/opendnssec/opendnssec-1.4.8.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -8,8 +8,8 @@ PKCS11_IUSE="+softhsm opensc external-hsm" inherit autotools multilib user DESCRIPTION="An open-source turn-key solution for DNSSEC" -HOMEPAGE="http://www.opendnssec.org/" -SRC_URI="http://www.${PN}.org/files/source/${MY_P}.tar.gz" +HOMEPAGE="https://www.opendnssec.org/" +SRC_URI="https://www.${PN}.org/files/source/${MY_P}.tar.gz" LICENSE="BSD GPL-2" SLOT="0" diff --git a/net-dns/opendnssec/opendnssec-2.0.1-r1.ebuild b/net-dns/opendnssec/opendnssec-2.0.1-r1.ebuild index 4802edd1581e..b93dc8f5ab2b 100644 --- a/net-dns/opendnssec/opendnssec-2.0.1-r1.ebuild +++ b/net-dns/opendnssec/opendnssec-2.0.1-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -8,8 +8,8 @@ PKCS11_IUSE="+softhsm opensc external-hsm" inherit autotools eutils multilib user DESCRIPTION="An open-source turn-key solution for DNSSEC" -HOMEPAGE="http://www.opendnssec.org/" -SRC_URI="http://www.${PN}.org/files/source/${MY_P}.tar.gz" +HOMEPAGE="https://www.opendnssec.org/" +SRC_URI="https://www.${PN}.org/files/source/${MY_P}.tar.gz" LICENSE="BSD GPL-2" SLOT="0" diff --git a/net-dns/opendnssec/opendnssec-2.0.3-r1.ebuild b/net-dns/opendnssec/opendnssec-2.0.3-r1.ebuild index 71ed1ff5e73b..3108c7a8a9c4 100644 --- a/net-dns/opendnssec/opendnssec-2.0.3-r1.ebuild +++ b/net-dns/opendnssec/opendnssec-2.0.3-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -8,8 +8,8 @@ PKCS11_IUSE="+softhsm opensc external-hsm" inherit autotools user DESCRIPTION="An open-source turn-key solution for DNSSEC" -HOMEPAGE="http://www.opendnssec.org/" -SRC_URI="http://www.${PN}.org/files/source/${MY_P}.tar.gz" +HOMEPAGE="https://www.opendnssec.org/" +SRC_URI="https://www.${PN}.org/files/source/${MY_P}.tar.gz" LICENSE="BSD GPL-2" SLOT="0" diff --git a/net-dns/openresolv/Manifest b/net-dns/openresolv/Manifest index c43062dbe923..7ef070f95ccf 100644 --- a/net-dns/openresolv/Manifest +++ b/net-dns/openresolv/Manifest @@ -1,5 +1,7 @@ +DIST openresolv-3.10.0.tar.xz 20296 BLAKE2B 2e4fc22aebeb345fcdcc5395603a183a978e2ea24a4b419d76ab41e5179b640e3a317d5f1ef36bc6901d933b20daaca615489c785a41d76a89abc938c20e2723 SHA512 f28fc43887f18f6cbdcdabbb48777fc704ed653e77f34caf349b5c4e5f5f6e7686242ea9f2617f2f65d40d14c794ce28cffee0ec5e5c7b8a19566f3bd72e9ec5 DIST openresolv-3.9.0.tar.xz 18844 BLAKE2B 0aa2125d79305aab04a8d052d56328493d51aa6ff5b44fdfe08e96ccc78ae1d84f2115e5d59940e7e1cedf7e4fe7dc36a461839bcef8fc2c5b2e21242e441f36 SHA512 4498db60f0b5a762194dd3651b94cc8b01a349a8cfb891e10d040cd6b8e22fa0e9897909517831591787ad22ffad97c78d3281e32296aa1ee67de5dff9bf765e DIST openresolv-3.9.2.tar.xz 20200 BLAKE2B 25cb56fd85114c3866207a3bf83d1295eb135f1746f141d8cb8f0fb18cdd96e184ad3fbb47d1f65ce4193b57da61e918ca4306a502eaba650ca438589be9a29b SHA512 2f88ccbb53c6e830eeb7dd53666ee72b9fa30f38324766e1d1734896bc9b7f531e42e234c882b921c79604a3bde2877db2681bab9dd8c590f02779da908d0649 +EBUILD openresolv-3.10.0.ebuild 1054 BLAKE2B 5ecfe2dac83e3d5c2c67fb38b587b8a4ae8136ae34749d1b415a9cf9fc8c321ecc377bca0d0d7a505763172a05f54e5cecabf5446257613c6aece551dc2b0d9e SHA512 b2a96a4732e06b595269021706de9299ff8a3805fe21b7f0f3957b68c1cf7f0d1386375153ec560b13cc0340e3cc20dc0c438fac6e67e5a8b13d91c55b530760 EBUILD openresolv-3.9.0.ebuild 1052 BLAKE2B 5b1b3b1092bf55ccc00bc044f228262ce3db17f161a57e238065dd3cbfeb7450209344fd2fbcb100297d4d7d84089933b9667135db82363d3786b637344882ee SHA512 ff94593aa90b87b512152763b998c9ed1a774126a2c9b4075659a70a440c004d30eb83bed0e48bdbd6dbdd757f4595ec52600a6f9fa1cb66140c93042a657572 EBUILD openresolv-3.9.2.ebuild 1097 BLAKE2B f64842286737d4551140728da7a54090ce14b8bce3f471c07ce38a6bdd5919ff5b47d70816298e28a4491754e23310a5b54d766d96ef6c71065671cfe478d887 SHA512 55cc9dc93231bd98b29c3ec12032266a23cd11fbdef244d558f55c0c9fc49c2e30737cc9ce6bde2f8128050005f7dd049964c6002917af54a702cf4d3b078556 -MISC metadata.xml 259 BLAKE2B a0bbc917de0867f447b7f02307f4f3ae6d6fc0e7afa06db2f6733a560676a4ad07fcbf433dc93070a6e7815d9d3bf48d651ae7222f53f62620d8cdda049af543 SHA512 79d964de6f58ae4a6f1e815620de06753b9d44ba1740c0330b94b8fe5bbff1f7e1e67f21ac30d80a35bd72e9681631b9f1697d896a4bffa066d364690c572838 +MISC metadata.xml 372 BLAKE2B 24db644f62ad2ee508b0eb6a6f521f3e3d2221a749b73ca46cee7f1c97641e8d67ba7ed50da735fd524b20575026e38642529eb5389ccd9358a5d787978d5ace SHA512 2a4d2e73c7a7b33e1c7246da3fc5c3e155de0e6c76928dcda6de4917cfd9bb37880ffa2cc65e7ff7b73d5822a4879d708f842d2a833d7cdbee6c55d4d72184ee diff --git a/net-dns/openresolv/metadata.xml b/net-dns/openresolv/metadata.xml index e5a933ad81f9..99a0254efabc 100644 --- a/net-dns/openresolv/metadata.xml +++ b/net-dns/openresolv/metadata.xml @@ -1,8 +1,12 @@ - - - A framework for managing DNS information - + + andreacerisara@gmail.com + Andrea Cerisara + + + proxy-maint@gentoo.org + Proxy Maintainers + diff --git a/net-dns/openresolv/openresolv-3.10.0.ebuild b/net-dns/openresolv/openresolv-3.10.0.ebuild new file mode 100644 index 000000000000..bfc66b5f7d91 --- /dev/null +++ b/net-dns/openresolv/openresolv-3.10.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="A framework for managing DNS information" +HOMEPAGE="https://roy.marples.name/projects/openresolv" +SRC_URI="https://roy.marples.name/downloads/${PN}/${P}.tar.xz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86" +IUSE="selinux" + +RDEPEND="selinux? ( sec-policy/selinux-resolvconf )" + +DOCS=( README.md ) + +src_configure() { + local myeconfargs=( + --prefix="${EPREFIX}" + --rundir="${EPREFIX}"/var/run + --libexecdir="${EPREFIX}"/lib/resolvconf + ) + econf "${myeconfargs[@]}" +} + +pkg_config() { + if [[ ${ROOT} != / ]]; then + eerror "We cannot configure unless \$ROOT=/" + return 1 + fi + + if [[ -n "$(resolvconf -l)" ]]; then + einfo "${PN} already has DNS information" + else + ebegin "Copying /etc/resolv.conf to resolvconf -a dummy" + resolvconf -a dummy +Date: Mon Dec 16 22:44:43 2019 +0100 + + Fix build with gcc-10 + + From an e-mail from Jeff Law : + + Subject: Minor problem in pdns, dnsdist and pdns-recursor packages in Fedora + + [ All three packages have embedded copies of the same problematic code + and the same patch fixes all three. ] + + Red Hat's compiler team continues to try and be proactive in identifying + issues that will arise as a result of the introduction of a new GCC + release into Fedora each spring. + + You're being contacted because a package you maintain in Fedora is going + to fail to build with gcc-10 in the spring. Yes, I know that's a few + months away, but it's far easier to fix this stuff proactively now than + wait. + + Fixing it now also means that your package will continue to be built + with testing versions of gcc-10 as we proceed through the development + process thus allowing additional issues to be caught early. + + Your particular package will fail due to an uninstantiated template for + AsyncLoader. These kinds of problems are relatively common due to + changes in the tuning of the inliner for gcc-10: + + > BUILDSTDERR: /usr/bin/ld: webserver.o: in function `WebServer::serveConnection(std::shared_ptr) const': + > BUILDSTDERR: /builddir/build/BUILD/pdns-4.2.1/pdns/webserver.cc:373: undefined reference to `YaHTTP::AsyncLoader::feed(std::__cxx11::basic_string, std::allocator > const&)' + > BUILDSTDERR: collect2: error: ld returned 1 exit status + > BUILDSTDERR: make[3]: *** [Makefile:2751: ixfrdist] Error 1 + > + + The attached patch arranges for an instance to be instantiated when + compiling reqresp.cpp and is sufficient to fix this problem. The + choice of reqresp.cpp fairly arbitrary IIRC. + + Ideally you'll with upstream to get this fixed, but a Fedora patch is + clearly OK as well. I'll install the attached fix into Fedora in a + week or so if I haven't heard from you. + + Jeff + + (cherry picked from commit ffb885e937c27bb1c62dee8f18c58ae0d5d52d39) + +diff --git a/ext/yahttp/yahttp/reqresp.cpp b/ext/yahttp/yahttp/reqresp.cpp +index 686a6c7bd..ca2154f6a 100644 +--- a/ext/yahttp/yahttp/reqresp.cpp ++++ b/ext/yahttp/yahttp/reqresp.cpp +@@ -2,6 +2,8 @@ + + namespace YaHTTP { + ++ template class AsyncLoader; ++ + bool isspace(char c) { + return std::isspace(c) != 0; + } diff --git a/net-dns/pdns-recursor/files/pdns-recursor-r1 b/net-dns/pdns-recursor/files/pdns-recursor-r1 deleted file mode 100644 index 57c9df1eaa45..000000000000 --- a/net-dns/pdns-recursor/files/pdns-recursor-r1 +++ /dev/null @@ -1,37 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -PDNS_CONFIGDIR="${PDNS_CONFIGDIR:-/etc/powerdns}" - -PDNS_CONFIG="${PDNS_CONFIGDIR}/recursor.conf" -PDNS_CHROOTDIR="$( awk -F = '$1 == "chroot" { print $2 }' "${PDNS_CONFIG}" )" -PDNS_SOCKETDIR="$( awk -F = '$1 == "socket-dir" { print $2 }' "${PDNS_CONFIG}" )" -[ -z "${PDNS_SOCKETDIR}" -a -z "${PDNS_CHROOTDIR}" ] && PDNS_SOCKETDIR="/var/run" - -name="PowerDNS Recursor" -description="Recursive name server" - -extra_started_commands="ping" -description_ping="Ping the PowerDNS instance" - -command="/usr/sbin/pdns_recursor" -command_args="--config-dir=${PDNS_CONFIGDIR}" -command_args_foreground="--daemon=no" -command_args_background="--daemon=yes" -yesno ${rc_verbose} || command_args_background="${command_args_background} >/dev/null 2>&1" - -pidfile="${PDNS_CHROOTDIR}/${PDNS_SOCKETDIR}/pdns_recursor.pid" - -control_command="/usr/bin/rec_control" -control_command_args="${command_args}" - -depend() { - need net -} - -ping() { - ebegin "Pinging ${name}" - ${control_command} ${control_command_args} ping >/dev/null 2>&1 - eend $? -} diff --git a/net-dns/pdns-recursor/pdns-recursor-4.1.14.ebuild b/net-dns/pdns-recursor/pdns-recursor-4.1.14.ebuild deleted file mode 100644 index 25a4668601a4..000000000000 --- a/net-dns/pdns-recursor/pdns-recursor-4.1.14.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -inherit flag-o-matic - -DESCRIPTION="The PowerDNS Recursor" -HOMEPAGE="https://www.powerdns.com/" -SRC_URI="https://downloads.powerdns.com/releases/${P/_/-}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~arm x86" -IUSE="debug libressl luajit protobuf snmp sodium systemd" - -DEPEND="!luajit? ( >=dev-lang/lua-5.1:= ) - luajit? ( dev-lang/luajit:= ) - protobuf? ( - dev-libs/protobuf - >=dev-libs/boost-1.42:= - ) - systemd? ( sys-apps/systemd:0= ) - snmp? ( net-analyzer/net-snmp ) - sodium? ( dev-libs/libsodium:= ) - libressl? ( dev-libs/libressl:= ) - !libressl? ( dev-libs/openssl:= ) - >=dev-libs/boost-1.35:=" -RDEPEND="${DEPEND} - !/dev/null; then + lt_cv_sys_max_cmd_len=32750; + fi +-AC_PATH_TOOL(AR, ar, [false]) ++AC_CHECK_TOOL(AR, ar, [false]) + if test $AR = false; then + AC_MSG_ERROR([Cannot find 'ar', please extend PATH to include it]) + fi diff --git a/net-dns/unbound/unbound-1.10.1-r1.ebuild b/net-dns/unbound/unbound-1.10.1-r1.ebuild new file mode 100644 index 000000000000..30c4c5084639 --- /dev/null +++ b/net-dns/unbound/unbound-1.10.1-r1.ebuild @@ -0,0 +1,184 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +PYTHON_COMPAT=( python3_{6,7} ) + +inherit autotools flag-o-matic multilib-minimal python-single-r1 systemd user + +MY_P=${PN}-${PV/_/} +DESCRIPTION="A validating, recursive and caching DNS resolver" +HOMEPAGE="https://unbound.net/ https://nlnetlabs.nl/projects/unbound/about/" +SRC_URI="https://nlnetlabs.nl/downloads/unbound/${MY_P}.tar.gz" + +LICENSE="BSD GPL-2" +SLOT="0/8" # ABI version of libunbound.so +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~x86" +IUSE="debug dnscrypt dnstap +ecdsa ecs gost libressl python redis selinux static-libs systemd test threads" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" +RESTRICT="!test? ( test )" + +# Note: expat is needed by executable only but the Makefile is custom +# and doesn't make it possible to easily install the library without +# the executables. MULTILIB_USEDEP may be dropped once build system +# is fixed. + +CDEPEND=">=dev-libs/expat-2.1.0-r3[${MULTILIB_USEDEP}] + >=dev-libs/libevent-2.0.21:0=[${MULTILIB_USEDEP}] + libressl? ( >=dev-libs/libressl-2.2.4:0[${MULTILIB_USEDEP}] ) + !libressl? ( >=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}] ) + dnscrypt? ( dev-libs/libsodium[${MULTILIB_USEDEP}] ) + dnstap? ( + dev-libs/fstrm[${MULTILIB_USEDEP}] + >=dev-libs/protobuf-c-1.0.2-r1[${MULTILIB_USEDEP}] + ) + ecdsa? ( + !libressl? ( dev-libs/openssl:0[-bindist] ) + ) + python? ( ${PYTHON_DEPS} ) + redis? ( dev-libs/hiredis:= )" + +BDEPEND="virtual/pkgconfig" + +DEPEND="${CDEPEND} + python? ( dev-lang/swig ) + test? ( + net-dns/ldns-utils[examples] + dev-util/splint + app-text/wdiff + ) + systemd? ( sys-apps/systemd )" + +RDEPEND="${CDEPEND} + net-dns/dnssec-root + selinux? ( sec-policy/selinux-bind )" + +# bug #347415 +RDEPEND="${RDEPEND} + net-dns/dnssec-root" + +PATCHES=( + "${FILESDIR}"/${PN}-1.5.7-trust-anchor-file.patch + "${FILESDIR}"/${PN}-1.6.3-pkg-config.patch + "${FILESDIR}"/${P}-find-ar.patch +) + +S=${WORKDIR}/${MY_P} + +pkg_setup() { + enewgroup unbound + enewuser unbound -1 -1 /etc/unbound unbound + # improve security on existing installs (bug #641042) + # as well as new installs where unbound homedir has just been created + if [[ -d "${ROOT}/etc/unbound" ]]; then + chown --no-dereference --from=unbound root "${ROOT}/etc/unbound" + fi + + use python && python-single-r1_pkg_setup +} + +src_prepare() { + default + + eautoreconf + + # required for the python part + multilib_copy_sources +} + +src_configure() { + [[ ${CHOST} == *-darwin* ]] || append-ldflags -Wl,-z,noexecstack + multilib-minimal_src_configure +} + +multilib_src_configure() { + econf \ + $(use_enable debug) \ + $(use_enable gost) \ + $(use_enable dnscrypt) \ + $(use_enable dnstap) \ + $(use_enable ecdsa) \ + $(use_enable ecs subnet) \ + $(multilib_native_use_enable redis cachedb) \ + $(use_enable static-libs static) \ + $(use_enable systemd) \ + $(multilib_native_use_with python pythonmodule) \ + $(multilib_native_use_with python pyunbound) \ + $(use_with threads pthreads) \ + --disable-flto \ + --disable-rpath \ + --enable-event-api \ + --enable-ipsecmod \ + --enable-tfo-client \ + --enable-tfo-server \ + --with-libevent="${EPREFIX}"/usr \ + $(multilib_native_usex redis --with-libhiredis="${EPREFIX}/usr" --without-libhiredis) \ + --with-pidfile="${EPREFIX}"/run/unbound.pid \ + --with-rootkey-file="${EPREFIX}"/etc/dnssec/root-anchors.txt \ + --with-ssl="${EPREFIX}"/usr \ + --with-libexpat="${EPREFIX}"/usr + + # http://unbound.nlnetlabs.nl/pipermail/unbound-users/2011-April/001801.html + # $(use_enable debug lock-checks) \ + # $(use_enable debug alloc-checks) \ + # $(use_enable debug alloc-lite) \ + # $(use_enable debug alloc-nonregional) \ +} + +multilib_src_install_all() { + use python && python_optimize + + newinitd "${FILESDIR}"/unbound-r1.initd unbound + newconfd "${FILESDIR}"/unbound-r1.confd unbound + + systemd_dounit "${FILESDIR}"/unbound.service + systemd_dounit "${FILESDIR}"/unbound.socket + systemd_newunit "${FILESDIR}"/unbound_at.service "unbound@.service" + systemd_dounit "${FILESDIR}"/unbound-anchor.service + + dodoc doc/{README,CREDITS,TODO,Changelog,FEATURES} + + # bug #315519 + dodoc contrib/unbound_munin_ + + docinto selinux + dodoc contrib/selinux/* + + exeinto /usr/share/${PN} + doexe contrib/update-anchor.sh + + # create space for auto-trust-anchor-file... + keepdir /etc/unbound/var + # ... and point example config to it + sed -i \ + -e '/# auto-trust-anchor-file:/s,/etc/dnssec/root-anchors.txt,/etc/unbound/var/root-anchors.txt,' \ + "${ED}/etc/unbound/unbound.conf" || \ + die + + # Used to store cache data + keepdir /var/lib/${PN} + fowners root:unbound /var/lib/${PN} + fperms 0750 /var/lib/${PN} + + find "${ED}" -name '*.la' -delete || die + if ! use static-libs ; then + find "${ED}" -name "*.a" -delete || die + fi +} + +pkg_postinst() { + # make var/ writable by unbound + if [[ -d "${EROOT}/etc/unbound/var" ]]; then + chown --no-dereference --from=root unbound: "${EROOT}/etc/unbound/var" + fi + + einfo "" + einfo "If you want unbound to automatically update the root-anchor file for DNSSEC validation" + einfo "set 'auto-trust-anchor-file: ${EROOT}/etc/unbound/var/root-anchors.txt' in ${EROOT}/etc/unbound/unbound.conf" + einfo "and run" + einfo "" + einfo " su -s /bin/sh -c '${EROOT}/usr/sbin/unbound-anchor -a ${EROOT}/etc/unbound/var/root-anchors.txt' unbound" + einfo "" + einfo "as root to create it initially before starting unbound for the first time after enabling this." + einfo "" +} -- cgit v1.2.3