diff options
-rw-r--r-- | dev-lang/spidermonkey/spidermonkey-91.11.0.ebuild | 2 | ||||
-rw-r--r-- | dev-perl/FCGI-Client/FCGI-Client-0.90.0.ebuild | 2 | ||||
-rw-r--r-- | dev-perl/FCGI/FCGI-0.820.0.ebuild | 2 | ||||
-rw-r--r-- | dev-python/furo/Manifest | 1 | ||||
-rw-r--r-- | dev-python/furo/furo-2022.6.21.ebuild | 38 | ||||
-rw-r--r-- | dev-python/sphinx-basic-ng/Manifest | 1 | ||||
-rw-r--r-- | dev-python/sphinx-basic-ng/metadata.xml | 11 | ||||
-rw-r--r-- | dev-python/sphinx-basic-ng/sphinx-basic-ng-0.0.1_alpha11.ebuild | 44 | ||||
-rw-r--r-- | dev-util/mingw64-runtime/mingw64-runtime-10.0.0-r1.ebuild | 2 | ||||
-rw-r--r-- | dev-util/mingw64-runtime/mingw64-runtime-8.0.0-r3.ebuild | 2 | ||||
-rw-r--r-- | dev-util/mingw64-runtime/mingw64-runtime-9.0.0-r2.ebuild | 2 | ||||
-rw-r--r-- | eclass/distutils-r1.eclass | 144 | ||||
-rw-r--r-- | eclass/python-utils-r1.eclass | 14 | ||||
-rw-r--r-- | net-dns/nsd/Manifest | 2 | ||||
-rw-r--r-- | net-dns/nsd/files/nsd-4.3.9-no_ssl.patch | 22 | ||||
-rw-r--r-- | net-dns/nsd/nsd-4.3.9.ebuild | 119 | ||||
-rw-r--r-- | net-dns/nsd/nsd-4.5.0-r1.ebuild (renamed from net-dns/nsd/nsd-4.4.0.ebuild) | 36 | ||||
-rw-r--r-- | net-dns/nsd/nsd-9999.ebuild | 36 |
18 files changed, 248 insertions, 232 deletions
diff --git a/dev-lang/spidermonkey/spidermonkey-91.11.0.ebuild b/dev-lang/spidermonkey/spidermonkey-91.11.0.ebuild index c1c5f2baa8e5..877b36da4b74 100644 --- a/dev-lang/spidermonkey/spidermonkey-91.11.0.ebuild +++ b/dev-lang/spidermonkey/spidermonkey-91.11.0.ebuild @@ -61,7 +61,7 @@ SRC_URI="${MOZ_SRC_BASE_URI}/source/${MOZ_P}.source.tar.xz -> ${MOZ_P_DISTFILES} DESCRIPTION="SpiderMonkey is Mozilla's JavaScript engine written in C and C++" HOMEPAGE="https://spidermonkey.dev https://firefox-source-docs.mozilla.org/js/index.html " -KEYWORDS="amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv x86" +KEYWORDS="amd64 arm arm64 ~mips ~ppc ~ppc64 ~riscv x86" SLOT="91" LICENSE="MPL-2.0" diff --git a/dev-perl/FCGI-Client/FCGI-Client-0.90.0.ebuild b/dev-perl/FCGI-Client/FCGI-Client-0.90.0.ebuild index 03a9b68b1411..a30cae9187c5 100644 --- a/dev-perl/FCGI-Client/FCGI-Client-0.90.0.ebuild +++ b/dev-perl/FCGI-Client/FCGI-Client-0.90.0.ebuild @@ -10,7 +10,7 @@ inherit perl-module DESCRIPTION="Client library for fastcgi protocol" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" virtual/perl-IO diff --git a/dev-perl/FCGI/FCGI-0.820.0.ebuild b/dev-perl/FCGI/FCGI-0.820.0.ebuild index ae332a82635c..c9ee6623c731 100644 --- a/dev-perl/FCGI/FCGI-0.820.0.ebuild +++ b/dev-perl/FCGI/FCGI-0.820.0.ebuild @@ -11,7 +11,7 @@ DESCRIPTION="Fast CGI module" LICENSE="FastCGI" SLOT="0" -KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ~ppc64 ~riscv ~s390 sparc x86" +KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" RDEPEND=" virtual/perl-XSLoader diff --git a/dev-python/furo/Manifest b/dev-python/furo/Manifest index 3bffb6f64e77..3d08c0c1b302 100644 --- a/dev-python/furo/Manifest +++ b/dev-python/furo/Manifest @@ -1 +1,2 @@ DIST furo-2021.10.9.tar.gz 69755 BLAKE2B d9dec7f2161491c1b9806fe8e1e98bf6d8f405ae17931e86da6edf44121a0bfbfef4db26f35b53cc929e143926bdbfb4f223aa52fdd65912cd49bd423e574a43 SHA512 4100cb08f6f97ffde2527ec5678e94da759323521bf26ba49dfe4c0851aabc59556872b494a7dec26fbf6e4ac2f2dbc4c7d92f7ef47cae7f9d256af38da91f7e +DIST furo-2022.6.21-py3-none-any.whl 323874 BLAKE2B aac38e9aaa8d4fc6fdb00a7da9df8781b18229146970a005077075b0049b6493f280377ed735e9dd5425fdce0c43f8cad5b149957018d9a084ad83c5e5fcabeb SHA512 096c9fd0a18c8c4263607a77703412fcc5d7334b08bb6c448e5369b93572f2176f7fbe3fc7eb0b8c72f09d00eeca379debfec2f6565305d2f5e1bd0518af1558 diff --git a/dev-python/furo/furo-2022.6.21.ebuild b/dev-python/furo/furo-2022.6.21.ebuild new file mode 100644 index 000000000000..67c20b4762c4 --- /dev/null +++ b/dev-python/furo/furo-2022.6.21.ebuild @@ -0,0 +1,38 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# sphinx-theme-builder is completely unusable, as it requires pinning +# to a very-specific nodejs version number, and ofc loves fetching +# everything from the Internet + +DISTUTILS_USE_PEP517=standalone +PYTHON_COMPAT=( pypy3 python3_{8..11} ) + +inherit distutils-r1 + +DESCRIPTION="Clean customisable Sphinx documentation theme" +HOMEPAGE=" + https://pypi.org/project/furo/ + https://github.com/pradyunsg/furo/ +" +SRC_URI=" + https://files.pythonhosted.org/packages/py3/${PN::1}/${PN}/${P}-py3-none-any.whl +" +S=${WORKDIR} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/beautifulsoup4[${PYTHON_USEDEP}] + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx-basic-ng[${PYTHON_USEDEP}] +" + +python_compile() { + distutils_wheel_install "${BUILD_DIR}/install" \ + "${DISTDIR}/${P}-py3-none-any.whl" +} diff --git a/dev-python/sphinx-basic-ng/Manifest b/dev-python/sphinx-basic-ng/Manifest new file mode 100644 index 000000000000..8d370c8ca62b --- /dev/null +++ b/dev-python/sphinx-basic-ng/Manifest @@ -0,0 +1 @@ +DIST sphinx-basic-ng-0.0.1.a11.gh.tar.gz 21539 BLAKE2B 31707bc8f3c6cd0c1af1aeff309543889119d33e5f5ae33194b58f88a0ff6ec424c5b876fef36b64161932ebb69c0f6108801697b49d47e10ad13affcf89e1fa SHA512 e9f9278a360d2c8d25a6679134d2d54b37c9f2e55285592fa910c85b2f8bfd4ab13d117b7078cb67d862703f8054c3d3a3ca68152551d67a26d7c1a8b75952ff diff --git a/dev-python/sphinx-basic-ng/metadata.xml b/dev-python/sphinx-basic-ng/metadata.xml new file mode 100644 index 000000000000..43822aecf33b --- /dev/null +++ b/dev-python/sphinx-basic-ng/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>python@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="github">pradyunsg/sphinx-basic-ng</remote-id> + <remote-id type="pypi">sphinx-basic-ng</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/sphinx-basic-ng/sphinx-basic-ng-0.0.1_alpha11.ebuild b/dev-python/sphinx-basic-ng/sphinx-basic-ng-0.0.1_alpha11.ebuild new file mode 100644 index 000000000000..6f6d42d32673 --- /dev/null +++ b/dev-python/sphinx-basic-ng/sphinx-basic-ng-0.0.1_alpha11.ebuild @@ -0,0 +1,44 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{8..11} ) + +inherit distutils-r1 + +MY_P=${P/_alpha/.a} +DESCRIPTION="A modern skeleton for Sphinx themes" +HOMEPAGE=" + https://github.com/pradyunsg/sphinx-basic-ng/ + https://pypi.org/project/sphinx-basic-ng/ +" +SRC_URI=" + https://github.com/pradyunsg/sphinx-basic-ng/archive/${PV/_alpha/.a}.tar.gz + -> ${MY_P}.gh.tar.gz +" +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + <dev-python/sphinx-6[${PYTHON_USEDEP}] + >=dev-python/sphinx-4.0[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + ${RDEPEND} + dev-python/myst_parser[${PYTHON_USEDEP}] + ) +" + +python_test() { + local HTML_DOCS=() + build_sphinx tests/barebones + rm -r tests/barebones/_build || die +} diff --git a/dev-util/mingw64-runtime/mingw64-runtime-10.0.0-r1.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-10.0.0-r1.ebuild index a31d8271deb2..004d6be49356 100644 --- a/dev-util/mingw64-runtime/mingw64-runtime-10.0.0-r1.ebuild +++ b/dev-util/mingw64-runtime/mingw64-runtime-10.0.0-r1.ebuild @@ -38,7 +38,7 @@ mingw-foreach_tool() { local tool=widl if use !amd64 && use !x86 && use !arm64 && use !arm; then - einfo "Skipping widl due to unsupported platform" + einfo "Skipping widl due to unsupported platform" #853250 tool= fi diff --git a/dev-util/mingw64-runtime/mingw64-runtime-8.0.0-r3.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-8.0.0-r3.ebuild index 4f6695ab77ad..f8c49eccf6eb 100644 --- a/dev-util/mingw64-runtime/mingw64-runtime-8.0.0-r3.ebuild +++ b/dev-util/mingw64-runtime/mingw64-runtime-8.0.0-r3.ebuild @@ -40,7 +40,7 @@ mingw-foreach_tool() { local tool=widl if use !amd64 && use !x86 && use !arm64 && use !arm; then - einfo "Skipping widl due to unsupported platform" + einfo "Skipping widl due to unsupported platform" #853250 tool= fi diff --git a/dev-util/mingw64-runtime/mingw64-runtime-9.0.0-r2.ebuild b/dev-util/mingw64-runtime/mingw64-runtime-9.0.0-r2.ebuild index 4744a6a8a569..3a886c7ab13b 100644 --- a/dev-util/mingw64-runtime/mingw64-runtime-9.0.0-r2.ebuild +++ b/dev-util/mingw64-runtime/mingw64-runtime-9.0.0-r2.ebuild @@ -38,7 +38,7 @@ mingw-foreach_tool() { local tool=widl if use !amd64 && use !x86 && use !arm64 && use !arm; then - einfo "Skipping widl due to unsupported platform" + einfo "Skipping widl due to unsupported platform" #853250 tool= fi diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass index 4e8c2d67db0b..612db00e36b7 100644 --- a/eclass/distutils-r1.eclass +++ b/eclass/distutils-r1.eclass @@ -205,27 +205,33 @@ _distutils_set_globals() { fi bdep=' - >=dev-python/gpep517-3[${PYTHON_USEDEP}]' + >=dev-python/gpep517-6[${PYTHON_USEDEP}] + ' case ${DISTUTILS_USE_PEP517} in flit) bdep+=' - >=dev-python/flit_core-3.7.1[${PYTHON_USEDEP}]' + >=dev-python/flit_core-3.7.1[${PYTHON_USEDEP}] + ' ;; flit_scm) bdep+=' - dev-python/flit_scm[${PYTHON_USEDEP}]' + dev-python/flit_scm[${PYTHON_USEDEP}] + ' ;; hatchling) bdep+=' - >=dev-python/hatchling-0.22.0[${PYTHON_USEDEP}]' + >=dev-python/hatchling-1.3.1[${PYTHON_USEDEP}] + ' ;; jupyter) bdep+=' - >=dev-python/jupyter_packaging-0.11.1[${PYTHON_USEDEP}]' + >=dev-python/jupyter_packaging-0.12.0-r1[${PYTHON_USEDEP}] + ' ;; maturin) bdep+=' - >=dev-util/maturin-0.12.7[${PYTHON_USEDEP}]' + >=dev-util/maturin-0.12.17[${PYTHON_USEDEP}] + ' ;; no) # undo the generic deps added above @@ -233,28 +239,34 @@ _distutils_set_globals() { ;; meson-python) bdep+=' - dev-python/meson-python[${PYTHON_USEDEP}]' + dev-python/meson-python[${PYTHON_USEDEP}] + ' ;; pbr) bdep+=' - >=dev-python/pbr-5.8.0-r1[${PYTHON_USEDEP}]' + >=dev-python/pbr-5.8.0-r1[${PYTHON_USEDEP}] + ' ;; pdm) bdep+=' - >=dev-python/pdm-pep517-0.12.3[${PYTHON_USEDEP}]' + >=dev-python/pdm-pep517-1.0.0[${PYTHON_USEDEP}] + ' ;; poetry) bdep+=' - >=dev-python/poetry-core-1.0.8[${PYTHON_USEDEP}]' + >=dev-python/poetry-core-1.0.8[${PYTHON_USEDEP}] + ' ;; setuptools) bdep+=' - >=dev-python/setuptools-60.5.0[${PYTHON_USEDEP}] - dev-python/wheel[${PYTHON_USEDEP}]' + >=dev-python/setuptools-62.3.3[${PYTHON_USEDEP}] + dev-python/wheel[${PYTHON_USEDEP}] + ' ;; sip) bdep+=' - >=dev-python/sip-6.5.0-r1[${PYTHON_USEDEP}]' + >=dev-python/sip-6.5.0-r1[${PYTHON_USEDEP}] + ' ;; standalone) ;; @@ -473,7 +485,7 @@ distutils_enable_sphinx() { _DISTUTILS_SPHINX_PLUGINS=( "${@}" ) local deps autodoc=1 d - deps=">=dev-python/sphinx-4.4.0[\${PYTHON_USEDEP}]" + deps=">=dev-python/sphinx-4.5.0-r1[\${PYTHON_USEDEP}]" for d; do if [[ ${d} == --no-autodoc ]]; then autodoc= @@ -497,7 +509,7 @@ distutils_enable_sphinx() { use doc || return 0 local p - for p in ">=dev-python/sphinx-4.4.0" \ + for p in ">=dev-python/sphinx-4.5.0-r1" \ "${_DISTUTILS_SPHINX_PLUGINS[@]}" do python_has_version "${p}[${PYTHON_USEDEP}]" || @@ -505,7 +517,7 @@ distutils_enable_sphinx() { done } else - deps=">=dev-python/sphinx-4.4.0" + deps=">=dev-python/sphinx-4.5.0-r1" fi sphinx_compile_all() { @@ -585,10 +597,10 @@ distutils_enable_tests() { local test_pkg case ${1} in nose) - test_pkg=">=dev-python/nose-1.3.7-r4" + test_pkg=">=dev-python/nose-1.3.7_p20211111_p1-r1" ;; pytest) - test_pkg=">=dev-python/pytest-7.0.1" + test_pkg=">=dev-python/pytest-7.1.2" ;; setup.py) ;; @@ -1239,6 +1251,44 @@ _distutils-r1_get_backend() { echo "${build_backend}" } +# @FUNCTION: distutils_wheel_install +# @USAGE: <root> <wheel> +# @DESCRIPTION: +# Install the specified wheel into <root>. +# +# This function is intended for expert use only. +distutils_wheel_install() { + debug-print-function ${FUNCNAME} "${@}" + if [[ ${#} -ne 2 ]]; then + die "${FUNCNAME} takes exactly two arguments: <root> <wheel>" + fi + if [[ -z ${PYTHON} ]]; then + die "PYTHON unset, invalid call context" + fi + + local root=${1} + local wheel=${2} + + einfo " Installing ${wheel##*/} to ${root}" + local cmd=( + gpep517 install-wheel + --destdir="${root}" + --interpreter="${PYTHON}" + --prefix="${EPREFIX}/usr" + "${wheel}" + ) + printf '%s\n' "${cmd[*]}" + "${cmd[@]}" || die "Wheel install failed" + + # remove installed licenses + find "${root}$(python_get_sitedir)" -depth \ + \( -path '*.dist-info/COPYING*' \ + -o -path '*.dist-info/LICENSE*' \ + -o -path '*.dist-info/license_files/*' \ + -o -path '*.dist-info/license_files' \ + \) -delete || die +} + # @FUNCTION: distutils_pep517_install # @USAGE: <root> # @DESCRIPTION: @@ -1310,27 +1360,20 @@ distutils_pep517_install() { local config_args=() [[ -n ${config_settings} ]] && config_args+=( --config-json "${config_settings}" ) + local cmd=( + gpep517 build-wheel + --backend "${build_backend}" + --output-fd 3 + --wheel-dir "${WHEEL_BUILD_DIR}" + "${config_args[@]}" + ) + printf '%s\n' "${cmd[*]}" local wheel=$( - gpep517 build-wheel --backend "${build_backend}" \ - --output-fd 3 \ - --wheel-dir "${WHEEL_BUILD_DIR}" \ - "${config_args[@]}" 3>&1 >&2 || - die "Wheel build failed" + "${cmd[@]}" 3>&1 >&2 || die "Wheel build failed" ) [[ -n ${wheel} ]] || die "No wheel name returned" - einfo " Installing ${wheel} to ${root}" - gpep517 install-wheel --destdir="${root}" --interpreter="${PYTHON}" \ - --prefix="${EPREFIX}/usr" "${WHEEL_BUILD_DIR}/${wheel}" || - die "Wheel install failed" - - # remove installed licenses - find "${root}$(python_get_sitedir)" -depth \ - \( -path '*.dist-info/COPYING*' \ - -o -path '*.dist-info/LICENSE*' \ - -o -path '*.dist-info/license_files/*' \ - -o -path '*.dist-info/license_files' \ - \) -delete || die + distutils_wheel_install "${root}" "${WHEEL_BUILD_DIR}/${wheel}" # clean the build tree; otherwise we may end up with PyPy3 # extensions duplicated into CPython dists @@ -1547,20 +1590,25 @@ distutils-r1_python_install() { # remove files that we've created explicitly rm "${reg_scriptdir}"/{"${EPYTHON}",python3,python,pyvenv.cfg} || die - # verify that scriptdir & wrapped_scriptdir both contain - # the same files - ( - cd "${reg_scriptdir}" && find . -mindepth 1 - ) | sort > "${T}"/.distutils-files-bin - assert "listing ${reg_scriptdir} failed" - ( - if [[ -d ${wrapped_scriptdir} ]]; then - cd "${wrapped_scriptdir}" && find . -mindepth 1 + + # Automagically do the QA check to avoid issues when bootstrapping + # prefix. + if type diff &>/dev/null ; then + # verify that scriptdir & wrapped_scriptdir both contain + # the same files + ( + cd "${reg_scriptdir}" && find . -mindepth 1 + ) | sort > "${T}"/.distutils-files-bin + assert "listing ${reg_scriptdir} failed" + ( + if [[ -d ${wrapped_scriptdir} ]]; then + cd "${wrapped_scriptdir}" && find . -mindepth 1 + fi + ) | sort > "${T}"/.distutils-files-wrapped + assert "listing ${wrapped_scriptdir} failed" + if ! diff -U 0 "${T}"/.distutils-files-{bin,wrapped}; then + die "File lists for ${reg_scriptdir} and ${wrapped_scriptdir} differ (see diff above)" fi - ) | sort > "${T}"/.distutils-files-wrapped - assert "listing ${wrapped_scriptdir} failed" - if ! diff -U 0 "${T}"/.distutils-files-{bin,wrapped}; then - die "File lists for ${reg_scriptdir} and ${wrapped_scriptdir} differ (see diff above)" fi # remove the altered bindir, executables from the package diff --git a/eclass/python-utils-r1.eclass b/eclass/python-utils-r1.eclass index b9cf9c03caeb..a18ca58475f1 100644 --- a/eclass/python-utils-r1.eclass +++ b/eclass/python-utils-r1.eclass @@ -454,21 +454,21 @@ _python_export() { local d case ${impl} in python2.7) - PYTHON_PKG_DEP='>=dev-lang/python-2.7.5-r2:2.7';; + PYTHON_PKG_DEP='>=dev-lang/python-2.7.10_p15:2.7';; python3.8) - PYTHON_PKG_DEP=">=dev-lang/python-3.8.12_p1-r1:3.8";; + PYTHON_PKG_DEP=">=dev-lang/python-3.8.13:3.8";; python3.9) - PYTHON_PKG_DEP=">=dev-lang/python-3.9.9-r1:3.9";; + PYTHON_PKG_DEP=">=dev-lang/python-3.9.12:3.9";; python3.10) - PYTHON_PKG_DEP=">=dev-lang/python-3.10.0_p1-r1:3.10";; + PYTHON_PKG_DEP=">=dev-lang/python-3.10.4:3.10";; python3.11) - PYTHON_PKG_DEP=">=dev-lang/python-3.11.0_beta1-r1:3.11";; + PYTHON_PKG_DEP=">=dev-lang/python-3.11.0_beta3:3.11";; python*) PYTHON_PKG_DEP="dev-lang/python:${impl#python}";; pypy) - PYTHON_PKG_DEP='>=dev-python/pypy-7.3.0:0=';; + PYTHON_PKG_DEP='>=dev-python/pypy-7.3.9:0=';; pypy3) - PYTHON_PKG_DEP='>=dev-python/pypy3-7.3.7-r1:0=';; + PYTHON_PKG_DEP='>=dev-python/pypy3-7.3.9_p1:0=';; *) die "Invalid implementation: ${impl}" esac diff --git a/net-dns/nsd/Manifest b/net-dns/nsd/Manifest index 4705886c0228..17df2b61cc13 100644 --- a/net-dns/nsd/Manifest +++ b/net-dns/nsd/Manifest @@ -1,4 +1,2 @@ DIST nsd-4.3.8.tar.gz 1225840 BLAKE2B 19d014f130844aab5b7c6224658c6e5a4a7d8d337ceb11e1641bceb367fe76b46be146c703296a12cec834020992eabec0e1ee8f3cb6211333ac8c4c7029fef5 SHA512 aec892f85a6757bfdf537c6f0b4bc3d60c564b3062b582af14df800b24261edc96bedcd0b6649444a46b198b9018397e356b919a871364032c8a2db6256b9268 -DIST nsd-4.3.9.tar.gz 1222919 BLAKE2B 0b317c246f66476e95727d763bf7444cde14936c8a87036843458b89f8c79790130995db3f0f9ff33d8bfda756cf3ae4724b07f97ee2996f05a2dcd1c14bc0e5 SHA512 de170cbaf6e0be0a20941d9d6b2102a7dddb59a320c30566238447d5740e4497f751f54488f36c2b89f2c3cff6e3101df31a36d0d2d66db8d77cfb6e86124f32 -DIST nsd-4.4.0.tar.gz 1226433 BLAKE2B 8ead662c2ad87e9cfd9424898758cb7a7e6adc3c419583e0a4c3ced4d6bb8ae5005266af621ee4c138a06215652b60b65f075a875b6473dc92d1bef414901be1 SHA512 0fa32337246ccdaf9d6fe4257792cef8b6ce6de086fdee1024983da7b90a77b9039061cee87a2e0ad7eddf195411c57f4777469d973f2bdc10d3a51ee96d90bc DIST nsd-4.5.0.tar.gz 1259059 BLAKE2B 5c90a17b2c2df3cf06bea2609fb02198b4fdde3e9ed7cc0a07526d43069f735458a0c1775fc7b45ac7bd1fba42ec329fe5b67378d6282bf86f6c520f73b00397 SHA512 0309e1ff083b6f2118ba6fd59425319c21f31558d30e17a40eb8f1e53dee9e3e766d7b53eb50462130ba17b454a3559dc786d344cb779468d255732bbc6bc5da diff --git a/net-dns/nsd/files/nsd-4.3.9-no_ssl.patch b/net-dns/nsd/files/nsd-4.3.9-no_ssl.patch deleted file mode 100644 index 33553a0ec889..000000000000 --- a/net-dns/nsd/files/nsd-4.3.9-no_ssl.patch +++ /dev/null @@ -1,22 +0,0 @@ -From c5e6a8e5e566380c8c6731e9feb7ac686a1c0735 Mon Sep 17 00:00:00 2001 -From: "W.C.A. Wijngaards" <wouter@nlnetlabs.nl> -Date: Fri, 28 Jan 2022 16:38:53 +0100 -Subject: [PATCH] - Fix #206: build with --without-ssl fails. - -diff --git a/edns.c b/edns.c -index c7fc39d9..478ec681 100644 ---- a/edns.c -+++ b/edns.c -@@ -21,6 +21,12 @@ - #include "nsd.h" - #include "query.h" - -+#if !defined(HAVE_SSL) || !defined(HAVE_CRYPTO_MEMCMP) -+/* we need fixed time compare, pull it in from tsig.c */ -+#define CRYPTO_memcmp memcmp_fixedtime -+int memcmp_fixedtime(const void *s1, const void *s2, size_t n); -+#endif -+ - void - edns_init_data(edns_data_type *data, uint16_t max_length) - { diff --git a/net-dns/nsd/nsd-4.3.9.ebuild b/net-dns/nsd/nsd-4.3.9.ebuild deleted file mode 100644 index e4f824b01061..000000000000 --- a/net-dns/nsd/nsd-4.3.9.ebuild +++ /dev/null @@ -1,119 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools systemd - -# version voodoo needed only for non-release tarballs: 4.0.0_rc1 => 4.0.0rc1 -MY_PV="${PV/_beta/b}" -MY_PV="${MY_PV/_rc/rc}" -MY_P="${PN}-${MY_PV}" - -DESCRIPTION="An authoritative only, high performance, open source name server" -HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd" -SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz" -LICENSE="BSD" -SLOT="0" -[[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \ -KEYWORDS="~amd64 ~x86" -IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit root-server runtime-checks ssl systemd" - -S="${WORKDIR}/${MY_P}" - -RDEPEND=" - acct-group/nsd - acct-user/nsd - dnstap? ( - dev-libs/fstrm - dev-libs/protobuf-c - ) - libevent? ( dev-libs/libevent ) - munin? ( net-analyzer/munin ) - ssl? ( - dev-libs/openssl:0= - ) - systemd? ( sys-apps/systemd ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - sys-devel/flex - virtual/yacc - systemd? ( virtual/pkgconfig ) -" - -PATCHES=( - # Fix the paths in the munin plugin to match our install - "${FILESDIR}"/nsd_munin_.patch - - "${FILESDIR}/${P}-no_ssl.patch" #832213 -) - -src_prepare() { - default - # Required to get correct pkg-config macros with USE="systemd" - # see bugs #663618 and #758050 - eautoreconf -} - -src_configure() { - local myeconfargs=( - --enable-largefile - --enable-pie - --enable-relro-now - --enable-tcp-fastopen - --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db - --with-logfile="${EPREFIX}"/var/log/nsd.log - --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid - --with-xfrdfile="${EPREFIX}"/var/db/nsd/xfrd.state - --with-xfrdir="${EPREFIX}"/var/db/nsd - --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list - --with-zonesdir="${EPREFIX}"/var/lib/nsd - $(use_enable bind8-stats) - $(use_enable bind8-stats zone-stats) - $(use_enable dnstap) - $(use_enable ipv6) - $(use_enable minimal-responses) - $(use_enable mmap) - $(use_enable nsec3) - $(use_enable ratelimit) - $(use_enable root-server) - $(use_enable runtime-checks checking) - $(use_enable systemd) - $(use_with libevent) - $(use_with ssl) - ) - econf "${myeconfargs[@]}" -} - -src_install() { - emake DESTDIR="${D}" install - - dodoc doc/{ChangeLog,CREDITS,NSD-4-features,NSD-FOR-BIND-USERS,README,RELNOTES,REQUIREMENTS} - - newinitd "${FILESDIR}"/nsd.initd-r1 nsd - - # install munin plugin and config - if use munin ; then - exeinto /usr/libexec/munin/plugins - doexe contrib/nsd_munin_ - insinto /etc/munin/plugin-conf.d - newins "${FILESDIR}"/nsd.munin-conf nsd_munin - fi - - systemd_dounit "${FILESDIR}"/nsd.service - - # remove the /run directory that usually resides on tmpfs and is - # being taken care of by the nsd init script anyway (checkpath) - rm -r "${ED}"/run || die "Failed to remove /run" - - keepdir /var/db/${PN} -} - -pkg_postinst() { - # database directory, writable by nsd for database updates and zone transfers - install -d -m 750 -o nsd -g nsd "${EROOT}"/var/db/nsd - - # zones directory, writable by nsd for zone file updates (nsd-control write) - install -d -m 750 -o nsd -g nsd "${EROOT}"/var/lib/nsd -} diff --git a/net-dns/nsd/nsd-4.4.0.ebuild b/net-dns/nsd/nsd-4.5.0-r1.ebuild index a41057e6300d..d3d5d3b51e9d 100644 --- a/net-dns/nsd/nsd-4.4.0.ebuild +++ b/net-dns/nsd/nsd-4.5.0-r1.ebuild @@ -6,10 +6,9 @@ EAPI=8 inherit autotools systemd DESCRIPTION="An authoritative only, high performance, open source name server" -HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd" -LICENSE="BSD" -SLOT="0" -if [[ "${PV}" == *9999 ]] ; then +HOMEPAGE="https://www.nlnetlabs.nl/projects/nsd" + +if [[ ${PV} == *9999 ]] ; then inherit git-r3 EGIT_REPO_URI="https://github.com/NLnetLabs/nsd.git" else @@ -18,12 +17,17 @@ else MY_PV="${MY_PV/_rc/rc}" MY_P="${PN}-${MY_PV}" - [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \ - KEYWORDS="~amd64 ~x86" - SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz" - S="${WORKDIR}/${MY_P}" + if [[ ${PV} != *_beta* ]] && [[ ${PV} != *_rc* ]] ; then + SRC_URI="https://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz" + S="${WORKDIR}"/${MY_P} + + KEYWORDS="~amd64 ~x86" + fi fi -IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit root-server runtime-checks ssl systemd" + +LICENSE="BSD" +SLOT="0" +IUSE="bind8-stats debug dnstap libevent minimal-responses mmap munin +nsec3 ratelimit root-server ssl systemd" RDEPEND=" acct-group/nsd @@ -51,17 +55,20 @@ PATCHES=( src_prepare() { default + # Required to get correct pkg-config macros with USE="systemd" - # see bugs #663618 and #758050 + # See bugs #663618 and #758050 eautoreconf } src_configure() { local myeconfargs=( + --enable-ipv6 --enable-largefile --enable-pie --enable-relro-now --enable-tcp-fastopen + --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db --with-logfile="${EPREFIX}"/var/log/nsd.log --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid @@ -69,20 +76,21 @@ src_configure() { --with-xfrdir="${EPREFIX}"/var/db/nsd --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list --with-zonesdir="${EPREFIX}"/var/lib/nsd + $(use_enable bind8-stats) $(use_enable bind8-stats zone-stats) + $(use_enable debug checking) $(use_enable dnstap) - $(use_enable ipv6) $(use_enable minimal-responses) $(use_enable mmap) $(use_enable nsec3) $(use_enable ratelimit) $(use_enable root-server) - $(use_enable runtime-checks checking) $(use_enable systemd) $(use_with libevent) $(use_with ssl) ) + econf "${myeconfargs[@]}" } @@ -93,7 +101,7 @@ src_install() { newinitd "${FILESDIR}"/nsd.initd-r1 nsd - # install munin plugin and config + # Install munin plugin and config if use munin ; then exeinto /usr/libexec/munin/plugins doexe contrib/nsd_munin_ @@ -103,7 +111,7 @@ src_install() { systemd_dounit "${FILESDIR}"/nsd.service - # remove the /run directory that usually resides on tmpfs and is + # Remove the /run directory that usually resides on tmpfs and is # being taken care of by the nsd init script anyway (checkpath) rm -r "${ED}"/run || die "Failed to remove /run" diff --git a/net-dns/nsd/nsd-9999.ebuild b/net-dns/nsd/nsd-9999.ebuild index a41057e6300d..d3d5d3b51e9d 100644 --- a/net-dns/nsd/nsd-9999.ebuild +++ b/net-dns/nsd/nsd-9999.ebuild @@ -6,10 +6,9 @@ EAPI=8 inherit autotools systemd DESCRIPTION="An authoritative only, high performance, open source name server" -HOMEPAGE="http://www.nlnetlabs.nl/projects/nsd" -LICENSE="BSD" -SLOT="0" -if [[ "${PV}" == *9999 ]] ; then +HOMEPAGE="https://www.nlnetlabs.nl/projects/nsd" + +if [[ ${PV} == *9999 ]] ; then inherit git-r3 EGIT_REPO_URI="https://github.com/NLnetLabs/nsd.git" else @@ -18,12 +17,17 @@ else MY_PV="${MY_PV/_rc/rc}" MY_P="${PN}-${MY_PV}" - [[ "${PV}" == *_beta* ]] || [[ "${PV}" == *_rc* ]] || \ - KEYWORDS="~amd64 ~x86" - SRC_URI="http://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz" - S="${WORKDIR}/${MY_P}" + if [[ ${PV} != *_beta* ]] && [[ ${PV} != *_rc* ]] ; then + SRC_URI="https://www.nlnetlabs.nl/downloads/${PN}/${MY_P}.tar.gz" + S="${WORKDIR}"/${MY_P} + + KEYWORDS="~amd64 ~x86" + fi fi -IUSE="bind8-stats dnstap ipv6 libevent minimal-responses mmap munin +nsec3 ratelimit root-server runtime-checks ssl systemd" + +LICENSE="BSD" +SLOT="0" +IUSE="bind8-stats debug dnstap libevent minimal-responses mmap munin +nsec3 ratelimit root-server ssl systemd" RDEPEND=" acct-group/nsd @@ -51,17 +55,20 @@ PATCHES=( src_prepare() { default + # Required to get correct pkg-config macros with USE="systemd" - # see bugs #663618 and #758050 + # See bugs #663618 and #758050 eautoreconf } src_configure() { local myeconfargs=( + --enable-ipv6 --enable-largefile --enable-pie --enable-relro-now --enable-tcp-fastopen + --with-dbfile="${EPREFIX}"/var/db/nsd/nsd.db --with-logfile="${EPREFIX}"/var/log/nsd.log --with-pidfile="${EPREFIX}"/run/nsd/nsd.pid @@ -69,20 +76,21 @@ src_configure() { --with-xfrdir="${EPREFIX}"/var/db/nsd --with-zonelistfile="${EPREFIX}"/var/db/nsd/zone.list --with-zonesdir="${EPREFIX}"/var/lib/nsd + $(use_enable bind8-stats) $(use_enable bind8-stats zone-stats) + $(use_enable debug checking) $(use_enable dnstap) - $(use_enable ipv6) $(use_enable minimal-responses) $(use_enable mmap) $(use_enable nsec3) $(use_enable ratelimit) $(use_enable root-server) - $(use_enable runtime-checks checking) $(use_enable systemd) $(use_with libevent) $(use_with ssl) ) + econf "${myeconfargs[@]}" } @@ -93,7 +101,7 @@ src_install() { newinitd "${FILESDIR}"/nsd.initd-r1 nsd - # install munin plugin and config + # Install munin plugin and config if use munin ; then exeinto /usr/libexec/munin/plugins doexe contrib/nsd_munin_ @@ -103,7 +111,7 @@ src_install() { systemd_dounit "${FILESDIR}"/nsd.service - # remove the /run directory that usually resides on tmpfs and is + # Remove the /run directory that usually resides on tmpfs and is # being taken care of by the nsd init script anyway (checkpath) rm -r "${ED}"/run || die "Failed to remove /run" |