git: f5b6f7cd0452 - main - net-mgmt/andwatch: Update 2.1.0 => 2.2.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 04 Dec 2025 22:37:10 UTC
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