pgreco / rpms / cockpit

Forked from forks/areguera/rpms/cockpit 4 years ago
Clone
18b152
# This spec file has been automatically updated
18b152
Version:        195.3
18b152
Release: 1%{?dist}
18b152
#
18b152
# This file is maintained at the following location:
18b152
# https://github.com/cockpit-project/cockpit/blob/master/tools/cockpit.spec
18b152
#
18b152
# If you are editing this file in another location, changes will likely
18b152
# be clobbered the next time an automated release is done.
18b152
#
18b152
# Check first cockpit-devel@lists.fedorahosted.org
18b152
#
18b152
# Globals that may be defined elsewhere
18b152
#  * Version 122
18b152
#  * wip 1
18b152
#
18b152
18b152
# earliest base that the subpackages work on; the instances of this get computed/updated
18b152
# by tools/gen-spec-dependencies during "make dist", but keep a hardcoded fallback
18b152
%define required_base 122
18b152
18b152
# we generally want CentOS packages to be like RHEL; special cases need to check %{centos} explicitly
18b152
%if 0%{?centos}
18b152
%define rhel %{centos}
18b152
%endif
18b152
18b152
%if "%{!?__python3:1}"
18b152
%define __python3 /usr/bin/python3
18b152
%endif
18b152
18b152
# for testing this already gets set in fedora.install, as we want the target
18b152
# VERSION_ID, not the mock chroot's one
18b152
%if "%{!?os_version_id:1}"
18b152
%define os_version_id %(. /etc/os-release; echo $VERSION_ID)
18b152
%endif
18b152
18b152
%define _hardened_build 1
18b152
18b152
# define to build the dashboard
18b152
# define build_dashboard 1
18b152
18b152
# build basic packages like cockpit-bridge
18b152
%define build_basic 1
18b152
# build optional extensions like cockpit-docker
18b152
%define build_optional 1
18b152
18b152
# cockpit's firewall service definition moved to firewalld
18b152
%if 0%{?fedora} >= 29 || 0%{?rhel} >= 8
18b152
%define firewalld_service 0
18b152
%else
18b152
%define firewalld_service 1
18b152
%endif
18b152
18b152
%define __lib lib
18b152
18b152
# on RHEL 7.x we build subscriptions; superseded later by
18b152
# external subscription-manager-cockpit
18b152
%if (0%{?rhel} >= 7 && 0%{?rhel} < 8) && 0%{?centos} == 0
18b152
%define build_subscriptions 1
18b152
%endif
18b152
18b152
# cockpit-kubernetes is RHEL 7 and Fedora < 30 only, and 64 bit arches only
18b152
%if (0%{?fedora} && 0%{?fedora} < 30) || (0%{?rhel} >= 7 && 0%{?rhel} < 8)
18b152
%ifarch aarch64 x86_64 ppc64le s390x
18b152
%define build_kubernetes 1
18b152
%endif
18b152
%endif
18b152
18b152
# cockpit-machines-ovirt is RHEL 7 and Fedora < 30 only
18b152
%if (0%{?fedora} && 0%{?fedora} < 30) || (0%{?rhel} >= 7 && 0%{?rhel} < 8)
18b152
%define build_ovirt 1
18b152
%endif
18b152
18b152
%if 0%{?rhel} >= 7
18b152
%global go_scl_prefix go-toolset-7-
18b152
%else
18b152
%global go_scl_prefix %{nil}
18b152
%endif
18b152
18b152
%if 0%{?rhel} >= 7
18b152
%define vdo_on_demand 1
18b152
%endif
18b152
18b152
Name:           cockpit
18b152
Summary:        Web Console for Linux servers
18b152
18b152
License:        LGPLv2+
18b152
URL:            https://cockpit-project.org/
18b152
18b152
%if %{defined wip}
18b152
Source0:        cockpit-%{version}.tar.gz
18b152
%else
18b152
Source0:        https://github.com/cockpit-project/cockpit/releases/download/%{version}/cockpit-%{version}.tar.xz
18b152
%endif
18b152
18b152
Patch0001: 0001-test-Disable-packet-channel-large.patch
18b152
18b152
BuildRequires: gcc
18b152
BuildRequires: pkgconfig(gio-unix-2.0)
18b152
BuildRequires: pkgconfig(json-glib-1.0)
18b152
BuildRequires: pkgconfig(polkit-agent-1) >= 0.105
18b152
BuildRequires: pam-devel
18b152
18b152
BuildRequires: autoconf automake
18b152
%if 0%{?fedora} || 0%{?rhel} >= 8
18b152
BuildRequires: /usr/bin/python3
18b152
%else
18b152
BuildRequires: /usr/bin/python2
18b152
%endif
18b152
BuildRequires: intltool
18b152
%if %{defined build_dashboard}
18b152
BuildRequires: libssh-devel >= 0.7.1
18b152
%endif
18b152
BuildRequires: openssl-devel
18b152
BuildRequires: zlib-devel
18b152
BuildRequires: krb5-devel
18b152
BuildRequires: libxslt-devel
18b152
BuildRequires: docbook-style-xsl
18b152
BuildRequires: glib-networking
18b152
BuildRequires: sed
18b152
18b152
BuildRequires: glib2-devel >= 2.37.4
18b152
BuildRequires: systemd-devel
18b152
BuildRequires: pcp-libs-devel
18b152
BuildRequires: krb5-server
18b152
BuildRequires: gdb
18b152
BuildRequires: openssh-clients
18b152
18b152
# For documentation
18b152
BuildRequires: xmlto
18b152
18b152
# This is the "cockpit" metapackage. It should only
18b152
# Require, Suggest or Recommend other cockpit-xxx subpackages
18b152
18b152
Requires: cockpit-bridge
18b152
Requires: cockpit-ws
18b152
Requires: cockpit-system
18b152
18b152
# Optional components
18b152
%if 0%{?fedora} || 0%{?rhel} >= 8
18b152
%if 0%{?rhel} == 0
18b152
Recommends: cockpit-dashboard
18b152
%ifarch x86_64 %{arm} aarch64 ppc64le i686 s390x
18b152
Recommends: (cockpit-docker if /usr/bin/docker)
18b152
%endif
18b152
%endif
18b152
Recommends: (cockpit-networkmanager if NetworkManager)
18b152
Recommends: (cockpit-storaged if udisks2)
18b152
Recommends: cockpit-packagekit
18b152
%if 0%{?rhel} >= 8 && 0%{?centos} == 0
18b152
Recommends: subscription-manager-cockpit
18b152
%endif
18b152
Suggests: cockpit-pcp
18b152
%if 0%{?build_kubernetes}
18b152
Suggests: cockpit-kubernetes
18b152
%endif
18b152
Suggests: cockpit-selinux
18b152
%endif
18b152
18b152
%prep
18b152
%setup -q -n cockpit-%{version}
18b152
%autopatch -p1
18b152
18b152
%build
18b152
exec 2>&1
18b152
%configure \
18b152
    --disable-silent-rules \
18b152
    --with-cockpit-user=cockpit-ws \
18b152
    --with-selinux-config-type=etc_t \
18b152
%if 0%{?rhel} >= 7 && 0%{?rhel} < 8
18b152
    --without-storaged-iscsi-sessions \
18b152
%endif
18b152
    --with-appstream-data-packages='[ "appstream-data" ]' \
18b152
    %{!?build_dashboard:--disable-ssh} \
18b152
    --with-nfs-client-package='"nfs-utils"' \
18b152
    %{?vdo_on_demand:--with-vdo-package='"vdo"'}
