Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Unbound to 1.19.0 (fixes existing error with trunk version) #369

Closed
gaige opened this issue Nov 12, 2023 · 1 comment
Closed

Update Unbound to 1.19.0 (fixes existing error with trunk version) #369

gaige opened this issue Nov 12, 2023 · 1 comment
Assignees

Comments

@gaige
Copy link

gaige commented Nov 12, 2023

Unbound 1.19.0 fixes a problem that @jperkin reported to the unbound folks (in super detail) about setting IPV6 options mistakenly on an IPv4 socket. I've built locally and tested with the 1.19.0 source against trunk.

If you'd prefer another format for ease of integration (like a pull request of real patch file) let me know.

diff --git a/net/unbound/Makefile b/net/unbound/Makefile
index c4c788ec98c..16edcb6863c 100644
--- a/net/unbound/Makefile
+++ b/net/unbound/Makefile
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile,v 1.100 2023/11/02 12:20:06 wiz Exp $
 
-DISTNAME=      unbound-1.18.0
-PKGREVISION=   2
+DISTNAME=      unbound-1.19.0
+PKGREVISION=   0
 CATEGORIES=    net
 MASTER_SITES=  https://nlnetlabs.nl/downloads/unbound/
 
diff --git a/net/unbound/distinfo b/net/unbound/distinfo
index f51518d56d7..d4b7493ab22 100644
--- a/net/unbound/distinfo
+++ b/net/unbound/distinfo
@@ -1,6 +1,6 @@
 $NetBSD: distinfo,v 1.75 2023/08/30 15:18:26 he Exp $
 
-BLAKE2s (unbound-1.18.0.tar.gz) = e12b30f0e41bceb2418083b26863d5ff0491f6eb1b7f5d6c9bb652a840eb4aa0
-SHA512 (unbound-1.18.0.tar.gz) = 24ca6bfe0ed493eb6aaa5cb1b2b108076ce97c48de7470adf596d1154254351e382b83aae33fcd8d4fa64847e359613e00c979b6f3ba7671215b2d0fd2b03b14
-Size (unbound-1.18.0.tar.gz) = 6315297 bytes
+BLAKE2s (unbound-1.19.0.tar.gz) = c43ad21e86e224c4fe8fc7590d9edcc5eb42e583876cb15bb6240d9d5ee71f82
+SHA512 (unbound-1.19.0.tar.gz) = c7df997ab003d098f53ac97ffb4c8428ab28e24573ff21e21782cbeadca42edadeb5b0db53ce954c9ff3106a5edb36eb47109240c554a44d9aac75727b66aeb4
+Size (unbound-1.19.0.tar.gz) = 6336113 bytes
 SHA1 (patch-configure) = fe43ed9fdcfe12897e30f03833aec631d473529d
jperkin pushed a commit that referenced this issue Nov 13, 2023
1.24.1

fix: Recursively evaluate guarded code by @Mr-Pepe in #393

1.24.0

Exclude dependabot and pre-commit ci from release notes by @gaborbernat in #369
Drop typed-ast as is no longer maintained/used by @gaborbernat in #373
@jperkin jperkin self-assigned this Nov 13, 2023
@jperkin
Copy link
Collaborator

jperkin commented Nov 13, 2023

Thanks for working on this! pkgsrc trunk was already updated with this change in NetBSD@68cf603 but it's appreciated.

The only note to make for future pull requests is that when updating a package version we simply remove any existing PKGREVISION rather than setting it to 0.

@jperkin jperkin closed this as completed Nov 13, 2023
jperkin pushed a commit that referenced this issue Jan 25, 2024
This version has added support for custom previewers and custom preloaders,
as well as completed most of the work on the concurrent plugin system.

In addition, it includes many performance optimizations, such as rewriting the
entire file system, refactoring the entire UI rendering architecture, enhancing
the task scheduling system, and implementing partial rendering for frequently
updated components.

This version also introduces many meaningful new features, such as path
auto-completion, real-time file filtering, Kitty Unicode placeholders
protocol support. Read the changelog below for details.

This is a breaking change version, please refer to our upgrade guide:
Migrating to Yazi v0.2.0

