Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 2024 19:40:15 GMT
From:      Daniel Engberg <diizzy@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: bd87f20036c6 - main - net-mgmt/braa: Update to 0.9.1
Message-ID:  <202410221940.49MJeFSg027275@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by diizzy:

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

commit bd87f20036c6eb5c923b1b581b4f23a2727eefc0
Author:     Bram Ton <bram@cbbg.nl>
AuthorDate: 2024-10-22 19:35:32 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-10-22 19:39:57 +0000

    net-mgmt/braa: Update to 0.9.1
    
    Changelog: https://github.com/mteg/braa/releases/tag/v0.9.1
    
    Submitter adopts port
    
    PR:             281339
---
 net-mgmt/braa/Makefile             | 21 ++++++---------------
 net-mgmt/braa/distinfo             |  5 +++--
 net-mgmt/braa/files/patch-Makefile | 33 +++++++++++++++++++++++++++++++++
 3 files changed, 42 insertions(+), 17 deletions(-)

diff --git a/net-mgmt/braa/Makefile b/net-mgmt/braa/Makefile
index 28dcba21d810..6ee2d57e7b41 100644
--- a/net-mgmt/braa/Makefile
+++ b/net-mgmt/braa/Makefile
@@ -1,32 +1,23 @@
 PORTNAME=	braa
-PORTVERSION=	0.82
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.9.1
 CATEGORIES=	net-mgmt
-MASTER_SITES=	http://s-tech.elsat.net.pl/braa/
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	bram@cbbg.nl
 COMMENT=	Tool for making SNMP queries
-WWW=		http://s-tech.elsat.net.pl/braa/
+WWW=		https://github.com/mteg/braa
 
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-LIB_DEPENDS=	libnetsnmp.so:net-mgmt/net-snmp
-
-USES=		gmake
-
-LDFLAGS+=	-lcompat
+USE_GITHUB=	yes
+GH_ACCOUNT=	mteg
 
 PORTDOCS=	README
 PLIST_FILES=	bin/braa
 
 OPTIONS_DEFINE=	DOCS
 
-post-patch:
-	@${REINPLACE_CMD} -e \
-		's|CFLAGS =|CFLAGS+=${CFLAGS}|g ; \
-		s|LDFLAGS =|LDFLAGS?=${LDFLAGS}|g ; \
-		s|strip $$(OUT)||g' ${WRKSRC}/Makefile
-
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 
diff --git a/net-mgmt/braa/distinfo b/net-mgmt/braa/distinfo
index a15c9c987c83..b03bed87a38f 100644
--- a/net-mgmt/braa/distinfo
+++ b/net-mgmt/braa/distinfo
@@ -1,2 +1,3 @@
-SHA256 (braa-0.82.tar.gz) = d650d34cdf30fcbbbbf4e4f11c8f5d51fd5caa3cca58d620fa1d978b8c18919c
-SIZE (braa-0.82.tar.gz) = 39927
+TIMESTAMP = 1725804046
+SHA256 (mteg-braa-v0.9.1_GH0.tar.gz) = e47dfa2c39177f3f5eab9578ac56084b057eeffa36bc621c57df7cad4aac1d6b
+SIZE (mteg-braa-v0.9.1_GH0.tar.gz) = 24469
diff --git a/net-mgmt/braa/files/patch-Makefile b/net-mgmt/braa/files/patch-Makefile
new file mode 100644
index 000000000000..8d187e1822e2
--- /dev/null
+++ b/net-mgmt/braa/files/patch-Makefile
@@ -0,0 +1,33 @@
+--- Makefile.orig	2024-09-08 14:03:35 UTC
++++ Makefile
+@@ -4,8 +4,8 @@
+ ###################################################################
+ 
+ # Linux, FreeBSD, OpenBSD
+-CFLAGS = 
+-LDFLAGS = 
++#CFLAGS = 
++#LDFLAGS = 
+ 
+ # Solaris / SPARC
+ # CFLAGS = -DSOLARIS_SPARC
+@@ -18,15 +18,14 @@ OBJECTS = ${SOURCES:.c=.o}
+ SOURCES= braaasn.c braaoids.c braaprotocol.c queries.c braa.c
+ OBJECTS = ${SOURCES:.c=.o}
+ 
+-
+ OUT= braa
+ 
+ LIBS = 
+ 
+ all: ${OBJECTS}
+-	cc $(OBJECTS) -o $(OUT) $(LDFLAGS) $(LIBS)
+-	strip $(OUT)
++	$(CC) $(OBJECTS) -o $(OUT) $(LDFLAGS) $(LIBS)
++#	strip $(OUT)
+ 
+ clean:
+ 	rm -rf $(OBJECTS) $(OUT)
+-	
+\ No newline at end of file
++	



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410221940.49MJeFSg027275>