BSD Ports

converters/p5-Sereal-Decoder 5.009 NetBSD

Perl5 module for fast, compact, powerful binary deserialization

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
2de940da22
License
gnu-gpl-v2 OR artistic
Categories
converters, security, perl5
Package size
132.9 KiB, 442.0 KiB installed

Description

This library implements a deserializer for an efficient, compact-output, and feature-rich binary protocol called Sereal. Its sister module Sereal::Encoder implements an encoder for this format. The two are released separately to allow for independent and safer upgrading.

The Sereal protocol version that is compatible with this decoder implementation is currently protocol version 1. As it stands, it will refuse to attempt to decode future versions of the protocol, but there is likely going to be an option to decode the parts of the input that are compatible with version 1 of the protocol. The protocol was designed to allow for this.

In the other systems

The newest version among them is 5.010, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
NetBSDconverters/p5-Sereal-Decoder5.009 behind since 2026-08-07none known-[email protected]2026-10-05
FreeBSDconverters/p5-Sereal-Decoder5.010 newestnone known-[email protected]2026-08-23
OpenBSDconverters/p5-Sereal-Decoder5.010 newestno data-The OpenBSD ports mailing-list <[email protected]>2026-08-07
DragonFlyconverters/p5-Sereal-Decoder5.004 behind since 2026-07-09none known-[email protected]-
MidnightBSDconverters/p5-Sereal-Decoder5.006 behind since 2026-07-09no data-[email protected]-
HardenedBSDconverters/p5-Sereal-Decoder5.010 newestno data-[email protected]-
GhostBSDconverters/p5-Sereal-Decoder5.010 newestno data-[email protected]-

Compare across BSDs

Version history 3

  1. 5.010 bea6289a3e
  2. 5.009 2de940da22
  3. 5.009 b9cd19e096

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkgin install p5-Sereal-Decoder

From pkgsrc:

cd /usr/pkgsrc/converters/p5-Sereal-Decoder && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_645.009
NetBSD 10.1 aarch645.009
SmartOS / illumos x86_645.010
macOS 15 arm645.010

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 1

Commit history 4

DateCommitCreditsLog message
2de940da22 wiz p5-Sereal-Decoder: use TEST_DEPENDS
bea6289a3e wiz p5-Sereal-Decoder: update to 5.010.
5.010 * Reset the pending frozen-object state (thaw_av and ref_thawhash) at the start of every decode. A decode that died before srl_finalize_structure ran -- a truncated document, for example -- left those populated, and the next decode on the same decoder then thawed items belonging to the failed document and looked up ref_thawhash keys pointing at freed AVs. That segfaulted or silently produced the wrong class. See https://github.com/Sereal/Sereal/pull/316
b9cd19e096 wen Update to 5.009
Upstream changes: 5.009 * Only use Perl's C<$Config{ccflags}> when building bundled zstd on AIX / IBM toolchains, or when C<SEREAL_ZSTD_USE_CONFIG_CCFLAGS> is set. Other platforms now use the normal zstd build flags again. 5.008 * Decoder now supports C<thaw_allow_classes> and C<thaw_deny_action> to control thaw callbacks during decoding. Thanks to James Rouzier for the patches. 5.007 * Use $Config{ccflags} to compile ztd with. Should fix AIX. Thanks to Thomas Seeling for the suggestion.
618415630a wiz *: recursive bump for perl5 5.44.0