1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

aprsc (pronounced a-purrs-c) is a plain APRS-IS server intended to be used

on the core and Tier2 APRS-IS servers. It is written in the C language,
and it runs on Linux and Unix servers.

If you need igate or other radio-interfacing features, aprsc is not for you.

- toyo
toyokun@gmail.com

WWW: http://he.fi/aprsc

PR:		ports/188539
Submitted by:	toyokun@gmail.com
This commit is contained in:
Diane Bruce 2014-04-18 00:19:41 +00:00
parent c10af0ab70
commit 6260a8a4fe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=351507
6 changed files with 93 additions and 0 deletions

View File

@ -20,6 +20,7 @@
SUBDIR += aoe
SUBDIR += apinger
SUBDIR += appkonference
SUBDIR += aprsc
SUBDIR += arp-scan
SUBDIR += arp-sk
SUBDIR += arpdig

27
net/aprsc/Makefile Normal file
View File

@ -0,0 +1,27 @@
# $FreeBSD$
PORTNAME= aprsc
PORTVERSION= 2.0.14
DISTVERSIONSUFFIX= .g28c5a6a
CATEGORIES= net hamradio
MASTER_SITES= http://he.fi/aprsc/down/ \
${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= db
MAINTAINER= toyokun@gmail.com
COMMENT= A plain APRS-IS server
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= event2/libevent-2.0.so:${PORTSDIR}/devel/libevent2
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib/event2
MAKEFILE= GNUmakefile
WRKSRC= ${WRKDIR}/${DISTNAME}/src
GNU_CONFIGURE= yes
USES= perl5 gmake
.include <bsd.port.mk>

2
net/aprsc/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (aprsc-2.0.14.g28c5a6a.tar.gz) = e434aa1292ff8db93e10018402f2368461dd56efc58a01e680cde72c10fd1ffb
SIZE (aprsc-2.0.14.g28c5a6a.tar.gz) = 1074567

View File

@ -0,0 +1,36 @@
--- Makefile.in.orig 2014-02-18 11:34:25.000000000 -0500
+++ Makefile.in 2014-04-16 12:45:51.000000000 -0500
@@ -7,11 +7,8 @@
VARRUN= /opt/aprsc/logs # directory for aprsc.state and pid-file
VARLOG= /opt/aprsc/logs # directory for direct logfiles
-CFGFILE= @sysconfdir@/aprsc.conf # default configuration file
SBINDIR= @sbindir@ # installation path for programs
MANDIR= @mandir@ # installation path for manual pages
-SBINDIR= /opt/aprsc/sbin
-CFGFILE= /opt/aprsc/etc/aprsc.conf
# generate version strings
VERSION:=$(shell cat VERSION)
@@ -196,16 +193,13 @@
.PHONY: install install-deb
install: all
- $(INSTALL_DIR) $(DESTDIR)/opt/aprsc/etc
- $(INSTALL_DIR) $(DESTDIR)/opt/aprsc/logs
- $(INSTALL_DIR) $(DESTDIR)/opt/aprsc/data
- $(INSTALL_DIR) $(DESTDIR)/opt/aprsc/web
- $(INSTALL_PROGRAM) aprsc $(DESTDIR)$(SBINDIR)/aprsc
- $(INSTALL_PROGRAM) aprsc_munin $(DESTDIR)$(SBINDIR)/aprsc_munin
+ $(INSTALL_DIR) $(DESTDIR)$(PREFIX)/etc/aprsc/web
+ $(INSTALL_PROGRAM) aprsc $(DESTDIR)$(PREFIX)$(SBINDIR)/aprsc
+ $(INSTALL_PROGRAM) aprsc_munin $(DESTDIR)$(PREFIX)$(SBINDIR)/aprsc_munin
$(INSTALL_DATA) aprsc.8 $(DESTDIR)$(MANDIR)/man8/aprsc.8
- $(INSTALL_DATA) $(subst src/,,$(WEBFILES)) $(DESTDIR)/opt/aprsc/web
+ $(INSTALL_DATA) $(subst src/,,$(WEBFILES)) $(DESTDIR)$(PREFIX)/etc/aprsc/web
if [ ! -f $(DESTDIR)$(CFGFILE) ] ; then \
- $(INSTALL_DATA) aprsc.conf $(DESTDIR)$(CFGFILE) ; \
+ $(INSTALL_DATA) aprsc.conf $(DESTDIR)$(PREFIX)/etc/aprsc/aprsc.conf.example ; \
else true ; fi
# -------------------------------------------------------------------- #

10
net/aprsc/pkg-descr Normal file
View File

@ -0,0 +1,10 @@
aprsc (pronounced a-purrs-c) is a plain APRS-IS server intended to be used
on the core and Tier2 APRS-IS servers. It is written in the C language,
and it runs on Linux and Unix servers.
If you need igate or other radio-interfacing features, aprsc is not for you.
- toyo
toyokun@gmail.com
WWW: http://he.fi/aprsc

17
net/aprsc/pkg-plist Normal file
View File

@ -0,0 +1,17 @@
etc/aprsc/web/aprsc.css
etc/aprsc/web/aprsc.js
etc/aprsc/web/index.html
etc/aprsc/web/favicon.ico
etc/aprsc/web/aprsc-logo.png
etc/aprsc/web/aprsc-joulukissa.jpg
etc/aprsc/web/excanvas.min.js
etc/aprsc/web/jquery.flot.min.js
etc/aprsc/web/jquery.flot.selection.min.js
@unexec if cmp -s %D/etc/aprsc/aprsc.conf %D/etc/aprsc/aprsc.conf.example ; then rm -f %D/etc/aprsc/aprsc.conf ; fi
etc/aprsc/aprsc.conf.example
@exec if [ ! -f %D/etc/aprsc/aprsc.conf ]; then cp -p %D/%F %B/aprsc/aprscs.conf; fi
man/man8/aprsc.8.gz
sbin/aprsc
sbin/aprsc_munin
@dirrm etc/aprsc/web
@dirrm etc/aprsc