Commit graph

6555 commits

Author SHA1 Message Date
Charlie Li
f5890bd3cb
Revert "Mk/Uses/python.mk: Fix USE_PYTHON=pep517: always compile and install bytecode"
Despite installer's default behaviour to compile and install bytecode,
we are not doing so going forward at stage/package time. [0] During
initial development and qualification of PEP-517 framework support,
compiling and installing bytecode at stage/package time was considered,
but was found problematic, fragile and ultimately unreliable, both
currently and historically (with USE_PYTHON=distutils), due to our
fixed plist requirement. While the living binary distribution format
(wheel) specification [1] says to compile bytecode, that is in the
pure Python package management context (pip, etc); nuance always
exists when interacting with "system" package management.

Additionally, "bytecode is an implementation detail of the CPython
interpreter. No guarantees are made that bytecode will not be added,
removed, or changed between versions of Python," thus "should not
be considered to work across Python VMs or Python releases." [2]
This is important to ensuring correctness for those ports specifying
NO_ARCH.

Instead of compiling and installing bytecode at stage/package time,
there is a WIP, review D34739, that compiles and installs bytecode
at install time instead, using triggers.

The aforementioned build_fs_violations will be investigated.

This reverts commit de6965254c.

With hat:	python
Approved by:	tcberner (mentor, portmgr)
Reference:	https://wiki.freebsd.org/Python/PEP-517 [0]
		https://packaging.python.org/en/latest/specifications/binary-distribution-format/ [1]
		https://docs.python.org/3/library/dis.html [2]
2023-02-05 14:05:02 -05:00
Po-Chuan Hsieh
de6965254c
Mk/Uses/python.mk: Fix USE_PYTHON=pep517: always compile and install bytecode
- While I'm here, use long options for easier reading [1][2]
- Bump PORTREVISION of dependent ports (USE_PYTHON=pep517) for package change

It fixes build_fs_violation of dependent ports in poudriere (with -t flag).
It is also the default behavior of installer [2].

from py-sphinx log:
=>> Checking for staging violations... done
=>> Error: Filesystem touched during stage (files must install to ${STAGEDIR}):
extra: usr/local/lib/python3.9/site-packages/importlib_metadata/__pycache__
=>> Cleaning up wrkdir

from installer documentation:
--compile-bytecode
    Possible choices: 0, 1, 2
    generate bytecode for the specified optimization level(s) (default=0, 1)
--no-compile-bytecode
    don’t generate bytecode for installed modules
    Default: False

With hat:	python
Reference:	https://pypa-build.readthedocs.io/en/stable/ [1]
		https://installer.pypa.io/en/stable/cli/installer/ [2]
2023-02-06 02:16:47 +08:00
Po-Chuan Hsieh
5549972256
dns/public_suffix_list: Update to 20230131
- Bump PORTREVISION of dependent ports for package change

Changes:	https://github.com/publicsuffix/list/commits/master
2023-02-05 23:47:43 +08:00
Bernhard Froehlich
50eaaf263e
dns/dnscontrol: Update to 3.26.0 2023-02-05 11:47:58 +00:00
Dmitri Goutnik
fe49bf2a89 dns/dnscrypt-proxy2: Pin Go version to 1.19
vendor/github.com/lucas-clemente/quic-go/internal/qtls/go120.go:6:13: cannot use "The version of quic-go you're using can't be built on Go 1.20 yet.

quic-go doesn't support go1.20 yet, keep building this port with go1.19
for now.

PR:		269289
Reported by:	exp-run
2023-02-03 13:08:52 -05:00
Dmitri Goutnik
1e56cad00e dns/doggo: Switch to go1.19
go1.18 is out of support, switch to go1.19.

Approved by:	yuri (maintainer)
2023-02-03 10:36:41 -05:00
Ralf van der Enden
9c69849803 dns/powerdns-recursor: Update to PowerDNS Recursor 4.8.2
PR:		269282
Changelog:	https://doc.powerdns.com/recursor/changelog/4.8.html#change-4.8.2
2023-02-02 19:22:24 +01:00
Bernhard Froehlich
f00bbf7a2e
dns/dnscontrol: Update to 3.25.0 2023-01-31 12:29:40 +00:00
Benjamin Spiegel
ffd87be94f dns/blocky: Support running daemon as non-root user
Most rc.d scripts support a standard <service name>_user option in
 /etc/rc.conf to run the service as the specified user. The rc.d script
 for dns/blocky doesn't observe this setting. As a result, it's not
 possible to run as a user other than root (blocky documentation
 recommends using a non-privileged user).

 Instructions on how to run non-root user daemon have been added to
 pkg-message.

