Bug 281934 - devel/util-linux: Enable GETOPT option by default as misc/getopt is being sunset
Summary: devel/util-linux: Enable GETOPT option by default as misc/getopt is being sunset
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: Daniel Engberg
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-07 21:55 UTC by Daniel Engberg
Modified: 2024-11-04 08:37 UTC (History)
4 users (show)

See Also:


Attachments
Patch for util-linux (625 bytes, patch)
2024-10-07 21:55 UTC, Daniel Engberg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Engberg freebsd_committer freebsd_triage 2024-10-07 21:55:15 UTC
Created attachment 254083 [details]
Patch for util-linux

Enable GETOPT option and once that is committed move consumers of misc/getopt over to devel/util-linux

Reference: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281625
Comment 1 Daniel Engberg freebsd_committer freebsd_triage 2024-10-12 16:14:08 UTC
Friendly ping
Comment 2 Po-Chuan Hsieh freebsd_committer freebsd_triage 2024-10-12 22:36:33 UTC
(In reply to Daniel Engberg from comment #1)

Please hold on. After a second thought, I'd like to change misc/getopt to use util-linux's repo. Therefore, dependent ports won't get unnecessary dependencies from devel/util-linux. I'll try if it works.

Yuri, speaking of devel/util-linux, it looks like the LIB_DEPENDS=libuuid.so:misc/e2fsprogs-libuuid should be UUID_LIB_DEPENDS.
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-11-02 12:11:53 UTC
A commit in branch main references this bug:

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

commit 64348d34b8ccacf8acab22be509eca4e3ea05058
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-11-02 11:47:43 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-11-02 11:47:46 +0000

    devel/util-linux: Enable GETOPT option by default

    Enable GETOPT option as misc/getopt is being sunset

    PR:             281934
    Approved by:    portmgr (maintainer timeout, 2+ weeks)

 devel/util-linux/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-11-03 11:50:39 UTC
A commit in branch main references this bug:

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

commit 521da5fb1087f9ec846a35e0ea200088e6571b1d
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-11-03 11:48:23 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-11-03 11:48:23 +0000

    */*: Change *_DEPENDS from devel/util-linux back to misc/getopt

    - Revert c8ace2f4ca960d3a3a0038846923efcae2f8443d
    - Bump PORTREVISION for dependency change

    PR:             281625, 281934
    Reference:      https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281934#c2

 devel/compiz-bcop/Makefile       | 4 ++--
 devel/gitflow/Makefile           | 4 ++--
 french/aster/Makefile            | 4 ++--
 math/eukleides/Makefile          | 4 ++--
 net/pacemaker2/Makefile          | 2 +-
 net/pacemaker2/Makefile.common   | 4 ++--
 sysutils/password-store/Makefile | 4 ++--
 sysutils/tartarus/Makefile       | 4 ++--
 textproc/rarian/Makefile         | 6 +++---
 textproc/xmlto/Makefile          | 4 ++--
 textproc/yodl/Makefile           | 4 ++--
 x11-fonts/fontpreview/Makefile   | 4 ++--
 12 files changed, 24 insertions(+), 24 deletions(-)
Comment 5 John Hein 2024-11-03 20:35:48 UTC
(In reply to commit-hook from comment #4)
Maybe the setting to have getopt enabled by default in devel/util-linux should be turned back off now.
Comment 6 Michael Osipov freebsd_committer freebsd_triage 2024-11-04 08:37:31 UTC
Why not make a slave port with just getopt(1) from devel/util-linux?