Bug 274186 - emulators/winetricks: Update to 20230903
Summary: emulators/winetricks: Update to 20230903
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: Nuno Teixeira
URL: https://github.com/Winetricks/winetri...
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-30 23:10 UTC by Alexander Vereeken
Modified: 2023-10-03 08:29 UTC (History)
2 users (show)

See Also:


Attachments
0001-emulators-winetricks-Update-to-20230903.patch (7.81 KB, patch)
2023-09-30 23:10 UTC, Alexander Vereeken
Alexander88207: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Vereeken freebsd_triage 2023-09-30 23:10:10 UTC
Created attachment 245342 [details]
0001-emulators-winetricks-Update-to-20230903.patch

Hello,

this is an patch for an update to 20230903

ChangeLog: No Changelog available.

Thank you in advance!

Regards,

Alexander Vereeken
Comment 1 Nuno Teixeira freebsd_committer freebsd_triage 2023-10-02 12:55:58 UTC
Latest upstream release is 20230212 and you are creating a new version 20230903 based on commit 29e1006. This will break upstream versions.

Have you tried a better approach with Porter's Handbook:
---
Example 18. Using USE_GITHUB to Access a Commit Between Two Versions

If the current version of the software uses a Git tag, and the port needs to be updated to a newer, intermediate version, without a tag, use git-describe(1) to find out the version to use:

% git describe --tags f0038b1
v0.7.3-14-gf0038b1
---

ChangeLog:
https://github.com/Winetricks/winetricks/compare/20230212...29e1006
Comment 2 Alexander Vereeken freebsd_triage 2023-10-02 15:56:35 UTC
Hello,

can you tell me how this can break upstream versions?

If the maintainer decides to create an newer version then the date from the release date will be taken so its any case higher than my current date if an new version gets released.

I did the exact same thing two years ago in c801d31c9ddf68f34af1011b5a8585c0daa0d8aa.
Comment 3 Robert Clausecker freebsd_committer freebsd_triage 2023-10-03 04:37:06 UTC
I agree that there doesn't seem to be a problem with the versioning.  PKGVERSION will increment monotonously as required.

If the port needs to switch to a different versioning scheme, PORTEPOCH can always be incremented.
Comment 4 Nuno Teixeira freebsd_committer freebsd_triage 2023-10-03 07:19:22 UTC
Hello Alexander and Robert,

Yes, you are both right about it. I did some confusion about upstream versions and this port but it all make sense now.

Thanks and sorry for the noise :)
Comment 5 commit-hook freebsd_committer freebsd_triage 2023-10-03 08:28:56 UTC
A commit in branch main references this bug:

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

commit a08b41c963ff874fe32c764475cc975bceb5a4e7
Author:     Alexander Vereeken <Alexander88207@protonmail.com>
AuthorDate: 2023-10-03 08:25:42 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2023-10-03 08:27:42 +0000

    emulators/winetricks: Update to 20230903

    ChangeLog:
    https://github.com/Winetricks/winetricks/compare/20230212...29e1006

    PR:             274186

 emulators/winetricks/Makefile                      |  3 +-
 emulators/winetricks/distinfo                      |  6 +-
 .../winetricks/files/patch-src_winetricks (new)    | 94 ++++++++++++++++++++++
 3 files changed, 99 insertions(+), 4 deletions(-)
Comment 6 Nuno Teixeira freebsd_committer freebsd_triage 2023-10-03 08:29:44 UTC
Committed, thanks!