File unifi.spec of Package unifictrl
# 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.3.76
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 util-linux
%{?systemd_requires}
Requires(pre): shadow-utils
Requires: firewalld-filesystem
BuildRequires: firewalld-filesystem
# 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(animal-sniffer-annotations) = 1.17
Provides: bundled(annotations) = 3.0.1
Provides: bundled(api-common) = 1.7.0
Provides: bundled(apigateway-generic-java-sdk) = 1.3
Provides: bundled(auto-value) = 1.6.2
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(checker-qual) = 2.5.2
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-3.1-atlassian) = 2
Provides: bundled(commons-httpclient-contrib) = 3.1
Provides: bundled(commons-io) = 2.6
Provides: bundled(commons-lang3) = 3.10
Provides: bundled(commons-logging) = 1.2
Provides: bundled(commons-net) = 3.6
Provides: bundled(commons-pool2) = 2.7.0
Provides: bundled(commons-text) = 1.8
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) = 4.6.1
Provides: bundled(eddsa) = 0.2.0
Provides: bundled(error_prone_annotations) = 2.2.0
Provides: bundled(failureaccess) = 1.0.1
Provides: bundled(gax) = 1.31.0
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) = 1.44.0
Provides: bundled(google-cloud-core-http) = 1.44.0
Provides: bundled(google-cloud-storage) = 1.44.0
Provides: bundled(google-http-client) = 1.26.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-oauth-client) = 1.26.0
Provides: bundled(gson) = 2.8.5
Provides: bundled(guava-27.1) = jre
Provides: bundled(hibernate-validator) = 6.1.2.Final
Provides: bundled(httpclient) = 4.5.10
Provides: bundled(httpcore) = 4.4.12
Provides: bundled(j2objc-annotations) = 1.1
Provides: bundled(jackson-annotations) = 2.11.0
Provides: bundled(jackson-core) = 2.11.0
Provides: bundled(jackson-databind) = 2.11.0
Provides: bundled(jackson-datatype-jdk8) = 2.11.0
Provides: bundled(jakarta.validation-api) = 2.0.2
Provides: bundled(java-ipv6) = 0.17
Provides: bundled(java-semver) = 0.9.0
Provides: bundled(javax.mail) = 1.6.2
Provides: bundled(jboss-logging) = 3.3.2.Final
Provides: bundled(jcl-over-slf4j) = 1.7.30
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.30
Provides: bundled(log4j-api) = 2.13.3
Provides: bundled(log4j-core) = 2.13.3
Provides: bundled(log4j-slf4j-impl) = 2.13.3
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(postgresql) = 42.2.8
Provides: bundled(protobuf-java) = 3.6.0
Provides: bundled(protobuf-java-util) = 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(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.30
Provides: bundled(snappy-java) = 1.1.7.5
Provides: bundled(spectator-api) = 0.88.0
Provides: bundled(spring-aop) = 5.1.5
Provides: bundled(spring-beans) = 5.1.5
Provides: bundled(spring-context) = 5.1.5
Provides: bundled(spring-core) = 5.1.5
Provides: bundled(spring-data-commons) = 1.13.23
Provides: bundled(spring-data-mongodb) = 1.10.23
Provides: bundled(spring-expression) = 5.1.5
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-swagger2) = 2.9.2
Provides: bundled(springfox-swagger-common) = 2.9.2
Provides: bundled(springfox-swagger-ui) = 2.9.2
Provides: bundled(spring-plugin-core) = 1.2.0
Provides: bundled(spring-plugin-metadata) = 1.2.0
Provides: bundled(spring-test) = 5.1.5
Provides: bundled(spring-tx) = 5.1.5
Provides: bundled(spring-web) = 5.1.5
Provides: bundled(spring-webmvc) = 5.1.5
Provides: bundled(spring-websocket) = 5.1.5
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) = 8.5.56
Provides: bundled(tomcat-embed-core) = 8.5.56
Provides: bundled(tomcat-embed-el) = 8.5.56
Provides: bundled(tomcat-embed-jasper) = 8.5.56
Provides: bundled(tomcat-embed-logging-juli) = 8.5.2
Provides: bundled(tomcat-embed-logging-log4j) = 8.5.2
Provides: bundled(tomcat-embed-websocket) = 8.5.56
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} <<EOL
# Add site specific java options here by assining "JAVA_OPTS"
EOL
%pre
getent group unifi >/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
* Mon Jan 02 2023 Udo Seidel <udoseidel@gmx.de> - 7.3.76
- Update to 7.3.76 see: https://community.ui.com/releases/UniFi-Network-Application-7-3-76/85c75fc7-3e0f-4e99-aa90-7068af4f1141
* Sun Nov 06 2022 Udo Seidel <udoseidel@gmx.de> - 7.2.95
- Update to 7.2.95 see: https://community.ui.com/releases/UniFi-Network-Application-7-2-95/7adebab5-8c41-4989-835d-ab60dba55255
* Tue Oct 04 2022 Udo Seidel <udoseidel@gmx.de> - 7.2.94
- Big jump to 7.2.94 see: https://community.ui.com/releases/UniFi-Network-Application-7-2-94/2ab774d1-0f24-422e-accc-53b8200c10a7
- added "BuildRequires: util-linux" to fix an issue using OBS to build F36 packages
* Thu Jan 06 2022 Udo Seidel <udoseidel@gmx.de> - 6.5.55
- Update to 6.5.55 see: https://community.ui.com/releases/UniFi-Network-Application-6-5-55/48c64137-4a4a-41f7-b7e4-3bee505ae16e
* Sun Aug 08 2021 Udo Seidel <udoseidel@gmx.de> - 6.2.26
- Update to 6.2.26 see: https://community.ui.com/releases/UniFi-Network-Application-6-2-26/0dfcbc77-8a4f-4e20-bb93-07bbb0237e3a
* Wed Apr 14 2021 Udo Seidel <udoseidel@gmx.de> - 6.2.17
- Update to 6.2.17 see: https://community.ui.com/releases/UniFi-Network-Controller-6-2-17/7f6d58bc-ce9f-43f2-8bc8-0c0dd935ebce
* Sun Mar 28 2021 Udo Seidel <udoseidel@gmx.de> - 6.1.71
- Update to 6.1.71 see: https://community.ui.com/releases/UniFi-Network-Controller-6-1-71/0cffd3ed-7429-4529-9a20-9fead78ebf66
* Thu Mar 18 2021 Udo Seidel <udoseidel@gmx.de> - 6.1.70
- Update to 6.1.70 see: https://community.ui.com/releases/UniFi-Network-Controller-6-1-70/f0607cc3-80dc-4019-87ad-02207b546417
* Fri Mar 12 2021 Udo Seidel <udoseidel@gmx.de> - 6.1.67
- Update to 6.1.67 see: https://community.ui.com/releases/UniFi-Network-Controller-6-1-67/aed28c2f-6346-45b2-9f40-6eb92accafa8
* Thu Mar 04 2021 Udo Seidel <udoseidel@gmx.de> - 6.1.61
- Update to 6.1.61 see: https://community.ui.com/releases/UniFi-Network-Controller-6-1-61/62f1ad38-1ac5-430c-94b0-becbb8f71d7d
* Wed Jan 27 2021 Udo Seidel <udoseidel@gmx.de> - 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
* Tue Dec 22 2020 Udo Seidel <udoseidel@gmx.de> - 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
- removed SPEC file entry 'BuildRequires: %{_bindir}/execstack' which caused problems on OBS
* Thu Dec 03 2020 Richard Shaw <hobbes1069@gmail.com> - 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 <hobbes1069@gmail.com> - 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 <hobbes1069@gmail.com> - 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 <hobbes1069@gmail.com> - 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 <hobbes1069@gmail.com> - 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 <hobbes1069@gmail.com> - 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 <hobbes1069@gmail.com> - 5.14.22-1
- Update to 5.14.22.
* Wed Aug 19 2020 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 5.13.32-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Mon Jul 06 2020 Richard Shaw <hobbes1069@gmail.com> - 5.13.32-1
- Update to 5.13.32.
* Fri Jun 19 2020 Richard Shaw <hobbes1069@gmail.com> - 5.13.29-1
- Update to 5.13.29.
* Fri May 15 2020 Alexander Jacocks <alexander@redhat.com> - 5.12.72-1
- Update to 5.12.72.
* Tue Mar 31 2020 Richard Shaw <hobbes1069@gmail.com> - 5.12.66-1
- Update to 5.12.66.
* Mon Mar 16 2020 Richard Shaw <hobbes1069@gmail.com> - 5.12.35-2
- Update java requires to work with change in java provides in Fedora.
* Wed Feb 05 2020 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 5.12.35-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Tue Dec 03 2019 Richard Shaw <hobbes1069@gmail.com> - 5.12.35-1
- Update to 5.12.0.
* Thu Oct 10 2019 Richard Shaw <hobbes1069@gmail.com> - 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 <hobbes1069@gmail.com> - 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 <hobbes1069@gmail.com> - 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 <hobbes1069@gmail.com> - 5.11.39-1
- Update to 5.11.39.
* Sat Aug 10 2019 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 5.10.25-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sun Jun 30 2019 Richard Shaw <hobbes1069@gmail.com> - 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 <hobbes1069@gmail.com> - 5.10.24-1
- Update to 5.10.24.
* Wed May 29 2019 Richard Shaw <hobbes1069@gmail.com> - 5.10.23-2
- Require /usr/bin/mongod on F30+.
* Sat May 04 2019 Richard Shaw <hobbes1069@gmail.com> - 5.10.23-1
- Update to 5.10.23.
* Sun Apr 07 2019 Richard Shaw <hobbes1069@gmail.com> - 5.10.21-1
- Update to 5.10.21.
* Tue Mar 12 2019 Richard Shaw <hobbes1069@gmail.com> - 5.10.20-1
- Update to 5.10.20.
* Tue Mar 05 2019 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 5.10.19-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Tue Feb 26 2019 Richard Shaw <hobbes1069@gmail.com> - 5.10.19-1
- Update to 5.10.19
* Thu Feb 14 2019 Richard Shaw <hobbes1069@gmail.com> - 5.10.17-1
- Update to 5.10.17.
* Thu Feb 07 2019 Richard Shaw <hobbes1069@gmail.com> - 5.10.12-1
- Update to 5.10.12.
* Tue Nov 13 2018 Richard Shaw <hobbes1069@gmail.com> - 5.9.29-2
- Update systemd service file to deal with Java 10 in F29+, fixes BZ#5080.
* Thu Oct 04 2018 Richard Shaw <hobbes1069@gmail.com> - 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 <hobbes1069@gmail.com> - 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 <hobbes1069@gmail.com> - 5.8.28-1
- Update to 5.8.28
* Sun Aug 19 2018 RPM Fusion Release Engineering <leigh123linux@gmail.com> - 5.8.24-3
- Rebuilt for Fedora 29 Mass Rebuild binutils issue
* Fri Jul 27 2018 RPM Fusion Release Engineering <sergio@serjux.com> - 5.8.24-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Thu Jul 05 2018 Richard Shaw <hobbes1069@gmail.com> - 5.8.24-1
- Update to 5.8.24
* Sat Jun 30 2018 Richard Shaw <hobbes1069@gmail.com> - 5.8.23-1
- Update to 5.8.23.
* Mon May 07 2018 Richard Shaw <hobbes1069@gmail.com> - 5.7.23-2
- Add workaround shell script to prevent --nohttpdinterface from being passed to
MongoDB.
* Tue Apr 17 2018 Richard Shaw <hobbes1069@gmail.com> - 5.7.23-1
- Update to 5.7.23.
* Thu Mar 08 2018 Richard Shaw <hobbes1069@gmail.com> - 5.7.20-1
- Update to 5.7.20.
- Add new webrtc target aarch64.
* Wed Feb 21 2018 Richard Shaw <hobbes1069@gmail.com> - 5.6.30-2
- Spec file cleanup.
- Add provides for bundled java libraries.
* Fri Jan 26 2018 Richard Shaw <hobbes1069@gmail.com> - 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 <hobbes1069@gmail.com> - 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 <hobbes1069@gmail.com> - 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 <hobbes1069@gmail.com> - 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 <hobbes1069@gmail.com> - 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 <hobbes1069@gmail.com> - 5.6.22-1
- Update to latest upstream release.
* Mon Oct 30 2017 Richard Shaw <hobbes1069@gmail.com> - 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 <hobbes1069@gmail.com> - 5.5.20-5
- Drop SElinux policy requirement.
* Sat Sep 16 2017 Richard Shaw <hobbes1069@gmail.com> - 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 <hobbes1069@gmail.com> - 5.5.20-3
- Add logrotate config.
* Wed Sep 6 2017 Richard Shaw <hobbes1069@gmail.com> - 5.5.20-2
- Fix log migration script.
- Add firewalld config for EL7 and Fedora.
* Mon Jul 31 2017 Richard Shaw <hobbes1069@gmail.com> - 5.5.20-1
- Update to latest upstream release.
* Sun Jun 4 2017 Richard Shaw <hobbes1069@gmail.com> - 5.4.16-1
- Update to latest upstream release.
* Wed Jan 25 2017 Richard Shaw <hobbes1069@gmail.com> - 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 <hobbes1069@gmail.com> - 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 <hobbes1069@gmail.com> - 5.3.8-1
- Update to latest upstream release.
* Sat Nov 12 2016 Richard Shaw <hobbes1069@gmail.com> - 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 <hobbes1069@gmail.com> - 5.0.7-1
- Update to latest upstream release.
* Fri Aug 26 2016 Richard Shaw <hobbes1069@gmail.com> - 4.8.20-1
- Update to latest upstream release.
* Thu Apr 21 2016 Richard Shaw <hobbes1069@gmail.com> - 4.8.15-1
- Update to latest upstream release.
* Mon Feb 22 2016 Richard Shaw <hobbes1069@gmail.com> - 4.8.12-1
- Update to latest upstream release.
* Mon Jul 27 2015 Richard Shaw <hobbes1069@gmail.com> - 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 <hobbes1069@gmail.com> - 3.2.1-1
- Update to latest upstream release.
* Thu Feb 6 2014 Richard Shaw <hobbes1069@gmail.com> - 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 <giomac@gmail.com>
- Initial build