PR:		269198
MFH: 		2023Q1 (security fixes)
2023-01-31 08:38:01 +00:00
Po-Chuan Hsieh
5f82f1e996
dns/rubygem-resolv-replace: Update to 0.1.1
Changes:	https://github.com/ruby/resolv-replace/releases
2023-01-30 21:01:33 +08:00
Po-Chuan Hsieh
ba5b15a6a6
dns/rubygem-resolv: Update to 0.2.2
Changes:	https://github.com/ruby/resolv/releases
2023-01-30 21:01:33 +08:00
Po-Chuan Hsieh
96d85cd839
dns/rubygem-public_suffix: Update to 5.0.1
Changes:	https://github.com/weppos/publicsuffix-ruby/blob/main/CHANGELOG.md
2023-01-30 21:01:33 +08:00
Po-Chuan Hsieh
4e009c663c
dns/rubygem-google-apis-dns_v1: Update to 0.29.0
Changes:	https://github.com/googleapis/google-api-ruby-client/blob/main/generated/google-apis-dns_v1/CHANGELOG.md
2023-01-30 21:01:33 +08:00
Po-Chuan Hsieh
ba16c925ce
dns/py-localzone: Update version requirement of RUN_DEPENDS 2023-01-30 21:00:06 +08:00
Po-Chuan Hsieh
730d621295
dns/py-dns-lexicon: Update to 3.11.7
- Update version requirement of RUN_DEPENDS

Changes:	https://github.com/AnalogJ/lexicon/releases
2023-01-30 21:00:06 +08:00
Po-Chuan Hsieh
5d485f62c6
dns/py-dns-crawler: Update version requirement of RUN_DEPENDS 2023-01-30 21:00:06 +08:00
Po-Chuan Hsieh
e03e581206
dns/pear-Net_DNS2: Update to 1.5.3
- Update WWW

Changes:	https://github.com/mikepultz/netdns2/releases
2023-01-30 20:59:32 +08:00
Po-Chuan Hsieh
a84a38ba75
dns/p5-Net-DNS: Update to 1.36
Changes:	https://metacpan.org/dist/Net-DNS/changes
2023-01-30 20:59:28 +08:00
Po-Chuan Hsieh
d258dba4a2
dns/public_suffix_list: Bump PORTREVISION of dependent ports for package change after b55bff444d 2023-01-30 20:59:03 +08:00
Po-Chuan Hsieh
3182843ef3
dns/public_suffix_list: Fix PORTVERSION 2023-01-30 20:59:03 +08:00
Po-Chuan Hsieh
5592c5ea07
dns/libpsl: Change back to make
- Readd IDN and NLS options
- Do not install psl-make-dafsa because it requires Python
- Remove psl-make-dafsa.1
- Bump PORTREVISION for dependency and package change
2023-01-30 20:59:03 +08:00
Daniel Engberg
4357da1d4e dns/c-ares: Update to 1.19.0 and switch to CMake
- Use GitHub as primary mirror for better connectivity and use
  main site as fallback
- Switch to CMake to provide .cmake files, improve compilation
  performance and adhere framework options
  Additionally also aligns port with other distributions such as
  Alpine, Arch, Fedora, MacPorts and openSUSE
- Drop CONFIG_INFO patch, this is no longer needed by UnrealIRCd
- Enable "make test", only build test suite when requested, disable
  online tests and use Googletest from tree instead of bundled version

Changelog: https://c-ares.org/changelog.html#1_19_0

PR:		268538
Reviewed by:	zi (maintainer)
2023-01-29 19:49:36 +01:00
Matthias Andree
2111e9c69a dns/dnsmasq-devel: update to 2.89test1
ChangeLog: https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=blob_plain;f=CHANGELOG;hb=v2.89test1

