Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Apr 2018 14:00:04 +0000 (UTC)
From:      Mark Felder <feld@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r466353 - in head/net-mgmt: . unifi-lts
Message-ID:  <201804031400.w33E04md040905@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: feld
Date: Tue Apr  3 14:00:03 2018
New Revision: 466353
URL: https://svnweb.freebsd.org/changeset/ports/466353

Log:
  Create net-mgmt/unifi-lts: Long Term Support port of UniFi
  
  PR:		227239

Added:
  head/net-mgmt/unifi-lts/
     - copied from r462956, head/net-mgmt/unifi5/
Modified:
  head/net-mgmt/Makefile
  head/net-mgmt/unifi-lts/Makefile

Modified: head/net-mgmt/Makefile
==============================================================================
--- head/net-mgmt/Makefile	Tue Apr  3 13:54:06 2018	(r466352)
+++ head/net-mgmt/Makefile	Tue Apr  3 14:00:03 2018	(r466353)
@@ -375,6 +375,7 @@
     SUBDIR += triton-guesttools
     SUBDIR += unbound_exporter
     SUBDIR += unifi-devel
+    SUBDIR += unifi-lts
     SUBDIR += unifi5
     SUBDIR += victorops-nagios
     SUBDIR += vidalia

Modified: head/net-mgmt/unifi-lts/Makefile
==============================================================================
--- head/net-mgmt/unifi5/Makefile	Sun Feb 25 14:56:23 2018	(r462956)
+++ head/net-mgmt/unifi-lts/Makefile	Tue Apr  3 14:00:03 2018	(r466353)
@@ -1,11 +1,12 @@
 # Created by: Alban MAIRE <a.maire@s2mi.fr>
 # $FreeBSD$
 
-PORTNAME=	unifi5
+PORTNAME=	unifi
 PORTVERSION=	5.6.30
 PORTREVISION=	0
 CATEGORIES=	net-mgmt java
 MASTER_SITES=	http://dl.ubnt.com/unifi/${PORTVERSION}/
+PKGNAMESUFFIX=	-lts
 DISTNAME=	unifi_sysvinit_all
 EXTRACT_SUFX=	.deb
 DIST_SUBDIR=	${PORTNAME}-${PORTVERSION}
@@ -42,13 +43,12 @@ GROUPS=		unifi
 
 NO_WRKSUBDIR=	yes
 
-CONFLICTS=	unifi2-* unifi3-* unifi4-* unifi-devel-*
+CONFLICTS=	unifi5-* unifi-devel-*
 
 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)
+	(cd ${WRKSRC}/usr/lib/unifi/lib && ${LN} -f -s ${JAVAJARDIR}/snappy-java.jar snappy-java-*.jar)
 	${RM} -r ${WRKSRC}/usr/lib/unifi/lib/native
 
 do-install:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804031400.w33E04md040905>