Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Dec 2025 22:37:10 +0000
From:      Vladimir Druzenko <vvd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Cc:        Denny Page <dennypage@me.com>
Subject:   git: f5b6f7cd0452 - main - net-mgmt/andwatch: Update 2.1.0 => 2.2.0
Message-ID:  <69320d16.35f8c.47f0a83a@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by vvd:

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

commit f5b6f7cd0452553ac6224d52ecc82ed40a769752
Author:     Denny Page <dennypage@me.com>
AuthorDate: 2025-12-04 22:32:22 +0000
Commit:     Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2025-12-04 22:32:22 +0000

    net-mgmt/andwatch: Update 2.1.0 => 2.2.0
    
    Changelog:
    https://github.com/dennypage/andwatch/releases/tag/v2.2.0
    
    - Switch from libpcap.so:net/libpcap to libpcap from base.
    - Use USES=localbase:ldflags instead of CFLAGS+=-I${LOCALBASE}/include
      and -LDFLAGS+=-L${LOCALBASE}/lib.
    - Reduce number of INSTALL_PROGRAM calls in do-install.
    
    PR:             291401
    Co-authored-by: Vladimir Druzenko <vvd@FreeBSD.org>
---
 net-mgmt/andwatch/Makefile | 17 ++++++++---------
 net-mgmt/andwatch/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 12 deletions(-)

diff --git a/net-mgmt/andwatch/Makefile b/net-mgmt/andwatch/Makefile
index 59ffb1596c24..405ae18ffd72 100644
--- a/net-mgmt/andwatch/Makefile
+++ b/net-mgmt/andwatch/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	andwatch
-PORTVERSION=	2.1.0
 DISTVERSIONPREFIX=	v
+DISTVERSION=	2.2.0
 CATEGORIES=	net-mgmt
 
 MAINTAINER=	dennypage@me.com
@@ -11,15 +11,14 @@ LICENSE=	BSD2CLAUSE
 
 BROKEN_FreeBSD_13=	Does not build
 
-LIB_DEPENDS=	libpcap.so:net/libpcap \
-		libsqlite3.so:databases/sqlite3 \
+LIB_DEPENDS=	libsqlite3.so:databases/sqlite3 \
 		libcurl.so:ftp/curl
 
+USES=		localbase:ldflags
 USE_GITHUB=	yes
 GH_ACCOUNT=	dennypage
 
-CFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
+LDFLAGS+=	-L/usr/lib
 
 SUB_FILES=	pkg-message
 
@@ -30,10 +29,10 @@ post-patch:
 		${WRKSRC}/Makefile
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/andwatchd ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/andwatch-query ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/andwatch-query-ma ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_PROGRAM} ${WRKSRC}/andwatch-update-ma ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_PROGRAM} ${WRKSRC}/andwatchd \
+		${WRKSRC}/andwatch-query \
+		${WRKSRC}/andwatch-query-ma \
+		${WRKSRC}/andwatch-update-ma ${STAGEDIR}${PREFIX}/bin
 	@${MKDIR} ${STAGEDIR}${DATADIR}
 	${INSTALL_DATA} ${WRKSRC}/andwatch-notify.sh ${STAGEDIR}${DATADIR}
 
diff --git a/net-mgmt/andwatch/distinfo b/net-mgmt/andwatch/distinfo
index 5a10cdfa910e..c57408881fd1 100644
--- a/net-mgmt/andwatch/distinfo
+++ b/net-mgmt/andwatch/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1740595076
-SHA256 (dennypage-andwatch-v2.1.0_GH0.tar.gz) = c02df4ab16214d1a4f98051d056f98a53cf33504caa8296f50b4cc8b3b6b09fc
-SIZE (dennypage-andwatch-v2.1.0_GH0.tar.gz) = 20475
+TIMESTAMP = 1764869831
+SHA256 (dennypage-andwatch-v2.2.0_GH0.tar.gz) = a9e1e950134d9fb33e5c6947946420dd012ba7ee630914b7dd65d0b55fea4fef
+SIZE (dennypage-andwatch-v2.2.0_GH0.tar.gz) = 20475


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69320d16.35f8c.47f0a83a>