Blame SPECS/cockpit.spec

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