Bug 274838 - net-mgmt/rs-aggregate: Add new port
Summary: net-mgmt/rs-aggregate: Add new port
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: Rodrigo Osorio
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-31 21:32 UTC by Marcel Bischoff
Modified: 2023-11-13 22:58 UTC (History)
2 users (show)

See Also:


Attachments
Diff (21.35 KB, application/mbox)
2023-10-31 21:32 UTC, Marcel Bischoff
no flags Details
Patch (21.35 KB, patch)
2023-10-31 21:37 UTC, Marcel Bischoff
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel Bischoff 2023-10-31 21:32:31 UTC
Created attachment 246029 [details]
Diff

This adds a port for rs-aggregate (https://github.com/ktims/rs-aggregate), an upwards of 100 times faster drop-in replacement for net-mgmt/aggregate6.

Tested on 13.2-RELEASE-p4 (amd64) but there's no reason it shouldn't work on other platforms as well.

The usual QA steps and portlint report OK.
Comment 1 Marcel Bischoff 2023-10-31 21:37:16 UTC
Created attachment 246030 [details]
Patch
Comment 2 Kurt Jaeger freebsd_committer freebsd_triage 2023-11-13 10:32:32 UTC
testbuilds@work
Comment 3 Rodrigo Osorio freebsd_committer freebsd_triage 2023-11-13 13:46:15 UTC
Catch !
Comment 4 Kurt Jaeger freebsd_committer freebsd_triage 2023-11-13 16:31:55 UTC
(In reply to Kurt Jaeger from comment #2)
testbuilds look fine on 12.4, 13.2, 14.0, 15.0(current), 15.0-i386.
Comment 5 commit-hook freebsd_committer freebsd_triage 2023-11-13 22:57:55 UTC
A commit in branch main references this bug:

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

commit 286a2465645265dfcb819a09360af41234f6815e
Author:     Rodrigo Osorio <rodrigo@FreeBSD.org>
AuthorDate: 2023-11-13 22:50:50 +0000
Commit:     Rodrigo Osorio <rodrigo@FreeBSD.org>
CommitDate: 2023-11-13 22:55:37 +0000

    net-mgmt/rs-aggregate: Add new port

    Takes a list of IPv4 and IPv6 prefixes in conventional format on stdin, and
    performs optimisations to reduce the length of the prefix list. A drop-in
    replacement for the Python application aggregate6. This implementation is
    upwards of 100 times faster.

    PR:             274838
    Reported by:    Marcel Bischoff <marcel@herrbischoff.com>

 net-mgmt/Makefile                     |   1 +
 net-mgmt/rs-aggregate/Makefile (new)  | 126 ++++++++++++++++++++
 net-mgmt/rs-aggregate/distinfo (new)  | 211 ++++++++++++++++++++++++++++++++++
 net-mgmt/rs-aggregate/pkg-descr (new) |   4 +
 4 files changed, 342 insertions(+)
Comment 6 Rodrigo Osorio freebsd_committer freebsd_triage 2023-11-13 22:58:22 UTC
Committed, thanks