# This is a binary package so debuginfo doesn't do anything useful. %global debug_package %{nil} %define __jar_repack %{nil} %global __strip /bin/true Name: unifi Version: 7.2.95 Release: 1%{?dist} Summary: Ubiquiti UniFi controller License: Proprietary URL: https://unifi-sdn.ubnt.com/ Source0: http://dl.ui.com/unifi/%{version}/UniFi.unix.zip#/UniFi-%{version}.unix.zip Source1: unifi.service Source2: unifi.xml Source3: unifi-cloud.xml Source4: unifi.logrotate Source100: PERMISSION-1.html Source101: PERMISSION-2.html Source102: SETUP BuildRequires: systemd %{?systemd_requires} Requires(pre): shadow-utils Requires: firewalld-filesystem BuildRequires: firewalld-filesystem BuildRequires: %{_bindir}/execstack # https://fedoraproject.org/wiki/Changes/MongoDB_Removal #Requires: /usr/bin/mongod Requires: java-headless >= 1:1.8.0 Requires(post): policycoreutils-python-utils Requires(postun): policycoreutils-python-utils # Unbundled fonts Requires: fontawesome-fonts Requires: fontawesome-fonts-web # Prevent both packges from being installed. Conflicts: unifi-controller # https://bugzilla.redhat.com/show_bug.cgi?id=1517565 Provides: bundled(lato-fonts-web) Provides: bundled(ubnt-fonts) # Bundled java libraries ### BEGIN AUTOMATION ### Provides: bundled(ace) = 9999 Provides: bundled(analytics-api) = 1.2.1 Provides: bundled(analytics-client) = 1.2.1 Provides: bundled(analytics-privacy) = 1.2.1 Provides: bundled(annotations) = 3.0.1 Provides: bundled(antlr4-runtime) = 4.7.2 Provides: bundled(api-common) = 1.7.0 Provides: bundled(apigateway-generic-java-sdk) = 1.3 Provides: bundled(aws-iot-device-sdk-java) = 1.2.0 Provides: bundled(aws-java-sdk-cloudwatch) = 1.11.409 Provides: bundled(aws-java-sdk-core) = 1.11.409 Provides: bundled(aws-java-sdk-s3) = 1.11.409 Provides: bundled(bcpkix-jdk15on) = 1.60 Provides: bundled(bcprov-jdk15on) = 1.60 Provides: bundled(byte-buddy) = 1.8.12 Provides: bundled(classgraph) = 4.8.59 Provides: bundled(classmate) = 1.4.0 Provides: bundled(coloring) = 1.0 Provides: bundled(commons-beanutils) = 1.9.2 Provides: bundled(commons-codec) = 1.11 Provides: bundled(commons-dbcp2) = 2.7.0 Provides: bundled(commons-httpclient-contrib) = 3.1 Provides: bundled(commons-httpclient-3.1-atlassian) = 2 Provides: bundled(commons-io) = 2.11.0 Provides: bundled(commons-lang3) = 3.12.0 Provides: bundled(commons-logging) = 1.2 Provides: bundled(commons-net) = 3.8.0 Provides: bundled(commons-pool2) = 2.7.0 Provides: bundled(commons-text) = 1.10.0 Provides: bundled(commons-validator) = 1.6 Provides: bundled(compiler) = 0.9.6 Provides: bundled(cron4j) = 2.2.5 Provides: bundled(dom4j) = 1.6.1 Provides: bundled(ecj) = 3.18.0 Provides: bundled(eddsa) = 0.2.0 Provides: bundled(error_prone_annotations) = 2.7.1 Provides: bundled(failureaccess) = 1.0.1 Provides: bundled(gax) = 1.31.0 Provides: bundled(geantyref) = 1.3.11 Provides: bundled(google-api-client) = 1.26.0 Provides: bundled(google-api-services-drive-v3-rev20180830) = 1.26.0 Provides: bundled(google-api-services-storage-v1-rev135) = 1.24.1 Provides: bundled(google-auth-library-credentials) = 0.11.0 Provides: bundled(google-auth-library-oauth2-http) = 0.11.0 Provides: bundled(google-cloud-core-http) = 1.44.0 Provides: bundled(google-cloud-core) = 1.44.0 Provides: bundled(google-cloud-storage) = 1.44.0 Provides: bundled(google-http-client-appengine) = 1.24.1 Provides: bundled(google-http-client-gson) = 1.26.0 Provides: bundled(google-http-client-jackson) = 1.24.1 Provides: bundled(google-http-client-jackson2) = 1.26.0 Provides: bundled(google-http-client-jdo) = 1.26.0 Provides: bundled(google-http-client) = 1.26.0 Provides: bundled(google-oauth-client) = 1.26.0 Provides: bundled(graphql-java) = 13.0 Provides: bundled(gson-java8-datatype) = 1.1.0 Provides: bundled(gson) = 2.8.5 Provides: bundled(guava-31.0.1) = jre Provides: bundled(hibernate-validator) = 6.1.2.Final Provides: bundled(httpclient) = 4.5.13 Provides: bundled(httpcore) = 4.4.13 Provides: bundled(checker-qual) = 3.12.0 Provides: bundled(jackson-annotations) = 2.13.1 Provides: bundled(jackson-core) = 2.13.1 Provides: bundled(jackson-databind) = 2.13.1 Provides: bundled(jackson-datatype-jdk8) = 2.13.1 Provides: bundled(jackson-datatype-jsr310) = 2.13.1 Provides: bundled(jackson-module-parameter-names) = 2.13.1 Provides: bundled(jakarta.validation-api) = 2.0.2 Provides: bundled(java-dataloader) = 2.1.1 Provides: bundled(java-ipv6) = 0.17 Provides: bundled(java-semver) = 0.9.0 Provides: bundled(java-uuid-generator) = 4.0.1 Provides: bundled(javax.mail) = 1.6.2 Provides: bundled(jboss-logging) = 3.3.2.Final Provides: bundled(jcl-over-slf4j) = 1.7.36 Provides: bundled(jenetics) = 4.2.0 Provides: bundled(jmdns) = 3.4.1 Provides: bundled(joda-time) = 2.10.4 Provides: bundled(jorbis) = 0.0.17 Provides: bundled(json) = 20190722 Provides: bundled(jsr305) = 3.0.2 Provides: bundled(jstl) = 1.2 Provides: bundled(jstun) = 0.7.4 Provides: bundled(jul-to-slf4j) = 1.7.36 Provides: bundled(j2objc-annotations) = 1.3 Provides: bundled(log4j-api) = 2.17.2 Provides: bundled(log4j-core) = 2.17.2 Provides: bundled(log4j-slf4j-impl) = 2.17.2 Provides: bundled(mongo-java-driver) = 3.4.3 Provides: bundled(openssh) = 1.0 Provides: bundled(org.eclipse.paho.client.mqttv3) = 1.1.0 Provides: bundled(owasp-java-html-sanitizer) = 20190503.1 Provides: bundled(protobuf-java-util) = 3.6.0 Provides: bundled(protobuf-java) = 3.6.0 Provides: bundled(proto-google-common-protos) = 1.12.0 Provides: bundled(proto-google-iam-v1) = 0.12.0 Provides: bundled(radclient4) = 0.12.0 Provides: bundled(reactive-streams) = 1.0.3 Provides: bundled(reactor-core) = 3.4.0 Provides: bundled(servo-aws) = 0.13.0 Provides: bundled(servo-core) = 0.13.0 Provides: bundled(servo-graphite) = 0.13.0 Provides: bundled(slf4j-api) = 1.7.36 Provides: bundled(snappy-java) = 1.1.7.5 Provides: bundled(spectator-api) = 0.88.0 Provides: bundled(spqr) = 0.10.1 Provides: bundled(spring-aop) = 5.3.18 Provides: bundled(spring-beans) = 5.3.18 Provides: bundled(spring-context) = 5.3.18 Provides: bundled(spring-core) = 5.3.18 Provides: bundled(spring-data-commons) = 1.13.23 Provides: bundled(spring-data-mongodb) = 1.10.23 Provides: bundled(spring-expression) = 5.3.18 Provides: bundled(springfox-core) = 2.9.2 Provides: bundled(springfox-schema) = 2.9.2 Provides: bundled(springfox-spi) = 2.9.2 Provides: bundled(springfox-spring-web) = 2.9.2 Provides: bundled(springfox-swagger-common) = 2.9.2 Provides: bundled(springfox-swagger-ui) = 2.9.2 Provides: bundled(springfox-swagger2) = 2.9.2 Provides: bundled(spring-plugin-core) = 1.2.0 Provides: bundled(spring-plugin-metadata) = 1.2.0 Provides: bundled(spring-test) = 5.3.18 Provides: bundled(spring-tx) = 5.3.18 Provides: bundled(spring-webmvc) = 5.3.18 Provides: bundled(spring-websocket) = 5.3.18 Provides: bundled(spring-web) = 5.3.18 Provides: bundled(sshj) = 0.27.0 Provides: bundled(swagger-annotations) = 1.5.20 Provides: bundled(swagger-models) = 1.5.20 Provides: bundled(tomcat-annotations-api) = 9.0.59 Provides: bundled(tomcat-embed-core) = 9.0.59 Provides: bundled(tomcat-embed-el) = 9.0.59 Provides: bundled(tomcat-embed-jasper) = 9.0.59 Provides: bundled(tomcat-embed-websocket) = 9.0.59 Provides: bundled(urlrewritefilter) = 4.0.4 ### END AUTOMATION ### # So you can prevent automatic updates. %if 0%{?fedora} Recommends: dnf-plugin-versionlock %endif Requires: %{name}-data = %{version}-%{release} %description Ubiquiti UniFi server is a centralized management system for UniFi suite of devices. After the UniFi server is installed, the UniFi controller can be accessed on any web browser. The UniFi controller allows the operator to instantly provision thousands of UniFi devices, map out network topology, quickly manage system traffic, and further provision individual UniFi devices. %package data BuildArch: noarch Summary: Non-architechture specific data files for unifi %description data Non-architechture specific data files for the unifi controller software. %prep %autosetup -n UniFi install -pm 0644 %{SOURCE102} . # Unbundle fontawesome fot rm -f webapps/ROOT/app-unifi/fonts/*.{ttf,eot,otf,svg,woff,woff2} %install # Install into /usr/share/unifi mkdir -p %{buildroot}%{_datadir}/%{name} cp -a ./* %{buildroot}%{_datadir}/%{name}/ # Remove readme as it will be handled by %%doc rm -f %{buildroot}%{_datadir}/%{name}/readme.txt ### Attempt a more FHS compliant install... # Create directories for live data and symlink it into /usr/share so unifi # can find them. mkdir -p %{buildroot}%{_sharedstatedir}/%{name}/{data,run,work} ln -sr %{buildroot}%{_sharedstatedir}/%{name}/data \ %{buildroot}%{_datadir}/%{name}/data ln -sr %{buildroot}%{_sharedstatedir}/%{name}/run \ %{buildroot}%{_datadir}/%{name}/run ln -sr %{buildroot}%{_sharedstatedir}/%{name}/work \ %{buildroot}%{_datadir}/%{name}/work # Create logs in /var/log and symlink it in. mkdir -p %{buildroot}%{_localstatedir}/log/%{name} ln -sr %{buildroot}%{_localstatedir}/log/%{name} \ %{buildroot}%{_datadir}/%{name}/logs # Install systemd service file install -D -m 0644 %{SOURCE1} %{buildroot}%{_unitdir}/%{name}.service # Install firewalld config mkdir -p %{buildroot}%{_prefix}/lib/firewalld/services install -pm 0644 %{SOURCE2} %{buildroot}%{_prefix}/lib/firewalld/services/ install -pm 0644 %{SOURCE3} %{buildroot}%{_prefix}/lib/firewalld/services/ # Remove non-native executables rm -rf %{buildroot}%{_datadir}/unifi/lib/native/{Windows,Mac} # Bundled libs are only supported on x86_64, aarch64 and armv7hf. # Move libraries to the correct location and symlink back mv %{buildroot}%{_datadir}/unifi/lib/native/Linux ./ %ifarch x86_64 armv7hl aarch64 # Set the correct arch for the webrtc library. %ifarch armv7hl %global unifi_arch armv7 %else %global unifi_arch %{_target_cpu} %endif mkdir -p %{buildroot}%{_libdir}/unifi \ %{buildroot}%{_datadir}/unifi/lib/native/Linux/%{unifi_arch} install -pm 0755 Linux/%{unifi_arch}/*.so %{buildroot}%{_libdir}/%{name}/ for lib in $(ls %{buildroot}%{_libdir}/%{name}/*.so); do ln -sr $lib %{buildroot}%{_datadir}/unifi/lib/native/Linux/%{unifi_arch} done # Try to fix java VM warning about running execstack on libubnt_webrtc_jni.so find %{buildroot}%{_libdir} -name libubnt_webrtc_jni.so -exec execstack -c {} \; %endif # Install logrotate config mkdir -p %{buildroot}%{_sysconfdir}/logrotate.d install -pm 0644 %{SOURCE4} %{buildroot}%{_sysconfdir}/logrotate.d/%{name} # Install forum messages giving permission to redistribute. install -p %{SOURCE100} %{SOURCE101} . # Install sysconfig file. mkdir -p %{buildroot}%{_sysconfdir}/sysconfig cat > %{buildroot}%{_sysconfdir}/sysconfig/%{name} </dev/null || groupadd -r unifi getent passwd unifi >/dev/null || \ useradd -r -g unifi -d %{_sharedstatedir}/%{name} -s /sbin/nologin \ -c "Ubiquitu UniFi Controller" unifi exit 0 %post %systemd_post %{name}.service %{?firewalld_reload} # Set required SELinux context for unifi to use a private mongodb database. %if "%{_selinux_policy_version}" != "" semanage fcontext -a -t mongod_log_t \ "%{_localstatedir}/log/unifi(/.*)?" 2>/dev/null || : semanage fcontext -a -t mongod_var_lib_t \ "%{_sharedstatedir}/unifi/data(/.*)?" 2>/dev/null || : restorecon -R %{_localstatedir}/log/unifi \ %{_sharedstatedir}/unifi/data || : semanage port -a -t mongod_port_t -p tcp 27117 2>/dev/null || : %endif %firewalld_reload %preun %systemd_preun %{name}.service %postun # Restart the service on upgrade. %systemd_postun_with_restart %{name}.service # Remove selinux modifications on uninstall if [ $1 -eq 0 ] ; then # final removal %if "%{_selinux_policy_version}" != "" semanage fcontext -d -t mongod_log_t \ "%{_localstatedir}/log/unifi(/.*)?" 2>/dev/null || : semanage fcontext -d -t mongod_var_lib_t \ "%{_sharedstatedir}/unifi/data(/.*)?" 2>/dev/null || : semanage port -d -t mongod_port_t -p tcp 27117 2>/dev/null || : %endif fi %files %doc readme.txt SETUP %license PERMISSION*.html %ifarch x86_64 armv7hl aarch64 %{_libdir}/unifi/ %{_datadir}/unifi/lib/native/ %endif %{_datadir}/unifi/bin/mongod %{_sysconfdir}/logrotate.d/%{name} %config(noreplace) %{_sysconfdir}/sysconfig/%{name} %{_unitdir}/%{name}.service %{_prefix}/lib/firewalld/services/*.xml %ghost %attr(-,unifi,unifi) %config(missingok,noreplace) %{_sharedstatedir}/%{name}/data/system.properties %attr(-,unifi,unifi) %{_localstatedir}/log/%{name}/ %dir %attr(-,unifi,unifi) %{_sharedstatedir}/%{name} %dir %attr(-,unifi,unifi) %{_sharedstatedir}/%{name}/data %dir %attr(-,unifi,unifi) %{_sharedstatedir}/%{name}/run %dir %attr(-,unifi,unifi) %{_sharedstatedir}/%{name}/work %files data %exclude %{_datadir}/unifi/lib/native %exclude %{_datadir}/unifi/bin/mongod %{_datadir}/%{name}/ %changelog * Wed Nov 16 2022 Josef Ridky - 7.2.95-1 - Update to 7.2.95 * Sat Jul 10 2021 Josef Ridky - 6.2.26-1 - Update to 6.2.26 * Tue Feb 09 2021 Richard Shaw - 6.0.45-1 - Update to 6.0.45, see: https://community.ui.com/releases/UniFi-Network-Controller-6-0-45/8d3b98e1-b9d4-4ab3-b8da-721dbe9ab842 - Fix logrotate config, https://github.com/rpmfusion/unifi/pull/3 * Thu Feb 04 2021 RPM Fusion Release Engineering - 6.0.43-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Thu Jan 07 2021 Richard Shaw - 6.0.43-1 - Update to 6.0.43, see: https://community.ui.com/releases/UniFi-Network-Controller-6-0-43/b28bb453-927a-4dd8-82f7-40af28505510 * Thu Dec 03 2020 Richard Shaw - 6.0.41-1 - Update to 6.0.41 see: https://community.ui.com/releases/UniFi-Network-Controller-6-0-41/25633411-0273-4197-bf30-4aff30b3701e * Wed Nov 25 2020 Richard Shaw - 6.0.36-1 - Update to 6.0.36, see: https://community.ui.com/releases/UniFi-Network-Controller-6-0-36/9e57165b-3422-4fcf-ae02-13affcb388c8 * Sun Oct 25 2020 Richard Shaw - 6.0.28-1 - Update to 6.0.28, see: https://community.ui.com/releases/UniFi-Network-Controller-6-0-28/23c77a99-0957-449a-b3c0-58a37d4df81f * Fri Oct 16 2020 Richard Shaw - 6.0.23-1 - Update to 6.0.23, see: https://community.ui.com/releases/UniFi-Network-Controller-6-0-23/6ee72622-e3ca-4ebe-9e82-97fe7cca2094 * Thu Sep 17 2020 Richard Shaw - 6.0.22-1 - Update to 6.0.22 for testing, see: https://community.ui.com/releases/UniFi-Network-Controller-6-0-22/910ceffc-f0e9-4518-86c1-df5eeee34695 * Thu Aug 27 2020 Richard Shaw - 5.14.23-1 - Update to 5.14.23, for details see: https://community.ui.com/releases/UniFi-Network-Controller-5-14-23/daf90732-30ad-48ee-81e7-1dcb374eba2a - Remove workaround for MongoDB 3.6 as it is no longer required. * Mon Aug 24 2020 Richard Shaw - 5.14.22-1 - Update to 5.14.22. * Wed Aug 19 2020 RPM Fusion Release Engineering - 5.13.32-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Mon Jul 06 2020 Richard Shaw - 5.13.32-1 - Update to 5.13.32. * Fri Jun 19 2020 Richard Shaw - 5.13.29-1 - Update to 5.13.29. * Fri May 15 2020 Alexander Jacocks - 5.12.72-1 - Update to 5.12.72. * Tue Mar 31 2020 Richard Shaw - 5.12.66-1 - Update to 5.12.66. * Mon Mar 16 2020 Richard Shaw - 5.12.35-2 - Update java requires to work with change in java provides in Fedora. * Wed Feb 05 2020 RPM Fusion Release Engineering - 5.12.35-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Tue Dec 03 2019 Richard Shaw - 5.12.35-1 - Update to 5.12.0. * Thu Oct 10 2019 Richard Shaw - 5.11.46-3 - Remove mongod requires and move config info to SETUP. - Fix Requires for java to comply with guidelines. - Try JAVA_HOME instead of forcing java 1.8.0 via alternatives. * Thu Oct 03 2019 Richard Shaw - 5.11.46-2 - Change requirement from policycoreutils-python to policycoreutils-python-utils so Python 3 is used instead of Python 2 to manage selinux contexts. * Sun Sep 29 2019 Richard Shaw - 5.11.46-1 - Update to 5.11.46, for release notes see: https://community.ui.com/releases/UniFi-Network-Controller-5-11-46/1984aaf0-7243-4257-af83-70126714613e * Wed Sep 11 2019 Richard Shaw - 5.11.39-1 - Update to 5.11.39. * Sat Aug 10 2019 RPM Fusion Release Engineering - 5.10.25-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sun Jun 30 2019 Richard Shaw - 5.10.25-1 - Update to 5.10.25. - Remove obsolete shell script, unifi,sh. - Remove --add-modules workaround as it does not apply to JRE 8 (OpenJDK 1.8.0). * Sat Jun 01 2019 Richard Shaw - 5.10.24-1 - Update to 5.10.24. * Wed May 29 2019 Richard Shaw - 5.10.23-2 - Require /usr/bin/mongod on F30+. * Sat May 04 2019 Richard Shaw - 5.10.23-1 - Update to 5.10.23. * Sun Apr 07 2019 Richard Shaw - 5.10.21-1 - Update to 5.10.21. * Tue Mar 12 2019 Richard Shaw - 5.10.20-1 - Update to 5.10.20. * Tue Mar 05 2019 RPM Fusion Release Engineering - 5.10.19-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Tue Feb 26 2019 Richard Shaw - 5.10.19-1 - Update to 5.10.19 * Thu Feb 14 2019 Richard Shaw - 5.10.17-1 - Update to 5.10.17. * Thu Feb 07 2019 Richard Shaw - 5.10.12-1 - Update to 5.10.12. * Tue Nov 13 2018 Richard Shaw - 5.9.29-2 - Update systemd service file to deal with Java 10 in F29+, fixes BZ#5080. * Thu Oct 04 2018 Richard Shaw - 5.9.29-1 - Update to 5.9.29, see: https://community.ubnt.com/t5/UniFi-Updates-Blog/UniFi-SDN-Controller-5-9-29-Stable-has-been-released/ba-p/2516852 * Tue Sep 11 2018 Richard Shaw - 5.8.30-1 - Update to 5.8.30, see: https://community.ubnt.com/t5/UniFi-Updates-Blog/UniFi-SDN-Controller-5-8-30-Stable-has-been-released/ba-p/2489957 * Wed Aug 22 2018 Richard Shaw - 5.8.28-1 - Update to 5.8.28 * Sun Aug 19 2018 RPM Fusion Release Engineering - 5.8.24-3 - Rebuilt for Fedora 29 Mass Rebuild binutils issue * Fri Jul 27 2018 RPM Fusion Release Engineering - 5.8.24-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Jul 05 2018 Richard Shaw - 5.8.24-1 - Update to 5.8.24 * Sat Jun 30 2018 Richard Shaw - 5.8.23-1 - Update to 5.8.23. * Mon May 07 2018 Richard Shaw - 5.7.23-2 - Add workaround shell script to prevent --nohttpdinterface from being passed to MongoDB. * Tue Apr 17 2018 Richard Shaw - 5.7.23-1 - Update to 5.7.23. * Thu Mar 08 2018 Richard Shaw - 5.7.20-1 - Update to 5.7.20. - Add new webrtc target aarch64. * Wed Feb 21 2018 Richard Shaw - 5.6.30-2 - Spec file cleanup. - Add provides for bundled java libraries. * Fri Jan 26 2018 Richard Shaw - 5.6.30-1 - Upate to latest upstream release. https://community.ubnt.com/t5/UniFi-Updates-Blog/UniFi-5-6-30-Stable-has-been-released/ba-p/2220761 * Thu Jan 18 2018 Richard Shaw - 5.6.29-2 - Remove remaining bundled fontawesome fonts. - Add requires for fontawesome-fonts and fontawesome-fonts-web. - Fix URL. * Tue Jan 02 2018 Richard Shaw - 5.6.29-1 - Update to latest upstream release. https://community.ubnt.com/t5/UniFi-Updates-Blog/UniFi-5-6-29-Stable-has-been-released/ba-p/2191996 * Fri Dec 08 2017 Richard Shaw - 5.6.26-1 - Update to latest upstream release. For release notes see: https://community.ubnt.com/t5/UniFi-Updates-Blog/UniFi-5-6-26-Stable-has-been-released/ba-p/2165432 * Tue Dec 5 2017 Richard Shaw - 5.6.22-2 - Only keep the binary we need per arch. - Moved execstack to %%install. - Unbundled Fontawesome font, added Provides for Lato fonts. - Revert disabling of the auto dependency generator. - Moved libubnt_webrtc_jni.so to %%{_libdir} and symlinked back to required location. - Added recommends of dnf-plugin-versionlock on Fedora to prevent automatic upgrades. * Sun Nov 19 2017 Richard Shaw - 5.6.22-1 - Update to latest upstream release. * Mon Oct 30 2017 Richard Shaw - 5.5.24-1 - Update to latest upstream release. - SystemD service file should now restart the controller when it exits normally, such as after restoring a backup. * Sat Oct 28 2017 Richard Shaw - 5.5.20-5 - Drop SElinux policy requirement. * Sat Sep 16 2017 Richard Shaw - 5.5.20-4 - Spec file cleanup per review request comments, RFBZ#4647. - SELinux scripts now conditional if selinux policy is available. - Removed nosrc option since it's no longer necessary. * Fri Sep 8 2017 Richard Shaw - 5.5.20-3 - Add logrotate config. * Wed Sep 6 2017 Richard Shaw - 5.5.20-2 - Fix log migration script. - Add firewalld config for EL7 and Fedora. * Mon Jul 31 2017 Richard Shaw - 5.5.20-1 - Update to latest upstream release. * Sun Jun 4 2017 Richard Shaw - 5.4.16-1 - Update to latest upstream release. * Wed Jan 25 2017 Richard Shaw - 5.4.9-1 - Update to latest upstream release. - Release notes: https://community.ubnt.com/t5/UniFi-Updates-Blog/UniFi-5-4-9-Stable-has-been-released/ba-p/1800599 * Tue Jan 24 2017 Richard Shaw - 5.3.8-2 - Work around problem with systemd/selinux confinement and noatsecure which prevents $ORIGIN from being evalueated in java's RPATH. - Make UniFi log to the right directory. * Sat Dec 31 2016 Richard Shaw - 5.3.8-1 - Update to latest upstream release. * Sat Nov 12 2016 Richard Shaw - 5.2.9-1 - Update to latest upstream release. Full release notes: https://community.ubnt.com/t5/UniFi-Updates-Blog/UniFi-5-2-9-is-released/ba-p/1694199 * Fri Aug 26 2016 Richard Shaw - 5.0.7-1 - Update to latest upstream release. * Fri Aug 26 2016 Richard Shaw - 4.8.20-1 - Update to latest upstream release. * Thu Apr 21 2016 Richard Shaw - 4.8.15-1 - Update to latest upstream release. * Mon Feb 22 2016 Richard Shaw - 4.8.12-1 - Update to latest upstream release. * Mon Jul 27 2015 Richard Shaw - 4.6.6-1 - Update to latest upstream release. - Release notes: https://community.ubnt.com/t5/UniFi-Updates-Blog/UniFi-4-6-6-is-released/ba-p/1288816 * Fri Jun 13 2014 Richard Shaw - 3.2.1-1 - Update to latest upstream release. * Thu Feb 6 2014 Richard Shaw - 2.4.6-1 - Move to /usr/lib. - Update systemd service file to run as non-root user unifi. - Add selinux policy so it works with running selinux enforcing. * Fri Jan 17 2014 George Machitidze - Initial build