1
0
mirror of https://git.freebsd.org/ports.git synced 2026-06-02 11:08:52 +00:00

comms/aprsd: Fix build on FreeBSD current

- Fixed install to work on FreeBSD current
- Fixed hardcoded path names which should be set via REINPLACE
This commit is contained in:
Diane Bruce
2026-01-25 12:55:16 -05:00
parent 132554822f
commit 427dbb2306
3 changed files with 4 additions and 5 deletions
+1 -2
View File
@@ -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
+2 -2
View File
@@ -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");
+1 -1
View File
@@ -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)
{