git: dd2ffc32bc94 - main - devel/librelp: update to 1.15.0

From: Matthew Seaman <matthew_at_FreeBSD.org>
Date: Thu, 03 Dec 2026 14:07:20 UTC
The branch main has been updated by matthew:

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

commit dd2ffc32bc940cae4661fb5c8758df5e2224869c
Author:     Matthew Seaman <matthew@FreeBSD.org>
AuthorDate: 2026-12-03 08:47:54 +0000
Commit:     Matthew Seaman <matthew@FreeBSD.org>
CommitDate: 2026-12-03 14:07:11 +0000

    devel/librelp: update to 1.15.0
    
    * License has changed to Apache-2.0
    * downloads.rsyslog.com no longer exists, so switch to USE_GITHUB
    * Consequently add USES=autoreconf
    
    Changes:        https://github.com/rsyslog/librelp/blob/v1.15.0/ChangeLog
    Reported-by:    repology
---
 devel/librelp/Makefile | 33 ++++++++++++++++-----------------
 devel/librelp/distinfo |  6 +++---
 2 files changed, 19 insertions(+), 20 deletions(-)

diff --git a/devel/librelp/Makefile b/devel/librelp/Makefile
index 0777a68f59a8..243ed5b53539 100644
--- a/devel/librelp/Makefile
+++ b/devel/librelp/Makefile
@@ -1,13 +1,23 @@
 PORTNAME=	librelp
-PORTVERSION=	1.14.0
+PORTVERSION=	1.15.0
+DISTVERSIONPREFIX=	v
 CATEGORIES=	devel
-MASTER_SITES=	http://download.rsyslog.com/librelp/
 
 MAINTAINER=	matthew@FreeBSD.org
 COMMENT=	Reliable event logging protocol library
 WWW=		https://www.rsyslog.com/librelp/
 
-LICENSE=	GPLv3
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/COPYING.ASL20
+
+USES=		autoreconf cpe libtool pathfix pkgconfig
+CPE_VENDOR=	rsyslog
+USE_LDCONFIG=	yes
+GNU_CONFIGURE=	yes
+INSTALL_TARGET=	install-strip
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	rsyslog
 
 OPTIONS_MULTI=			SSLLIB
 OPTIONS_MULTI_SSLLIB=		GNUTLS OPENSSL
@@ -21,22 +31,11 @@ OPENSSL_CONFIGURE_ENABLE=	tls-openssl
 OPENSSL_CONFIGURE_ENV=		OPENSSL_LIBS="-L${OPENSSLLIB} -lssl -lcrypto" \
 				OPENSSL_CFLAGS="-I ${OPENSSLINC}"
 
-USES=		cpe libtool pathfix pkgconfig
-CPE_VENDOR=	rsyslog
-USE_LDCONFIG=	yes
-GNU_CONFIGURE=	yes
-INSTALL_TARGET=	install-strip
-
 PLIST_FILES=	include/${PORTNAME}.h \
 		lib/${PORTNAME}.a \
-		lib/${PORTNAME}.so lib/${PORTNAME}.so.0 \
-		lib/${PORTNAME}.so.0.5.2 \
+		lib/${PORTNAME}.so \
+		lib/${PORTNAME}.so.0 \
+		lib/${PORTNAME}.so.0.6.0 \
 		libdata/pkgconfig/relp.pc
 
-PORT_VERBS=	relp
-
-post-patch:
-	@${REINPLACE_CMD} -e '/CFLAGS/s| -g||g' \
-		${WRKSRC}/configure
-
 .include <bsd.port.mk>
diff --git a/devel/librelp/distinfo b/devel/librelp/distinfo
index 74ca8424d349..1adb859e753b 100644
--- a/devel/librelp/distinfo
+++ b/devel/librelp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1795815774
-SHA256 (librelp-1.14.0.tar.gz) = 8f1a2db0708995b9102e0ad204edd54fe1cac5584e71a431b2405775f49e933b
-SIZE (librelp-1.14.0.tar.gz) = 587140
+TIMESTAMP = 1796285244
+SHA256 (rsyslog-librelp-v1.15.0_GH0.tar.gz) = 4d3cdb5a6c72c6b31dd94b5b1f72e1fd1d62f4c3aaa04828cb64784425f7b1d2
+SIZE (rsyslog-librelp-v1.15.0_GH0.tar.gz) = 202303