+ unlisted change "Add --no-ident option" (see doc/dnsmasq.8 linked here:
https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=e5e8cae1ca4bbbabc1eca707eb3480e83e793fdf
2023-01-27 21:49:29 +01:00
Ashish SHUKLA
95dfefade4
dns/doh-proxy: Update to 0.9.7
- Update WWW
2023-01-27 15:14:40 +00:00
Ashish SHUKLA
4399ecbe90
dns/doh-proxy: Take over maintainership
MFH:		2023Q1
2023-01-27 15:13:54 +00:00
Mathieu Arnold
0606647775
dns/doh-proxy: drop maintainership 2023-01-27 14:24:43 +01:00
Muhammad Moinur Rahman
40843b1ccb Mk/Uses/apache.mk: Refactor after removal of older versions
apache22 and apache25 had been removed a long time ago however the
apache.mk file has never been refactored and is out of sync from the
file Mk/bsd.default-versions.mk. These changes refactors the removals of
the older versions. In addition:

- Move some keywords like USE_APACHE, USE_APACHE_BUILD, USE_APACHE_RUN
  from SANITY_DEPRECATED to SANITY_UNSUPPORTED
- Remove apache versions from ports Makefiles as currently there is only
  one available version in the tree. However the version checks are
  still valid and should work flawlessly whenever a new version is
  added. For example USES=apache:2.2+ are simply replaced with
  USES=apache. As currently there are no other versions available for
  test this could not be checked on it's own ground.
- Update FOO_USE=APACHE=yes to FOO_USES=apache
- Remove trailing whitespaces

Approved by:    portmgr
Differential Revision: https://reviews.freebsd.org/D38113
2023-01-25 11:54:07 -06:00
Mathieu Arnold
060654348b
dns/bind918: upgrade to 9.18.11
Security:	CVE-2022-3094 CVE-2022-3736 CVE-2022-3924
Changes:	https://downloads.isc.org/isc/bind9/9.18.11/doc/arm/html/notes.html#notes-for-bind-9-18-11
2023-01-25 17:34:18 +01:00
Mathieu Arnold
06065425a5
dns/bind916: upgrade to 9.16.37
Security:	CVE-2022-3094 CVE-2022-3736 CVE-2022-3924
Changes:	https://downloads.isc.org/isc/bind9/9.16.37/doc/arm/html/notes.html#notes-for-bind-9-16-37
2023-01-25 17:32:10 +01:00
Yuri Victorovich
d8ced9147b dns/knock: Update 5.3.0 → 5.4.0
Reported by:	portscout
2023-01-24 23:30:52 -08:00
Yuri Victorovich
4ac59f67c9 dns/doggo: Update 0.5.4 → 0.5.5
Reported by:	portscout
2023-01-24 23:10:51 -08:00
Ralf van der Enden
2c4784a760 dns/powerdns-recursor: update to 4.8.1 (fixes CVE-2023-22617)
ChangeLog: https://docs.powerdns.com/recursor/changelog/4.8.html#change-4.8.1

Avoid unbounded recursion when retrieving DS records from some misconfigured
domains.

PR:		269116
Reported by:	tremere@cainites.net (maintainer)
MFH:		2023Q1 (security fix)
Security:	CVE-2023-22617
2023-01-24 07:43:57 +01:00
Tobias C. Berner
687a1ddf1d KDE: Update KDE Frameworks to 5.102
Saturday, 14 January 2023

KDE today announces the release of KDE Frameworks 5.102.0.

KDE Frameworks are 83 addon libraries to Qt which provide a wide variety
of commonly needed functionality in mature, peer reviewed and well
tested libraries with friendly licensing terms. For an introduction see
the KDE Frameworks release announcement.

This release is part of a series of planned monthly releases making
improvements available to developers in a quick and predictable manner.

PR:		268952
Exp-run by: antoine
2023-01-23 06:38:45 +01:00
Bernhard Froehlich
7de890c05e
dns/dnscontrol: Update to 3.24.0 2023-01-22 06:51:49 +00:00
Adam Weinberger
6731a78811 dns/unbound: Clarify DYNLIB_DESC
The DYNLIB option doesn't change whether unbound itself is dynamically
or statically linked, it enables support for third-party shlibs.

Approved by:	maintainer
2023-01-18 11:18:31 -07:00
Alex Kozlov
3fcd6b0318 Remove empty lines at the end of Makefile(s)
- Remove empty lines after .include <bsd.port.mk>

Approved by:	portmgr blanket
2023-01-17 05:27:03 +00:00
Dima Panov
e1287d0d12 */*: bump libboost*.so libraries consumert after Boost upgrade 2023-01-16 22:32:07 +03:00
Fernando Apesteguía
38e6e935ef dns/unbound: add dynlib port option
PR:		268942
Reported by:	me@rcm.sh
Approved by:	jaap@NLnetLabs.nl (maintainer)
2023-01-16 13:44:02 +01:00
Muhammad Moinur Rahman
18c6e18276 Mk/**ruby.mk: Switch from USE_RUBY=yes to USES=ruby
Switch from Mk/bsd.ruby.mk to Mk/Uses/ruby.mk

Notable changes are.

- Mk/bsd.ruby.mk is moved to Mk/Uses/ruby.mk.
- USE_RUBY=yes is replaced with USES=ruby.
- USE_RUBY_EXTCONF is replaced with USES=ruby:extconf.
- USE_RUBY_RDOC is replaced with USES=ruby:rdoc.
- USE_RUBY_SETUP is replaces with USES=ruby:setup.
- RUBY_NO_BUILD_DEPENDS and RUBY_NO_RUN_DEPENDS are replaced with
  USES=ruby:{build,none,run}.
- RUBY_REQUIRE isn't used anywhere, so removed.
- USES=gem now implies USES=ruby.

This is mainly the work of yasu@ at https://reviews.freebsd.org/D27863

I have just made some cosmetic changes and ran exp-run to test that the
tree is not in a BROKEN state.

Approved by:	portmgr
Differential Revision:	https://reviews.freebsd.org/D37925
2023-01-14 17:08:33 -06:00
Daniel Engberg
b55bff444d dns/public_suffix_list: Update to 20221207
No changelog available except for upstream git history

PR:		268543
Approved by:	portmgr (maintainer timeout, 2+ weeks)
2023-01-14 19:40:35 +01:00
Daniel Engberg
f9ff6b1f78 dns/libpsl: Update to 0.21.2 and switch to Meson
* Switch to Meson (simplifies patching and is faster)
* Drop IDN option, only allow IDNA2008 compatible libraries
* Switch default library to (lib)ICU as its a more common dependency
* Enable "make test"
* Install psl-make-dafsa binary not just manpage
* Modernize Makefile to follow Porters Handbook more closely

Changelog: https://github.com/rockdaboot/libpsl/releases/tag/0.21.2

PR:		268544
Approved by:	portmgr (maintainer timeout, 2+ weeks)
2023-01-14 19:38:23 +01:00
Frank Behrens
031321acf9 dns/zkt: update to 1.1.6
ChangeLog: https://raw.githubusercontent.com/hzuleger/ZKT/master/CHANGELOG

PR:		268883
Reported by:	frank@harz.behrens.de (maintainer)
2023-01-14 18:25:31 +01:00
Dmitri Goutnik
3b383d833a all: Bump PORTVERSION after lang/go{118,119} update 2023-01-14 06:31:17 -05:00
Matthias Andree
038ffa5e63 dns/dnsmasq: fix rare cache corruption problem
Simon Kelley sent an advisory that in rare circumstances, the cache can
become corrupted and the DNS subsystem then became disfunctional.
This is reported as regression in 2.88.
Chances seem higher this happens with DNSSEC enabled, but seems not limited
to it.  For details, please see the patch contained in this commit, or
https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2023q1/016821.html

The symptom of this happening is apparently a cache internal error.

2.89 with this fix and a few others is slated for release in a week.
Let's fix the patch already and MFH to 2023Q1 so we keep our liberties
to decide whether we need to move quarterly to 2.89 or rather stick
with 2.88_1.

originally
Reported by:	Timo van Roermund (to Simon Kelley in private)
Reported by:	Simon Kelley (upstream maintainer, through mailing list)
Obtained from:	Simon Kelley (upstream maintainer, Git repository)
MFH:		2023Q1
2023-01-14 10:19:23 +01:00
Brad Davis
850f050401 dns/unbound: Update to 1.17.1
The release notes can be found at:
https://www.nlnetlabs.nl/projects/unbound/download/#unbound-1-17-1

PR:		268913
Approved by:	jaap@NLnetLabs.nl (maintainer)
Sponsored by:	Rubicon Communications, LLC ("Netgate")
2023-01-13 14:12:27 -07:00
Florian Smeets
8890b32fd2 dns/letsdns: Fix BUILD_/RUN_DEPENDS
Three of the listed BUILD_DEPENDS should actually be RUN_DEPENDS
2023-01-11 22:17:53 +01:00
Florian Smeets
18a0147149 dns/letsdns: Add new port: LetsDNS
Manage DANE TLSA records in DNS servers. Supports multiple domains with
multiple TLS certificates each. LetsDNS can be invoked manually, from a
periodic cron job, or called in a hook function of dehydrated or
certbot.

https://letsdns.org/
2023-01-11 22:10:43 +01:00
Dmitry Marakasov
77d68471ad */*: rename CHEESESHOP to PYPI in MASTER_SITES
PR:			267994
Differential revision:	D37518
Approved by:		bapt
2023-01-11 18:58:34 +03:00
Hiroki Sato
01101d1e0f
dns/dnsperf: Update to 2.10.0 2023-01-08 05:54:49 +09:00
Daniel Engberg
12f1c627d4 */*: Bump rust (cargo) ports to reflect on WITH_LTO
Bump ports in tree so they get rebuilt with new default settings
for cargo ports
2023-01-07 20:24:18 +01:00