commit cdd2570c3c902484c3fe3f15c899337bb8541ff2
Author: Richard Shaw <hobbes1069(a)gmail.com>
Date: Tue Feb 26 15:31:15 2019 -0600
Update to 5.10.19
SETUP | 14 ++++++++++++++
unifi.spec | 19 +++++++------------
unifi.xml | 1 -
3 files changed, 21 insertions(+), 13 deletions(-)
---
diff --git a/SETUP b/SETUP
index 094a2c9..6478a33 100644
--- a/SETUP
+++ b/SETUP
@@ -25,10 +25,24 @@ For RHEL/CentOS/SL etc, you will also need Fedora EPEL repository
installed for
(as root or sudo)
# yum install epel-release
+####################
+#### All systems ###
+####################
+
Enable the unifi service and the firewall config:
# firewall-cmd --permanent --add-service=unifi
+
+To permit Cloud Access:
+
+# firewall-cmd --permanent --add-service=unifi-cloud
+
+Then reload the configuration:
+
# firewall-cmd --reload
+
+Enabling and starting the unifi service:
+
# systemctl enable unifi.service
# systemctl start unifi.service
diff --git a/unifi.spec b/unifi.spec
index 3531f2a..0ea4a11 100644
--- a/unifi.spec
+++ b/unifi.spec
@@ -4,7 +4,7 @@
%global __strip /bin/true
Name: unifi
-Version: 5.10.12
+Version: 5.10.19
Release: 1%{?dist}
Summary: Ubiquiti UniFi controller
@@ -228,17 +228,6 @@ touch %{buildroot}%{_sysconfdir}/sysconfig/%{name}
%pre
-# Migrate UniFi log to the proper directory
-if [ -d %{_sharedstatedir}/%{name}/logs ]; then
- mv -f %{_sharedstatedir}/%{name}/logs/* \
- %{_localstatedir}/log/%{name}/ 2>/dev/null
- rmdir %{_sharedstatedir}/%{name}/logs
-fi
-# Migrate run directory to the proper directory
-if [ ! -h %{_datadir}/%{name}/run ]; then
- mv -f %{_datadir}/%{name}/run \
- %{_sharedstatedir}/%{name}/ 2>/dev/null
-fi
getent group unifi >/dev/null || groupadd -r unifi
getent passwd unifi >/dev/null || \
useradd -r -g unifi -d %{_sharedstatedir}/%{name} -s /sbin/nologin \
@@ -306,6 +295,12 @@ fi
%changelog
+* Tue Feb 26 2019 Richard Shaw <hobbes1069(a)gmail.com> - 5.10.19-1
+- Update to 5.10.19
+
+* Thu Feb 14 2019 Richard Shaw <hobbes1069(a)gmail.com> - 5.10.17-1
+- Update to 5.10.17.
+
* Thu Feb 07 2019 Richard Shaw <hobbes1069(a)gmail.com> - 5.10.12-1
- Update to 5.10.12.
diff --git a/unifi.xml b/unifi.xml
index bfd19be..cc844fb 100644
--- a/unifi.xml
+++ b/unifi.xml
@@ -9,5 +9,4 @@
<port port="8843" protocol="tcp"/>
<port port="8880" protocol="tcp"/>
<port port="10001" protocol="udp"/>
-<!-- <port port="27117" protocol="tcp"/> -->
</service>
Show replies by date