Blame SPECS/cockpit.spec

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