Bug 276964 - devel/py-xattr: Update to v1.1.0 - Fixes compatibility with recent OpenZFS filesystems
Summary: devel/py-xattr: Update to v1.1.0 - Fixes compatibility with recent OpenZFS fi...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Roman Bogorodskiy
URL: https://github.com/xattr/xattr/releas...
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-11 05:20 UTC by Jamie Landeg-Jones
Modified: 2024-03-06 19:39 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (timur)


Attachments
patch to update port (1.67 KB, application/mbox)
2024-02-11 05:20 UTC, Jamie Landeg-Jones
no flags Details
patch to update port (1.67 KB, patch)
2024-02-11 05:21 UTC, Jamie Landeg-Jones
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jamie Landeg-Jones 2024-02-11 05:20:27 UTC
Created attachment 248342 [details]
patch to update port

Update to v1.1.0 - Strip "user." prefix from attribute name.

This module is called with the namespace prepended to the attribute name.

FreeBSD specifies these field seperately. Hence when we set names in the
"user" namespace, we should strip the "user." prefix off said name.

Normally, this would just be an asthetic difference, but recent versions
of ZFS now refuse to set on FreeBSD any attribute name starting with the
"user." prefix (this is to allow filesystems to be compatible across
FreeBSD and Linux systems without ambiguity.)

More details here: https://github.com/openzfs/zfs/commit/5c0061345b824eebe7a6578528f873ffcaae1cdd
Comment 1 Jamie Landeg-Jones 2024-02-11 05:21:47 UTC
Created attachment 248343 [details]
patch to update port
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-03-06 19:38:36 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ac3a6e257de435d84c31a4150521b3e085b69a31

commit ac3a6e257de435d84c31a4150521b3e085b69a31
Author:     Jamie Landeg-Jones <jamie@catflap.org>
AuthorDate: 2024-03-05 19:33:05 +0000
Commit:     Roman Bogorodskiy <novel@FreeBSD.org>
CommitDate: 2024-03-06 19:36:47 +0000

    devel/py-xattr: Update to 1.1.0

    This release fixes compatibility with recent OpenZFS filesystems.

    PR:             276964
    Changelog:      https://github.com/xattr/xattr/releases/tag/v1.1.0
    Approved by:    maintainer timeout

 devel/py-xattr/Makefile | 2 +-
 devel/py-xattr/distinfo | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
Comment 3 Roman Bogorodskiy freebsd_committer freebsd_triage 2024-03-06 19:39:45 UTC
Committed, thanks!