From owner-svn-ports-head@freebsd.org Tue Feb 16 17:51:45 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3F091541C92; Tue, 16 Feb 2021 17:51:45 +0000 (UTC) (envelope-from db@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Dg7ns1JGJz4pR6; Tue, 16 Feb 2021 17:51:45 +0000 (UTC) (envelope-from db@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 1F67815768; Tue, 16 Feb 2021 17:51:45 +0000 (UTC) (envelope-from db@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 11GHpjbA097765; Tue, 16 Feb 2021 17:51:45 GMT (envelope-from db@FreeBSD.org) Received: (from db@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 11GHpiHr097759; Tue, 16 Feb 2021 17:51:44 GMT (envelope-from db@FreeBSD.org) Message-Id: <202102161751.11GHpiHr097759@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: db set sender to db@FreeBSD.org using -f From: Diane Bruce Date: Tue, 16 Feb 2021 17:51:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r565435 - in head/net/aprsc: . files X-SVN-Group: ports-head X-SVN-Commit-Author: db X-SVN-Commit-Paths: in head/net/aprsc: . files X-SVN-Commit-Revision: 565435 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Feb 2021 17:51:45 -0000 Author: db Date: Tue Feb 16 17:51:43 2021 New Revision: 565435 URL: https://svnweb.freebsd.org/changeset/ports/565435 Log: ------------ * Reduce memory use significantly. The "last position of all stations" cache was unnecessarily holding a copy of the last packet from each station, eating 248 bytes per station (or more, if it was a long packet). It wasn't used for anything, so I removed the packet data from the structure, and it now uses 56 bytes per station. From about 13 megabytes to about 3 megabytes on a normal day. PR: ports/253296 Submitted by: freebsd-ports@dan.me.uk Reviewed by: portmgr Approved by: Maintainer Modified: head/net/aprsc/Makefile head/net/aprsc/distinfo (contents, props changed) head/net/aprsc/files/patch-Makefile.in head/net/aprsc/files/patch-web_index.html head/net/aprsc/pkg-plist Modified: head/net/aprsc/Makefile ============================================================================== --- head/net/aprsc/Makefile Tue Feb 16 17:48:20 2021 (r565434) +++ head/net/aprsc/Makefile Tue Feb 16 17:51:43 2021 (r565435) @@ -1,9 +1,8 @@ # $FreeBSD$ PORTNAME= aprsc -PORTVERSION= 2.1.4 -DISTVERSIONSUFFIX= .g408ed49 -PORTREVISION= 3 +PORTVERSION= 2.1.8 +DISTVERSIONSUFFIX= .gf8824e8 CATEGORIES= net hamradio MASTER_SITES= http://he.fi/aprsc/down/ \ LOCAL/db @@ -16,13 +15,15 @@ LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libevent.so:devel/libevent +USES= localbase:ldflags ssl perl5 gmake shebangfix MAKEFILE= GNUmakefile - WRKSRC= ${WRKDIR}/${DISTNAME}/src GNU_CONFIGURE= yes -USES= localbase:ldflags ssl perl5 gmake shebangfix SHEBANG_FILES= aprsc_munin CONFIGURE_ARGS= --with-openssl + +post-install: + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/aprsc .include Modified: head/net/aprsc/distinfo ============================================================================== --- head/net/aprsc/distinfo Tue Feb 16 17:48:20 2021 (r565434) +++ head/net/aprsc/distinfo Tue Feb 16 17:51:43 2021 (r565435) @@ -1,3 +1,3 @@ -TIMESTAMP = 1485028042 -SHA256 (aprsc-2.1.4.g408ed49.tar.gz) = 85572232b4702b46eccbd646e4b0ad0b7535fb1788501b31a4ad45b0eb5ac8a3 -SIZE (aprsc-2.1.4.g408ed49.tar.gz) = 1649598 +TIMESTAMP = 1612522667 +SHA256 (aprsc-2.1.8.gf8824e8.tar.gz) = ff205f5f5fddbafda354288d4bf15403226c1b8e1d1d03cb9bfd672deb813604 +SIZE (aprsc-2.1.8.gf8824e8.tar.gz) = 1663599 Modified: head/net/aprsc/files/patch-Makefile.in ============================================================================== --- head/net/aprsc/files/patch-Makefile.in Tue Feb 16 17:48:20 2021 (r565434) +++ head/net/aprsc/files/patch-Makefile.in Tue Feb 16 17:51:43 2021 (r565435) @@ -1,4 +1,4 @@ ---- Makefile.in.orig 2016-02-14 00:52:59 UTC +--- Makefile.in.orig 2020-09-06 18:28:04 UTC +++ Makefile.in @@ -7,11 +7,8 @@ @@ -12,7 +12,7 @@ # generate version strings VERSION:=$(shell cat VERSION) -@@ -197,16 +194,13 @@ aprsc.8 : % : %.in VERSION Makefile +@@ -217,17 +214,14 @@ aprsc.8 : % : %.in VERSION Makefile .PHONY: install install-deb install: all @@ -22,9 +22,11 @@ - $(INSTALL_DIR) $(DESTDIR)/opt/aprsc/web - $(INSTALL_PROGRAM) aprsc $(DESTDIR)$(SBINDIR)/aprsc - $(INSTALL_PROGRAM) aprsc_munin $(DESTDIR)$(SBINDIR)/aprsc_munin +- $(INSTALL_PROGRAM) aprsc-prepare-chroot.sh $(DESTDIR)$(SBINDIR)/aprsc-prepare-chroot.sh + $(INSTALL_DIR) $(DESTDIR)$(PREFIX)/etc/aprsc/web + $(INSTALL_PROGRAM) aprsc $(DESTDIR)$(PREFIX)$(SBINDIR)/aprsc + $(INSTALL_PROGRAM) aprsc_munin $(DESTDIR)$(PREFIX)$(SBINDIR)/aprsc_munin ++ $(INSTALL_PROGRAM) aprsc-prepare-chroot.sh $(DESTDIR)$(PREFIX)$(SBINDIR)/aprsc-prepare-chroot.sh $(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 Modified: head/net/aprsc/files/patch-web_index.html ============================================================================== --- head/net/aprsc/files/patch-web_index.html Tue Feb 16 17:48:20 2021 (r565434) +++ head/net/aprsc/files/patch-web_index.html Tue Feb 16 17:51:43 2021 (r565435) @@ -1,5 +1,5 @@ ---- web/index.html.orig 2017-01-21 19:58:24.223151000 +0000 -+++ web/index.html 2017-01-21 19:58:49.601855000 +0000 +--- web/index.html.orig 2018-06-01 09:25:08 UTC ++++ web/index.html @@ -284,8 +284,7 @@ {{ sel_c.cert_issuer }}

Modified: head/net/aprsc/pkg-plist ============================================================================== --- head/net/aprsc/pkg-plist Tue Feb 16 17:48:20 2021 (r565434) +++ head/net/aprsc/pkg-plist Tue Feb 16 17:51:43 2021 (r565435) @@ -29,3 +29,4 @@ man/man8/aprsc.8.gz sbin/aprsc sbin/aprsc_munin +sbin/aprsc-prepare-chroot.sh