View | Details | Raw Unified | Return to bug 281339 | Differences between
and this patch

Collapse All | Expand All

(-)b/net-mgmt/braa/Makefile (-20 / +12 lines)
Lines 1-32 Link Here
1
PORTNAME=	braa
1
PORTNAME=		braa
2
PORTVERSION=	0.82
2
DISTVERSIONPREFIX= v
3
CATEGORIES=	net-mgmt
3
DISTVERSION=	0.9.1
4
MASTER_SITES=	http://s-tech.elsat.net.pl/braa/
4
PORTEPOCH=		1
5
CATEGORIES=		net-mgmt
5
6
6
MAINTAINER=	ports@FreeBSD.org
7
MAINTAINER=		bram@cbbg.nl
7
COMMENT=	Tool for making SNMP queries
8
COMMENT=		Tool for making SNMP queries
8
WWW=		http://s-tech.elsat.net.pl/braa/
9
WWW=			https://github.com/mteg/braa
9
10
10
LICENSE=	GPLv2
11
LICENSE=		GPLv2
11
LICENSE_FILE=	${WRKSRC}/COPYING
12
LICENSE_FILE=	${WRKSRC}/COPYING
12
13
13
LIB_DEPENDS=	libnetsnmp.so:net-mgmt/net-snmp
14
USE_GITHUB=		yes
15
GH_ACCOUNT=		mteg
14
16
15
USES=		gmake
16
17
LDFLAGS+=	-lcompat
18
19
PORTDOCS=	README
20
PLIST_FILES=	bin/braa
17
PLIST_FILES=	bin/braa
18
PORTDOCS=		README
21
19
22
OPTIONS_DEFINE=	DOCS
20
OPTIONS_DEFINE=	DOCS
23
21
24
post-patch:
25
	@${REINPLACE_CMD} -e \
26
		's|CFLAGS =|CFLAGS+=${CFLAGS}|g ; \
27
		s|LDFLAGS =|LDFLAGS?=${LDFLAGS}|g ; \
28
		s|strip $$(OUT)||g' ${WRKSRC}/Makefile
29
30
do-install:
22
do-install:
31
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
23
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
32
24
(-)b/net-mgmt/braa/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (braa-0.82.tar.gz) = d650d34cdf30fcbbbbf4e4f11c8f5d51fd5caa3cca58d620fa1d978b8c18919c
1
TIMESTAMP = 1725804046
2
SIZE (braa-0.82.tar.gz) = 39927
2
SHA256 (mteg-braa-v0.9.1_GH0.tar.gz) = e47dfa2c39177f3f5eab9578ac56084b057eeffa36bc621c57df7cad4aac1d6b
3
SIZE (mteg-braa-v0.9.1_GH0.tar.gz) = 24469
(-)b/net-mgmt/braa/files/patch-Makefile (-1 / +33 lines)
Added Link Here
0
- 
1
--- Makefile.orig	2024-09-08 14:03:35 UTC
2
+++ Makefile
3
@@ -4,8 +4,8 @@
4
 ###################################################################
5
 
6
 # Linux, FreeBSD, OpenBSD
7
-CFLAGS = 
8
-LDFLAGS = 
9
+#CFLAGS = 
10
+#LDFLAGS = 
11
 
12
 # Solaris / SPARC
13
 # CFLAGS = -DSOLARIS_SPARC
14
@@ -18,15 +18,14 @@ OBJECTS = ${SOURCES:.c=.o}
15
 SOURCES= braaasn.c braaoids.c braaprotocol.c queries.c braa.c
16
 OBJECTS = ${SOURCES:.c=.o}
17
 
18
-
19
 OUT= braa
20
 
21
 LIBS = 
22
 
23
 all: ${OBJECTS}
24
-	cc $(OBJECTS) -o $(OUT) $(LDFLAGS) $(LIBS)
25
-	strip $(OUT)
26
+	$(CC) $(OBJECTS) -o $(OUT) $(LDFLAGS) $(LIBS)
27
+#	strip $(OUT)
28
 
29
 clean:
30
 	rm -rf $(OBJECTS) $(OUT)
31
-	
32
\ No newline at end of file
33
+	

Return to bug 281339