commit 8b8ac6ff8cb6f681def72cf5b6f5351471d6214a Author: CentOS Sources Date: Tue May 7 03:59:36 2019 -0400 import cockpit-appstream-184.1-1.el8 diff --git a/.cockpit-appstream.metadata b/.cockpit-appstream.metadata new file mode 100644 index 0000000..e9bb987 --- /dev/null +++ b/.cockpit-appstream.metadata @@ -0,0 +1 @@ +e9e50d119f97b47cae1d2e35640712167e3fd264 SOURCES/cockpit-184.1.tar.xz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a107d77 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/cockpit-184.1.tar.xz diff --git a/SPECS/cockpit.spec b/SPECS/cockpit.spec new file mode 100644 index 0000000..59a3b19 --- /dev/null +++ b/SPECS/cockpit.spec @@ -0,0 +1,1803 @@ +# This spec file has been automatically updated +Version: 184.1 +Release: 1%{?dist} +# +# This file is maintained at the following location: +# https://github.com/cockpit-project/cockpit/blob/master/tools/cockpit.spec +# +# If you are editing this file in another location, changes will likely +# be clobbered the next time an automated release is done. +# +# Check first cockpit-devel@lists.fedorahosted.org +# +# Globals that may be defined elsewhere +# * Version 122 +# * wip 1 +# + +# earliest base that the subpackages work on; the instances of this get computed/updated +# by tools/gen-spec-dependencies during "make dist", but keep a hardcoded fallback +%define required_base 122 + +# we generally want CentOS packages to be like RHEL; special cases need to check %{centos} explicitly +%if 0%{?centos} +%define rhel %{centos} +%endif + +%if "%{!?__python3:1}" +%define __python3 /usr/bin/python3 +%endif + +# for testing this already gets set in fedora.install, as we want the target +# VERSION_ID, not the mock chroot's one +%if "%{!?os_version_id:1}" +%define os_version_id %(. /etc/os-release; echo $VERSION_ID) +%endif + +%define _hardened_build 1 + +# define to build the dashboard +%define build_dashboard 1 + +# build basic packages like cockpit-bridge +%define build_basic 0 +# build optional extensions like cockpit-docker +%define build_optional 1 + +# cockpit's firewall service definition moved to firewalld +%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8 +%define firewalld_service 0 +%else +%define firewalld_service 1 +%endif + +%define __lib lib + +# on RHEL 7.x we build subscriptions; superseded later by +# external subscription-manager-cockpit +%if (0%{?rhel} >= 7 && 0%{?rhel} < 8) && 0%{?centos} == 0 +%define build_subscriptions 1 +%endif + +# cockpit-kubernetes is RHEL 7 and Fedora < 30 only, and 64 bit arches only +%if (0%{?fedora} && 0%{?fedora} < 30) || (0%{?rhel} >= 7 && 0%{?rhel} < 8) +%ifarch aarch64 x86_64 ppc64le s390x +%define build_kubernetes 1 +%endif +%endif + +%if 0%{?rhel} >= 8 +%global go_scl_prefix go-toolset-7- +%else +%global go_scl_prefix %{nil} +%endif + +%if 0%{?rhel} >= 7 +%define vdo_on_demand 1 +%endif + +Name: cockpit-appstream +Summary: Web Console for Linux servers + +License: LGPLv2+ +URL: https://cockpit-project.org/ + +%if %{defined wip} +Source0: cockpit-%{version}.tar.gz +%else +Source0: https://github.com/cockpit-project/cockpit/releases/download/%{version}/cockpit-%{version}.tar.xz +%endif + +BuildRequires: gcc +BuildRequires: pkgconfig(gio-unix-2.0) +BuildRequires: pkgconfig(json-glib-1.0) +BuildRequires: pkgconfig(polkit-agent-1) >= 0.105 +BuildRequires: pam-devel + +BuildRequires: autoconf automake +%if 0%{?fedora} || 0%{?rhel} >= 8 +BuildRequires: /usr/bin/python3 +%else +BuildRequires: /usr/bin/python2 +%endif +BuildRequires: intltool +%if %{defined build_dashboard} +BuildRequires: libssh-devel >= 0.7.1 +%endif +BuildRequires: openssl-devel +BuildRequires: zlib-devel +BuildRequires: krb5-devel +BuildRequires: libxslt-devel +BuildRequires: docbook-style-xsl +BuildRequires: glib-networking +BuildRequires: sed +BuildRequires: git + +BuildRequires: glib2-devel >= 2.37.4 +BuildRequires: systemd-devel +BuildRequires: pcp-libs-devel +BuildRequires: krb5-server +BuildRequires: gdb + +# For documentation +BuildRequires: xmlto + +# This is the "cockpit" metapackage. It should only +# Require, Suggest or Recommend other cockpit-xxx subpackages + +Requires: cockpit-bridge +Requires: cockpit-ws +Requires: cockpit-system + +# Optional components +%if 0%{?fedora} || 0%{?rhel} >= 8 +%if 0%{?rhel} == 0 +Recommends: cockpit-dashboard +%ifarch x86_64 %{arm} aarch64 ppc64le i686 s390x +Recommends: (cockpit-docker if /usr/bin/docker) +%endif +%endif +Recommends: (cockpit-networkmanager if NetworkManager) +Recommends: (cockpit-storaged if udisks2) +Recommends: cockpit-packagekit +%if 0%{?rhel} >= 8 && 0%{?centos} == 0 +Recommends: subscription-manager-cockpit +%endif +Suggests: cockpit-pcp +%if 0%{?build_kubernetes} +Suggests: cockpit-kubernetes +%endif +Suggests: cockpit-selinux +%endif + +%prep +%setup -q -n cockpit-%{version} + +# Apply patches using git in order to support binary patches. Note that +# we also reset mtimes since patches should be "complete" and include both +# generated and source file changes +# Keep this in sync with tools/debian/rules. +if [ -n "%{patches}" ]; then + git init + git config user.email "unused@example.com" && git config user.name "Unused" + git config core.autocrlf false && git config core.safecrlf false && git config gc.auto 0 + git add -f . && git commit -a -q -m "Base" && git tag -a initial --message="initial" + git am --whitespace=nowarn %{patches} + touch -r $(git diff --name-only initial..HEAD) .git Makefile.in + rm -rf .git +fi + +%build +exec 2>&1 +%configure \ + --disable-silent-rules \ + --with-cockpit-user=cockpit-ws \ + --with-selinux-config-type=etc_t \ +%if 0%{?rhel} >= 7 && 0%{?rhel} < 8 + --without-storaged-iscsi-sessions \ +%endif + --with-appstream-data-packages='[ "appstream-data" ]' \ + --with-nfs-client-package='"nfs-utils"' \ + %{?vdo_on_demand:--with-vdo-package='"vdo"'} +make -j4 %{?extra_flags} all + +%check +exec 2>&1 +make -j4 check + +%install +make install DESTDIR=%{buildroot} +make install-tests DESTDIR=%{buildroot} +mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pam.d +install -p -m 644 tools/cockpit.pam $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/cockpit +rm -f %{buildroot}/%{_libdir}/cockpit/*.so +%if 0%{?firewalld_service} == 0 +rm -f %{buildroot}/%{_prefix}/%{__lib}/firewalld/services/cockpit.xml +%endif +install -p -m 644 AUTHORS COPYING README.md %{buildroot}%{_docdir}/cockpit/ + +# On RHEL we don't yet show options for changing language +%if 0%{?rhel} +echo '{ "linguas": null }' > %{buildroot}%{_datadir}/cockpit/shell/override.json +%endif + +# Build the package lists for resource packages +echo '%dir %{_datadir}/cockpit/base1' > base.list +find %{buildroot}%{_datadir}/cockpit/base1 -type f >> base.list +echo '%{_sysconfdir}/cockpit/machines.d' >> base.list +echo %{buildroot}%{_datadir}/polkit-1/actions/org.cockpit-project.cockpit-bridge.policy >> base.list +# RHEL 7 needs to keep cockpit-ssh in dashboard for backwards compat +%if 0%{?rhel} == 7 +find %{buildroot}%{_datadir}/cockpit/ssh -type f >> dashboard.list +echo '%{_libexecdir}/cockpit-ssh' >> dashboard.list +%else +find %{buildroot}%{_datadir}/cockpit/ssh -type f >> base.list +echo '%{_libexecdir}/cockpit-ssh' >> base.list +%endif + +%if %{defined build_dashboard} +echo '%dir %{_datadir}/cockpit/dashboard' >> dashboard.list +find %{buildroot}%{_datadir}/cockpit/dashboard -type f >> dashboard.list +%else +rm -rf %{buildroot}/%{_datadir}/cockpit/dashboard +touch dashboard.list +%endif + +echo '%dir %{_datadir}/cockpit/pcp' >> pcp.list +find %{buildroot}%{_datadir}/cockpit/pcp -type f >> pcp.list + +echo '%dir %{_datadir}/cockpit/realmd' >> system.list +find %{buildroot}%{_datadir}/cockpit/realmd -type f >> system.list + +echo '%dir %{_datadir}/cockpit/tuned' >> system.list +find %{buildroot}%{_datadir}/cockpit/tuned -type f >> system.list + +echo '%dir %{_datadir}/cockpit/shell' >> system.list +find %{buildroot}%{_datadir}/cockpit/shell -type f >> system.list + +echo '%dir %{_datadir}/cockpit/systemd' >> system.list +find %{buildroot}%{_datadir}/cockpit/systemd -type f >> system.list + +echo '%dir %{_datadir}/cockpit/users' >> system.list +find %{buildroot}%{_datadir}/cockpit/users -type f >> system.list + +echo '%dir %{_datadir}/cockpit/kdump' >> kdump.list +find %{buildroot}%{_datadir}/cockpit/kdump -type f >> kdump.list + +echo '%dir %{_datadir}/cockpit/sosreport' > sosreport.list +find %{buildroot}%{_datadir}/cockpit/sosreport -type f >> sosreport.list + +%if %{defined build_subscriptions} +echo '%dir %{_datadir}/cockpit/subscriptions' >> system.list +find %{buildroot}%{_datadir}/cockpit/subscriptions -type f >> system.list +%else +rm -rf %{buildroot}/%{_datadir}/cockpit/subscriptions +%endif + +echo '%dir %{_datadir}/cockpit/storaged' > storaged.list +find %{buildroot}%{_datadir}/cockpit/storaged -type f >> storaged.list + +echo '%dir %{_datadir}/cockpit/networkmanager' > networkmanager.list +find %{buildroot}%{_datadir}/cockpit/networkmanager -type f >> networkmanager.list + +echo '%dir %{_datadir}/cockpit/packagekit' >> packagekit.list +find %{buildroot}%{_datadir}/cockpit/packagekit -type f >> packagekit.list + +echo '%dir %{_datadir}/cockpit/apps' >> packagekit.list +find %{buildroot}%{_datadir}/cockpit/apps -type f >> packagekit.list + +echo '%dir %{_datadir}/cockpit/machines' > machines.list +find %{buildroot}%{_datadir}/cockpit/machines -type f >> machines.list + +echo '%dir %{_datadir}/cockpit/ovirt' > ovirt.list +find %{buildroot}%{_datadir}/cockpit/ovirt -type f >> ovirt.list + +echo '%dir %{_datadir}/cockpit/selinux' > selinux.list +find %{buildroot}%{_datadir}/cockpit/selinux -type f >> selinux.list + +echo '%dir %{_datadir}/cockpit/playground' > tests.list +find %{buildroot}%{_datadir}/cockpit/playground -type f >> tests.list + +%ifarch x86_64 %{arm} aarch64 ppc64le i686 s390x +%if 0%{?fedora} || 0%{?rhel} < 8 +echo '%dir %{_datadir}/cockpit/docker' > docker.list +find %{buildroot}%{_datadir}/cockpit/docker -type f >> docker.list +%else +rm -rf %{buildroot}/%{_datadir}/cockpit/docker +touch docker.list +%endif +%else +rm -rf %{buildroot}/%{_datadir}/cockpit/docker +touch docker.list +%endif + +%if 0%{?build_kubernetes} +%if %{defined wip} +%else +rm %{buildroot}/%{_datadir}/cockpit/kubernetes/override.json +%endif +echo '%dir %{_datadir}/cockpit/kubernetes' > kubernetes.list +find %{buildroot}%{_datadir}/cockpit/kubernetes -type f >> kubernetes.list +%else +rm -rf %{buildroot}/%{_datadir}/cockpit/kubernetes +rm -f %{buildroot}/%{_libexecdir}/cockpit-kube-auth +rm -f %{buildroot}/%{_libexecdir}/cockpit-kube-launch +rm %{buildroot}/%{_libexecdir}/cockpit-stub +touch kubernetes.list +%endif + +# when not building basic packages, remove their files +%if 0%{?build_basic} == 0 +for pkg in base1 branding motd kdump networkmanager realmd selinux shell sosreport ssh static systemd tuned users; do + rm -r %{buildroot}/%{_datadir}/cockpit/$pkg + rm -f %{buildroot}/%{_datadir}/metainfo/org.cockpit-project.cockpit-${pkg}.metainfo.xml +done +for data in doc locale man pixmaps polkit-1; do + rm -r %{buildroot}/%{_datadir}/$data +done +for lib in systemd tmpfiles.d firewalld; do + rm -r %{buildroot}/%{_prefix}/%{__lib}/$lib +done +for libexec in cockpit-askpass cockpit-session cockpit-ws cockpit-desktop; do + rm %{buildroot}/%{_libexecdir}/$libexec +done +rm -r %{buildroot}/%{_libdir}/security %{buildroot}/%{_sysconfdir}/pam.d %{buildroot}/%{_sysconfdir}/motd.d %{buildroot}/%{_sysconfdir}/issue.d +rm %{buildroot}/usr/bin/cockpit-bridge %{buildroot}/usr/sbin/remotectl +rm -f %{buildroot}%{_libexecdir}/cockpit-ssh +rm -f %{buildroot}%{_datadir}/metainfo/cockpit.appdata.xml +%endif + +# when not building optional packages, remove their files +%if 0%{?build_optional} == 0 +for pkg in apps dashboard docker kubernetes machines ovirt packagekit pcp playground storaged; do + rm -rf %{buildroot}/%{_datadir}/cockpit/$pkg +done +# files from -tests +rm -r %{buildroot}/%{_prefix}/%{__lib}/cockpit-test-assets %{buildroot}/%{_sysconfdir}/cockpit/cockpit.conf +# files from -pcp +rm -r %{buildroot}/%{_libexecdir}/cockpit-pcp %{buildroot}/%{_localstatedir}/lib/pcp/ +# files from -kubernetes +rm -f %{buildroot}/%{_libexecdir}/cockpit-kube-auth %{buildroot}/%{_libexecdir}/cockpit-kube-launch %{buildroot}/%{_libexecdir}/cockpit-stub +# files from -machines +rm -f %{buildroot}/%{_prefix}/share/metainfo/org.cockpit-project.cockpit-machines.metainfo.xml +%endif + +sed -i "s|%{buildroot}||" *.list + +# Build the package lists for debug package, and move debug files to installed locations +find %{buildroot}/usr/src/debug%{_datadir}/cockpit -type f -o -type l > debug.partial +sed -i "s|%{buildroot}/usr/src/debug||" debug.partial +sed -n 's/\.map\(\.gz\)\?$/\0/p' *.list >> debug.partial +sed -i '/\.map\(\.gz\)\?$/d' *.list +tar -C %{buildroot}/usr/src/debug -cf - . | tar -C %{buildroot} -xf - +rm -rf %{buildroot}/usr/src/debug + +# On RHEL kdump, networkmanager, selinux, and sosreport are part of the system package +%if 0%{?rhel} +cat kdump.list sosreport.list networkmanager.list selinux.list >> system.list +rm -f %{buildroot}%{_datadir}/metainfo/org.cockpit-project.cockpit-sosreport.metainfo.xml +rm -f %{buildroot}%{_datadir}/metainfo/org.cockpit-project.cockpit-kdump.metainfo.xml +rm -f %{buildroot}%{_datadir}/pixmaps/cockpit-sosreport.png +%endif + +%if 0%{?rhel} +rm -f %{buildroot}%{_datadir}/metainfo/org.cockpit-project.cockpit-selinux.metainfo.xml +%endif + +%if 0%{?build_basic} +%find_lang cockpit +%endif + +# dwz has trouble with the go binaries +# https://fedoraproject.org/wiki/PackagingDrafts/Go +%global _dwz_low_mem_die_limit 0 +%if 0%{?fedora} || 0%{?rhel} >= 8 +%global _debugsource_packages 1 +%global _debuginfo_subpackages 0 +%endif + +%define find_debug_info %{_rpmconfigdir}/find-debuginfo.sh %{?_missing_build_ids_terminate_build:--strict-build-id} %{?_include_minidebuginfo:-m} %{?_find_debuginfo_dwz_opts} %{?_find_debuginfo_opts} %{?_debugsource_packages:-S debugsourcefiles.list} "%{_builddir}/%{?buildsubdir}" + +# Redefine how debug info is built to slip in our extra debug files +%define __debug_install_post \ + %{find_debug_info} \ + cat debug.partial >> %{_builddir}/%{?buildsubdir}/debugfiles.list \ +%{nil} + +# ------------------------------------------------------------------------------- +# Basic Sub-packages + +%if 0%{?build_basic} + +%description +The Cockpit Web Console enables users to administer GNU/Linux servers using a +web browser. + +It offers network configuration, log inspection, diagnostic reports, SELinux +troubleshooting, interactive command-line sessions, and more. + +%files +%{_docdir}/cockpit/AUTHORS +%{_docdir}/cockpit/COPYING +%{_docdir}/cockpit/README.md +%dir %{_datadir}/cockpit +%{_datadir}/metainfo/cockpit.appdata.xml +%{_datadir}/pixmaps/cockpit.png +%doc %{_mandir}/man1/cockpit.1.gz + + +%package bridge +Summary: Cockpit bridge server-side component +Requires: glib-networking +%if 0%{?rhel} != 7 +Provides: cockpit-ssh = %{version}-%{release} +# cockpit-ssh moved from dashboard to bridge in 171 +Conflicts: cockpit-dashboard < 170.x +# PR #10430 dropped workaround for ws' inability to understand x-host-key challenge +Conflicts: cockpit-ws < 181.x +%endif + +%description bridge +The Cockpit bridge component installed server side and runs commands on the +system on behalf of the web based user interface. + +%files bridge -f base.list +%{_datadir}/cockpit/base1/bundle.min.js.gz +%doc %{_mandir}/man1/cockpit-bridge.1.gz +%{_bindir}/cockpit-bridge +%{_libexecdir}/cockpit-askpass + +%package doc +Summary: Cockpit deployment and developer guide +BuildArch: noarch + +%description doc +The Cockpit Deployment and Developer Guide shows sysadmins how to +deploy Cockpit on their machines as well as helps developers who want to +embed or extend Cockpit. + +%files doc +%exclude %{_docdir}/cockpit/AUTHORS +%exclude %{_docdir}/cockpit/COPYING +%exclude %{_docdir}/cockpit/README.md +%{_docdir}/cockpit + +%package system +Summary: Cockpit admin interface package for configuring and troubleshooting a system +BuildArch: noarch +Requires: cockpit-bridge >= %{version}-%{release} +Requires: shadow-utils +Requires: grep +Requires: libpwquality +Requires: /usr/bin/date +Provides: cockpit-realmd = %{version}-%{release} +Provides: cockpit-shell = %{version}-%{release} +Obsoletes: cockpit-shell < 127 +Provides: cockpit-systemd = %{version}-%{release} +Provides: cockpit-tuned = %{version}-%{release} +Provides: cockpit-users = %{version}-%{release} +%if 0%{?rhel} +Provides: cockpit-networkmanager = %{version}-%{release} +Obsoletes: cockpit-networkmanager < 135 +Requires: NetworkManager +Provides: cockpit-kdump = %{version}-%{release} +Requires: kexec-tools +# Optional components (only when soft deps are supported) +%if 0%{?fedora} || 0%{?rhel} >= 8 +Recommends: polkit +%endif +%if 0%{?rhel} >= 8 +Recommends: NetworkManager-team +Recommends: setroubleshoot-server >= 3.3.3 +%endif +Provides: cockpit-selinux = %{version}-%{release} +Provides: cockpit-sosreport = %{version}-%{release} +%endif +%if %{defined build_subscriptions} +Provides: cockpit-subscriptions = %{version}-%{release} +Requires: subscription-manager >= 1.13 +%endif +# NPM modules which are also available as packages +Provides: bundled(js-jquery) = 3.3.1 +Provides: bundled(js-moment) = 2.22.2 +Provides: bundled(nodejs-flot) = 0.8.3 +Provides: bundled(nodejs-promise) = 8.0.2 +Provides: bundled(nodejs-requirejs) = 2.1.22 +Provides: bundled(xstatic-bootstrap-datepicker-common) = 1.8.0 +Provides: bundled(xstatic-patternfly-common) = 3.58.0 + +%description system +This package contains the Cockpit shell and system configuration interfaces. + +%files system -f system.list + +%package ws +Summary: Cockpit Web Service +Requires: glib-networking +Requires: openssl +Requires: glib2 >= 2.37.4 +%if 0%{?firewalld_service} +Conflicts: firewalld >= 0.6.0-1 +%else +Conflicts: firewalld < 0.6.0-1 +%endif +%if 0%{?fedora} || 0%{?rhel} >= 8 +Recommends: sscg >= 2.3 +Recommends: system-logos +%endif +Requires(post): systemd +Requires(preun): systemd +Requires(postun): systemd + +%description ws +The Cockpit Web Service listens on the network, and authenticates users. + +%files ws -f cockpit.lang +%doc %{_mandir}/man1/cockpit-desktop.1.gz +%doc %{_mandir}/man5/cockpit.conf.5.gz +%doc %{_mandir}/man8/cockpit-ws.8.gz +%doc %{_mandir}/man8/remotectl.8.gz +%doc %{_mandir}/man8/pam_ssh_add.8.gz +%config(noreplace) %{_sysconfdir}/cockpit/ws-certs.d +%config(noreplace) %{_sysconfdir}/pam.d/cockpit +%config %{_sysconfdir}/issue.d/cockpit.issue +%config %{_sysconfdir}/motd.d/cockpit +%{_datadir}/cockpit/motd/update-motd +%{_datadir}/cockpit/motd/inactive.motd +%{_unitdir}/cockpit.service +%{_unitdir}/cockpit-motd.service +%{_unitdir}/cockpit.socket +%if 0%{?firewalld_service} +%{_prefix}/%{__lib}/firewalld/services/cockpit.xml +%endif +%{_prefix}/%{__lib}/tmpfiles.d/cockpit-tempfiles.conf +%{_sbindir}/remotectl +%{_libdir}/security/pam_ssh_add.so +%{_libexecdir}/cockpit-ws +%{_libexecdir}/cockpit-desktop +%attr(4750, root, cockpit-ws) %{_libexecdir}/cockpit-session +%attr(775, -, wheel) %{_localstatedir}/lib/cockpit +%{_datadir}/cockpit/static +%{_datadir}/cockpit/branding + +%pre ws +getent group cockpit-ws >/dev/null || groupadd -r cockpit-ws +getent passwd cockpit-ws >/dev/null || useradd -r -g cockpit-ws -d / -s /sbin/nologin -c "User for cockpit-ws" cockpit-ws + +%post ws +%systemd_post cockpit.socket +# firewalld only partially picks up changes to its services files without this +test -f %{_bindir}/firewall-cmd && firewall-cmd --reload --quiet || true + +%preun ws +%systemd_preun cockpit.socket + +%postun ws +%systemd_postun_with_restart cockpit.socket +%systemd_postun_with_restart cockpit.service + +# ------------------------------------------------------------------------------- +# Sub-packages that are part of cockpit-system in RHEL/CentOS, but separate in Fedora + +%if 0%{?rhel} == 0 + +%package kdump +Summary: Cockpit user interface for kernel crash dumping +Requires: cockpit-bridge >= 122 +Requires: cockpit-shell >= 122 +Requires: kexec-tools +BuildArch: noarch + +%description kdump +The Cockpit component for configuring kernel crash dumping. + +%files kdump -f kdump.list +%{_datadir}/metainfo/org.cockpit-project.cockpit-kdump.metainfo.xml + +%package sosreport +Summary: Cockpit user interface for diagnostic reports +Requires: cockpit-bridge >= 122 +Requires: cockpit-shell >= 122 +Requires: sos +BuildArch: noarch + +%description sosreport +The Cockpit component for creating diagnostic reports with the +sosreport tool. + +%files sosreport -f sosreport.list +%{_datadir}/metainfo/org.cockpit-project.cockpit-sosreport.metainfo.xml +%{_datadir}/pixmaps/cockpit-sosreport.png + +%package networkmanager +Summary: Cockpit user interface for networking, using NetworkManager +Requires: cockpit-bridge >= 122 +Requires: cockpit-shell >= 122 +Requires: NetworkManager +# Optional components (only when soft deps are supported) +%if 0%{?fedora} || 0%{?rhel} >= 8 +Recommends: NetworkManager-team +%endif +BuildArch: noarch + +%description networkmanager +The Cockpit component for managing networking. This package uses NetworkManager. + +%files networkmanager -f networkmanager.list + +%endif + +%if 0%{?rhel} == 0 + +%package selinux +Summary: Cockpit SELinux package +Requires: cockpit-bridge >= 122 +Requires: cockpit-shell >= 122 +%if 0%{?fedora} || 0%{?rhel} >= 8 +Requires: setroubleshoot-server >= 3.3.3 +%endif +BuildArch: noarch + +%description selinux +This package contains the Cockpit user interface integration with the +utility setroubleshoot to diagnose and resolve SELinux issues. + +%files selinux -f selinux.list +%{_datadir}/metainfo/org.cockpit-project.cockpit-selinux.metainfo.xml + +%endif + +%else # build basic packages + +# RPM requires this +%description +Dummy package from building optional packages only; never install or publish me. + +%endif # build basic packages + +# ------------------------------------------------------------------------------- +# Sub-packages that are optional extensions + +%if 0%{?build_optional} + +%package -n cockpit-storaged +Summary: Cockpit user interface for storage, using udisks +Requires: cockpit-shell >= 122 +Requires: udisks2 >= 2.6 +%if 0%{?rhel} == 7 +# Recommends: not supported in RHEL <= 7 +Requires: udisks2-lvm2 >= 2.6 +Requires: udisks2-iscsi >= 2.6 +Requires: device-mapper-multipath +Requires: python +Requires: python-dbus +%else +Recommends: udisks2-lvm2 >= 2.6 +Recommends: udisks2-iscsi >= 2.6 +Recommends: device-mapper-multipath +Recommends: clevis-luks +Requires: %{__python3} +Requires: python3-dbus +%endif +BuildArch: noarch + +%description -n cockpit-storaged +The Cockpit component for managing storage. This package uses udisks. + +%files -n cockpit-storaged -f storaged.list + + +%package -n cockpit-tests +Summary: Tests for Cockpit +Requires: cockpit-bridge >= 138 +Requires: cockpit-system >= 138 +Requires: openssh-clients +Provides: cockpit-test-assets = %{version}-%{release} +Obsoletes: cockpit-test-assets < 132 + +%description -n cockpit-tests +This package contains tests and files used while testing Cockpit. +These files are not required for running Cockpit. + +%files -n cockpit-tests -f tests.list +%config(noreplace) %{_sysconfdir}/cockpit/cockpit.conf +%{_prefix}/%{__lib}/cockpit-test-assets + +%package -n cockpit-machines +BuildArch: noarch +Summary: Cockpit user interface for virtual machines +Requires: cockpit-bridge >= 122 +Requires: cockpit-system >= 122 +%if 0%{?rhel} == 7 +Requires: libvirt +%else +Requires: (libvirt-daemon-kvm or libvirt) +%endif +Requires: libvirt-client +%if 0%{?fedora} || 0%{?rhel} >= 8 +Requires: libvirt-dbus >= 1.2.0 +# Optional components +Recommends: virt-install +%endif + +%description -n cockpit-machines +The Cockpit components for managing virtual machines. + +If "virt-install" is installed, you can also create new virtual machines. + +%files -n cockpit-machines -f machines.list +%{_datadir}/metainfo/org.cockpit-project.cockpit-machines.metainfo.xml + +%package -n cockpit-machines-ovirt +BuildArch: noarch +Summary: Cockpit user interface for oVirt virtual machines +Requires: cockpit-bridge >= 122 +Requires: cockpit-system >= 122 +%if 0%{?rhel} == 7 +Requires: libvirt +%else +Requires: (libvirt-daemon-kvm or libvirt) +%endif +Requires: libvirt-client + +%description -n cockpit-machines-ovirt +The Cockpit components for managing oVirt virtual machines. + +%files -n cockpit-machines-ovirt -f ovirt.list + +%package -n cockpit-pcp +Summary: Cockpit PCP integration +Requires: cockpit-bridge >= 134.x +Requires: pcp + +%description -n cockpit-pcp +Cockpit support for reading PCP metrics and loading PCP archives. + +%files -n cockpit-pcp -f pcp.list +%{_libexecdir}/cockpit-pcp +%{_localstatedir}/lib/pcp/config/pmlogconf/tools/cockpit + +%post -n cockpit-pcp +# HACK - https://bugzilla.redhat.com/show_bug.cgi?id=1185764 +# We can't use "systemctl reload-or-try-restart" since systemctl might +# be out of sync with reality. +/usr/share/pcp/lib/pmlogger condrestart + +%if %{defined build_dashboard} +%package -n cockpit-dashboard +Summary: Cockpit remote servers and dashboard +%if 0%{?rhel} == 7 +Provides: cockpit-ssh = %{version}-%{release} +# nothing depends on the dashboard, but we can't use it with older versions of the bridge +Conflicts: cockpit-bridge < 135 +# PR #10430 dropped workaround for ws' inability to understand x-host-key challenge +Conflicts: cockpit-ws < 173.1 +%else +BuildArch: noarch +Requires: cockpit-ssh >= 135 +Conflicts: cockpit-ws < 135 +%endif + +%description -n cockpit-dashboard +Cockpit support for connecting to remote servers (through ssh), +bastion hosts, and a basic dashboard. + +%files -n cockpit-dashboard -f dashboard.list + +%endif + +%ifarch x86_64 %{arm} aarch64 ppc64le i686 s390x + +%if 0%{?fedora} || 0%{?rhel} < 8 +%package -n cockpit-docker +Summary: Cockpit user interface for Docker containers +Requires: cockpit-bridge >= 122 +Requires: cockpit-shell >= 122 +Requires: /usr/bin/docker +Requires: /usr/lib/systemd/system/docker.service +%if 0%{?fedora} +Requires: %{__python3} +%else +Requires: python2 +%endif + +%description -n cockpit-docker +The Cockpit components for interacting with Docker and user interface. +This package is not yet complete. + +%files -n cockpit-docker -f docker.list + +%endif +%endif + +%if 0%{?build_kubernetes} + +%package -n cockpit-kubernetes +Summary: Cockpit user interface for Kubernetes cluster +Requires: /usr/bin/kubectl +# Requires: Needs newer localization support +Requires: cockpit-bridge >= 137.x +Requires: cockpit-shell >= 137.x +BuildRequires: %{go_scl_prefix}golang-bin +BuildRequires: %{go_scl_prefix}golang-src +Provides: cockpit-stub = %{version}-%{release} + +%description -n cockpit-kubernetes +The Cockpit components for visualizing and configuring a Kubernetes +cluster. Installed on the Kubernetes master. This package is not yet complete. + +%if 0%{?rhel} >= 8 +%enable_gotoolset7 +%endif + +%files -n cockpit-kubernetes -f kubernetes.list +%{_libexecdir}/cockpit-kube-auth +%{_libexecdir}/cockpit-kube-launch +%{_libexecdir}/cockpit-stub +%endif + +%package -n cockpit-packagekit +Summary: Cockpit user interface for packages +BuildArch: noarch +Requires: cockpit-bridge >= 138 +Requires: PackageKit + +%description -n cockpit-packagekit +The Cockpit components for installing OS updates and Cockpit add-ons, +via PackageKit. + +%files -n cockpit-packagekit -f packagekit.list + +%endif # build optional extension packages + +# The changelog is automatically generated and merged +%changelog +* Wed Jan 23 2019 Martin Pitt - 184.1-1 +- storage: Always round dialog size slider input rhbz#1665955 + +* Fri Dec 14 2018 Martin Pitt - 184-1 +- Machines: Fix Dialog and tab layouts rhbz#1658490, rhbz#1657119 +- Machines: Fix information popup in vCPU dialog rhbz#1657133 +- Machines: Enforce https:// URLs for remote VM image locations rhbz#1644267 +- Storage: Filesystem labels are validated upfront rhbz#1655580 +- Storage: Some mount options are prefilled when needed +- Storage: Fix empty tooltips rhbz#1655922 + +* Wed Nov 28 2018 Martin Pitt - 183-1 +- Machines: Manage storage pools +- Machines: libvirt connection choice during VM creation +- PackageKit page: Display registration status clearly +- Drop .map files from -tests, should be only in debuginfo package rhbz#1648953 + +* Mon Nov 12 2018 Martin Pitt - 181-1 +- Fix key typing in file auto complete widget rhbz#1637866 +- Use libvirt-dbus by default rhbz#1637803 + +* Fri Oct 12 2018 Martin Pitt - 180-1 +- Machines: Show error messages in the correct place rhbz#1637811 + +* Thu Oct 04 2018 Martin Pitt - 179-1 +- Fix building with platform-python rhbz#1631174 +- Machines: Fix system VMs with non-root users rhbz#1632772 +- Machines: Offer cockpit-machines as Application + +* Wed Sep 19 2018 Martin Pitt - 178-1 +- Storage: Fix URL parsing when showing tang-show-key advise rhbz#1631175 + +* Wed Sep 5 2018 Martin Pitt - 177-1 +- Storage: Support LUKS v2 rhbz#1622834 +- PackageKit: Install auto-updates backend on demand + +* Wed Aug 8 2018 Marius Vollmer - 175-1 +- Storage: Network bound disk encryption +- cockpit-ostree is now in its own source package + +* Thu Aug 2 2018 marius Vollmer - 174-1 +- Kubernetes: VM detail page +- Realmd: Install on demand +- firewalld service is now being dropped by upstream +- iscsi works fully now + +* Wed Jul 25 2018 Martin Pitt - 173-1 +- Storage: Offer installation of VDO +- Machines: Add disks to a virtual machine +- Disable cockpit-docker rhbz#1602951 + +* Wed Jul 11 2018 Martin Pitt - 172-1 + +- System: Offer installation of PCP +- Software Updates: Improve layout in mobile mode +- Remove ability to drop privileges from navigation bar +- API: Introduce flow control for all channels +- Python 3 support + +* Wed Jun 27 2018 Martin Pitt - 171-1 + +- Machines: Add virtual CPU configuration +- Kubernetes: Add KubeVirt pod metrics +- Docker: Show container volumes +- Fix broken actions for non-administrators +- Networking: Handle non-running NetworkManager +- Accounts: User role improvements +- Localize times + +* Wed Jun 13 2018 Martin Pitt - 170-1 + +- Software Updates: Layout rework +- oVirt: Use authenticated libvirt connection by default +- Split out optional packages into new cockpit-appstream dist-git, see + discussion in RHELPLAN-3661; append "+as" version suffix to avoid collisions + with cockpit revisions. +- Temporarily disable cockpit-kubernetes rhbz#1584155 + +* Wed May 30 2018 Martin Pitt - 169-1 + +- Storage: Offer installation of NFS client support +- System: Request FreeIPA SSL certificate for Cockpit's web server +- Services: Show unit relationships +- Provide motd help about how to access cockpit + +* Wed May 16 2018 Martin Pitt - 168-1 + +- Improve checks for root privilege availability + +* Wed May 02 2018 Martin Pitt - 167-1 + +- Networking: Add Firewall Configuration +- Kubernetes: Show Kubevirt Registry Disks + +* Wed Apr 18 2018 Martin Pitt - 166-1 + +- Kubernetes: Add creation of Virtual Machines +- Realms: Automatically set up Kerberos keytab for Cockpit web server +- Numbers now get formatted correctly for the selected language + +* Wed Apr 04 2018 Martin Pitt - 165-1 + +- Storage: Show more details of sessions and services that keep NFS busy +- Machines: Detect if libvirtd is not running +- Machines: Show virtual machines that are being created + +* Wed Mar 21 2018 Martin Pitt - 164-1 + +- Storage: Move NFS management into new details page +- System: Show available package updates and missing registration +- System: Fix inconsistent tooltips +- Logs: Change severities to officially defined syslog levels +- Machines: Add error notifications +- Accessibility improvements +- Reloading the page in the browser now reloads Cockpit package manifests + +* Wed Mar 07 2018 Martin Pitt - 163-1 + +- Drop "Transfer data asynchronously" VDO option on Storage page +- Hide Docker storage pool reset button when it cannot work properly +- Update jQuery to version 3.3.1 (deprecated cockpit API!) + +* Fri Feb 09 2018 Igor Gnatenko - 161-2 +- Escape macros in %%changelog + +* Wed Feb 07 2018 Martin Pitt - 161-1 + +- New VMs can be created on Machines page +- VMs running in Kubernetes can now be deleted +- Improve LVM volume resizing +- Add new Hardware Information page +- Load Application metadata (Appstream) packages on demand on Debian/Ubuntu +- Rename cockpit-ovirt package to cockpit-machines-ovirt +- Stop advertising and supporting cockpit-bundled jQuery library + +* Wed Feb 07 2018 Fedora Release Engineering - 160-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Wed Jan 24 2018 Martin Pitt - 160-1 + +- Add kubevirt Virtual Machines overview +- Redesign package list on Software Updates page and show RHEL Errata +- Install AppStream collection metadata packages on demand on Apps page +- Add AppStream metadata to cockpit-sosreport for showing up on Apps page +- Change CPU graphs to use "100%%" for a fully loaded multi-processor system +- Show storage, network, and other numbers with 3 digits of precision +- Add an example bastion container + +* Sat Jan 20 2018 Björn Esser - 159-2 +- Rebuilt for switch to libxcrypt + +* Wed Jan 10 2018 Martin Pitt - 159-1 + +- Configure data deduplication with VDO devices on Storage page +- Add serial console to virtual Machines page and redesign the Consoles tab +- Show more error message details for failures on virtual Machines page + +* Wed Dec 13 2017 Martin Pitt - 158-1 + +- Add check boxes for common NFS mount options +- Clarify Software Update status if only security updates are available +- Create self-signed certificates with SubjectAltName + +* Thu Nov 30 2017 Martin Pitt - 157-1 + +- Add Networks tab to overview on Machines page +- The Apps page now displays SVG app icons + +* Thu Nov 16 2017 Martin Pitt - 156-1 + +- Redesign navigation and support mobile browsing +- Use /etc/cockpit/krb5.keytab if present to support alternate keytabs +- Add project homepage link to Apps page +- Maintain issue(5) file with current Cockpit status +- Use event-driven refresh of oVirt data instead of polling + +* Tue Nov 07 2017 Martin Pitt - 155-1 + +- Add NFS client support to the Storage page +- Add "Maintenance" switch for oVirt hosts +- Fix Terminal rendering issues in Chrome +- Prevent closing Terminal with Ctrl+W when focused +- Support the upcoming OpenShift 3.7 release + +* Wed Oct 18 2017 Martin Pitt - 154-1 + +- Center the "Disconnected" message in the content area +- Fix two layout regressions on the Cluster page +- Remove long-obsolete "./configure --branding" option + +* Tue Oct 17 2017 Martin Pitt - 153-1 + +- Add cockpit-ovirt package to control oVirt virtual machine clusters +- Clean up rpmlint/lintian errors in the packages + +* Fri Oct 06 2017 Martin Pitt - 152-1 + +- Add Applications page +- Add automatic update configuration for dnf to Software Updates +- Fix cockpit-bridge crash if /etc/os-release does not exist + +* Mon Sep 25 2017 Stef Walter - 151-2 +- Add simulated test failure + +* Thu Sep 21 2017 Martin Pitt - 151-1 + +- Support loading SSH keys from arbitrary paths +- Support X-Forwarded-Proto HTTP header for Kubernetes +- Fix Kubernetes connection hangs (regression in version 150) + +* Fri Sep 08 2017 Martin Pitt - 150-1 + +- Automatically enable and start newly created timers on the Services page +- Support cockpit-dashboard installation into OSTree overlay on Atomic +- Support Kubernetes basic auth with Google Compute Engine 1.7.x + +* Mon Aug 21 2017 petervo - 149-1 +- Support sending non-maskable interrupt to VMs +- Fix building on fedora 27 +- Add information about non-met conditions for systemd services +- Clear cockpit cookie on logout + +* Wed Aug 02 2017 Fedora Release Engineering - 146-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 146-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Jul 21 2017 Martin Pitt - 146-1 + +- Show recent updates and live update log on Software Updates page +- Improve available Software Updates table layout for small/mobile screens +- Support OAuth Kubernetes logins to work with Google Compute Engine +- Fix reporting ABRT crashes that are already known to the server +- Scroll the virtual machine VNC console into view automatically + +* Fri Jul 07 2017 Martin Pitt - 145-1 + +- Resize the terminal dynamically to use all available space +- Let the Machines page update immediately after changes +- Add delete VM functionality to the Machines page +- Retire support for external Machines provider API +- Always recommend rebooting after applying Software Updates +- Group D-Bus channels to avoid hitting connection limits +- Fix building on Fedora Rawhide/glibc 2.25.90 + +* Mon Jun 19 2017 Martin Pitt <> - 143-1 + +- Add "Software Updates" page for package (rpm/deb) based operating systems +- Fix cockpit-machines package to make inline VNC console actually work +- Fix Kubernetes authentication when Kubernetes configured for RBAC +- Build Docker page for s390x architecture + +* Fri Jun 09 2017 Martin Pitt <> - 142-1 + +- Virtual machines display an interactive console, either in browser, or a popup viewer +- Fix Virtual Machines operations on non-English locales +- Add documentation explaining how to grant/restrict access via polkit rules + +* Fri Apr 21 2017 Martin Pitt <> - 139-1 + +- Show more information about virtual machines, such as boot order +- Fix enablement of timer systemd units created on Services page +- Fix Storage crash on multiple iSCSI sessions +- cockpit-docker is now installable with docker-ce or other alternatives +- Hide docker push commands on Registry image pages for "pull" roles + +* Mon Apr 10 2017 Stef Walter <> - 138-1 +- Only allow mdraid disk removal when it won't destroy data +- Allow DN style usernames in the Kubernetes dashboard +- Simplify protocol that cockpit talks to session authentication processes + +* Thu Mar 30 2017 Martin Pitt <> - 137-1 + +- Read ~/.ssh/known_hosts for connecting to remote machines with ssh +- The Storage LVM setup can add unpartitioned free space as a physical volume +- NetworkManager's Team plugin can be used on architectures other than x86_64 +- Cockpit's web server understands and properly responds to HTTP HEAD requests +- Allow parameter substitution in manifest when spawning peer bridges + +* Thu Mar 09 2017 Martin Pitt <> - 134-1 + +- Show /etc/motd in the "System" task page +- Drop "System" service actions which are intended for scripts +- Make login page translatable +- NetworkManager now activates slave interfaces by itself +- Add call timeout option to the cockpit.dbus() API +- The Debian packaging is now able to apply binary patches + +* Thu Mar 02 2017 Martin Pitt <> - 133-1 + +- Remotely managed machines are now configured in /etc/cockpit/machines.d/*.json +- Fix NetworkManager's "MTU" dialog layout +- Build the cockpit-tests package for releases too +- Split translations into individual packages +- Packages now configure alternate cockpit-bridge's to interact with the system + +* Thu Feb 23 2017 Martin Pitt <> - 132-1 + +- Make basic SELinux functionality available without setroubleshootd +- Allow changing the MAC address for ethernet adapters and see them for bonds +- Hide "autoconnect" checkbox for network devices without settings +- Support for external providers other than libvirt on Machines page +- Some tooltip fixes +- Add option to restrict max read size to the Cockpit file API +- Relax dependencies on cockpit-bridge package on Debian/Ubuntu +- Rename cockpit-test-assets package to cockpit-tests +- When touching patched files handle case of only one file +- Always build the cockpit-tests subpackage + +* Mon Feb 06 2017 Stef Walter <> - 131-1 +- Show session virtual machines on Machines page +- Fix use of the TAB key on login page +- Robust naming and detection of network bond master +- Debian packaging fixes + +* Wed Jan 25 2017 Stef Walter <> - 130-1 +- cockpit.file() can read non-memory-mappable file +- Add kdump configuration user interface +- Allow container Registry Console user names with '@' sign + +* Wed Jan 18 2017 Stef Walter <> - 129-1 +- Diagnostic sosreport feature now works on RHEL Atomic again +- The configure script has a --disable-ssh option to toggle libssh dep +- The configure --disable-ws option has been replaced with above. +- Unit tests have been fixed on recent GLib versions +- Several Fedora and Debian packaging fixes + +* Wed Dec 14 2016 Stef Walter <> - 126-1 +- Show security scan information about containers +- Choose whether password is cached and reused on login screen +- Allow renaming of active devices in networking interface +- More clearly indicate when checking network connectivity +- The remotectl command can now combine certificate and key files +- Support Openshift's certificate autogeneration when used as a pod +- The remotectl tool now checks for keys in certificate files +- Domain join operations can now be properly cancelled +- Make Kerberos authentication work even if gss-proxy is in use +- Javascript code can now export DBus interfaces +- When proxied, support X-Forwarded-Proto +- Ignore block devices with a zero size in the storage interface + +* Thu Nov 24 2016 Stef Walter <> - 125-1 +- Cockpit is now properly translatable +- Display OSTree signatures +- New expandable views for storage devices +- No longer offer to format read-only block devices +- Use stored passphrases for LUKS devices properly +- Start testing on RHEL 7.3 +- More strict about transport channels a bridge accepts +- System shutdown can be scheduled by date + +* Wed Nov 16 2016 Stef Walter <> - 124-1 +- Build and test on Debian Jessie +- Deprecate older javascript files +- Properly terminate user sessions on the Accounts page +- Fix regression on login screen in older Internet Explorer browsers +- Fix regression where Date Picker was not shown in System Time dialog + +* Thu Nov 10 2016 Stef Walter <> - 123-1 +- Release a second tarball with cached javascript dependencies +- Start verifying that Cockpit works on Ubuntu 16.04 +- Enable and verify the network functionality on Debian +- Integration tests now log core dumps for diagnosis + +* Tue Nov 01 2016 Stef Walter - 122-1 +- Works with UDisks in addition to storaged +- Allow logging into other systems from login page +- Explicitly specify javascript dependency versions + +* Fri Oct 28 2016 Stef Walter - 121-1 +- Network Manager Checkpoints +- Add Debian Branding +- Fix GSSAPI login on Debian and Ubuntu +- Generate map files for debugging Javascript and CSS + +* Sat Oct 22 2016 Stef Walter - 120-1 +- New containers page layout +- Quick filtering of containers and images on the container page +- Added sidebar for phisical volumes in a volume group +- Run a separate cockpit-ssh process when making SSH connections +- Allow connecting to remote machines from the login page +- Only connect to remote machines already known to Cockpit +- Fix bugs preventing journal page from working on Firefox 49 +- Add tooltip describing group name in Roles list + +* Sat Oct 01 2016 Dennis Gilmore - 119-2 +- enabled cockpit-docker on aarch64, ppc64, ppc64le + +* Thu Sep 29 2016 petervo - 119-1 +- Adds basic VM Management and Monitoring +- MDRaid job improvements +- Show unmanaged network devices +- Better errors when formating storage devices +- Updated VNC example +- Port subscriptions package to react +- Allow branding.css to overide shell css + +* Wed Sep 07 2016 Stef Walter - 118-1 +- Support PAM conversations on the Login screen +- Users can create systemd timer jobs +- Provide default names for volume groups and logical volumes +- Make Docker graphs work on Debian +- Only offer to format disks with supported file systems +- Show all managed NetworkManager devices +- Use webpack for building Cockpit javascript +- Cockpit URLs can be proxied with a configured HTTP path prefix +- Allow Cockpit packages to require a minimum version of Cockpit +- Translations fixes + +* Thu Aug 11 2016 Stef Walter - 0.117-1 +- * Add support for network teams +- * Select translations for complex language names +- * Don't allow formating extended partitions +- * Can configure Openshift Registry so anonymous users can pull images + +* Fri Jul 29 2016 Stef Walter - 0.116-1 +- * Support for volumes when starting a docker container +- * Support for setting environment variables in a docker container +- * Fix regressions that broke display of localized text + +* Thu Jul 21 2016 Stef Walter - 0.115-1 +- * Setup Docker container and image storage through the UI +- * Use Webpack to build Cockpit UI packages +- * Update the Cockpit Vagrant development box to use Fedora 24 + +* Tue Jul 12 2016 Stef Walter - 0.114-1 +- .104 +- * Network configuration of the Ethernet MTU +- * Red Hat Subscriptions can now specify activation keys and orgs +- * Start integration testing on CentOS +- * SSH Host keys are show on system page +- * Machine ID is shown on system page +- * Show intelligent password score error messages + +* Thu Jul 07 2016 Stef Walter - 0.113-1 +- * Show timer information for systemd timer jobs +- * Use 'active-backup' as the default for new network bonds +- * When changing system time check formats properly +- * Hide the machine asset tag when no asset exists +- * Disable the network on/off switch for unknown or unmanaged interfaces +- * Show full string for system hardware info and operating system name + +* Wed Jun 29 2016 Stef Walter - 0.112-1 +- * Don't show network interfaces where NM_CONTROLLED=no is set +- * Add textual fields to container memory and CPU sliders +- * Display contianer memory and CPU resources on Debian +- * Disable tuned correctly when clearing a performance profile +- * Fix SELinux enforcing toggle switch and status + +* Tue Jun 21 2016 Stef Walter - 0.111-1 +- * Tarball build issue in 0.110 is now fixed +- * The Containers page layouts have been tweaked +- * Make the Containers resource limits work again +- * Registry image now have layers displayed correctly + +* Thu Jun 02 2016 Dominik Perpeet - 0.109-1 +- * API stabilization, structural cleanup +- * SELinux Troubleshooting: documentation, support latest API +- * Update Patternfly +- * Use CockpitLang cookie and Accept-Language for localization +- * Can now click through to perform administration tasks on Nodes on the Cluster dashboard +- * Cockpit terminal now supports shells like fish + +* Fri May 27 2016 Stef Walter - 0.108-1 +- * SELinux troubleshooting alerts can now be dismissed +- * Show SELinux icon for critical alerts +- * SELinux enforcing mode can be turned off and on with a switch +- * Kubernetes Nodes are now include charts about usage data +- * Fix Debian dependency on Docker +- * Update the look and feel of the toggle switch +- * Update ListenStream documentation to include address info + +* Fri May 20 2016 Stef Walter - 0.107-1 +- * Display image stream import errors +- * Add GlusterFS persistent volumes in Cluster dashboard +- * Show a list of pending persistent volume claims +- * jQuery Flot library is no longer part of the base1 package +- * Fix Content-Security-Policy issues with jQuery Flot + +* Thu May 12 2016 Stef Walter - 0.106-1 +- * Add namespaces to cockpit CSS classes +- * Display container image layers in a simpler graph +- * Hide actions in Cluster projects listing that are not accessible + +* Wed May 04 2016 Stef Walter - 0.105-1 +- * Strict Content-Security-Policy in all shipped components of Cockpit +- * Can now add and remove Openshift users to and from groups +- * Add timeout setting for Cockpit authentication +- * Registry interface now has checkbox for mirroring from insecure registries +- * Kubernetes dashboard now allows deletion of Nodes + +* Thu Apr 28 2016 Stef Walter - 0.104-1 +- * Show errors correctly when deleting or modifying user accounts +- * Add support for iSCSI cluster volumes +- * Strict Content-Security-Policy in the dashboard, sosreport and realmd code +- * Better list expansion and navigation behavior across Cockpit +- * Don't show 'Computer OU' field when leaving a domain +- * Remove usage of bootstrap-select +- * Show errors properly in performance profile dialog +- * Fix Cluster sidebar to react to window size +- * Allow specifying specific tags in registry image streams +- * Make registry project access policy more visible + +* Tue Apr 19 2016 Stef Walter - 0.103-1 +- * Strict Content-Security-Policy for subscriptions component +- * New dialog for Kubernetes connection configuration +- * Release to a cockpit-project Ubuntu PPA +- * Remove jQuery usage from cockpit.js +- * New styling for cluster dashboard +- * Fix build issue on MIPS + +* Thu Apr 14 2016 Stef Walter - 0.102-1 +- * Can configure Docker restart policy for new containers +- * Use a single dialog for creating logical volumes +- * Package and test the storage UI on Debian +- * Don't offer 'Computer OU' when joining IPA domains +- * Don't distribute jshint build dependency due to its non-free license + +* Fri Feb 12 2016 Stef Walter - 0.95-1 +- * iSCSI initiator support on the storage page +- * Page browser title now uses on operating system name +- * Better look when Cockpit disconnects from the server +- * Avoid use of NFS in the Vagrantfile +- * Expand 'Tools' menu when navigating to one of its items +- * Set a default $PATH in cockpit-bridge + +* Tue Feb 02 2016 Stef Walter - 0.94-1 +- * Handle interruptions during cockpit-ws start while reading from /dev/urandom +- * Remove BIOS display from Server Summary page +- * Support tuned descriptions +- * Fix Content-Security-Policy in example manifest.json files + +* Mon Jan 25 2016 Stef Walter - 0.93-1 +- * Set system performance profile via tuned +- * Support for WebSocket client in cockpit-bridge +- * Support using Nulecule with Openshift +- * Actually exit cockpit-ws when it's idle + +* Wed Jan 20 2016 Stef Walter - 0.92-1 +- * OAuth login support +- * Update Patternfly +- * Log to stderr when no journal +- * Make sosreport work on RHEL and Atomic + +* Thu Jan 14 2016 Stef Walter - 0.91-1 +- * Fix computing of graph samples on 32-bit OS +- * Distribute licenses of included components +- * Distribute development dependencies +- * Support 'make clean' properly in the tarball + +* Tue Jan 05 2016 Stef Walter - 0.90-1 +- * Fix Content-Security-Policy which broke loading in certain situations +- * Deal correctly with failures trying to join unsupported domains +- * Add documentation about Cockpit startup +- * Better data in storage usage graphs +- * Start creating debian source packages + +* Tue Dec 22 2015 Stef Walter - 0.89-1 +- * Start routine testing of Cockpit on Debian Unstable +- * Make the config file case insensitive +- * Reorder graphs on server summary page +- * Don't suggest syncing users when adding a machine to dashboard +- * Enable weak dependencies for F24+ +- * Show correct data in per interface network graphs +- * Fix the Vagrantfile to pull in latest Cockpit +- * Add Content-Security-Policy header support + +* Fri Dec 18 2015 Stef Walter - 0.88-1 +- * User interface for OSTree upgrades and rollbacks +- * General reusable purpose angular kubernetes client code +- * Allow custom login scripts for handling authentication +- * A specific dashboards can now be the default destination after login +- * Kill ssh-agent correctly when launched by cockpit-bridge +- * Add a new cockpit-stub bridge for non-local access + +* Thu Dec 10 2015 Stef Walter - 0.87-1 +- * Fix login on Windows, don't prompt for additional auth +- * Use the machine host name in the default self-signed certificate +- * Cockpit release tarballs are now distributed in tar-ustar format +- * Allow overriding package manifests +- * Testing and build fixes + +* Fri Dec 04 2015 Stef Walter - 0.86-1 +- * SOS report UI page +- * Simpler way for contributors to build cockpit RPMs +- * Infrastructure for implementing downloads + +* Wed Nov 18 2015 Stef Walter - 0.84-1 +- * Add a cockpit manual page +- * Set correct SELinux context for certificates +- * Remove custom SELinux policy +- * Testing and bug fixes + +* Tue Nov 03 2015 Stef Walter - 0.83-1 +- * Fix NTP server configuration bugs +- * Kubernetes dashboard topology icons don't leave the view +- * Kubernetes dashboard uses shared container-terminal component +- * Fix race when adding machine to Cockpit dashboard +- * Updated documentation for running new distributed tests +- * Lots of other bug and testing fixes + +* Wed Oct 28 2015 Stef Walter - 0.82-1 +- * Support certificate chains properly in cockpit-ws +- * Rename the default self-signed certificate +- * Implement distributed integration testing + +* Wed Oct 21 2015 Stef Walter - 0.81-1 +- * Allow configuring NTP servers when used with timesyncd +- * Fix regression in network configuration switches +- * Make the various graphs look better +- * Openshift Routes and Deployment Configs can be removed +- * Run integration tests using TAP "test anything protocol" +- * Lots of other bug fixes and cleanup + +* Wed Oct 14 2015 Stef Walter - 0.80-1 +- * UI for loading, viewing, changing Private SSH Keys +- * Always start an ssh-agent in the cockpit login session +- * New listing panel designs +- * Lots of testing and bug fixes + +* Wed Oct 07 2015 Stef Walter - 0.79-1 +- * Vagrant file for Cockpit development +- * Use libvirt for testing +- * Display only last lines of Kubernetes container logs + +* Wed Sep 30 2015 Stef Walter - 0.78-1 +- * Fix extreme CPU usage issue in 0.77 release +- * Fix compatibility with older releases +- * Offer to activate multipathd for multipath disks +- * Guide now contains insight into feature internals +- * Lots of other minor bug fixes + +* Wed Sep 23 2015 Marcin Juszkiewicz - 0.77-1.1 +- disable FMA support to get it pass all tests on secondary architectures +- removed duplicated "global rel 1" + +* Tue Sep 22 2015 Stef Walter - 0.77-1 +- * Work better with multipath storage +- * Deletion of kubernetes objects +- * Cleaner URLs in the bookmark bar +- * Show a warning when adding too many machines +- * Make authentication work when embedding Cockpit +- * Complete componentizing Cockpit + +* Wed Sep 16 2015 Stef Walter - 0.76-1 +- * Fix displaying of network bonds +- * Better Kubernetes filter bar, shell access +- * Show some Openshift related objects +- * Use patternfly v2.2 + +* Thu Sep 10 2015 petervo - 0.75-1 +- New design for kubernetes listing pages +- Namespace filter for kubernetes +- Pretty http error pages +- Lots of bugs, build and testing fixes + +* Thu Sep 03 2015 Stef Walter - 0.74-1 +- * Display an intelligent message when password auth is not possible +- * Correctly start terminal in home directory +- * NetworkManager code is in a separate package +- * PCP is an optional build dependency +- * Lots of bugs, build and testing fixes + +* Wed Aug 26 2015 Stef Walter - 0.73-1 +- * Kubernetes UI can connect to non-local API server +- * Automate Web Service container build on Docker Hub +- * Add validation options to TLS client connections +- * PAM pam_ssh_add.so module for loading SSH keys based on login password +- * Build, testing and other fixes + +* Mon Aug 17 2015 Peter - 0.71-1 +- Update to 0.71 release. + +* Wed Aug 12 2015 Stef Walter - 0.70-1 +- Depend on kubernetes-client instead of kubernetes +- Update to 0.70 release. + +* Thu Aug 06 2015 Stef Walter - 0.69-1 +- Update to 0.69 release. + +* Wed Jul 29 2015 Peter - 0.68-1 +- Update to 0.68 release. + +* Thu Jul 23 2015 Peter - 0.66-1 +- Update to 0.66 release + +* Fri Jul 17 2015 Peter - 0.65-2 +- Require libssh 0.7.1 on fedora >= 22 systems + +* Wed Jul 15 2015 Peter - 0.65-1 +- Update to 0.65 release + +* Wed Jul 08 2015 Peter - 0.64-1 +- Update to 0.64 release + +* Wed Jul 01 2015 Peter - 0.63-1 +- Update to 0.63 release +- Remove cockpit-docker for armv7hl while docker + packages are being fixed + +* Thu Jun 25 2015 Peter - 0.62-1 +- Update to 0.62 release + +* Wed Jun 17 2015 Fedora Release Engineering - 0.61-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Wed Jun 10 2015 Peter - 0.61-1 +- Update to 0.61 release + +* Mon Jun 01 2015 Stef Walter - 0.60-1 +- Update to 0.60 release + +* Wed May 27 2015 Peter - 0.59-1 +- Update to 0.59 release + +* Fri May 22 2015 Peter - 0.58-1 +- Update to 0.58 release + +* Wed May 20 2015 Peter - 0.57-1 +- Update to 0.57 release + +* Wed May 13 2015 Peter - 0.56-1 +- Update to 0.56 release + +* Wed May 06 2015 Stef Walter - 0.55-1 +- Update to 0.55 release + +* Fri Apr 24 2015 Peter - 0.54-1 +- Update to 0.54 release + +* Tue Apr 21 2015 Peter - 0.53-1 +- Update to 0.53 release + +* Thu Apr 16 2015 Stef Walter - 0.52-1 +- Update to 0.52 release + +* Tue Apr 14 2015 Peter - 0.51-1 +- Update to 0.51 release + +* Tue Apr 07 2015 Stef Walter - 0.50-1 +- Update to 0.50 release + +* Wed Apr 01 2015 Stephen Gallagher 0.49-2 +- Fix incorrect Obsoletes: of cockpit-daemon + +* Wed Apr 01 2015 Peter - 0.49-1 +- Update to 0.49 release. +- cockpitd was renamed to cockpit-wrapper the cockpit-daemon + package was removed and is now installed with the + cockpit-bridge package. + +* Mon Mar 30 2015 Peter - 0.48-1 +- Update to 0.48 release + +* Mon Mar 30 2015 Stephen Gallagher 0.47-2 +- Don't attempt to build cockpit-kubernetes on armv7hl + +* Fri Mar 27 2015 Peter - 0.47-1 +- Update to 0.47 release, build docker on armvrhl + +* Thu Mar 26 2015 Stef Walter - 0.46-1 +- Update to 0.46 release + +* Mon Mar 23 2015 Stef Walter - 0.45-1 +- Update to 0.45 release + +* Sat Mar 21 2015 Stef Walter - 0.44-3 +- Add back debuginfo files to the right place + +* Fri Mar 20 2015 Stef Walter - 0.44-2 +- Disable separate debuginfo for now: build failure + +* Fri Mar 20 2015 Stef Walter - 0.44-1 +- Update to 0.44 release + +* Thu Mar 19 2015 Stef Walter - 0.43-2 +- Don't break EPEL or CentOS builds due to missing branding + +* Wed Mar 18 2015 Stef Walter - 0.43-1 +- Update to 0.43 release + +* Tue Mar 17 2015 Stef Walter - 0.42-2 +- Fix obseleting cockpit-assets + +* Sat Mar 14 2015 Stef Walter - 0.42-1 +- Update to 0.42 release + +* Wed Mar 04 2015 Stef Walter - 0.41-1 +- Update to 0.41 release + +* Thu Feb 26 2015 Stef Walter - 0.40-1 +- Update to 0.40 release + +* Thu Feb 19 2015 Stef Walter - 0.39-1 +- Update to 0.39 release + +* Wed Jan 28 2015 Stef Walter - 0.38-1 +- Update to 0.38 release + +* Thu Jan 22 2015 Stef Walter - 0.37-1 +- Update to 0.37 release + +* Mon Jan 12 2015 Stef Walter - 0.36-1 +- Update to 0.36 release + +* Mon Dec 15 2014 Stef Walter - 0.35-1 +- Update to 0.35 release + +* Thu Dec 11 2014 Stef Walter - 0.34-1 +- Update to 0.34 release + +* Fri Dec 05 2014 Stef Walter - 0.33-3 +- Only depend on docker stuff on x86_64 + +* Fri Dec 05 2014 Stef Walter - 0.33-2 +- Only build docker stuff on x86_64 + +* Wed Dec 03 2014 Stef Walter - 0.33-1 +- Update to 0.33 release + +* Mon Nov 24 2014 Stef Walter - 0.32-1 +- Update to 0.32 release + +* Fri Nov 14 2014 Stef Walter - 0.31-1 +- Update to 0.31 release + +* Wed Nov 12 2014 Stef Walter - 0.30-1 +- Update to 0.30 release +- Split Cockpit into various sub packages + +* Wed Nov 05 2014 Stef Walter - 0.29-3 +- Don't require test-assets from selinux-policy +- Other minor tweaks and fixes + +* Wed Nov 05 2014 Stef Walter - 0.29-2 +- Include selinux policy as a dep where required + +* Wed Nov 05 2014 Stef Walter - 0.29-1 +- Update to 0.29 release + +* Thu Oct 16 2014 Stef Walter - 0.28-1 +- Update to 0.28 release +- cockpit-agent was renamed to cockpit-bridge + +* Fri Oct 10 2014 Stef Walter - 0.27-1 +- Update to 0.27 release +- Don't create cockpit-*-admin groups rhbz#1145135 +- Fix user management for non-root users rhbz#1140562 +- Fix 'out of memory' error during ssh auth rhbz#1142282 + +* Wed Oct 08 2014 Stef Walter - 0.26-1 +- Update to 0.26 release +- Can see disk usage on storage page rhbz#1142459 +- Better order for lists of block devices rhbz#1142443 +- Setting container memory limit fixed rhbz#1142362 +- Can create storage volume of maximum capacity rhbz#1142259 +- Fix RAID device Bitmap enable/disable error rhbz#1142248 +- Docker page connects to right machine rhbz#1142229 +- Clear the format dialog label correctly rhbz#1142228 +- No 'Drop Privileges' item in menu for root rhbz#1142197 +- Don't flash 'Server has closed Connection on logout rhbz#1142175 +- Non-root users can manipulate user accounts rhbz#1142154 +- Fix strange error message when editing user accounts rhbz#1142154 + +* Wed Sep 24 2014 Stef Walter - 0.25-1 +- Update to 0.25 release + +* Wed Sep 17 2014 Stef Walter - 0.24-1 +- Update to 0.24 release + +* Wed Sep 10 2014 Stef Walter - 0.23-1 +- Update to 0.23 release + +* Wed Sep 03 2014 Stef Walter - 0.22-1 +- Update to 0.22 release + +* Tue Aug 26 2014 Patrick Uiterwijk - 0.21-1 +- Update to 0.21 release + +* Sat Aug 16 2014 Fedora Release Engineering - 0.20-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Thu Aug 14 2014 Stef Walter 0.20-1 +- Update to 0.20 release + +* Thu Aug 07 2014 Stef Walter 0.19-1 +- Update to 0.19 release + +* Wed Jul 30 2014 Stef Walter 0.18-1 +- Update to 0.18 release +- Add glib-networking build requirement +- Let selinux-policy-targetted distribute selinux policy + +* Mon Jul 28 2014 Colin Walters 0.17-2 +- Drop Requires and references to dead test-assets subpackage + +* Thu Jul 24 2014 Stef Walter 0.17-1 +- Update to 0.17 release + +* Wed Jul 23 2014 Stef Walter 0.16-3 +- Distribute our own selinux policy rhbz#1110758 + +* Tue Jul 22 2014 Stef Walter 0.16-2 +- Refer to cockpit.socket in scriptlets rhbz#1110764 + +* Thu Jul 17 2014 Stef Walter 0.16-1 +- Update to 0.16 release + +* Thu Jul 10 2014 Stef Walter 0.15-1 +- Update to 0.15 release +- Put pam_reauthorize.so in the cockpit PAM stack + +* Thu Jul 03 2014 Stef Walter 0.14-1 +- Update to 0.14 release + +* Mon Jun 30 2014 Stef Walter 0.13-1 +- Update to 0.13 release + +* Tue Jun 24 2014 Stef Walter 0.12-1 +- Update to upstream 0.12 release + +* Fri Jun 20 2014 Stef Walter 0.11-1 +- Update to upstream 0.11 release + +* Thu Jun 12 2014 Stef Walter 0.10-1 +- Update to upstream 0.10 release + +* Sat Jun 07 2014 Fedora Release Engineering - 0.9-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Fri May 23 2014 Stef Walter 0.9-1 +- Update to upstream 0.9 release +- Fix file attribute for cockpit-polkit + +* Wed May 21 2014 Stef Walter 0.8-1 +- Update to upstream 0.8 release +- cockpitd now runs as a user session DBus service + +* Mon May 19 2014 Stef Walter 0.7-1 +- Update to upstream 0.7 release + +* Wed May 14 2014 Stef Walter 0.6-1 +- Update to upstream 0.6 release + +* Tue Apr 15 2014 Stef Walter 0.5-1 +- Update to upstream 0.5 release + +* Thu Apr 03 2014 Stef Walter 0.4-1 +- Update to upstream 0.4 release +- Lots of packaging cleanup and polish + +* Fri Mar 28 2014 Stef Walter 0.3-1 +- Update to upstream 0.3 release + +* Wed Feb 05 2014 Patrick Uiterwijk (LOCAL) - 0.2-0.4.20140204git5e1faad +- Redid the release tag + +* Tue Feb 04 2014 Patrick Uiterwijk (LOCAL) - 0.2-0.3.5e1faadgit +- Fixed license tag +- Updated to new FSF address upstream +- Removing libgsystem before build +- Now claiming specific manpages +- Made the config files noreplace +- Removed the test assets +- Put the web assets in a subpackage + +* Tue Feb 04 2014 Patrick Uiterwijk (LOCAL) - 0.2-0.2.5e1faadgit +- Patch libgsystem out