Bug 256192 - net/asio: Update to 1.24.0
Summary: net/asio: Update to 1.24.0
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://think-async.com/Asio/asio-1.2...
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-27 12:33 UTC by Nils Johannsen
Modified: 2022-11-01 20:13 UTC (History)
3 users (show)

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


Attachments
net/asio update to 1.18.2 (39.05 KB, patch)
2021-05-27 12:33 UTC, Nils Johannsen
no flags Details | Diff
Patch to 1.24.0 (18.57 KB, patch)
2022-08-29 08:32 UTC, Oleh Hushchenkov
no flags Details | Diff
Patch to 1.24.0 v2 (18.49 KB, patch)
2022-11-01 13:36 UTC, Oleh Hushchenkov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nils Johannsen 2021-05-27 12:33:56 UTC
Created attachment 225311 [details]
net/asio update to 1.18.2

See attachement to update net/asio port to version 1.18.2.
Comment 1 Oleh Hushchenkov 2022-08-29 08:32:15 UTC
Created attachment 236197 [details]
Patch to 1.24.0

Update asio to 1.24.
Remove boost dependency, any supported FreeBSD release contains chrono header.
Add usage of GNU make, it required now.
Comment 2 Oleh Hushchenkov 2022-09-17 12:24:15 UTC
It's maintainer timeout over 1 year. Can anyone commit this? And, probably, reset maintainer for this port?
Comment 3 Oleh Hushchenkov 2022-09-17 12:28:11 UTC
I added ports@ to email list, so repeat my last message.

It's maintainer timeout over 1 year. Can anyone commit this? And, probably, reset maintainer for this port?
Comment 4 Nuno Teixeira freebsd_committer freebsd_triage 2022-11-01 12:36:34 UTC
Hello,

upstream is at version 1.24.0.

Could you provide a patch to it?

Thanks
Comment 5 Oleh Hushchenkov 2022-11-01 12:39:07 UTC
(In reply to Nuno Teixeira from comment #4)
Hello Nuno,

I already attached the patch for 1.24.0. See attachment 236197 [details].

Thanks!
Comment 6 Nuno Teixeira freebsd_committer freebsd_triage 2022-11-01 13:14:03 UTC
- unknown GNU_MAKE variable, do you mean gmake? It seems not necessary here
- removal "RUN_DEPENDS= ${LOCALBASE}/include/boost/chrono/system_clocks.hpp:devel/boost-libs":

  Are you sure that this isn't needed?
Comment 7 Oleh Hushchenkov 2022-11-01 13:36:18 UTC
Created attachment 237782 [details]
Patch to 1.24.0 v2

Patch to 1.24.0 ver 2
Comment 8 Oleh Hushchenkov 2022-11-01 13:50:52 UTC
(In reply to Nuno Teixeira from comment #6)
> - unknown GNU_MAKE variable, do you mean gmake? It seems not necessary here
You are right, removed. Can't remember why I added it.

> - removal "RUN_DEPENDS= ${LOCALBASE}/include/boost/chrono/system_clocks.hpp:devel/boost-libs":

>  Are you sure that this isn't needed?
Yes, I use it without boost-libs installed for a long time. So it's not hard requirement.

Also 4 of 5 depended ports have direct boost-libs dependency.

And the last, net/arataga, requires only ${LOCALBASE}/include/asio/ip/address.hpp
Comment 9 commit-hook freebsd_committer freebsd_triage 2022-11-01 14:16:04 UTC
A commit in branch main references this bug:

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

commit 7c954b9de271a55b10c1c7b95be826c4e11246a6
Author:     Oleh Hushchenkov <o.hushchenkov@gmail.com>
AuthorDate: 2022-11-01 14:13:13 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2022-11-01 14:15:09 +0000

    net/asio: Update to 1.24.0

    ChangeLog:
    https://think-async.com/Asio/asio-1.24.0/doc/asio/history.html#asio.history.asio_1_24_0

    PR:             256192
    Reported by:    Nils Johannsen <nilsjohannsen@gmx.de>

 net/asio/Makefile  |   4 +-
 net/asio/distinfo  |   6 +-
 net/asio/pkg-plist | 195 +++++++++++++++++++++++++++++++++++++++++++++++++++--
 3 files changed, 193 insertions(+), 12 deletions(-)
Comment 10 Nuno Teixeira freebsd_committer freebsd_triage 2022-11-01 14:19:52 UTC
Committed, thanks!
Comment 11 Oleh Hushchenkov 2022-11-01 20:13:36 UTC
(In reply to Nuno Teixeira from comment #10)
Thank you.