What's Changed
    refactor(nix): add shell completion and avoid impure by @XYenon in #293
    refactor: publish to crates.io by @sxyazi in #298
    feat: add a new Folder:icon() API to make it easier for users to extend
          icons by @sxyazi in #301
    feat: add config support for coordinate and size adjustment for ueberzugpp
          image preview by @15cm in #304
    fix: clear Sixel image with empty characters instead of \x2B[K to be
         compatible with GNOME VTE by @linsui in #309
    fix: nix flakes by @sxyazi in #306
    fix: change the rust tool chain in shell.nix from stable to nightly
         by @15cm in #314
    feat: support image preview on WSL by @sxyazi in #315
    fix: use WAYLAND_DISPLAY and DISPLAY to detect Wayland/X11 when
         XDG_SESSION_TYPE is not set by @sxyazi in #312
    fix: channel blockage caused by fuse permissions under the root user
         by @sxyazi in #321
    fix: jq previews empty when the user sets tab_size=8 by @sxyazi in #320
    chore: add .vscode and .idea to .gitignore by @XOR-op in #322
    feat: add an identifier before the extension to prevent file conflicts
          rather than after by @rick-yao in #316
    ci: add Rust target "aarch64-unknown-linux-gnu" to release workflow
        by @nifr in #326
    feat: add overlays to flake.nix by @musjj in #218
    docs: update readme links to website by @uncenter in #332
    feat: use USERPROFILE to retrieve readable path on Windows
          by @sravioli in #331
    feat: auto-completion for input component by @XOR-op in #324
    perf: fallback to plain highlighter for long text by @sxyazi in #329
    fix: the parent does not hover properly on switching the hidden state
         by @sxyazi in #339
    feat: better Zellij support with multi-factor detection involving emulator
          types by @sxyazi in #336
    fix: precache n-1 and n+1 pages by @Hanaasagi in #349
    feat: new reveal command by @sxyazi in #341
    refactor: extracting commands into separate files to make them easier to
              maintain by @sxyazi in #338
    feat: make width of completion relative to input by @XOR-op in #353
    feat: raise open file descriptors limit at startup by @sxyazi in #342
    fix: prefix matching should have higher priority in completion
         by @XOR-op in #352
    feat: display the number of deleted files in the prompt by @sxyazi in #359
    fix: Rust panics instead of returning an error when file times are
         invalid by @sxyazi in #357
    feat: add support for opening a file on startup by @sxyazi in #358
    feat: new kitty graphics protocol implementation for better compatibility
          with tmux through Unicode placeholders by @sxyazi in #365
    perf: precache small images to avoid cache misses; use symlink_metadata
          instead of metadata by @sxyazi in #367
    refactor: use more reasonable numeric field types for configs
              by @sxyazi in #368
    perf: clear only limited cells when hiding images by @sxyazi in #369
    perf: reduce peak memory footprint during decoding large images
          by @sxyazi in #375
    feat: make Input and Select positions customizable by @Hanaasagi in #361
    feat: expose image max alloc and bound to allow for more control
          by @sxyazi in #376
    feat: add more optimization options by @Walker-00 in #377
    fix: directories are recreated after deletion did not update the watcher
         tracking properly by @sxyazi in #381
    feat: make emacs readline keybindings configurable by @sxyazi in #382
    feat: cursor and page key navigation parity with Vim bindings
          by @flexiondotorg in #386
    feat: add more mime-types, file extensions and icons to the preset theme
          by @flexiondotorg in #387
    feat: include commit hash in yazi --version by @Hanaasagi in #393
    fix: popup components (Input, Select, etc.) being covered by previewed
         images by @sxyazi in #360
    fix: stepwise renaming causes uncertain sorting order by @sxyazi in #398
    refactor: move event to shared by @sxyazi in #403
    feat: support sorting by file extension by @JYShaw in #405
    refactor: integrate tasks into scheduler by @sxyazi in #406
    fix: catchup with the latest stable Rust by @XYenon in #409
    fix: build with rust-overlay by @XYenon in #410
    fix: crashes when selection indicator exceeds the visible area while a
         wrong folder_offset specified by @sxyazi in #416
    feat: new config option to suppress pre-caching tasks
          by @againstpetra in #430
    fix: do not use LuaJIT in riscv64 and loongarch64 architecture
         by @eatradish in #439
    feat: copy content over SSH by @sxyazi in #447
    feat!: custom preloader & previewer by @sxyazi in #401
    feat: filter files in real-time by @Rolv-Apneseth in #454
    fix: panic caused by set_hook by @sxyazi in #459
    feat: fine-grained scheduling priority by @sxyazi in #462
    fix: add --follow option to paste command by @eatradish in #436
    feat: support ANSI themes by @smores56 in #460
    perf: new UI rendering architecture by @sxyazi in #468
    fix: resize isn't triggered on app restoring by @sxyazi in #483
    feat: image orientation support by @sxyazi in #488
    refactor: quit command by @aserowy in #484
    feat: icon color and ordered icon rules support by @sxyazi in #503
    fix: prevent recursive caching - don't cache files in the cache directory
         by @sxyazi in #504
    chore: add schema urls to preset config by @uncenter in #506
    fix: update paged files after filter done by @sxyazi in #505
    feat: add support for highlighting by file type by @Akmadan23 in #510
    perf: partial rendering progress and composite into a complete UI to reduce
          CPU consumption caused by frequent progress updates
          by @sxyazi in #509
    feat: add --empty and --cursor options to the rename command
          by @Akmadan23 in #513
    feat: add YAZI_LEVEL env variable for shells by @isti115 in #514
jperkin pushed a commit that referenced this issue Feb 23, 2024
✨ Read the highlights of this release: https://git-cliff.org/blog/2.0.0
⛰️ Features
    (args) Add --no-exec flag for skipping command execution (#458) - (7ae77ff)
    (args) Add -x short argument for --context - (327512a)
    (args) Support initialization with built-in templates (#370) - (4bee628)
    (args) Allow returning the bumped version (#362) - (5e01e4c)
    (args) Set CHANGELOG.md as default missing value for output option (#354) - (04d149e)
    (changelog) Set the timestamp of the previous release - (d408e63)
    (changelog) Improve skipping via .cliffignore and --skip-commit (#413) - (faa00c6)
    (changelog) Support tag prefixes with --bump (#347) - (2399e57)
    (changelog) [breaking] Set tag to 0.0.1 via --bump if no tags exist - (3291eb9)
    (changelog) [breaking] Support templating in the footer (#369) - (0945fa8)
    (commit) Add merge_commit flag to the context (#389) - (dd27a9a)
    (github) [breaking] Support integration with GitHub repos (#363) - (5238326)
    (parser) Support using SHA1 of the commit (#385) - (1039f85)
    (parser) Support using regex scope values (#372) - (19e65c2)
    (template) Support using PR labels in the GitHub template (#467) - (30d15bb)
    (template) Support using PR title in the GitHub template (#418) - (6f32f33)
    (website) Add search bar to the website - (2d30491)

🐛 Bug Fixes
    (cd) Use workaround for linux-arm64-glibc maturin builds - (dc79ed5)
    (cd) Disable PyPI publish for linux-arm64-glibc - (e24af12)
    (cd) Avoid creating artifacts with the same name - (1647fd8)
    (cd) Fix embedding examples for crates.io release - (46b7d88)
    (changelog) Fix previous version links (#364) - (44c93b7)
    (changelog) Set the correct previous tag when a custom tag is given - (6203f77)
    (ci) Update cargo-msrv arguments - (131dd10)
    (cli) Fix broken pipe when stdout is interrupted (#407) - (bdce4b5)
    (commit) Trim the trailing newline from message (#403) - (514ca4b)
    (git) Sort commits in topological order (#415) - (29bf355)
    (links) Skip checking the GitHub commit URLs - (273d6dc)
    (website) Use node version 18 - (46dcce3)
    (website) Use prism-react-renderer v2 with docusaurus - (664ff9b)
    Allow version bump with a single previous release - (d65aec9)

🚜 Refactor
    (changelog) Support --bump for processed releases (#408) - (89e4c72)
    (ci) Use hardcoded workspace members for cargo-msrv command - (ec6035a)
    (ci) Simplify cargo-msrv installation - (f04bf6e)
    (clippy) Apply clippy suggestions - (b23dd3e)
    (clippy) Apply clippy suggestions - (a38c3fa)
    (config) Use postprocessors for checking the typos - (764e858)
    (config) Remove unnecessary newline from configs - (8edec7f)

📚 Documentation
    (configuration) Fix typo (#466) - (34a58e6)
    (fixtures) Add instructions for adding new fixtures - (8290769)
    (readme) Mention RustLab 2023 talk - (668a957)
    (readme) Use the raw link for the animation - (2c524b8)
    (security) Update security policy - (fcaa502)
    (website) Add highlights for 2.0.0 (#504) - (49684d0)
    (website) Improve matching gitmoji tip (#486) - (0731646)
    (website) Add tips and tricks section - (82e93c2)
    (website) Add tip about link parsers - (4bd47a6)
    (website) Add git-cliff animation to the website (#404) - (0561124)
    (website) Split the configuration section - (67486cc)
    (website) Add installation instructions for Homebrew (#357) - (b2f8091)

🎨 Styling
    (website) Add GitHub logo to the header - (1da7cac)
    (website) [breaking] Use dark theme as default - (dcc5116)

🧪 Testing
    (changelog) Use the correct version for missing tags - (0ca4cdb)
    (fixture) Update the date for example test fixture - (991a035)
    (fixture) Add test fixture for bumping version - (c94cb6a)
    (fixtures) Update the bumped value output to add prefix - (f635bae)

⚙️ Miscellaneous Tasks
    (changelog) Disable the default behavior of next-version (#343) - (4eef684)
    (changelog) Use 0.1.0 as default next release if no tag is found - (3123fd2)
    (command) Explicitly set the directory of command to current dir - (722efd6)
    (config) Skip dependabot commits for dev updates - (7f89160)
    (config) Revamp the configuration files - (9500bf8)
    (config) Use postprocessors for checking the typos - (5212cc9)
    (dependabot) Group the dependency updates for creating less PRs - (c6a92bf)
    (docker) Update versions in Dockerfile - (51198a5)
    (embed) Do not allow missing docs - (7754cab)
    (example) Use full links in GitHub templates (#503) - (a521891)
    (example) Remove limited commits example - (8e1e0d7)
    (github) Update templates about GitHub integration - (3f5107a)
    (mergify) Don't update PRs for the main branch - (96a220c)
    (project) Add readme to core package - (9e6bad2)
    (project) Bump MSRV to 1.74.1 - (bd5e4d2)
    (project) Update copyright years - (edc6bc0)
    (website) Fix URLs in navigation bar (#438) - (70cab99)
    (website) Rename the header for GitHub integration - (3fd9476)
    (website) Fix broken anchors - (34593dd)
    (website) Bump docusaurus to 3.1.0 - (af4482b)
    (website) Update the titles for distro installations - (ff2881b)
    (website) Add Mastodon link to the website - (2e761c9)
jperkin pushed a commit that referenced this issue Mar 4, 2024
## Version 3.1.11 (February 28, 2024)

Patch release with small build fix:

- Add explicit `std::` namespace for `isfinite` in `ImathFun.cpp`

This release also introduces the practice of signing release artifacts
via [sigstore](https://www.sigstore.dev).

### Merged Pull Requests
* \[[#371](AcademySoftwareFoundation/Imath#371]
ImathFun.cpp: add std:: to isfinite in remaining cases (#371)
* \[[#369](AcademySoftwareFoundation/Imath#369]
Add workflow to sign release artifacts with Sigstore
* \[[#368](AcademySoftwareFoundation/Imath#368]
Add std:: to isfinite in ImathFun.cpp
jperkin pushed a commit that referenced this issue May 8, 2024
Pkgsrc changes:
 * Adjust patch-configure so it still applies.
 * Adjust checksums.

Upstream changes:

Features
- The config for discard-timeout, wait-limit, wait-limit-cookie,
  wait-limit-netblock and wait-limit-cookie-netblock was added, for
  the fix to the DNSBomb issue.
- Merge #1027: Introduce 'cache-min-negative-ttl' option.
- Merge #1043 from xiaoxiaoafeifei: Add loongarch support; updates
  config.guess(2024-01-01) and config.sub(2024-01-01), verified
  with upstream.
- Implement cachedb-check-when-serve-expired: yes option, default
  is enabled. When serve expired is enabled with cachedb, it first
  checks cachedb before serving the expired response.
- Fix #876: [FR] can unbound-checkconf be silenced when configuration
  is valid?

Bug Fixes
- Fix for the DNSBomb vulnerability CVE-2024-33655. Thanks to Xiang Li
  from the Network and Information Security Lab of Tsinghua University
  for reporting it.
- Update doc/unbound.doxygen with 'doxygen -u'. Fixes option
  deprecation warnings and updates with newer defaults.
- Remove unused portion from iter_dname_ttl unit test.
- Fix validator classification of qtype DNAME for positive and
  redirection answers, and fix validator signature routine for dealing
  with the synthesized CNAME for a DNAME without previously
  encountering it and also for when the qtype is DNAME.
- Fix qname minimisation for reply with a DNAME for qtype CNAME that
  answers it.
- Fix doc test so it ignores but outputs unsupported doxygen options.
- Fix #1021 Inconsistent Behavior with Changing rpz-cname-override
  and doing a unbound-control reload.
- Merge #1028: Clearer documentation for tcp-idle-timeout and
  edns-tcp-keepalive-timeout.
- Fix #1029: rpz trigger clientip and action rpz-passthru not working
  as expected.
- Fix rpz that the rpz override is taken in case of clientip triggers.
  Fix that the clientip passthru action is logged. Fix that the
  clientip localdata action is logged. Fix rpz override action cname
  for the clientip trigger.
- Fix to unify codepath for local alias for rpz cname action override.
- Fix rpz for cname override action after nsdname and nsip triggers.
- Fix that addrinfo is not kept around but copied and freed, so that
  log-destaddr uses a copy of the information, much like NSD does.
- Merge #1030: Persist the openssl and expat directories for repeated
  Windows builds.
- Fix that rpz CNAME content is limited to the max number of cnames.
- Fix rpz, it follows iterator CNAMEs for nsip and nsdname and sets
  the reply query_info values, that is better for debug logging.
- Fix rpz that copies the cname override completely to the temp
  region, so there are no references to the rpz region.
- Add rpz unit test for nsip action override.
- Fix rpz for qtype CNAME after nameserver trigger.
- Fix rpz so that rpz CNAME can apply after rpz CNAME. And fix that
  clientip and nsip can give a CNAME.
- Fix localdata and rpz localdata to match CNAME only if no direct
  type match is available.
- Merge #831 from Pierre4012: Improve Windows NSIS installer
  script (setup.nsi).
- For #831: Format text, use exclamation icon and explicit label
  names.
- Fix name of unit test for subnet cache response.
- Fix #1032: The size of subnet_msg_cache calculation mistake cause
  memory usage increased beyond expectations.
- Fix for #1032, add safeguard to make table space positive.
- Fix comment in lruhash space function.
- Fix to add unit test for lruhash space that exercises the routines.
- Fix that when the server truncates the pidfile, it does not follow
  symbolic links.
- Fix that the server does not chown the pidfile.
- Fix #1034: DoT forward-zone via unbound-control.
- Fix for crypto related failures to have a better error string.
- Fix #1035: Potential Bug while parsing port from the "stub-host"
  string; also affected forward-zones and remote-control host
  directives.
- Fix #369: dnstap showing extra responses; for client responses
  right from the cache when replying with expired data or
  prefetching.
- Fix #1040: fix heap-buffer-overflow issue in function cfg_mark_ports
  of file util/config_file.c.
- For #1040: adjust error text and disallow negative ports in other
  parts of cfg_mark_ports.
- Fix comment syntax for view function views_find_view.
- Fix #595: unbound-anchor cannot deal with full disk; it will now
  first write out to a temp file before replacing the original one,
  like Unbound already does for auto-trust-anchor-file.
- Fixup compile without cachedb.
- Add test for cachedb serve expired.
- Extended test for cachedb serve expired.
- Fix makefile dependencies for fake_event.c.
- Fix cachedb for serve-expired with serve-expired-reply-ttl.
- Fix to not reply serve expired unless enabled for cachedb.
- Fix cachedb for serve-expired with serve-expired-client-timeout.
- Fixup unit test for cachedb server expired client timeout with
  a check if response if from upstream or from cachedb.
- Fixup cachedb to not refetch when serve-expired-client-timeout is
  used.
- Merge #1049 from Petr Men#ík: Py_NoSiteFlag is not needed since
  Python 3.8
- Fix #1048: Update ax_pkg_swig.m4 and ax_pthread.m4.
- Fix configure, autoconf for #1048.
- Add checklock feature verbose_locking to trace locks and unlocks.
- Fix edns subnet to sort rrset references when storing messages
  in the cache. This fixes a race condition in the rrset locks.
- Merge #1053: Remove child delegations from cache when grandchild
  delegations are returned from parent.
- Fix ci workflow for macos for moved install locations.
- Fix configure flto check error, by finding grep for it.
- Merge #1041: Stub and Forward unshare. This has one structure
  for them and fixes #1038: fatal error: Could not initialize
  thread / error: reading root hints.
- Fix to disable fragmentation on systems with IP_DONTFRAG,
  with a nonzero value for the socket option argument.
- Fix doc unit test for out of directory build.
- Fix cachedb with serve-expired-client-timeout disabled. The edns
  subnet module deletes global cache and cachedb cache when it
  stores a result, and serve-expired is enabled, so that the global
  reply, that is older than the ecs reply, does not return after
  the ecs reply expires.
- Add unit tests for cachedb and subnet cache expired data.
- Man page entry for unbound-checkconf -q.
- Cleanup unnecessary strdup calls for EDE strings.
- Fix doxygen comment for errinf_to_str_bogus.
jperkin pushed a commit that referenced this issue Jun 7, 2024
# scales 1.3.0

## Better type support
* `rescale(I(x), ...)` and `rescale_mid(I(x), ...)` return `I(x)` unaltered
  (@teunbrand, #403).
* Add a rescale method for `difftime` objects (#382)
* Add better support for `difftime` objects. `label_timespan()` adds
  functionality for adding correct unit suffix to timespan data,
  `breaks_timespan()` adds functionality for finding pleasant breakpoints across
  the various bases in time units, while `transform_timespan()` wraps it all
  together and provides an alternative to `transform_hms()` (#212)

## Ranges
* `train_continuous()` coerces `new` to numeric before calculating range
  (@teunbrand, #369).
* Training on factor data no longer sorts the range after multiple training
  passes if the new `fct` argument of `train_discrete()` is used (#383)
* The `DiscreteRange` class now keeps track on whether it has been trained on
  factor data.
* Attempt to make the sort behavior of the range consistent for character
  vectors during training. Mixing of character and factor data will make the
  factor level order take precedence no matter if the training starts with a
  charactor vector

## Transformations
* Transformation function have been renamed to `transform_*`-prefixed names
  instead of `*_trans`-suffixed names. This allows for a better tab-completion
  search of transformations. The S3 class of transformations has been
  renamed from `"trans"` to `"transform"`. `new_transform()` replaces
  `trans_new()` and `trim_to_domain()` replaces `trans_range()`. All old
  functions are kept for posterity.
* `transform_sqrt()` no longer returns an inverse for values outside of its
  domain (#214)
* Add an inverse (area) hyperbolic sine transformation `transform_asinh()`,
  which provides a logarithm-like transformation of a space, but which
  accommodates negative values (#297)
* Correct the domain calculation for `transform_compose()` (@mjskay, #408).
* Transformation objects can optionally include the derivatives of the transform
  and the inverse transform (@mjskay, #322).

## Misc
* The `scale_cut` argument in `number()` now works as advertised for values
  below the lowest cut value (#346)
* `scale_cut` will now choose a more appropriate cut in the case of the first
  cut creating an irrational-ish number.
* Added a new option to the `style_positive` argument in `label_*()` functions.
  Setting this to `"space"` will add a figure space in front of the number to
  make it easier to align positive and negative values as figure space takes up
  the same amount of space as `-` (#366)
* `label_dollar()` has been superseeded by `label_currency()` for clarity (#344)
* Palette functions now have the `pal_`-prefix. The old `_pal`-suffixed versions
  are kept for backward compatibility.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants