Bug 188539 - [new port] net/aprsc, a plain APRS-IS server
Summary: [new port] net/aprsc, a plain APRS-IS server
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Diane Bruce
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-13 03:00 UTC by FUJIURA Toyonori
Modified: 2014-04-18 01:20 UTC (History)
0 users

See Also:


Attachments
file.shar (3.88 KB, text/plain)
2014-04-13 03:00 UTC, FUJIURA Toyonori
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description FUJIURA Toyonori 2014-04-13 03:00:00 UTC
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.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2014-04-13 03:50:34 UTC
Responsible Changed
From-To: gnats-admin->freebsd-ports-bugs

Rescue this PR from the 'pending' category.
Comment 2 Diane Bruce freebsd_committer freebsd_triage 2014-04-13 07:26:37 UTC
Responsible Changed
From-To: freebsd-ports-bugs->db

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2014-04-18 01:19:46 UTC
Author: db
Date: Fri Apr 18 00:19:41 2014
New Revision: 351507
URL: http://svnweb.freebsd.org/changeset/ports/351507
QAT: https://qat.redports.org/buildarchive/r351507/

Log:
  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

Added:
  head/net/aprsc/
  head/net/aprsc/Makefile   (contents, props changed)
  head/net/aprsc/distinfo   (contents, props changed)
  head/net/aprsc/files/
  head/net/aprsc/files/patch-Makefile.in   (contents, props changed)
  head/net/aprsc/pkg-descr   (contents, props changed)
  head/net/aprsc/pkg-plist   (contents, props changed)
Modified:
  head/net/Makefile

Modified: head/net/Makefile
==============================================================================
--- head/net/Makefile	Thu Apr 17 23:14:24 2014	(r351506)
+++ head/net/Makefile	Fri Apr 18 00:19:41 2014	(r351507)
@@ -20,6 +20,7 @@
     SUBDIR += aoe
     SUBDIR += apinger
     SUBDIR += appkonference
+    SUBDIR += aprsc
     SUBDIR += arp-scan
     SUBDIR += arp-sk
     SUBDIR += arpdig

Added: head/net/aprsc/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/aprsc/Makefile	Fri Apr 18 00:19:41 2014	(r351507)
@@ -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>

Added: head/net/aprsc/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/aprsc/distinfo	Fri Apr 18 00:19:41 2014	(r351507)
@@ -0,0 +1,2 @@
+SHA256 (aprsc-2.0.14.g28c5a6a.tar.gz) = e434aa1292ff8db93e10018402f2368461dd56efc58a01e680cde72c10fd1ffb
+SIZE (aprsc-2.0.14.g28c5a6a.tar.gz) = 1074567

Added: head/net/aprsc/files/patch-Makefile.in
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/aprsc/files/patch-Makefile.in	Fri Apr 18 00:19:41 2014	(r351507)
@@ -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
+ 
+ # -------------------------------------------------------------------- #

Added: head/net/aprsc/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/aprsc/pkg-descr	Fri Apr 18 00:19:41 2014	(r351507)
@@ -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

Added: head/net/aprsc/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/aprsc/pkg-plist	Fri Apr 18 00:19:41 2014	(r351507)
@@ -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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Diane Bruce freebsd_committer freebsd_triage 2014-04-18 01:20:44 UTC
State Changed
From-To: open->closed

New port added, with minor changes. Thanks!