18b152
make -j4 %{?extra_flags} all
18b152
18b152
%check
18b152
exec 2>&1
18b152
make -j4 check
18b152
18b152
%install
18b152
make install DESTDIR=%{buildroot}
18b152
make install-tests DESTDIR=%{buildroot}
18b152
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pam.d
18b152
install -p -m 644 tools/cockpit.pam $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/cockpit
18b152
rm -f %{buildroot}/%{_libdir}/cockpit/*.so
18b152
%if 0%{?firewalld_service} == 0
18b152
rm -f %{buildroot}/%{_prefix}/%{__lib}/firewalld/services/cockpit.xml
18b152
%endif
18b152
install -p -m 644 AUTHORS COPYING README.md %{buildroot}%{_docdir}/cockpit/
18b152
18b152
# Build the package lists for resource packages
18b152
echo '%dir %{_datadir}/cockpit/base1' > base.list
18b152
find %{buildroot}%{_datadir}/cockpit/base1 -type f >> base.list
18b152
echo '%{_sysconfdir}/cockpit/machines.d' >> base.list
18b152
echo %{buildroot}%{_datadir}/polkit-1/actions/org.cockpit-project.cockpit-bridge.policy >> base.list
18b152
# RHEL 7 needs to keep cockpit-ssh in dashboard for backwards compat
18b152
%if 0%{?rhel} == 7
18b152
find %{buildroot}%{_datadir}/cockpit/ssh -type f >> dashboard.list
18b152
echo '%{_libexecdir}/cockpit-ssh' >> dashboard.list
18b152
%else
18b152
find %{buildroot}%{_datadir}/cockpit/ssh -type f >> base.list
18b152
echo '%{_libexecdir}/cockpit-ssh' >> base.list
18b152
%endif
18b152
18b152
%if %{defined build_dashboard}
18b152
echo '%dir %{_datadir}/cockpit/dashboard' >> dashboard.list
18b152
find %{buildroot}%{_datadir}/cockpit/dashboard -type f >> dashboard.list
18b152
%else
18b152
rm -rf %{buildroot}/%{_datadir}/cockpit/dashboard
18b152
rm -rf %{buildroot}/%{_datadir}/%{name}/ssh
18b152
touch dashboard.list
18b152
%endif
18b152
18b152
echo '%dir %{_datadir}/cockpit/pcp' >> pcp.list
18b152
find %{buildroot}%{_datadir}/cockpit/pcp -type f >> pcp.list
18b152
18b152
echo '%dir %{_datadir}/cockpit/realmd' >> system.list
18b152
find %{buildroot}%{_datadir}/cockpit/realmd -type f >> system.list
18b152
18b152
echo '%dir %{_datadir}/cockpit/tuned' >> system.list
18b152
find %{buildroot}%{_datadir}/cockpit/tuned -type f >> system.list
18b152
18b152
echo '%dir %{_datadir}/cockpit/shell' >> system.list
18b152
find %{buildroot}%{_datadir}/cockpit/shell -type f >> system.list
18b152
18b152
echo '%dir %{_datadir}/cockpit/systemd' >> system.list
18b152
find %{buildroot}%{_datadir}/cockpit/systemd -type f >> system.list
18b152
18b152
echo '%dir %{_datadir}/cockpit/users' >> system.list
18b152
find %{buildroot}%{_datadir}/cockpit/users -type f >> system.list
18b152
18b152
echo '%dir %{_datadir}/cockpit/kdump' >> kdump.list
18b152
find %{buildroot}%{_datadir}/cockpit/kdump -type f >> kdump.list
18b152
18b152
echo '%dir %{_datadir}/cockpit/sosreport' > sosreport.list
18b152
find %{buildroot}%{_datadir}/cockpit/sosreport -type f >> sosreport.list
18b152
18b152
%if %{defined build_subscriptions}
18b152
echo '%dir %{_datadir}/cockpit/subscriptions' >> system.list
18b152
find %{buildroot}%{_datadir}/cockpit/subscriptions -type f >> system.list
18b152
%else
18b152
rm -rf %{buildroot}/%{_datadir}/cockpit/subscriptions
18b152
%endif
18b152
18b152
echo '%dir %{_datadir}/cockpit/storaged' > storaged.list
18b152
find %{buildroot}%{_datadir}/cockpit/storaged -type f >> storaged.list
18b152
18b152
echo '%dir %{_datadir}/cockpit/networkmanager' > networkmanager.list
18b152
find %{buildroot}%{_datadir}/cockpit/networkmanager -type f >> networkmanager.list
18b152
18b152
echo '%dir %{_datadir}/cockpit/packagekit' >> packagekit.list
18b152
find %{buildroot}%{_datadir}/cockpit/packagekit -type f >> packagekit.list
18b152
18b152
echo '%dir %{_datadir}/cockpit/apps' >> packagekit.list
18b152
find %{buildroot}%{_datadir}/cockpit/apps -type f >> packagekit.list
18b152
18b152
echo '%dir %{_datadir}/cockpit/machines' > machines.list
18b152
find %{buildroot}%{_datadir}/cockpit/machines -type f >> machines.list
18b152
18b152
%if 0%{?build_ovirt}
18b152
echo '%dir %{_datadir}/cockpit/ovirt' > ovirt.list
18b152
find %{buildroot}%{_datadir}/cockpit/ovirt -type f >> ovirt.list
18b152
%else
18b152
rm -rf %{buildroot}/%{_datadir}/cockpit/ovirt
18b152
touch ovirt.list
18b152
%endif
18b152
18b152
echo '%dir %{_datadir}/cockpit/selinux' > selinux.list
18b152
find %{buildroot}%{_datadir}/cockpit/selinux -type f >> selinux.list
18b152
18b152
echo '%dir %{_datadir}/cockpit/playground' > tests.list
18b152
find %{buildroot}%{_datadir}/cockpit/playground -type f >> tests.list
18b152
18b152
%ifarch x86_64 %{arm} aarch64 ppc64le i686 s390x
18b152
%if 0%{?fedora} || 0%{?rhel} < 8
18b152
echo '%dir %{_datadir}/cockpit/docker' > docker.list
18b152
find %{buildroot}%{_datadir}/cockpit/docker -type f >> docker.list
18b152
%else
18b152
rm -rf %{buildroot}/%{_datadir}/cockpit/docker
18b152
touch docker.list
18b152
%endif
18b152
%else
18b152
rm -rf %{buildroot}/%{_datadir}/cockpit/docker
18b152
touch docker.list
18b152
%endif
18b152
18b152
%if 0%{?build_kubernetes}
18b152
%if %{defined wip}
18b152
%else
18b152
rm %{buildroot}/%{_datadir}/cockpit/kubernetes/override.json
18b152
%endif
18b152
echo '%dir %{_datadir}/cockpit/kubernetes' > kubernetes.list
18b152
find %{buildroot}%{_datadir}/cockpit/kubernetes -type f >> kubernetes.list
18b152
%else
18b152
rm -rf %{buildroot}/%{_datadir}/cockpit/kubernetes
18b152
rm -f %{buildroot}/%{_libexecdir}/cockpit-kube-auth
18b152
rm -f %{buildroot}/%{_libexecdir}/cockpit-kube-launch
18b152
rm %{buildroot}/%{_libexecdir}/cockpit-stub
18b152
touch kubernetes.list
18b152
%endif
18b152
18b152
# when not building basic packages, remove their files
18b152
%if 0%{?build_basic} == 0
18b152
for pkg in base1 branding motd kdump networkmanager realmd selinux shell sosreport ssh static systemd tuned users; do
18b152
    rm -r %{buildroot}/%{_datadir}/cockpit/$pkg
18b152
    rm -f %{buildroot}/%{_datadir}/metainfo/org.cockpit-project.cockpit-${pkg}.metainfo.xml
18b152
done
18b152
for data in doc locale man pixmaps polkit-1; do
18b152
    rm -r %{buildroot}/%{_datadir}/$data
18b152
done
18b152
for lib in systemd tmpfiles.d firewalld; do
18b152
    rm -r %{buildroot}/%{_prefix}/%{__lib}/$lib
18b152
done
18b152
for libexec in cockpit-askpass cockpit-session cockpit-ws cockpit-desktop; do
18b152
    rm %{buildroot}/%{_libexecdir}/$libexec
18b152
done
18b152
rm -r %{buildroot}/%{_libdir}/security %{buildroot}/%{_sysconfdir}/pam.d %{buildroot}/%{_sysconfdir}/motd.d %{buildroot}/%{_sysconfdir}/issue.d
18b152
rm %{buildroot}/usr/bin/cockpit-bridge %{buildroot}/usr/sbin/remotectl
18b152
rm -f %{buildroot}%{_libexecdir}/cockpit-ssh
18b152
rm -f %{buildroot}%{_datadir}/metainfo/cockpit.appdata.xml
18b152
%endif
18b152
18b152
# when not building optional packages, remove their files
18b152
%if 0%{?build_optional} == 0
18b152
for pkg in apps dashboard docker kubernetes machines ovirt packagekit pcp playground storaged; do
18b152
    rm -rf %{buildroot}/%{_datadir}/cockpit/$pkg
18b152
done
18b152
# files from -tests
18b152
rm -r %{buildroot}/%{_prefix}/%{__lib}/cockpit-test-assets %{buildroot}/%{_sysconfdir}/cockpit/cockpit.conf
18b152
# files from -pcp
18b152
rm -r %{buildroot}/%{_libexecdir}/cockpit-pcp %{buildroot}/%{_localstatedir}/lib/pcp/
18b152
# files from -kubernetes
18b152
rm -f %{buildroot}/%{_libexecdir}/cockpit-kube-auth %{buildroot}/%{_libexecdir}/cockpit-kube-launch %{buildroot}/%{_libexecdir}/cockpit-stub
18b152
# files from -machines
18b152
rm -f %{buildroot}/%{_prefix}/share/metainfo/org.cockpit-project.cockpit-machines.metainfo.xml
18b152
# files from -storaged
18b152
rm -f %{buildroot}/%{_prefix}/share/metainfo/org.cockpit-project.cockpit-storaged.metainfo.xml
18b152
%endif
18b152
18b152
sed -i "s|%{buildroot}||" *.list
18b152
18b152
# Build the package lists for debug package, and move debug files to installed locations
18b152
find %{buildroot}/usr/src/debug%{_datadir}/cockpit -type f -o -type l > debug.partial
18b152
sed -i "s|%{buildroot}/usr/src/debug||" debug.partial
18b152
sed -n 's/\.map\(\.gz\)\?$/\0/p' *.list >> debug.partial
18b152
sed -i '/\.map\(\.gz\)\?$/d' *.list
18b152
tar -C %{buildroot}/usr/src/debug -cf - . | tar -C %{buildroot} -xf -
18b152
rm -rf %{buildroot}/usr/src/debug
18b152
18b152
# On RHEL kdump, networkmanager, selinux, and sosreport are part of the system package
18b152
%if 0%{?rhel}
18b152
cat kdump.list sosreport.list networkmanager.list selinux.list >> system.list
18b152
rm -f %{buildroot}%{_datadir}/metainfo/org.cockpit-project.cockpit-sosreport.metainfo.xml
18b152
rm -f %{buildroot}%{_datadir}/metainfo/org.cockpit-project.cockpit-kdump.metainfo.xml
18b152
rm -f %{buildroot}%{_datadir}/pixmaps/cockpit-sosreport.png
18b152
%endif
18b152
18b152
%if 0%{?rhel}
18b152
rm -f %{buildroot}%{_datadir}/metainfo/org.cockpit-project.cockpit-selinux.metainfo.xml
18b152
%endif
18b152
18b152
%if 0%{?build_basic}
18b152
%find_lang cockpit
18b152
%endif
18b152
18b152
# dwz has trouble with the go binaries
18b152
# https://fedoraproject.org/wiki/PackagingDrafts/Go
18b152
%global _dwz_low_mem_die_limit 0
18b152
%if 0%{?fedora} || 0%{?rhel} >= 8
18b152
%global _debugsource_packages 1
18b152
%global _debuginfo_subpackages 0
18b152
%endif
18b152
18b152
%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}"
18b152
18b152
# Redefine how debug info is built to slip in our extra debug files
18b152
%define __debug_install_post   \
18b152
   %{find_debug_info} \
18b152
   cat debug.partial >> %{_builddir}/%{?buildsubdir}/debugfiles.list \
18b152
%{nil}
18b152
18b152
# -------------------------------------------------------------------------------
18b152
# Basic Sub-packages
18b152
18b152
%if 0%{?build_basic}
18b152
18b152
%description
18b152
The Cockpit Web Console enables users to administer GNU/Linux servers using a
18b152
web browser.
18b152
18b152
It offers network configuration, log inspection, diagnostic reports, SELinux
18b152
troubleshooting, interactive command-line sessions, and more.
18b152
18b152
%files
18b152
%{_docdir}/cockpit/AUTHORS
18b152
%{_docdir}/cockpit/COPYING
18b152
%{_docdir}/cockpit/README.md
18b152
%dir %{_datadir}/cockpit
18b152
%{_datadir}/metainfo/cockpit.appdata.xml
18b152
%{_datadir}/pixmaps/cockpit.png
18b152
%doc %{_mandir}/man1/cockpit.1.gz
18b152
18b152
18b152
%package bridge
18b152
Summary: Cockpit bridge server-side component
18b152
Requires: glib-networking
18b152
%if 0%{?rhel} != 7
18b152
Provides: cockpit-ssh = %{version}-%{release}
18b152
# cockpit-ssh moved from dashboard to bridge in 171
18b152
Conflicts: cockpit-dashboard < 170.x
18b152
# PR #10430 dropped workaround for ws' inability to understand x-host-key challenge
18b152
Conflicts: cockpit-ws < 181.x
18b152
%endif
18b152
18b152
%description bridge
18b152
The Cockpit bridge component installed server side and runs commands on the
18b152
system on behalf of the web based user interface.
18b152
18b152
%files bridge -f base.list
18b152
%doc %{_mandir}/man1/cockpit-bridge.1.gz
18b152
%{_bindir}/cockpit-bridge
18b152
%{_libexecdir}/cockpit-askpass
18b152
18b152
%package doc
18b152
Summary: Cockpit deployment and developer guide
18b152
18b152
%description doc
18b152
The Cockpit Deployment and Developer Guide shows sysadmins how to
18b152
deploy Cockpit on their machines as well as helps developers who want to
18b152
embed or extend Cockpit.
18b152
18b152
%files doc
18b152
%exclude %{_docdir}/cockpit/AUTHORS
18b152
%exclude %{_docdir}/cockpit/COPYING
18b152
%exclude %{_docdir}/cockpit/README.md
18b152
%{_docdir}/cockpit
18b152
18b152
%package system
18b152
Summary: Cockpit admin interface package for configuring and troubleshooting a system
18b152
BuildArch: noarch
18b152
Requires: cockpit-bridge >= %{version}-%{release}
18b152
Requires: shadow-utils
18b152
Requires: grep
18b152
Requires: libpwquality
18b152
Requires: /usr/bin/date
18b152
Provides: cockpit-realmd = %{version}-%{release}
18b152
Provides: cockpit-shell = %{version}-%{release}
18b152
Provides: cockpit-systemd = %{version}-%{release}
18b152
Provides: cockpit-tuned = %{version}-%{release}
18b152
Provides: cockpit-users = %{version}-%{release}
18b152
%if 0%{?rhel}
18b152
Provides: cockpit-networkmanager = %{version}-%{release}
18b152
Obsoletes: cockpit-shell <= %{version}-%{release}
18b152
Obsoletes: cockpit-networkmanager
18b152
Requires: NetworkManager
18b152
Provides: cockpit-kdump = %{version}-%{release}
18b152
Requires: kexec-tools
18b152
# Optional components (only when soft deps are supported)
18b152
%if 0%{?fedora} || 0%{?rhel} >= 8
18b152
Recommends: polkit
18b152
%endif
18b152
%if 0%{?rhel} >= 8
18b152
Recommends: NetworkManager-team
18b152
Recommends: setroubleshoot-server >= 3.3.3
18b152
%endif
18b152
Provides: cockpit-selinux = %{version}-%{release}
18b152
Provides: cockpit-sosreport = %{version}-%{release}
18b152
%endif
18b152
%if %{defined build_subscriptions}
18b152
Provides: cockpit-subscriptions = %{version}-%{release}
18b152
Requires: subscription-manager >= 1.13
18b152
%endif
18b152
# NPM modules which are also available as packages
18b152
Provides: bundled(js-jquery) = 3.4.0
18b152
Provides: bundled(js-moment) = 2.24.0
18b152
Provides: bundled(nodejs-flot) = 0.8.3
18b152
Provides: bundled(nodejs-promise) = 8.0.3
18b152
Provides: bundled(xstatic-bootstrap-datepicker-common) = 1.8.0
18b152
Provides: bundled(xstatic-patternfly-common) = 3.58.0
18b152
18b152
%description system
18b152
This package contains the Cockpit shell and system configuration interfaces.
18b152
18b152
%files system -f system.list
18b152
18b152
%package ws
18b152
Summary: Cockpit Web Service
18b152
Requires: glib-networking
18b152
Requires: openssl
18b152
Requires: glib2 >= 2.37.4
18b152
# RHEL/CentOS 7 has firewalld 0.6.x, but does not ship cockpit service
18b152
%if 0%{?rhel} != 7
18b152
%if 0%{?firewalld_service}
18b152
Conflicts: firewalld >= 0.6.0-1
18b152
%else
18b152
Conflicts: firewalld < 0.6.0-1
18b152
%endif
18b152
%endif
18b152
%if 0%{?fedora} || 0%{?rhel} >= 8
18b152
Recommends: sscg >= 2.3
18b152
Recommends: system-logos
18b152
%endif
18b152
Requires(post): systemd
18b152
Requires(preun): systemd
18b152
Requires(postun): systemd
18b152
18b152
%description ws
18b152
The Cockpit Web Service listens on the network, and authenticates users.
18b152
18b152
%files ws -f cockpit.lang
18b152
%doc %{_mandir}/man1/cockpit-desktop.1.gz
18b152
%doc %{_mandir}/man5/cockpit.conf.5.gz
18b152
%doc %{_mandir}/man8/cockpit-ws.8.gz
18b152
%doc %{_mandir}/man8/remotectl.8.gz
18b152
%doc %{_mandir}/man8/pam_ssh_add.8.gz
18b152
%config(noreplace) %{_sysconfdir}/cockpit/ws-certs.d
18b152
%config(noreplace) %{_sysconfdir}/pam.d/cockpit
18b152
%config %{_sysconfdir}/issue.d/cockpit.issue
18b152
%config %{_sysconfdir}/motd.d/cockpit
18b152
%{_datadir}/cockpit/motd/update-motd
18b152
%{_datadir}/cockpit/motd/inactive.motd
18b152
%{_unitdir}/cockpit.service
18b152
%{_unitdir}/cockpit-motd.service
18b152
%{_unitdir}/cockpit.socket
18b152
%if 0%{?firewalld_service}
18b152
%{_prefix}/%{__lib}/firewalld/services/cockpit.xml
18b152
%endif
18b152
%{_prefix}/%{__lib}/tmpfiles.d/cockpit-tempfiles.conf
18b152
%{_sbindir}/remotectl
18b152
%{_libdir}/security/pam_ssh_add.so
18b152
%{_libexecdir}/cockpit-ws
18b152
%{_libexecdir}/cockpit-desktop
18b152
%attr(4750, root, cockpit-ws) %{_libexecdir}/cockpit-session
18b152
%attr(775, -, wheel) %{_localstatedir}/lib/cockpit
18b152
%{_datadir}/cockpit/static
18b152
%{_datadir}/cockpit/branding
18b152
18b152
%pre ws
18b152
getent group cockpit-ws >/dev/null || groupadd -r cockpit-ws
18b152
getent passwd cockpit-ws >/dev/null || useradd -r -g cockpit-ws -d /nonexisting -s /sbin/nologin -c "User for cockpit-ws" cockpit-ws
18b152
18b152
%post ws
18b152
%systemd_post cockpit.socket
18b152
# firewalld only partially picks up changes to its services files without this
18b152
test -f %{_bindir}/firewall-cmd && firewall-cmd --reload --quiet || true
18b152
18b152
%preun ws
18b152
%systemd_preun cockpit.socket
18b152
18b152
%postun ws
18b152
%systemd_postun_with_restart cockpit.socket
18b152
%systemd_postun_with_restart cockpit.service
18b152
18b152
# -------------------------------------------------------------------------------
18b152
# Sub-packages that are part of cockpit-system in RHEL/CentOS, but separate in Fedora
18b152
18b152
%if 0%{?rhel} == 0
18b152
18b152
%package kdump
18b152
Summary: Cockpit user interface for kernel crash dumping
18b152
Requires: cockpit-bridge >= 122
18b152
Requires: cockpit-shell >= 122
18b152
Requires: kexec-tools
18b152
BuildArch: noarch
18b152
18b152
%description kdump
18b152
The Cockpit component for configuring kernel crash dumping.
18b152
18b152
%files kdump -f kdump.list
18b152
%{_datadir}/metainfo/org.cockpit-project.cockpit-kdump.metainfo.xml
18b152
18b152
%package sosreport
18b152
Summary: Cockpit user interface for diagnostic reports
18b152
Requires: cockpit-bridge >= 122
18b152
Requires: cockpit-shell >= 122
18b152
Requires: sos
18b152
BuildArch: noarch
18b152
18b152
%description sosreport
18b152
The Cockpit component for creating diagnostic reports with the
18b152
sosreport tool.
18b152
18b152
%files sosreport -f sosreport.list
18b152
%{_datadir}/metainfo/org.cockpit-project.cockpit-sosreport.metainfo.xml
18b152
%{_datadir}/pixmaps/cockpit-sosreport.png
18b152
18b152
%package networkmanager
18b152
Summary: Cockpit user interface for networking, using NetworkManager
18b152
Requires: cockpit-bridge >= 122
18b152
Requires: cockpit-shell >= 122
18b152
Requires: NetworkManager
18b152
# Optional components (only when soft deps are supported)
18b152
%if 0%{?fedora} || 0%{?rhel} >= 8
18b152
Recommends: NetworkManager-team
18b152
%endif
18b152
BuildArch: noarch
18b152
18b152
%description networkmanager
18b152
The Cockpit component for managing networking.  This package uses NetworkManager.
18b152
18b152
%files networkmanager -f networkmanager.list
18b152
18b152
%endif
18b152
18b152
%if 0%{?rhel} == 0
18b152
18b152
%package selinux
18b152
Summary: Cockpit SELinux package
18b152
Requires: cockpit-bridge >= 122
18b152
Requires: cockpit-shell >= 122
18b152
%if 0%{?fedora} || 0%{?rhel} >= 8
18b152
Requires: setroubleshoot-server >= 3.3.3
18b152
%endif
18b152
BuildArch: noarch
18b152
18b152
%description selinux
18b152
This package contains the Cockpit user interface integration with the
18b152
utility setroubleshoot to diagnose and resolve SELinux issues.
18b152
18b152
%files selinux -f selinux.list
18b152
%{_datadir}/metainfo/org.cockpit-project.cockpit-selinux.metainfo.xml
18b152
18b152
%endif
18b152
18b152
%else # build basic packages
18b152
18b152
# RPM requires this
18b152
%description
18b152
Dummy package from building optional packages only; never install or publish me.
18b152
18b152
%endif # build basic packages
18b152
18b152
# -------------------------------------------------------------------------------
18b152
# Sub-packages that are optional extensions
18b152
18b152
%if 0%{?build_optional}
18b152
18b152
%package -n cockpit-storaged
18b152
Summary: Cockpit user interface for storage, using udisks
18b152
Requires: cockpit-shell >= 122
18b152
Requires: udisks2 >= 2.6
18b152
%if 0%{?rhel} == 7
18b152
# Recommends: not supported in RHEL <= 7
18b152
Requires: udisks2-lvm2 >= 2.6
18b152
Requires: udisks2-iscsi >= 2.6
18b152
Requires: device-mapper-multipath
18b152
Requires: python
18b152
Requires: python-dbus
18b152
%else
18b152
Recommends: udisks2-lvm2 >= 2.6
18b152
Recommends: udisks2-iscsi >= 2.6
18b152
Recommends: device-mapper-multipath
18b152
Recommends: clevis-luks
18b152
Requires: %{__python3}
18b152
Requires: python3-dbus
18b152
%endif
18b152
BuildArch: noarch
18b152
18b152
%description -n cockpit-storaged
18b152
The Cockpit component for managing storage.  This package uses udisks.
18b152
18b152
%files -n cockpit-storaged -f storaged.list
18b152
%{_datadir}/metainfo/org.cockpit-project.cockpit-storaged.metainfo.xml
18b152
18b152
%package -n cockpit-tests
18b152
Summary: Tests for Cockpit
18b152
Requires: cockpit-bridge >= 138
18b152
Requires: cockpit-system >= 138
18b152
Requires: openssh-clients
18b152
Provides: cockpit-test-assets = %{version}-%{release}
18b152
18b152
%description -n cockpit-tests
18b152
This package contains tests and files used while testing Cockpit.
18b152
These files are not required for running Cockpit.
18b152
18b152
%files -n cockpit-tests -f tests.list
18b152
%config(noreplace) %{_sysconfdir}/cockpit/cockpit.conf
18b152
%{_prefix}/%{__lib}/cockpit-test-assets
18b152
18b152
%package -n cockpit-machines
18b152
BuildArch: noarch
18b152
Summary: Cockpit user interface for virtual machines
18b152
Requires: cockpit-bridge >= 122
18b152
Requires: cockpit-system >= 122
18b152
%if 0%{?rhel} == 7
18b152
Requires: libvirt
18b152
%else
18b152
Requires: (libvirt-daemon-kvm or libvirt)
18b152
%endif
18b152
Requires: libvirt-client
18b152
%if 0%{?fedora} || 0%{?rhel} >= 8
18b152
Requires: libvirt-dbus >= 1.2.0
18b152
# Optional components
18b152
Recommends: virt-install
18b152
Recommends: libosinfo
18b152
Recommends: python3-gobject-base
18b152
%endif
18b152
18b152
%description -n cockpit-machines
18b152
The Cockpit components for managing virtual machines.
18b152
18b152
If "virt-install" is installed, you can also create new virtual machines.
18b152
18b152
%files -n cockpit-machines -f machines.list
18b152
%{_datadir}/metainfo/org.cockpit-project.cockpit-machines.metainfo.xml
18b152
18b152
%if 0%{?build_ovirt}
18b152
18b152
%package -n cockpit-machines-ovirt
18b152
BuildArch: noarch
18b152
Summary: Cockpit user interface for oVirt virtual machines
18b152
Requires: cockpit-bridge >= 122
18b152
Requires: cockpit-system >= 122
18b152
%if 0%{?rhel} == 7
18b152
Requires: libvirt
18b152
%else
18b152
Requires: (libvirt-daemon-kvm or libvirt)
18b152
%endif
18b152
Requires: libvirt-client
18b152
18b152
%description -n cockpit-machines-ovirt
18b152
The Cockpit components for managing oVirt virtual machines.
18b152
18b152
%files -n cockpit-machines-ovirt -f ovirt.list
18b152
18b152
%endif
18b152
18b152
%package -n cockpit-pcp
18b152
Summary: Cockpit PCP integration
18b152
Requires: cockpit-bridge >= 134.x
18b152
Requires: pcp
18b152
18b152
%description -n cockpit-pcp
18b152
Cockpit support for reading PCP metrics and loading PCP archives.
18b152
18b152
%files -n cockpit-pcp -f pcp.list
18b152
%{_libexecdir}/cockpit-pcp
18b152
%{_localstatedir}/lib/pcp/config/pmlogconf/tools/cockpit
18b152
18b152
%post -n cockpit-pcp
18b152
# HACK - https://bugzilla.redhat.com/show_bug.cgi?id=1185764
18b152
# We can't use "systemctl reload-or-try-restart" since systemctl might
18b152
# be out of sync with reality.
18b152
/usr/share/pcp/lib/pmlogger condrestart
18b152
18b152
%if %{defined build_dashboard}
18b152
%package -n cockpit-dashboard
18b152
Summary: Cockpit remote servers and dashboard
18b152
%if 0%{?rhel} == 7
18b152
Provides: cockpit-ssh = %{version}-%{release}
18b152
# nothing depends on the dashboard, but we can't use it with older versions of the bridge
18b152
Conflicts: cockpit-bridge < 135
18b152
# PR #10430 dropped workaround for ws' inability to understand x-host-key challenge
18b152
Conflicts: cockpit-ws < 173.1
18b152
%else
18b152
BuildArch: noarch
18b152
Requires: cockpit-ssh >= 135
18b152
Conflicts: cockpit-ws < 135
18b152
%endif
18b152
18b152
%description -n cockpit-dashboard
18b152
Cockpit support for connecting to remote servers (through ssh),
18b152
bastion hosts, and a basic dashboard.
18b152
18b152
%files -n cockpit-dashboard -f dashboard.list
18b152
18b152
%endif
18b152
18b152
%ifarch x86_64 %{arm} aarch64 ppc64le i686 s390x
18b152
18b152
%if 0%{?fedora} || 0%{?rhel} < 8
18b152
%package -n cockpit-docker
18b152
Summary: Cockpit user interface for Docker containers
18b152
Requires: cockpit-bridge >= 122
18b152
Requires: cockpit-shell >= 122
18b152
Requires: /usr/bin/docker
18b152
Requires: /usr/lib/systemd/system/docker.service
18b152
%if 0%{?fedora}
18b152
Requires: %{__python3}
18b152
%else
18b152
Requires: python2
18b152
%endif
18b152
18b152
%description -n cockpit-docker
18b152
The Cockpit components for interacting with Docker and user interface.
18b152
This package is not yet complete.
18b152
18b152
%files -n cockpit-docker -f docker.list
18b152
18b152
%endif
18b152
%endif
18b152
18b152
%if 0%{?build_kubernetes}
18b152
18b152
%package -n cockpit-kubernetes
18b152
Summary: Cockpit user interface for Kubernetes cluster
18b152
Requires: /usr/bin/kubectl
18b152
# Requires: Needs newer localization support
18b152
Requires: cockpit-bridge >= 137.x
18b152
Requires: cockpit-shell >= 137.x
18b152
BuildRequires: %{go_scl_prefix}golang-bin
18b152
BuildRequires: %{go_scl_prefix}golang-src
18b152
Provides: cockpit-stub = %{version}-%{release}
18b152
18b152
%description -n cockpit-kubernetes
18b152
The Cockpit components for visualizing and configuring a Kubernetes
18b152
cluster. Installed on the Kubernetes master. This package is not yet complete.
18b152
18b152
%if 0%{?rhel} >= 7
18b152
%enable_gotoolset7
18b152
%endif
18b152
18b152
%files -n cockpit-kubernetes -f kubernetes.list
18b152
%{_libexecdir}/cockpit-kube-auth
18b152
%{_libexecdir}/cockpit-kube-launch
18b152
%{_libexecdir}/cockpit-stub
18b152
%endif
18b152
18b152
%package -n cockpit-packagekit
18b152
Summary: Cockpit user interface for packages
18b152
BuildArch: noarch
18b152
Requires: cockpit-bridge >= 138
18b152
Requires: PackageKit
18b152
18b152
%description -n cockpit-packagekit
18b152
The Cockpit components for installing OS updates and Cockpit add-ons,
18b152
via PackageKit.
18b152
18b152
%files -n cockpit-packagekit -f packagekit.list
18b152
18b152
%endif # build optional extension packages
18b152
18b152
%changelog
18b152
* Mon Sep 09 2019 Martin Pitt <mpitt@redhat.com> 195.3-1
18b152
- subscriptions: Add support for Red Hat Insights (rhbz#1748026)
18b152
- systemd: Warn if not connected to Insights (rhbz#1748350)
18b152
18b152
* Thu Aug 29 2019 Martin Pitt <mpitt@redhat.com> 195.2-1
18b152
- firewall: Only reload firewall when adding custom services (rhbz#1725094)
18b152
- networking: Activate a connection after clearing master/slave fields (rhbz#1729378)
18b152
- Add Obsoletes: for ancient cockpit-shell package (rhbz#1744208)
18b152
18b152
* Mon Jun 03 2019 Martin Pitt <mpitt@redhat.com> 195.1-1
18b152
- Update translations rhbz#1688228
18b152
18b152
* Thu Apr 04 2019 Martin Pitt <mpitt@redhat.com> 191-1
18b152
- System: Enable/disable SMT rhbz#1696139
18b152
18b152
* Mon Mar 25 2019 Martin Pitt <mpitt@redhat.com> 190-1
18b152
- kdump: Add NFS and SSH dump targets rhbz#1533366
18b152
- kdump: Fix confusing design of target selector rhbz#1536327
18b152
- firewall: Hide already enabled items from "Add Services" dialog rhbz#1598625
18b152
- networking: Gracefully handle when NetworkManager is  not running
18b152
  rhbz#1551615
18b152
- web server: Mark deleted cookie as "secure", and add X-Content-Type-Options
18b152
  header rhbz#1677767
18b152
- web server: Mark deleted cookie as "HttpOnly" rhbz#1656339
18b152
- Fix various crashes spotted by coverity rhbz#1644209
18b152
- Fix remotectl crash with inaccessible files rhbz#1644213
18b152
- Fix race condition with fslist1 channels rhbz#1644223
18b152
- Fix crash with parsing invalid bas64 headers rhbz#1663712
18b152
18b152
* Tue Oct 30 2018 Martin Pitt <mpitt@redhat.com> 173.1-1
18b152
- Crash fixes spotted by coverity rhbz#1644345
18b152
- Fix race condition with fslist channels rhbz#1644346
18b152
- Fix remotectl crash on errors rhbz#1644348
18b152
18b152
* Tue Sep 25 2018 Martin Pitt <mpitt@redhat.com> 173-7
18b152
- Build against fixed build root with all architectures again rhbz#1628490
18b152
18b152
* Wed Sep 12 2018 Martin Pitt <mpitt@redhat.com> 173-6
18b152
- Fix remote unauthenticated crash with crafted URLs rhbz#1627631
18b152
- Fix off-by-one error in flow control rhbz#1626846
18b152
18b152
* Tue Aug 21 2018 Martin Pitt <mpitt@redhat.com> 173-5
18b152
- Storage: Fix crash when cancelling package install
18b152
- Update translations rhbz#1569423
18b152
18b152
* Thu Jul 26 2018 Martin Pitt <mpitt@redhat.com> 173-1
18b152
- Rebase to version 173 rhbz#1568728
18b152
18b152
* Thu Jul 12 2018 Martin Pitt <mpitt@redhat.com> 172-1
18b152
- Rebase to version 172 rhbz#1568728
18b152
18b152
* Wed Jun 27 2018 Martin Pitt <mpitt@redhat.com> 171-1
18b152
- Rebase to version 171 rhbz#1568728
18b152
18b152
* Tue Jun 05 2018 Martin Pitt <mpitt@redhat.com> 169-3
18b152
- Rebase to version 169, drop all patches rhbz#1568728
18b152
- Fix Subscriptions page hang when accessing as non-admin rhbz#1442540
18b152
- Show an indicator on front page if updates are available rhbz#1495543
18b152
- Properly localize "Log in" rhbz#1541454
18b152
- Improve check for root privilege availability, to e. g. also work for FreeIPA
18b152
  admins rhbz#1574630
18b152
18b152
* Mon Jan 08 2018 Martin Pitt <mpitt@redhat.com> 154-3
18b152
- Update source po for Japanese translations rhbz#1512923
18b152
- Adjust build system to avoid build failure for the above
18b152
18b152
* Mon Dec 11 2017 Martin Pitt <mpitt@redhat.com> 154-2
18b152
- Update Japanese translations rhbz#1512923
18b152
18b152
* Tue Oct 17 2017 Martin Pitt <mpitt@redhat.com> 154-1
18b152
- Rebase to version 154, drop all patches rhbz#1470780
18b152
- This allows ssh keys to be loaded from arbitrary directories
18b152
  rhbz#1425887
18b152
18b152
* Thu Jun 22 2017 Dominik Perpeet <dperpeet@redhat.com> 138-9
18b152
- Add Japanese translation rhbz#1461085
18b152
18b152
* Wed May 24 2017 Dominik Perpeet <dperpeet@redhat.com> 138-8
18b152
- Rebuild for new dependencies
18b152
18b152
* Wed May 17 2017 Dominik Perpeet <dperpeet@redhat.com> 138-7
18b152
- Build cockpit-docker for s390x
18b152
18b152
* Wed May 17 2017 Dominik Perpeet <dperpeet@redhat.com> 138-6
18b152
- Fix ssh dependency
18b152
18b152
* Fri May 12 2017 Dominik Perpeet <dperpeet@redhat.com> 138-5
18b152
- Fix forwarding binary data in the shell
18b152
- Fix dashboard dependency
18b152
18b152
* Fri May 05 2017 Dominik Perpeet <dperpeet@redhat.com> 138-4
18b152
- Bump and rebuild on more architectures
18b152
18b152
* Wed May 03 2017 Dominik Perpeet <dperpeet@redhat.com> 138-3
18b152
- Fix issues with connections between multiple hosts
18b152
- Fix format string type mismatch on some architectures
18b152
18b152
* Tue May 02 2017 Dominik Perpeet <dperpeet@redhat.com> 138-2
18b152
- Bump and rebuild with dashboard
18b152
18b152
* Mon Apr 10 2017 Dominik Perpeet <dperpeet@redhat.com> 138-1
18b152
- Update to 138 release
18b152
- Simplify protocol that cockpit talks to session authentication processes
18b152
18b152
* Fri Mar 31 2017 Dominik Perpeet <dperpeet@redhat.com> 137-1
18b152
- Update to 137 release
18b152
- Cockpit's web server understands and properly responds to HTTP HEAD requests
18b152
18b152
* Mon Mar 27 2017 Dominik Perpeet <dperpeet@redhat.com> 136-1
18b152
- Update to 136 release
18b152
- Reorder menu items in a more logical way
18b152
18b152
* Thu Mar 23 2017 Dominik Perpeet <dperpeet@redhat.com> 135-4
18b152
- The cockpit package doesn't require the dashboard anymore
18b152
- The dashboard package conflicts with older bridge and ws versions
18b152
18b152
* Tue Mar 21 2017 Dominik Perpeet <dperpeet@redhat.com> 135-3
18b152
- Update to 135 release
18b152
- Redesigned page menu and machine switcher
18b152
- Show /etc/motd in the "System" page
18b152
- Allow changing the MAC address for ethernet adapters and see them for bonds
18b152
- NetworkManager now activates slave interfaces by itself
18b152
- Show "Locked/Unlocked" indicator for privilege escalation in the top bar
18b152
- Privilege escalation works with sudo reauthorization
18b152
- Use official /etc/ssh/ssh_known_hosts when connecting to remote hosts
18b152
18b152
* Tue Feb 14 2017 Dominik Perpeet <dperpeet@redhat.com> 131-3
18b152
- Fix size of list heading rhbz#1422184
18b152
- Fix button tooltips rhbz#1365372 rhbz#1412036
18b152
- Make basic selinux functionality available without rhbz#1422181
18b152
18b152
* Tue Feb 07 2017 Stef Walter <stefw@redhat.com> 131-2
18b152
- Actually build cockpit-dashboard sub-package
18b152
18b152
* Tue Feb 07 2017 Stef Walter <stefw@redhat.com> 131-1
18b152
- Update to 131 release
18b152
- Support for configuring kdump kernel crash dumping
18b152
- Support for rebasing OSTrees and configuring OSTree remotes
18b152
- Cockpit now respects /etc/shells and prevents login when user has an invalid shell
18b152
- Add a 'LoginTo' option in cockpit.conf to toggle ability to login to other servers
18b152
- Validate textual input on the Networking page properly
18b152
18b152
* Thu Dec 15 2016 Dominik Perpeet <dperpeet@redhat.com> 126-1
18b152
- Update to 126 release
18b152
- Show security scan information about containers
18b152
- During login users can choose whether password is cached and reused
18b152
- Allow renaming of active devices in networking interface
18b152
- More clearly indicate when checking network connectivity
18b152
- Allow more time for rollback when making network changes rhbz#1395108
18b152
- The remotectl command can now combine certificate and key files
18b152
- Domain join operations can now be properly cancelled
18b152
- Make Kerberos authentication work even if gss-proxy is in use
18b152
- When proxied, support X-Forwarded-Proto
18b152
- Ignore block devices with a zero size in the storage interface
18b152
18b152
* Tue Dec 13 2016 Dominik Perpeet <dperpeet@redhat.com> 125-1
18b152
- Update to 125 release
18b152
- Display OSTree signatures on Atomic Host
18b152
- Expand logical volumes and partitions inline on their devices
18b152
- No longer offer to format read-only block devices
18b152
- Use stored passphrases for LUKS devices properly
18b152
- System shutdown can be scheduled by date
18b152
- Properly terminate user sessions on the Accounts page
18b152
- Fix regression on login screen in older Internet Explorer browsers
18b152
18b152
* Mon Nov 14 2016 Dominik Perpeet <dperpeet@redhat.com> 122-3
18b152
- Fix regression when activating virtual network interfaces rhbz#1394667
18b152
- Support network connections that don't have an interface name rhbz#1394668
18b152
- Fix registry console Windows IE and Edge login rhbz#1378810 rhbz#1393740
18b152
- Fix reloading of projects and users in kubernetes rhbz#1393785
18b152
- Only set websocket protocols if they are available rhbz#1394675
18b152
18b152
* Tue Nov 08 2016 Dominik Perpeet <dperpeet@redhat.com> 122-2
18b152
- Fix default flags for new VLAN devices rhbz#1390605
18b152
18b152
* Tue Nov 01 2016 Dominik Perpeet <dperpeet@redhat.com> 122-1
18b152
- Update to 122 release
18b152
- Cockpit can rollback network configuration that would otherwise disconnect an admin from the system
18b152
- Unmanaged network devices are now shown
18b152
- The list of Docker containers can be filtered and expanded inline
18b152
- Cockpit can be a "bastion host" by using the login page to connect to an alternate system via SSH
18b152
- Only connect to an alternate system if it has a known SSH host key
18b152
- When connecting to other systems, each SSH connection is run in a separate process
18b152
- Fixes bugs that prevent the "Logs" page from working in Firefox 49
18b152
- A network proxy can be used when registering with RHEL subscriptions rhbz#1338681
18b152
18b152
* Tue Sep 20 2016 Dominik Perpeet <dperpeet@redhat.com> 118-2
18b152
- Turn off Cockpit debug session
18b152
18b152
* Wed Sep 07 2016 Dominik Perpeet <dperpeet@redhat.com> 118-1
18b152
- Update to 118 release
18b152
- SELinux audit failures can be diagnosed and solutions applied to the system
18b152
- Configure storage for Docker containers and images
18b152
- Volumes and environment variables can be configured for Docker containers
18b152
- Support PAM conversations on the Login screen, enabling two factor authentication
18b152
- Cockpit URLs can be proxied with a configured HTTP path prefix
18b152
- Timer jobs in systemd can be created and configured
18b152
- Display all managed NetworkManager devices
18b152
- Add support for network teams
18b152
- Prevent removal of last volume from volume group rhbz#1354421
18b152
18b152
* Fri Jul 15 2016 Dominik Perpeet <dperpeet@redhat.com> - 0.114-2
18b152
- The API of cockpit-bridge and cockpit-shell is now stable, other components
18b152
  only depend on a version >= 0.114 now, not an exact match to their own version
18b152
18b152
* Tue Jul 12 2016 Dominik Perpeet <dperpeet@redhat.com> - 0.114-1
18b152
- Update to 0.114 release
18b152
- Red Hat Subscriptions can now specify activation keys and orgs rhbz#1338680
18b152
- Network configuration of the Ethernet MTU rhbz#1339552
18b152
- SSH Host keys are show on system page rhbz#1318414
18b152
- Properly show SSH keys on authentication page rhbz#1336686
18b152
- Use 'active-backup' as the default for new network bonds rhbz#1348066
18b152
- Don't show network interfaces where NM_CONTROLLED=no is set rhbz#1330552
18b152
- Disable tuned correctly when clearing a performance profile rhbz#1330473
18b152
- Use CockpitLang cookie and Accept-Language for localization
18b152
- Cockpit terminal now supports shells like fish
18b152
- Disable the network on/off switch for unknown or unmanaged interfaces
18b152
  rhbz#1329954 rhbz#1329956
18b152
- Show intelligent password score error messages rhbz#1330838
18b152
- Show full string for system hardware info and operating system name rhbz#1331243
18b152
- Ensure popup-info when creating an account remains on screen rhbz#1340749
18b152
- Remove erroneous docker dependency rhbz#1349375
18b152
18b152
* Tue May 31 2016 Dominik Perpeet <dperpeet@redhat.com> - 0.108-1
18b152
- Update to 0.108 release
18b152
- Strict browser security policy for Cockpit is now enforced. This defines which code can be run in a Cockpit session and mitigates a number of browser based attacks.
18b152
18b152
* Tue Apr 19 2016 Dominik Perpeet <dperpeet@redhat.com> - 0.103-1
18b152
- Update to 0.103 release
18b152
- When Cockpit fails to connect to a host, relevant SSH command or host details are displayed to help resolve the issue
18b152
- Docker restart policy can be configured when starting a new container
18b152
- Display a single combined dialog for creating logical volumes
18b152
- Don't offer a 'Computer OU' option when joining IPA domains
18b152
- Display binary journal data correctly
18b152
- Display IEC names (eg: MiB) for disk or file system sizes
18b152
- Refuse to shrink logical volumes and prevent negative sizes in file system partition dialogs
18b152
- Apply strict Content-Security-Policy on most of Cockpit to prevent a number of browser based attacks
18b152
- Numerous other bug fixes and admin interface improvements
18b152
18b152
* Thu Mar 10 2016 Dominik Perpeet <dperpeet@redhat.com> - 0.96-2
18b152
- Fix selenium tests
18b152
- Fix issue with dwz / go binaries in packages
18b152
18b152
* Thu Mar 3 2016 Dominik Perpeet <dperpeet@redhat.com> - 0.96-1
18b152
- Update to 0.96 release
18b152
- Fix memory leaks, mostly related to DBus code
18b152
- Compatible with docker 1.10
18b152
- Limit concurrent authentication similar to sshd using 'MaxStartups' setting
18b152
- Fixed up server disconnection UI
18b152
- Navigation fixes
18b152
18b152
* Wed Feb 10 2016 Dominik Perpeet <dperpeet@redhat.com> - 0.93-3
18b152
- Fix session path rhbz#1306145
18b152
18b152
* Mon Feb 8 2016 Stef Walter <stefw@redhat.com> - 0.93-2
18b152
- Fix startup /dev/urandom read issue rhbz#1303582
18b152
18b152
* Mon Jan 25 2016 Dominik Perpeet <dperpeet@redhat.com> - 0.93-1
18b152
- Add tuned support
18b152
- Exit on idle in cockpit-ws
18b152
18b152
* Thu Jan 21 2016 Dominik Perpeet <dperpeet@redhat.com> - 0.92-1
18b152
- Add OAuth login support
18b152
- Make SOS report work on Atomic
18b152
18b152
* Mon Jan 18 2016 Stef Walter <stefw@redhat.com> - 0.91-2
18b152
- Depend on correct rpm-ostree RPM on RHEL
18b152
18b152
* Fri Jan 15 2016 Dominik Perpeet <dperpeet@redhat.com> - 0.91-1
18b152
- Update to 0.91 release
18b152
- Fix Cockpit session issues with a second machine rhbz#1277938
18b152
- Split out docker rhbz#1297797
18b152
- Distribute licenses of included components in the source rpm
18b152
- Reworked TLS certificates for Cockpit
18b152
- Remove custom SELinux policy
18b152
- SOS report UI page
18b152
- User interface for OSTree upgrades and rollbacks
18b152
- Offer to activate multipathd for multipath disks
18b152
18b152
* Thu Oct 08 2015 Peter <petervo@redhat.com> - 0.77-3
18b152
- Update cockpit.pam to include pam_reauthorize and pam_ssh_add rhbz#1269623
18b152
18b152
* Wed Sep 30 2015 Stef Walter <stefw@redhat.com> - 0.77-2
18b152
- Fix extreme CPU usage bug rhbz#1266503
18b152
- Fix regressions in 0.77 rhbz#1266566
18b152
18b152
* Tue Sep 22 2015 Stef Walter <stefw@redhat.com> - 0.77-1
18b152
- Work better with multipath storage
18b152
- Deletion of kubernetes objects
18b152
- Cleaner URLs in the bookmark bar
18b152
- Show a warning when adding too many machines
18b152
- Make authentication work when embedding Cockpit
18b152
- Complete componentizing Cockpit
18b152
18b152
* Thu Aug 13 2015 Stef Walter <stefw@redhat.com> - 0.70-2
18b152
- kubernetes-client is not available on kubernetes yet
18b152
18b152
* Wed Aug 12 2015 Stef Walter <stefw@redhat.com> - 0.70-1
18b152
- Update to 0.70 release
18b152
- Depend on kubernetes-client instead of kubernetes
18b152
18b152
* Thu Aug 06 2015 Stef Walter <stefw@redhat.com> - 0.69-1
18b152
- Update to 0.69 release.
18b152
18b152
* Wed Jul 29 2015 Peter <petervo@redhat.com> - 0.68-1
18b152
- Update to 0.68 release.
18b152
18b152
* Thu Jul 23 2015 Peter <petervo@redhat.com> - 0.66-1
18b152
- Update to 0.66 release
18b152
18b152
* Fri Jul 17 2015 Peter <petervo@redhat.com> - 0.65-2
18b152
- Require libssh 0.7.1 on fedora >= 22 systems
18b152
18b152
* Wed Jul 15 2015 Peter <petervo@redhat.com> - 0.65-1
18b152
- Update to 0.65 release
18b152
18b152
* Wed Jul 08 2015 Peter <petervo@redhat.com> - 0.64-1
18b152
- Update to 0.64 release
18b152
18b152
* Wed Jul 01 2015 Peter <petervo@redhat.com> - 0.63-1
18b152
- Update to 0.63 release
18b152
- Remove cockpit-docker for armv7hl while docker
18b152
  packages are being fixed
18b152
18b152
* Thu Jun 25 2015 Peter <petervo@redhat.com> - 0.62-1
18b152
- Update to 0.62 release
18b152
18b152
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.61-2
18b152
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
18b152
18b152
* Wed Jun 10 2015 Peter <petervo@redhat.com> - 0.61-1
18b152
- Update to 0.61 release
18b152
18b152
* Mon Jun 01 2015 Stef Walter <stefw@redhat.com> - 0.60-1
18b152
- Update to 0.60 release
18b152
18b152
* Wed May 27 2015 Peter <petervo@redhat.com> - 0.59-1
18b152
- Update to 0.59 release
18b152
18b152
* Fri May 22 2015 Peter <petervo@redhat.com> - 0.58-1
18b152
- Update to 0.58 release
18b152
18b152
* Wed May 20 2015 Peter <petervo@redhat.com> - 0.57-1
18b152
- Update to 0.57 release
18b152
18b152
* Wed May 13 2015 Peter <petervo@redhat.com> - 0.56-1
18b152
- Update to 0.56 release
18b152
18b152
* Wed May 06 2015 Stef Walter <stefw@redhat.com> - 0.55-1
18b152
- Update to 0.55 release
18b152
18b152
* Fri Apr 24 2015 Peter <petervo@redhat.com> - 0.54-1
18b152
- Update to 0.54 release
18b152
18b152
* Tue Apr 21 2015 Peter <petervo@redhat.com> - 0.53-1
18b152
- Update to 0.53 release
18b152
18b152
* Thu Apr 16 2015 Stef Walter <stefw@redhat.com> - 0.52-1
18b152
- Update to 0.52 release
18b152
18b152
* Tue Apr 14 2015 Peter <petervo@redhat.com> - 0.51-1
18b152
- Update to 0.51 release
18b152
18b152
* Tue Apr 07 2015 Stef Walter <stefw@redhat.com> - 0.50-1
18b152
- Update to 0.50 release
18b152
18b152
* Wed Apr 01 2015 Stephen Gallagher <sgallagh@redhat.com> 0.49-2
18b152
- Fix incorrect Obsoletes: of cockpit-daemon
18b152
18b152
* Wed Apr 01 2015 Peter <petervo@redhat.com> - 0.49-1
18b152
- Update to 0.49 release.
18b152
- cockpitd was renamed to cockpit-wrapper the cockpit-daemon
18b152
  package was removed and is now installed with the
18b152
  cockpit-bridge package.
18b152
18b152
* Mon Mar 30 2015 Peter <petervo@redhat.com> - 0.48-1
18b152
- Update to 0.48 release
18b152
18b152
* Mon Mar 30 2015 Stephen Gallagher <sgallagh@redhat.com> 0.47-2
18b152
- Don't attempt to build cockpit-kubernetes on armv7hl
18b152
18b152
* Fri Mar 27 2015 Peter <petervo@redhat.com> - 0.47-1
18b152
- Update to 0.47 release, build docker on armvrhl
18b152
18b152
* Thu Mar 26 2015 Stef Walter <stefw@redhat.com> - 0.46-1
18b152
- Update to 0.46 release
18b152
18b152
* Mon Mar 23 2015 Stef Walter <stefw@redhat.com> - 0.45-1
18b152
- Update to 0.45 release
18b152
18b152
* Sat Mar 21 2015 Stef Walter <stefw@redhat.com> - 0.44-3
18b152
- Add back debuginfo files to the right place
18b152
18b152
* Fri Mar 20 2015 Stef Walter <stefw@redhat.com> - 0.44-2
18b152
- Disable separate debuginfo for now: build failure
18b152
18b152
* Fri Mar 20 2015 Stef Walter <stefw@redhat.com> - 0.44-1
18b152
- Update to 0.44 release
18b152
18b152
* Thu Mar 19 2015 Stef Walter <stefw@redhat.com> - 0.43-2
18b152
- Don't break EPEL or CentOS builds due to missing branding
18b152
18b152
* Wed Mar 18 2015 Stef Walter <stefw@redhat.com> - 0.43-1
18b152
- Update to 0.43 release
18b152
18b152
* Tue Mar 17 2015 Stef Walter <stefw@redhat.com> - 0.42-2
18b152
- Fix obseleting cockpit-assets
18b152
18b152
* Sat Mar 14 2015 Stef Walter <stefw@redhat.com> - 0.42-1
18b152
- Update to 0.42 release
18b152
18b152
* Wed Mar 04 2015 Stef Walter <stefw@redhat.com> - 0.41-1
18b152
- Update to 0.41 release
18b152
18b152
* Thu Feb 26 2015 Stef Walter <stefw@redhat.com> - 0.40-1
18b152
- Update to 0.40 release
18b152
18b152
* Thu Feb 19 2015 Stef Walter <stefw@redhat.com> - 0.39-1
18b152
- Update to 0.39 release
18b152
18b152
* Wed Jan 28 2015 Stef Walter <stefw@redhat.com> - 0.38-1
18b152
- Update to 0.38 release
18b152
18b152
* Thu Jan 22 2015 Stef Walter <stefw@redhat.com> - 0.37-1
18b152
- Update to 0.37 release
18b152
18b152
* Mon Jan 12 2015 Stef Walter <stefw@redhat.com> - 0.36-1
18b152
- Update to 0.36 release
18b152
18b152
* Mon Dec 15 2014 Stef Walter <stefw@redhat.com> - 0.35-1
18b152
- Update to 0.35 release
18b152
18b152
* Thu Dec 11 2014 Stef Walter <stefw@redhat.com> - 0.34-1
18b152
- Update to 0.34 release
18b152
18b152
* Fri Dec 05 2014 Stef Walter <stefw@redhat.com> - 0.33-3
18b152
- Only depend on docker stuff on x86_64
18b152
18b152
* Fri Dec 05 2014 Stef Walter <stefw@redhat.com> - 0.33-2
18b152
- Only build docker stuff on x86_64
18b152
18b152
* Wed Dec 03 2014 Stef Walter <stefw@redhat.com> - 0.33-1
18b152
- Update to 0.33 release
18b152
18b152
* Mon Nov 24 2014 Stef Walter <stefw@redhat.com> - 0.32-1
18b152
- Update to 0.32 release
18b152
18b152
* Fri Nov 14 2014 Stef Walter <stefw@redhat.com> - 0.31-1
18b152
- Update to 0.31 release
18b152
18b152
* Wed Nov 12 2014 Stef Walter <stefw@redhat.com> - 0.30-1
18b152
- Update to 0.30 release
18b152
- Split Cockpit into various sub packages
18b152
18b152
* Wed Nov 05 2014 Stef Walter <stefw@redhat.com> - 0.29-3
18b152
- Don't require test-assets from selinux-policy
18b152
- Other minor tweaks and fixes
18b152
18b152
* Wed Nov 05 2014 Stef Walter <stefw@redhat.com> - 0.29-2
18b152
- Include selinux policy as a dep where required
18b152
18b152
* Wed Nov 05 2014 Stef Walter <stefw@redhat.com> - 0.29-1
18b152
- Update to 0.29 release
18b152
18b152
* Thu Oct 16 2014 Stef Walter <stefw@redhat.com> - 0.28-1
18b152
- Update to 0.28 release
18b152
- cockpit-agent was renamed to cockpit-bridge
18b152
18b152
* Fri Oct 10 2014 Stef Walter <stefw@redhat.com> - 0.27-1
18b152
- Update to 0.27 release
18b152
- Don't create cockpit-*-admin groups rhbz#1145135
18b152
- Fix user management for non-root users rhbz#1140562
18b152
- Fix 'out of memory' error during ssh auth rhbz#1142282
18b152
18b152
* Wed Oct 08 2014 Stef Walter <stefw@redhat.com> - 0.26-1
18b152
- Update to 0.26 release
18b152
- Can see disk usage on storage page rhbz#1142459
18b152
- Better order for lists of block devices rhbz#1142443
18b152
- Setting container memory limit fixed rhbz#1142362
18b152
- Can create storage volume of maximum capacity rhbz#1142259
18b152
- Fix RAID device Bitmap enable/disable error rhbz#1142248
18b152
- Docker page connects to right machine rhbz#1142229
18b152
- Clear the format dialog label correctly rhbz#1142228
18b152
- No 'Drop Privileges' item in menu for root rhbz#1142197
18b152
- Don't flash 'Server has closed Connection on logout rhbz#1142175
18b152
- Non-root users can manipulate user accounts rhbz#1142154
18b152
- Fix strange error message when editing user accounts rhbz#1142154
18b152
18b152
* Wed Sep 24 2014 Stef Walter <stefw@redhat.com> - 0.25-1
18b152
- Update to 0.25 release
18b152
18b152
* Wed Sep 17 2014 Stef Walter <stefw@redhat.com> - 0.24-1
18b152
- Update to 0.24 release
18b152
18b152
* Wed Sep 10 2014 Stef Walter <stefw@redhat.com> - 0.23-1
18b152
- Update to 0.23 release
18b152
18b152
* Wed Sep 03 2014 Stef Walter <stefw@redhat.com> - 0.22-1
18b152
- Update to 0.22 release
18b152
18b152
* Tue Aug 26 2014 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.21-1
18b152
- Update to 0.21 release
18b152
18b152
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-2
18b152
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
18b152
18b152
* Thu Aug 14 2014 Stef Walter <stefw@redhat.com> 0.20-1
18b152
- Update to 0.20 release
18b152
18b152
* Thu Aug 07 2014 Stef Walter <stefw@redhat.com> 0.19-1
18b152
- Update to 0.19 release
18b152
18b152
* Wed Jul 30 2014 Stef Walter <stefw@redhat.com> 0.18-1
18b152
- Update to 0.18 release
18b152
- Add glib-networking build requirement
18b152
- Let selinux-policy-targetted distribute selinux policy
18b152
18b152
* Mon Jul 28 2014 Colin Walters <walters@verbum.org> 0.17-2
18b152
- Drop Requires and references to dead test-assets subpackage
18b152
18b152
* Thu Jul 24 2014 Stef Walter <stefw@redhat.com> 0.17-1
18b152
- Update to 0.17 release
18b152
18b152
* Wed Jul 23 2014 Stef Walter <stefw@redhat.com> 0.16-3
18b152
- Distribute our own selinux policy rhbz#1110758
18b152
18b152
* Tue Jul 22 2014 Stef Walter <stefw@redhat.com> 0.16-2
18b152
- Refer to cockpit.socket in scriptlets rhbz#1110764
18b152
18b152
* Thu Jul 17 2014 Stef Walter <stefw@redhat.com> 0.16-1
18b152
- Update to 0.16 release
18b152
18b152
* Thu Jul 10 2014 Stef Walter <stefw@redhat.com> 0.15-1
18b152
- Update to 0.15 release
18b152
- Put pam_reauthorize.so in the cockpit PAM stack
18b152
18b152
* Thu Jul 03 2014 Stef Walter <stefw@redhat.com> 0.14-1
18b152
- Update to 0.14 release
18b152
18b152
* Mon Jun 30 2014 Stef Walter <stefw@redhat.com> 0.13-1
18b152
- Update to 0.13 release
18b152
18b152
* Tue Jun 24 2014 Stef Walter <stefw@redhat.com> 0.12-1
18b152
- Update to upstream 0.12 release
18b152
18b152
* Fri Jun 20 2014 Stef Walter <stefw@redhat.com> 0.11-1
18b152
- Update to upstream 0.11 release
18b152
18b152
* Thu Jun 12 2014 Stef Walter <stefw@redhat.com> 0.10-1
18b152
- Update to upstream 0.10 release
18b152
18b152
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-2
18b152
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
18b152
18b152
* Fri May 23 2014 Stef Walter <stefw@redhat.com> 0.9-1
18b152
- Update to upstream 0.9 release
18b152
- Fix file attribute for cockpit-polkit
18b152
18b152
* Wed May 21 2014 Stef Walter <stefw@redhat.com> 0.8-1
18b152
- Update to upstream 0.8 release
18b152
- cockpitd now runs as a user session DBus service
18b152
18b152
* Mon May 19 2014 Stef Walter <stefw@redhat.com> 0.7-1
18b152
- Update to upstream 0.7 release
18b152
18b152
* Wed May 14 2014 Stef Walter <stefw@redhat.com> 0.6-1
18b152
- Update to upstream 0.6 release
18b152
18b152
* Tue Apr 15 2014 Stef Walter <stefw@redhat.com> 0.5-1
18b152
- Update to upstream 0.5 release
18b152
18b152
* Thu Apr 03 2014 Stef Walter <stefw@redhat.com> 0.4-1
18b152
- Update to upstream 0.4 release
18b152
- Lots of packaging cleanup and polish
18b152
18b152
* Fri Mar 28 2014 Stef Walter <stefw@redhat.com> 0.3-1
18b152
- Update to upstream 0.3 release
18b152
18b152
* Wed Feb 05 2014 Patrick Uiterwijk (LOCAL) <puiterwijk@redhat.com> - 0.2-0.4.20140204git5e1faad
18b152
- Redid the release tag
18b152
18b152
* Tue Feb 04 2014 Patrick Uiterwijk (LOCAL) <puiterwijk@redhat.com> - 0.2-0.3.5e1faadgit
18b152
- Fixed license tag
18b152
- Updated to new FSF address upstream
18b152
- Removing libgsystem before build
18b152
- Now claiming specific manpages
18b152
- Made the config files noreplace
18b152
- Removed the test assets
18b152
- Put the web assets in a subpackage
18b152
18b152
* Tue Feb 04 2014 Patrick Uiterwijk (LOCAL) <puiterwijk@redhat.com> - 0.2-0.2.5e1faadgit
18b152
- Patch libgsystem out