Bug 281265

Summary: net/freeipa-client: update to 4.12.2
Product: Ports & Packages Reporter: Xavier Beaudouin <kiwi>
Component: Individual Port(s)Assignee: Mateusz Piotrowski <0mp>
Status: Closed FIXED    
Severity: Affects Some People CC: 0mp
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
git format-patch for freeipa-client update
none
git format-patch for freeipa-client update none

Description Xavier Beaudouin 2024-09-04 12:16:10 UTC
Created attachment 253326 [details]
git format-patch for freeipa-client update

This patch update freeipa-client to 4.12.2

Changelog (too long to cut and paste there):
https://www.freeipa.org/release-notes/4-12-2.html
https://www.freeipa.org/release-notes/4-12-1.html
https://www.freeipa.org/release-notes/4-12-0.html
Comment 1 Mateusz Piotrowski freebsd_committer freebsd_triage 2024-09-04 12:22:05 UTC
Comment on attachment 253326 [details]
git format-patch for freeipa-client update

Thanks for the patch!

>@@ -351,11 +351,11 @@ etc/ipa/epn/expire_msg.template
> %%PYTHON_SITELIBDIR%%/ipaplatform/suse/services.py
> %%PYTHON_SITELIBDIR%%/ipaplatform/suse/tasks.py
> %%PYTHON_SITELIBDIR%%/ipaplatform/tasks.py
>-%%PYTHON_SITELIBDIR%%/ipapython-4.11.0-py%%PYTHON_VER%%.egg-info/PKG-INFO
>-%%PYTHON_SITELIBDIR%%/ipapython-4.11.0-py%%PYTHON_VER%%.egg-info/SOURCES.txt
>-%%PYTHON_SITELIBDIR%%/ipapython-4.11.0-py%%PYTHON_VER%%.egg-info/dependency_links.txt
>-%%PYTHON_SITELIBDIR%%/ipapython-4.11.0-py%%PYTHON_VER%%.egg-info/requires.txt
>-%%PYTHON_SITELIBDIR%%/ipapython-4.11.0-py%%PYTHON_VER%%.egg-info/top_level.txt
>+%%PYTHON_SITELIBDIR%%/ipapython-4.12.2-py%%PYTHON_VER%%.egg-info/PKG-INFO
>+%%PYTHON_SITELIBDIR%%/ipapython-4.12.2-py%%PYTHON_VER%%.egg-info/SOURCES.txt
>+%%PYTHON_SITELIBDIR%%/ipapython-4.12.2-py%%PYTHON_VER%%.egg-info/dependency_links.txt
>+%%PYTHON_SITELIBDIR%%/ipapython-4.12.2-py%%PYTHON_VER%%.egg-info/requires.txt

You can probably use %%DISTVERSION%% here to minimize the diff, e.g.,:

>+%%PYTHON_SITELIBDIR%%/ipapython-%%DISTVERSION%%-py%%PYTHON_VER%%.egg-info/top_level.txt=
Comment 2 Xavier Beaudouin 2024-09-04 13:50:45 UTC
Created attachment 253327 [details]
git format-patch for freeipa-client update

Here is and updated patch with the suggested enhancements :)

Thanks
Xavier
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-09-06 09:10:12 UTC
A commit in branch main references this bug:

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

commit 453e440ef63736d9b097619f8d9b854cbe09950f
Author:     Xavier Beaudouin <kiwi@oav.net>
AuthorDate: 2024-09-04 13:47:54 +0000
Commit:     Mateusz Piotrowski <0mp@FreeBSD.org>
CommitDate: 2024-09-06 09:08:53 +0000

    net/freeipa-client: Update to 4.12.2

    Changelogs:

    - https://www.freeipa.org/release-notes/4-12-2.html
    - https://www.freeipa.org/release-notes/4-12-1.html
    - https://www.freeipa.org/release-notes/4-12-0.html

    PR:             281265
    Sponsored by:   Klara, Inc.

 net/freeipa-client/Makefile                        |  5 ++-
 net/freeipa-client/distinfo                        |  6 +--
 .../files/patch-asn1_asn1c_INTEGER.c               |  2 +-
 .../files/patch-asn1_asn1c_NativeEnumerated.c      |  2 +-
 .../files/patch-asn1_asn1c_der__encoder.c          |  2 +-
 net/freeipa-client/files/patch-client_Makefile.am  |  4 +-
 net/freeipa-client/files/patch-configure.ac        | 22 +++++++----
 net/freeipa-client/files/patch-daemons_Makefile.am |  6 +--
 net/freeipa-client/files/patch-init_Makefile.am    |  4 +-
 ...atch-ipaplatform_freebsd_____init____.py (gone) |  4 --
 .../patch-ipaplatform_freebsd___init__.py (new)    |  4 ++
 net/freeipa-client/pkg-plist                       | 44 +++++++++++-----------
 12 files changed, 56 insertions(+), 49 deletions(-)
Comment 4 Mateusz Piotrowski freebsd_committer freebsd_triage 2024-09-06 09:10:17 UTC
Just a note: when you update the port to a new version, PORTREVISION should be removed.
Comment 5 Mateusz Piotrowski freebsd_committer freebsd_triage 2024-09-06 09:10:29 UTC
Thanks for the patch!