diff options
author | db <db@FreeBSD.org> | 2014-04-18 08:19:41 +0800 |
---|---|---|
committer | db <db@FreeBSD.org> | 2014-04-18 08:19:41 +0800 |
commit | 343e603d1126233ab3cfe89a75ba6c965e4acb58 (patch) | |
tree | a2c9921500f8a5e629aef94a1dcdec954e143acb /net/aprsc | |
parent | 9c33911c588bae8b781ba0cc473afaaafb1afd9b (diff) | |
download | freebsd-ports-gnome-343e603d1126233ab3cfe89a75ba6c965e4acb58.tar.gz freebsd-ports-gnome-343e603d1126233ab3cfe89a75ba6c965e4acb58.tar.zst freebsd-ports-gnome-343e603d1126233ab3cfe89a75ba6c965e4acb58.zip |
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
Diffstat (limited to 'net/aprsc')
-rw-r--r-- | net/aprsc/Makefile | 27 | ||||
-rw-r--r-- | net/aprsc/distinfo | 2 | ||||
-rw-r--r-- | net/aprsc/files/patch-Makefile.in | 36 | ||||
-rw-r--r-- | net/aprsc/pkg-descr | 10 | ||||
-rw-r--r-- | net/aprsc/pkg-plist | 17 |
5 files changed, 92 insertions, 0 deletions
diff --git a/net/aprsc/Makefile b/net/aprsc/Makefile new file mode 100644 index 000000000000..7f2c45a2d612 --- /dev/null +++ b/net/aprsc/Makefile @@ -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> diff --git a/net/aprsc/distinfo b/net/aprsc/distinfo new file mode 100644 index 000000000000..e7fff379175d --- /dev/null +++ b/net/aprsc/distinfo @@ -0,0 +1,2 @@ +SHA256 (aprsc-2.0.14.g28c5a6a.tar.gz) = e434aa1292ff8db93e10018402f2368461dd56efc58a01e680cde72c10fd1ffb +SIZE (aprsc-2.0.14.g28c5a6a.tar.gz) = 1074567 diff --git a/net/aprsc/files/patch-Makefile.in b/net/aprsc/files/patch-Makefile.in new file mode 100644 index 000000000000..b3f98a2f89a1 --- /dev/null +++ b/net/aprsc/files/patch-Makefile.in @@ -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 + + # -------------------------------------------------------------------- # diff --git a/net/aprsc/pkg-descr b/net/aprsc/pkg-descr new file mode 100644 index 000000000000..1677a6496d2f --- /dev/null +++ b/net/aprsc/pkg-descr @@ -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 diff --git a/net/aprsc/pkg-plist b/net/aprsc/pkg-plist new file mode 100644 index 000000000000..4b9e7e710584 --- /dev/null +++ b/net/aprsc/pkg-plist @@ -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 |