From owner-svn-ports-head@freebsd.org Fri Feb 2 01:44:51 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7C37AEDBD30; Fri, 2 Feb 2018 01:44:51 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 305B27375D; Fri, 2 Feb 2018 01:44:51 +0000 (UTC) (envelope-from feld@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 12C16153A3; Fri, 2 Feb 2018 01:44:51 +0000 (UTC) (envelope-from feld@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w121ioBM017079; Fri, 2 Feb 2018 01:44:50 GMT (envelope-from feld@FreeBSD.org) Received: (from feld@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w121ioWe017077; Fri, 2 Feb 2018 01:44:50 GMT (envelope-from feld@FreeBSD.org) Message-Id: <201802020144.w121ioWe017077@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: feld set sender to feld@FreeBSD.org using -f From: Mark Felder Date: Fri, 2 Feb 2018 01:44:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r460661 - head/net-mgmt/unifi5 X-SVN-Group: ports-head X-SVN-Commit-Author: feld X-SVN-Commit-Paths: head/net-mgmt/unifi5 X-SVN-Commit-Revision: 460661 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.25 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: Fri, 02 Feb 2018 01:44:51 -0000 Author: feld Date: Fri Feb 2 01:44:50 2018 New Revision: 460661 URL: https://svnweb.freebsd.org/changeset/ports/460661 Log: net-mgmt/unifi5: Update to 5.6.30 - also automate pkg-plist generation Changelog: https://community.ubnt.com/t5/UniFi-Updates-Blog/UniFi-5-6-30-Stable-has-been-released/ba-p/2220761 Deleted: head/net-mgmt/unifi5/pkg-plist Modified: head/net-mgmt/unifi5/Makefile head/net-mgmt/unifi5/distinfo Modified: head/net-mgmt/unifi5/Makefile ============================================================================== --- head/net-mgmt/unifi5/Makefile Fri Feb 2 01:03:48 2018 (r460660) +++ head/net-mgmt/unifi5/Makefile Fri Feb 2 01:44:50 2018 (r460661) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= unifi5 -PORTVERSION= 5.6.26 +PORTVERSION= 5.6.30 PORTREVISION= 0 CATEGORIES= net-mgmt java MASTER_SITES= http://dl.ubnt.com/unifi/${PORTVERSION}/ @@ -16,12 +16,8 @@ COMMENT= UniFi Controller v5 RUN_DEPENDS= mongodb>0:databases/mongodb \ snappyjava>0:archivers/snappy-java -BUILD= 0 -TOMCATVER= 7.0.82 - SUB_LIST+= USERS=${USERS} GROUPS=${GROUPS} JAVASHAREDIR=${JAVASHAREDIR} \ JAVA=${JAVA} -PLIST_SUB+= BUILDVERSION="${PORTVERSION}.${BUILD}" BUNDLEDFW="${BUNDLEDFW}" TOMCATVER="${TOMCATVER}" EXTRACT_CMD= /usr/bin/ar EXTRACT_BEFORE_ARGS= -p @@ -48,9 +44,12 @@ NO_WRKSUBDIR= yes CONFLICTS= unifi2-* unifi3-* unifi4-* +DIR_LIST= conf data logs run work + post-patch: ${RM} ${WRKSRC}/usr/lib/unifi/lib/snappy-java-1.1.2.6.jar ${WRKSRC}/usr/lib/unifi/bin/* (cd ${WRKSRC}/usr/lib/unifi/lib && ${LN} -s ${JAVAJARDIR}/snappy-java.jar snappy-java-1.1.2.6.jar) + ${RM} -r ${WRKSRC}/usr/lib/unifi/lib/native do-install: ${MKDIR} ${STAGEDIR}${JAVASHAREDIR}/unifi @@ -59,6 +58,13 @@ do-install: # Create directories that will be writable by unifi .for i in data logs run work ${MKDIR} ${STAGEDIR}/${JAVASHAREDIR}/unifi/${i} +.endfor + +post-install: + @${FIND} -s ${STAGEDIR}${JAVASHAREDIR}/unifi -not -type d | ${SORT} | \ + ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST} +.for dir in ${DIR_LIST} + @${ECHO} "@dir(unifi,wheel,) ${JAVASHAREDIR}/unifi/${dir}" >> ${TMPPLIST} .endfor .include Modified: head/net-mgmt/unifi5/distinfo ============================================================================== --- head/net-mgmt/unifi5/distinfo Fri Feb 2 01:03:48 2018 (r460660) +++ head/net-mgmt/unifi5/distinfo Fri Feb 2 01:44:50 2018 (r460661) @@ -1,3 +1,3 @@ -TIMESTAMP = 1514773228 -SHA256 (unifi5-5.6.26/unifi_sysvinit_all.deb) = 6ade32913eddbc555c8c1120babe9baf765547aa5944f8554f59f77a0385865b -SIZE (unifi5-5.6.26/unifi_sysvinit_all.deb) = 50195710 +TIMESTAMP = 1517534338 +SHA256 (unifi5-5.6.30/unifi_sysvinit_all.deb) = 44facefdca0e3270ccbacdf661a9dd2a2e3fe126a840c3a402f6b61393806b20 +SIZE (unifi5-5.6.30/unifi_sysvinit_all.deb) = 50209900