Bug 291348 - lang/asn1c: update to 0.9.28
Summary: lang/asn1c: update to 0.9.28
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Vladimir Druzenko
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-02 12:53 UTC by Hadi
Modified: 2026-02-09 01:04 UTC (History)
2 users (show)

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


Attachments
patch for updating lang/asn1c to 0.9.28 (2.90 KB, patch)
2025-12-02 12:53 UTC, Hadi
no flags Details | Diff
patch for updating lang/asn1c to 0.9.28 (2.92 KB, patch)
2025-12-14 09:56 UTC, Hadi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hadi 2025-12-02 12:53:56 UTC
Created attachment 265775 [details]
patch for updating lang/asn1c to 0.9.28

The patch is attached for your kind review.

Update notes:
https://github.com/vlm/asn1c/releases/tag/v0.9.28
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2025-12-02 14:34:55 UTC
^Triage: now that Attachments have the Patch flag, the [patch] convention
is obsolete.
Comment 2 Hadi 2025-12-02 16:23:16 UTC
(In reply to Mark Linimon from comment #1)

Thank you Mark. Noted.
Comment 3 Vladimir Druzenko freebsd_committer freebsd_triage 2025-12-13 16:50:47 UTC
Remove GNU_CONFIGURE_MANPREFIX=${PREFIX}/share - this is default value.
Comment 4 Hadi 2025-12-14 09:56:08 UTC
Created attachment 266179 [details]
patch for updating lang/asn1c to 0.9.28

GNU_CONFIGURE_MANPREFIX=${PREFIX}/share line is removed.
Comment 5 Hadi 2025-12-14 09:58:33 UTC
(In reply to Vladimir Druzenko from comment #3)

Thank you Vladimir, Done.
Comment 6 commit-hook freebsd_committer freebsd_triage 2026-01-11 19:32:42 UTC
A commit in branch main references this bug:

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

commit 89362eb73e6dd0b212ea1b7ea741ec97b8ac61ab
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2026-01-11 19:26:42 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-01-11 19:31:29 +0000

    lang/asn1c: Update 0.9.27 => 0.9.28

    Changelog:
    https://github.com/vlm/asn1c/releases/tag/v0.9.28

    - Switch to tarball from upstream.
    - Add LICENSE.
    - Remove GNU_CONFIGURE_MANPREFIX - default value.
    - Sort USES.
    - Fix warnings from portclippy.

    PR:             291348
    Approved by:    vlm@lionet.info (maintainer, timeout > 1 month)
    Co-authored-by: Hadi <rezaee.hadi@gmail.com>

 lang/asn1c/Makefile  | 15 ++++++---------
 lang/asn1c/distinfo  |  6 +++---
 lang/asn1c/pkg-plist | 19 +++++++++++--------
 3 files changed, 20 insertions(+), 20 deletions(-)
Comment 7 Vladimir Druzenko freebsd_committer freebsd_triage 2026-01-11 19:39:23 UTC
This upstream is dead.
There is active fork: https://github.com/mouse07410/asn1c

Also last activity from maintainer Lev Walkin <vlm@lionet.info>  I found in 2007.

What do you think about switch upstream and become the maintainer of this port?
Comment 8 Vladimir Druzenko freebsd_committer freebsd_triage 2026-01-11 19:40:03 UTC
> This upstream is dead.
https://github.com/vlm/asn1c/
Comment 9 Vladimir Druzenko freebsd_committer freebsd_triage 2026-02-01 22:08:07 UTC
Hadi, friendly ping.
Comment 10 Hadi 2026-02-02 13:57:02 UTC
(In reply to Vladimir Druzenko from comment #7)

Hey Vladimir, sorry for responding with delays.

Totally agree with you and among the existing forks mouse07410/asn1c is the most active one. Sure, I'll take care of maintaining this port.

I'm almost sure there should be no risk for switching the upstream. But just to be sure, let me run some more tests on my projects using asn1c and I'll feedback here asap.

Thanks.
Comment 11 Hadi 2026-02-08 11:03:37 UTC
After running the tests and taking all considerations into account, I conclude that the safest option is not to change the upstream for `lang/asn1c` (keep vlm as the default origin).

There are breaking changes in the mouse fork, including CLI argument changes; skeletons; parsing types and constraints; generated code; and behavioral divergence. Put simply, users who build against vlm cannot be guaranteed to get the same results with the mouse fork and unexpected behavior is likely.

Currently, almost all official repositories for major Linux distributions provide packages based on vlm (0.9.28). Packaging for the mouse fork exists only in alternative repositories (development/nightly builds). Changing the upstream could therefore affect a segment of users who port their applications to FreeBSD and expect the default upstream to match the widely used distribution packages.

Recommendation:
1. Keep and maintain `vlm` as the default upstream for `lang/asn1c`.  
2. Providing a separate port for users who require the mouse fork (for example: `lang/asn1c-git` or `lang/asn1c-mouse`).

Thanks.
Comment 12 Vladimir Druzenko freebsd_committer freebsd_triage 2026-02-09 01:04:30 UTC
(In reply to Hadi from comment #11)
I read email from you and from current maintainer.
I don't use this port, so my opinion is not needed here.
We're not changing the upstream or the maintainer.
If someone wants to create a port with a fork of the mouse, they'll need to create a new PR and attach the patch to it. For a better understanding of the situation, PR creator can add link to this PR.

Thanks!