Bug 256842 - net/rabbitmq-c: Update to 0.11.0 and various fixes to Makefile
Summary: net/rabbitmq-c: Update to 0.11.0 and various fixes to Makefile
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: Juraj Lutter
URL: https://github.com/alanxz/rabbitmq-c/...
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-26 10:17 UTC by Daniel Engberg
Modified: 2021-06-30 20:14 UTC (History)
1 user (show)

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


Attachments
Patch for rabbitmq-c (2.51 KB, patch)
2021-06-26 10:17 UTC, Daniel Engberg
no flags Details | Diff
Patch for rabbitmq-c v2 (3.22 KB, patch)
2021-06-26 16:46 UTC, Daniel Engberg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Engberg freebsd_committer 2021-06-26 10:17:58 UTC
Created attachment 226059 [details]
Patch for rabbitmq-c

Update rabbitmq-c to 0.11.0
Rearrage Makefile to Porter's Handbooks guidelines
Remove unneeded Python dependency
Make static library options
Add support for "make test"

Compile tested on 13.0-STABLE #0 stable/13-n245227-5ec4eb443e8 (amd64) (make, make check-plist, make test)
Poudriere testport OK 12.2-RELEASE (amd64)
Poudriere testport OK 11.4-RELEASE (amd64)
Comment 1 Daniel Engberg freebsd_committer 2021-06-26 16:46:53 UTC
Created attachment 226061 [details]
Patch for rabbitmq-c v2

Move dependency definition from Requires.private to Libs.private
This prevents users looking for OpenSSL's .pc file which we don't provide for base OpenSSL.

Tested with sysutils/rsyslog8 and sysutils/syslog-ng
Reported by port maintainer
Comment 2 Daniel Engberg freebsd_committer 2021-06-26 16:47:15 UTC
Submitted upstream, https://github.com/alanxz/rabbitmq-c/pull/693
Comment 3 commit-hook freebsd_committer 2021-06-30 20:07:46 UTC
A commit in branch main references this bug:

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

commit c67a6464ada6bdb6ec5c247ce95330450baed48e
Author:     Daniel Engberg <daniel.engberg.lists@pyret.net>
AuthorDate: 2021-06-30 20:04:48 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2021-06-30 20:06:02 +0000

    net/rabbitmq-c: Update to 0.11.0

    - Update to 0.11.0

    And while here, also:
    - Rearrage Makefile to Porter's Handbooks guidelines
    - Remove unneeded Python dependency
    - Make static library options
    - Add support for "make test"

    PR:             256842
    Approved by:    dch (maintainer)

 net/rabbitmq-c/Makefile                         | 21 ++++++++++++---------
 net/rabbitmq-c/distinfo                         |  6 +++---
 net/rabbitmq-c/files/patch-CMakeLists.txt (new) | 13 +++++++++++++
 net/rabbitmq-c/pkg-plist                        | 18 +++++++++++-------
 4 files changed, 39 insertions(+), 19 deletions(-)
Comment 4 commit-hook freebsd_committer 2021-06-30 20:13:48 UTC
A commit in branch 2021Q2 references this bug:

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

commit bf299f1b74f55645289b5cf199d7272c1fe8bf30
Author:     Daniel Engberg <daniel.engberg.lists@pyret.net>
AuthorDate: 2021-06-30 20:04:48 +0000
Commit:     Juraj Lutter <otis@FreeBSD.org>
CommitDate: 2021-06-30 20:12:24 +0000

    net/rabbitmq-c: Update to 0.11.0

    - Update to 0.11.0

    And while here, also:
    - Rearrage Makefile to Porter's Handbooks guidelines
    - Remove unneeded Python dependency
    - Make static library options
    - Add support for "make test"

    PR:             256842
    Approved by:    dch (maintainer)

    (cherry picked from commit c67a6464ada6bdb6ec5c247ce95330450baed48e)

 net/rabbitmq-c/Makefile                         | 23 ++++++++++++-----------
 net/rabbitmq-c/distinfo                         |  6 +++---
 net/rabbitmq-c/files/patch-CMakeLists.txt (new) | 13 +++++++++++++
 net/rabbitmq-c/pkg-plist                        | 18 +++++++++++-------
 4 files changed, 39 insertions(+), 21 deletions(-)
Comment 5 Juraj Lutter freebsd_committer 2021-06-30 20:14:44 UTC
Committed, thanks.