git: 427dbb2306a7 - main - comms/aprsd: Fix build on FreeBSD current
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 25 Jan 2026 17:58:24 UTC
The branch main has been updated by db:
URL: https://cgit.FreeBSD.org/ports/commit/?id=427dbb2306a7d41b0198cf38750904732cca8de5
commit 427dbb2306a7d41b0198cf38750904732cca8de5
Author: Diane Bruce <db@FreeBSD.org>
AuthorDate: 2026-01-25 17:55:16 +0000
Commit: Diane Bruce <db@FreeBSD.org>
CommitDate: 2026-01-25 17:58:06 +0000
comms/aprsd: Fix build on FreeBSD current
- Fixed install to work on FreeBSD current
- Fixed hardcoded path names which should be set via REINPLACE
---
comms/aprsd/Makefile | 3 +--
comms/aprsd/files/patch-src_aprsd.cpp | 4 ++--
comms/aprsd/files/patch-src_utils.cpp | 2 +-
3 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/comms/aprsd/Makefile b/comms/aprsd/Makefile
index 8b7e952c32ac..5a8f8937dd3c 100644
--- a/comms/aprsd/Makefile
+++ b/comms/aprsd/Makefile
@@ -1,6 +1,6 @@
PORTNAME= aprsd
PORTVERSION= 2.2.515
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= comms hamradio
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/2.2.5-15
DISTNAME= aprsd-2.2.5-15
@@ -39,7 +39,6 @@ pre-install:
${MKDIR} ${STAGEDIR}"/var/log/aprsd"
post-install:
- @cd ${WRKSRC}/admin
.for f in INIT.TNC RESTORE.TNC aprsd.conf welcome.txt user.deny
${INSTALL_DATA} ${WRKSRC}/admin/$f ${STAGEDIR}${PREFIX}/etc/aprsd/$f.samp
.endfor
diff --git a/comms/aprsd/files/patch-src_aprsd.cpp b/comms/aprsd/files/patch-src_aprsd.cpp
index 8e4e26aa3830..51e2522345eb 100644
--- a/comms/aprsd/files/patch-src_aprsd.cpp
+++ b/comms/aprsd/files/patch-src_aprsd.cpp
@@ -5,8 +5,8 @@
const string HOMEDIR("/home/aprsd2");
-const string CONFPATH("");
-+const string LOGPATH("/var/log/aprsd/");
-+const string CONFPATH("/usr/local/etc/aprsd/");
++const string LOGPATH("%%LOGPATH%%");
++const string CONFPATH("%%CONFPATH%%");
const string CONFFILE("aprsd.conf");
const string MAINLOG("aprsd.log");
const string STSMLOG("thirdparty.log");
diff --git a/comms/aprsd/files/patch-src_utils.cpp b/comms/aprsd/files/patch-src_utils.cpp
index 05a5df9f834c..caab94eea28d 100644
--- a/comms/aprsd/files/patch-src_utils.cpp
+++ b/comms/aprsd/files/patch-src_utils.cpp
@@ -4,7 +4,7 @@
static RecursiveMutex pmtxLog;
-+const string LOGPATH("/var/log/aprsd/");
++const string LOGPATH("%%LOGPATH%%");
int WriteLog(const string& sp, const string& LogFile)
{