Bug 285913 - www/librewolf: Update 137.0-1 => 137.0-3
Summary: www/librewolf: Update 137.0-1 => 137.0-3
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: https://www.mozilla.org/en-US/firefox...
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-06 09:18 UTC by Martin Filla
Modified: 2025-04-07 15:25 UTC (History)
1 user (show)

See Also:
vvd: merge-quarterly+


Attachments
0001-librewolf-update-to-137.0-2.patch (1.78 KB, patch)
2025-04-06 09:18 UTC, Martin Filla
no flags Details | Diff
v1 (1.96 KB, patch)
2025-04-06 21:06 UTC, Vladimir Druzenko
vvd: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Filla 2025-04-06 09:18:00 UTC
Created attachment 259354 [details]
0001-librewolf-update-to-137.0-2.patch

Hi,
This is an update Librewolf to 137.0-2. I tested in poudriere.
Comment 1 Vladimir Druzenko freebsd_committer freebsd_triage 2025-04-06 11:26:18 UTC
URL jn changelog?
Comment 2 Martin Filla 2025-04-06 12:44:52 UTC
(In reply to Vladimir Druzenko from comment #1)
Is same as 137.0-1
Comment 3 Vladimir Druzenko freebsd_committer freebsd_triage 2025-04-06 12:56:34 UTC
Just released: https://codeberg.org/librewolf/source/releases/tag/137.0-3
Comment 4 Vladimir Druzenko freebsd_committer freebsd_triage 2025-04-06 13:52:18 UTC
Testing trivial patch.
Comment 5 Vladimir Druzenko freebsd_committer freebsd_triage 2025-04-06 19:37:02 UTC
Check my patch (build and work on live system and poudriere 14.2 amd64):

diff --git a/www/librewolf/Makefile b/www/librewolf/Makefile
index a3f49ac6c9ce..52f6c52e5723 100644
--- a/www/librewolf/Makefile
+++ b/www/librewolf/Makefile
@@ -1,8 +1,10 @@
 PORTNAME=      librewolf
 DISTVERSION=   137.0
-DISTVERSIONSUFFIX=     -1.source
+LWPATCH=       -3
+DISTVERSIONSUFFIX=     ${LWPATCH}.source
+PORTREVISION=  1
 CATEGORIES=    www wayland
-MASTER_SITES=  https://gitlab.com/api/v4/projects/32320088/packages/generic/${PORTNAME}-source/${DISTVERSION}-1/
+MASTER_SITES=  https://gitlab.com/api/v4/projects/32320088/packages/generic/${PORTNAME}-source/${DISTVERSION}${LWPATCH}/

 MAINTAINER=    freebsd@sysctl.cz
 COMMENT=       Custom version of Firefox, focused on privacy, security and freedom
@@ -41,7 +43,7 @@ CONFIGURE_ENV+=       MOZ_REQUIRE_SIGNING=""
 #CFLAGS_powerpc64=     -DHWY_COMPILE_ONLY_SCALAR
 CFLAGS_powerpc64le=    -DSQLITE_BYTEORDER=1234

-WRKSRC=                ${WRKDIR}/${PORTNAME}-${DISTVERSION}-1
+WRKSRC=                ${WRKDIR}/${PORTNAME}-${DISTVERSION}${LWPATCH}

 MOZILLA_CAP=   ${MOZILLA:C/^(.).*/\1/:tu}${MOZILLA:C/^.//}

diff --git a/www/librewolf/distinfo b/www/librewolf/distinfo
index 700ed7daf2da..82d65b06df64 100644
--- a/www/librewolf/distinfo
+++ b/www/librewolf/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1743578731
-SHA256 (librewolf-137.0-1.source.tar.gz) = 9ff46d1294210d7f617c81d560e9ba507f9acf88195fabefc2cc5b6cd55bcbc1
-SIZE (librewolf-137.0-1.source.tar.gz) = 985571896
+TIMESTAMP = 1743944612
+SHA256 (librewolf-137.0-3.source.tar.gz) = 9f4a1760d7a3434645e2bd962bde7dafc0d3b0b1a500811644359cb1d613acfb
+SIZE (librewolf-137.0-3.source.tar.gz) = 985437825
diff --git a/www/librewolf/pkg-message b/www/librewolf/pkg-message
index f59b04e9f4b6..96325cc5f0d1 100644
--- a/www/librewolf/pkg-message
+++ b/www/librewolf/pkg-message
@@ -47,7 +47,7 @@ setup public key authentication to `remote_host`:
 The SSH server on `remote_host` must allow pub key authentication.

 ## Profile
-Librewolf moved profile folder to ${HOME}/.mozilla/librewolf
+Librewolf moved profile directory to ${HOME}/.mozilla/librewolf
 EOM
 }
 ]
Comment 6 Martin Filla 2025-04-06 20:29:41 UTC
(In reply to Vladimir Druzenko from comment #5)
I tried your patch and error: corrupt patch at line 50 
Can you make a "git format" patch and attach to bugzilla?
Comment 7 Vladimir Druzenko freebsd_committer freebsd_triage 2025-04-06 21:05:29 UTC
(In reply to Martin Filla from comment #6)
It's TAB <=> SPACE issue.
Comment 8 Vladimir Druzenko freebsd_committer freebsd_triage 2025-04-06 21:06:28 UTC
Created attachment 259364 [details]
v1
Comment 9 Martin Filla 2025-04-07 07:26:25 UTC
(In reply to Vladimir Druzenko from comment #8)
I tested the last patch in poudriere. It is ok.
Comment 10 commit-hook freebsd_committer freebsd_triage 2025-04-07 15:09:08 UTC
A commit in branch main references this bug:

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

commit 8f0114e140405d36b22c550b2b950b0d4bfe987b
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2025-04-07 15:00:16 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-04-07 15:07:26 +0000

    www/librewolf: Update 137.0-1 => 137.0-3

    Commit log:
    https://codeberg.org/librewolf/source/compare/137.0-1...137.0-3

    Replace "folder" with "directory" in pkg-message.

    PR:             285913
    Approved by:    Martin Filla <freebsd@sysctl.cz> (maintainer)
    MFH:            2025Q2

 www/librewolf/Makefile    | 8 +++++---
 www/librewolf/distinfo    | 6 +++---
 www/librewolf/pkg-message | 2 +-
 3 files changed, 9 insertions(+), 7 deletions(-)
Comment 11 commit-hook freebsd_committer freebsd_triage 2025-04-07 15:21:12 UTC
A commit in branch 2025Q2 references this bug:

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

commit b892cb02d867543f676399a4a4e1093221f6ee9b
Author:     Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2025-04-07 15:00:16 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-04-07 15:19:06 +0000

    www/librewolf: Update 137.0-1 => 137.0-3

    Commit log:
    https://codeberg.org/librewolf/source/compare/137.0-1...137.0-3

    Replace "folder" with "directory" in pkg-message.

    PR:             285913
    Approved by:    Martin Filla <freebsd@sysctl.cz> (maintainer)
    MFH:            2025Q2

    (cherry picked from commit 8f0114e140405d36b22c550b2b950b0d4bfe987b)

 www/librewolf/Makefile    | 8 +++++---
 www/librewolf/distinfo    | 6 +++---
 www/librewolf/pkg-message | 2 +-
 3 files changed, 9 insertions(+), 7 deletions(-)
Comment 12 Vladimir Druzenko freebsd_committer freebsd_triage 2025-04-07 15:25:31 UTC
Thanks.