svn commit: r466353 - in head/net-mgmt: . unifi-lts
Mark Felder
feld at FreeBSD.org
Tue Apr 3 14:00:04 UTC 2018
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 at 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:
More information about the svn-ports-all
mailing list