Blame SPECS/cockpit.spec

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