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
7189eb
# define to build the dashboard
87e9e1
%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
b498bd
# on RHEL 7.x we build subscriptions; superseded in RHEL 8 (and Fedora) 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
c893f3
%if 0%{?rhel} >= 8
c893f3
%global go_scl_prefix go-toolset-7-
c893f3
%else
c893f3
%global go_scl_prefix %{nil}
c893f3
%endif
c893f3
7189eb
Name:           cockpit
7189eb
Summary:        A user interface for Linux servers
7189eb
7189eb
License:        LGPLv2+
c893f3
URL:            https://cockpit-project.org/
7189eb
c893f3
Version:        169
7189eb
%if %{defined wip}
7189eb
Release:        1.%{wip}%{?dist}
7189eb
Source0:        cockpit-%{version}.tar.gz
7189eb
%else
c893f3
Release:        1%{?dist}
7189eb
Source0:        https://github.com/cockpit-project/cockpit/releases/download/%{version}/cockpit-%{version}.tar.xz
7189eb
%endif
7189eb
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
e46458
BuildRequires: /usr/bin/python2
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
7189eb
Requires: %{name}-bridge = %{version}-%{release}
7189eb
Requires: %{name}-ws = %{version}-%{release}
7189eb
Requires: %{name}-system = %{version}-%{release}
7189eb
7189eb
# Optional components (for f24 we use soft deps)
7189eb
%if 0%{?fedora} >= 24 || 0%{?rhel} >= 8
87e9e1
Recommends: %{name}-dashboard = %{version}-%{release}
c893f3
Recommends: (%{name}-networkmanager = %{version}-%{release} if NetworkManager)
c893f3
Recommends: (%{name}-storaged = %{version}-%{release} if udisks2)
c893f3
Recommends: (%{name}-packagekit = %{version}-%{release} if PackageKit)
b498bd
%if 0%{?rhel} >= 8
b498bd
Recommends: subscription-manager-cockpit
b498bd
%endif
87e9e1
%ifarch x86_64 %{arm} aarch64 ppc64le i686 s390x
c893f3
Recommends: (%{name}-docker = %{version}-%{release} if /usr/bin/docker)
7189eb
%endif
7189eb
Suggests: %{name}-pcp = %{version}-%{release}
7189eb
Suggests: %{name}-kubernetes = %{version}-%{release}
7189eb
Suggests: %{name}-selinux = %{version}-%{release}
7189eb
Suggests: %{name}-packagekit = %{version}-%{release}
7189eb
%endif
7189eb
7189eb
%prep
7189eb
%setup -q
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}
87e9e1
    touch -r $(git diff --name-only initial..HEAD) .git
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 \
b498bd
    %{?rhel:--without-storaged-iscsi-sessions} \
b498bd
    --with-appstream-data-packages='[ "appstream-data" ]' \
c893f3
    --with-nfs-client-package='"nfs-utils"' \
b498bd
    %{!?build_dashboard:--disable-ssh}
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
7189eb
install -p -m 644 AUTHORS COPYING README.md %{buildroot}%{_docdir}/%{name}/
7189eb
7189eb
# On RHEL we don't yet show options for changing language
7189eb
%if 0%{?rhel}
7189eb
echo '{ "linguas": null }' > %{buildroot}%{_datadir}/%{name}/shell/override.json
7189eb
%endif
7189eb
7189eb
# Build the package lists for resource packages
7189eb
echo '%dir %{_datadir}/%{name}/base1' > base.list
7189eb
find %{buildroot}%{_datadir}/%{name}/base1 -type f >> base.list
7189eb
echo '%{_sysconfdir}/cockpit/machines.d' >> base.list
7189eb
7189eb
%if %{defined build_dashboard}
7189eb
echo '%dir %{_datadir}/%{name}/dashboard' >> dashboard.list
7189eb
find %{buildroot}%{_datadir}/%{name}/dashboard -type f >> dashboard.list
7189eb
find %{buildroot}%{_datadir}/%{name}/ssh -type f >> dashboard.list
7189eb
%else
7189eb
rm -rf %{buildroot}/%{_datadir}/%{name}/dashboard
7189eb
rm -rf %{buildroot}/%{_datadir}/%{name}/ssh
7189eb
touch dashboard.list
7189eb
%endif
7189eb
7189eb
echo '%dir %{_datadir}/%{name}/pcp' >> pcp.list
7189eb
find %{buildroot}%{_datadir}/%{name}/pcp -type f >> pcp.list
7189eb
7189eb
echo '%dir %{_datadir}/%{name}/realmd' >> system.list
7189eb
find %{buildroot}%{_datadir}/%{name}/realmd -type f >> system.list
7189eb
7189eb
echo '%dir %{_datadir}/%{name}/tuned' >> system.list
7189eb
find %{buildroot}%{_datadir}/%{name}/tuned -type f >> system.list
7189eb
7189eb
echo '%dir %{_datadir}/%{name}/shell' >> system.list
7189eb
find %{buildroot}%{_datadir}/%{name}/shell -type f >> system.list
7189eb
7189eb
echo '%dir %{_datadir}/%{name}/systemd' >> system.list
7189eb
find %{buildroot}%{_datadir}/%{name}/systemd -type f >> system.list
7189eb
7189eb
echo '%dir %{_datadir}/%{name}/users' >> system.list
7189eb
find %{buildroot}%{_datadir}/%{name}/users -type f >> system.list
7189eb
7189eb
echo '%dir %{_datadir}/%{name}/kdump' >> kdump.list
7189eb
find %{buildroot}%{_datadir}/%{name}/kdump -type f >> kdump.list
7189eb
7189eb
echo '%dir %{_datadir}/%{name}/sosreport' > sosreport.list
7189eb
find %{buildroot}%{_datadir}/%{name}/sosreport -type f >> sosreport.list
7189eb
b498bd
%if %{defined build_subscriptions}
b498bd
echo '%dir %{_datadir}/%{name}/subscriptions' >> system.list
b498bd
find %{buildroot}%{_datadir}/%{name}/subscriptions -type f >> system.list
b498bd
%else
b498bd
rm -rf %{buildroot}/%{_datadir}/%{name}/subscriptions
b498bd
%endif
7189eb
7189eb
echo '%dir %{_datadir}/%{name}/storaged' > storaged.list
7189eb
find %{buildroot}%{_datadir}/%{name}/storaged -type f >> storaged.list
7189eb
7189eb
echo '%dir %{_datadir}/%{name}/networkmanager' > networkmanager.list
7189eb
find %{buildroot}%{_datadir}/%{name}/networkmanager -type f >> networkmanager.list
7189eb
7189eb
echo '%dir %{_datadir}/%{name}/ostree' > ostree.list
7189eb
find %{buildroot}%{_datadir}/%{name}/ostree -type f >> ostree.list
7189eb
7189eb
echo '%dir %{_datadir}/%{name}/packagekit' >> packagekit.list
7189eb
find %{buildroot}%{_datadir}/%{name}/packagekit -type f >> packagekit.list
7189eb
7189eb
echo '%dir %{_datadir}/%{name}/machines' > machines.list
7189eb
find %{buildroot}%{_datadir}/%{name}/machines -type f >> machines.list
7189eb
b498bd
echo '%dir %{_datadir}/%{name}/ovirt' > ovirt.list
b498bd
find %{buildroot}%{_datadir}/%{name}/ovirt -type f >> ovirt.list
b498bd
7189eb
# on CentOS systems we don't have the required setroubleshoot-server packages
7189eb
%if 0%{?centos}
7189eb
rm -rf %{buildroot}%{_datadir}/%{name}/selinux
7189eb
%else
7189eb
echo '%dir %{_datadir}/%{name}/selinux' > selinux.list
7189eb
find %{buildroot}%{_datadir}/%{name}/selinux -type f >> selinux.list
7189eb
%endif
7189eb
87e9e1
%ifarch x86_64 %{arm} aarch64 ppc64le i686 s390x
7189eb
echo '%dir %{_datadir}/%{name}/docker' > docker.list
7189eb
find %{buildroot}%{_datadir}/%{name}/docker -type f >> docker.list
7189eb
%else
7189eb
rm -rf %{buildroot}/%{_datadir}/%{name}/docker
7189eb
touch docker.list
7189eb
%endif
7189eb
7189eb
%ifarch aarch64 x86_64 ppc64le s390x
7189eb
%if %{defined wip}
7189eb
%else
7189eb
rm %{buildroot}/%{_datadir}/%{name}/kubernetes/override.json
7189eb
%endif
7189eb
echo '%dir %{_datadir}/%{name}/kubernetes' > kubernetes.list
7189eb
find %{buildroot}%{_datadir}/%{name}/kubernetes -type f >> kubernetes.list
7189eb
%else
7189eb
rm -rf %{buildroot}/%{_datadir}/%{name}/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
c893f3
for pkg in base1 branding issue kdump networkmanager realmd selinux shell sosreport static storaged systemd tuned users; do
c893f3
    rm -r %{buildroot}/%{_datadir}/%{name}/$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
c893f3
rm -r %{buildroot}/%{_libdir}/security %{buildroot}/%{_sysconfdir}/pam.d
c893f3
rm %{buildroot}/usr/bin/cockpit-bridge %{buildroot}/usr/sbin/remotectl
c893f3
%endif
c893f3
c893f3
# when not building optional packages, remove their files
c893f3
%if 0%{?build_optional} == 0
c893f3
for pkg in apps dashboard docker kubernetes machines ostree ovirt packagekit pcp playground ssh; do
c893f3
    rm -r %{buildroot}/%{_datadir}/%{name}/$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
c893f3
rm %{buildroot}/%{_libexecdir}/cockpit-kube-auth %{buildroot}/%{_libexecdir}/cockpit-kube-launch %{buildroot}/%{_libexecdir}/cockpit-stub
c893f3
# files from -dashboard
c893f3
rm %{buildroot}%{_libexecdir}/cockpit-ssh
c893f3
%endif
c893f3
b498bd
# On RHEL, apps is not currently built
87e9e1
%if 0%{?rhel}
b498bd
rm -rf %{buildroot}/%{_datadir}/%{name}/apps
87e9e1
%endif
87e9e1
7189eb
sed -i "s|%{buildroot}||" *.list
7189eb
7189eb
# Build the package lists for debug package, and move debug files to installed locations
7189eb
find %{buildroot}/usr/src/debug%{_datadir}/%{name} -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
87e9e1
rm %{buildroot}/usr/share/metainfo/org.cockpit-project.cockpit-sosreport.metainfo.xml
87e9e1
rm %{buildroot}/usr/share/pixmaps/cockpit-sosreport.png
7189eb
%endif
7189eb
c893f3
%if 0%{?build_basic}
7189eb
%find_lang %{name}
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
%if 0%{?rhel} >= 8
c893f3
%enable_gotoolset7
c893f3
%endif
c893f3
c893f3
%files
c893f3
%{_docdir}/%{name}/AUTHORS
c893f3
%{_docdir}/%{name}/COPYING
c893f3
%{_docdir}/%{name}/README.md
c893f3
%dir %{_datadir}/%{name}
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
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
7189eb
%{_datadir}/%{name}/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
7189eb
%exclude %{_docdir}/%{name}/AUTHORS
7189eb
%exclude %{_docdir}/%{name}/COPYING
7189eb
%exclude %{_docdir}/%{name}/README.md
7189eb
%{_docdir}/%{name}
7189eb
c893f3
# storaged on Fedora < 27, udisks on newer ones
57c460
# Recommends: not supported in RHEL < 8
7189eb
%package storaged
c893f3
Summary: Cockpit user interface for storage, using udisks
7189eb
Requires: %{name}-shell >= %{required_base}
57c460
Requires: udisks2 >= 2.6
57c460
Requires: udisks2-lvm2 >= 2.6
57c460
Requires: udisks2-iscsi >= 2.6
57c460
Requires: device-mapper-multipath
b498bd
%if 0%{?fedora} || 0%{?rhel} >= 8
87e9e1
Requires: python3
87e9e1
Requires: python3-dbus
7189eb
%else
87e9e1
Requires: python
87e9e1
Requires: python-dbus
7189eb
%endif
7189eb
BuildArch: noarch
7189eb
7189eb
%description storaged
c893f3
The Cockpit component for managing storage.  This package uses udisks.
7189eb
7189eb
%files storaged -f storaged.list
7189eb
7189eb
%package system
7189eb
Summary: Cockpit admin interface package for configuring and troubleshooting a system
7189eb
BuildArch: noarch
7189eb
Requires: %{name}-bridge >= %{version}-%{release}
7189eb
Requires: shadow-utils
7189eb
Requires: grep
7189eb
Requires: libpwquality
7189eb
Requires: /usr/bin/date
7189eb
Provides: %{name}-realmd = %{version}-%{release}
7189eb
Provides: %{name}-shell = %{version}-%{release}
7189eb
Obsoletes: %{name}-shell < 127
7189eb
Provides: %{name}-systemd = %{version}-%{release}
7189eb
Provides: %{name}-tuned = %{version}-%{release}
7189eb
Provides: %{name}-users = %{version}-%{release}
7189eb
%if 0%{?rhel}
7189eb
Provides: %{name}-networkmanager = %{version}-%{release}
c893f3
Obsoletes: %{name}-networkmanager < 135
7189eb
Requires: NetworkManager
7189eb
Provides: %{name}-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
7189eb
Provides: %{name}-selinux = %{version}-%{release}
7189eb
Provides: %{name}-sosreport = %{version}-%{release}
b498bd
%endif
b498bd
%if %{defined build_subscriptions}
7189eb
Provides: %{name}-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
7189eb
%files ws -f %{name}.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
7189eb
%config(noreplace) %{_sysconfdir}/%{name}/ws-certs.d
7189eb
%config(noreplace) %{_sysconfdir}/pam.d/cockpit
c893f3
%config %{_sysconfdir}/motd.d/cockpit
c893f3
%{_datadir}/%{name}/motd/update-motd
c893f3
%{_datadir}/%{name}/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
7189eb
%attr(775, -, wheel) %{_localstatedir}/lib/%{name}
7189eb
%{_datadir}/%{name}/static
7189eb
%{_datadir}/%{name}/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
7189eb
Requires: %{name}-bridge >= %{required_base}
7189eb
Requires: %{name}-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
7189eb
7189eb
%package sosreport
7189eb
Summary: Cockpit user interface for diagnostic reports
7189eb
Requires: %{name}-bridge >= %{required_base}
7189eb
Requires: %{name}-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
87e9e1
/usr/share/metainfo/org.cockpit-project.cockpit-sosreport.metainfo.xml
87e9e1
/usr/share/pixmaps/cockpit-sosreport.png
7189eb
7189eb
%package networkmanager
7189eb
Summary: Cockpit user interface for networking, using NetworkManager
7189eb
Requires: %{name}-bridge >= %{required_base}
7189eb
Requires: %{name}-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
7189eb
Requires: %{name}-bridge >= %{required_base}
7189eb
Requires: %{name}-shell >= %{required_base}
7189eb
%if 0%{?fedora} >= 24 || 0%{?rhel} >= 8
7189eb
Recommends: 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
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
c893f3
%package tests
c893f3
Summary: Tests for Cockpit
c893f3
Requires: %{name}-bridge >= 138
c893f3
Requires: %{name}-system >= 138
c893f3
Requires: openssh-clients
c893f3
Provides: %{name}-test-assets = %{version}-%{release}
c893f3
Obsoletes: %{name}-test-assets < 132
c893f3
c893f3
%description tests
c893f3
This package contains tests and files used while testing Cockpit.
c893f3
These files are not required for running Cockpit.
c893f3
c893f3
%files tests
c893f3
%config(noreplace) %{_sysconfdir}/cockpit/cockpit.conf
c893f3
%{_datadir}/%{name}/playground
c893f3
%{_prefix}/%{__lib}/cockpit-test-assets
c893f3
c893f3
%package machines
c893f3
Summary: Cockpit user interface for virtual machines
c893f3
Requires: %{name}-bridge >= %{required_base}
c893f3
Requires: %{name}-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
c893f3
%description machines
c893f3
The Cockpit components for managing virtual machines.
c893f3
c893f3
If "virt-install" is installed, you can also create new virtual machines.
c893f3
c893f3
%files machines -f machines.list
c893f3
c893f3
%package machines-ovirt
c893f3
BuildArch: noarch
c893f3
Summary: Cockpit user interface for oVirt virtual machines
c893f3
Requires: %{name}-bridge >= %{required_base}
c893f3
Requires: %{name}-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
c893f3
Obsoletes: %{name}-ovirt < 161
c893f3
%endif
c893f3
c893f3
%description machines-ovirt
c893f3
The Cockpit components for managing oVirt virtual machines.
c893f3
c893f3
%files machines-ovirt -f ovirt.list
c893f3
c893f3
%package ostree
c893f3
Summary: Cockpit user interface for rpm-ostree
c893f3
# Requires: Uses new translations functionality
c893f3
Requires: %{name}-bridge >= %{required_base}
c893f3
Requires: %{name}-system >= %{required_base}
c893f3
%if 0%{?fedora} > 0 && 0%{?fedora} < 24
c893f3
Requires: rpm-ostree >= 2015.10-1
c893f3
%else
c893f3
Requires: /usr/libexec/rpm-ostreed
c893f3
%endif
c893f3
c893f3
%description ostree
c893f3
The Cockpit components for managing software updates for ostree based systems.
c893f3
c893f3
%files ostree -f ostree.list
c893f3
c893f3
%package pcp
c893f3
Summary: Cockpit PCP integration
c893f3
Requires: %{name}-bridge >= %{required_base}
c893f3
Requires: pcp
c893f3
c893f3
%description pcp
c893f3
Cockpit support for reading PCP metrics and loading PCP archives.
c893f3
c893f3
%files pcp -f pcp.list
c893f3
%{_libexecdir}/cockpit-pcp
c893f3
%{_localstatedir}/lib/pcp/config/pmlogconf/tools/cockpit
c893f3
c893f3
%post 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}
c893f3
%package dashboard
c893f3
Summary: Cockpit remote servers and dashboard
c893f3
Requires: libssh >= %{libssh_version}
c893f3
Provides: %{name}-ssh = %{version}-%{release}
c893f3
# nothing depends on the dashboard, but we can't use it with older versions of the bridge
c893f3
Conflicts: %{name}-bridge < 135
c893f3
Conflicts: %{name}-ws < 135
c893f3
c893f3
%description dashboard
c893f3
Cockpit support for connecting to remote servers (through ssh),
c893f3
bastion hosts, and a basic dashboard.
c893f3
c893f3
%files dashboard -f dashboard.list
c893f3
%{_libexecdir}/cockpit-ssh
c893f3
c893f3
%endif
c893f3
7189eb
%ifarch x86_64 %{arm} aarch64 ppc64le s390x
7189eb
7189eb
%package docker
7189eb
Summary: Cockpit user interface for Docker containers
7189eb
Requires: %{name}-bridge >= %{required_base}
7189eb
Requires: %{name}-shell >= %{required_base}
7189eb
Requires: /usr/bin/docker
b498bd
Requires: /usr/lib/systemd/system/docker.service
b498bd
%if 0%{?fedora} || 0%{?rhel} >= 8
b498bd
Requires: python3
b498bd
%else
57c460
Requires: python2
b498bd
%endif
7189eb
7189eb
%description docker
7189eb
The Cockpit components for interacting with Docker and user interface.
7189eb
This package is not yet complete.
7189eb
7189eb
%files docker -f docker.list
7189eb
7189eb
%endif
7189eb
87e9e1
%ifarch aarch64 x86_64 ppc64le i686 s390x
7189eb
7189eb
%package kubernetes
7189eb
Summary: Cockpit user interface for Kubernetes cluster
7189eb
Requires: /usr/bin/kubectl
7189eb
# Requires: Needs newer localization support
7189eb
Requires: %{name}-bridge >= %{required_base}
7189eb
Requires: %{name}-shell >= %{required_base}
c893f3
BuildRequires: %{go_scl_prefix}golang-bin
c893f3
BuildRequires: %{go_scl_prefix}golang-src
7189eb
Provides: cockpit-stub = %{version}-%{release}
7189eb
7189eb
%description 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
7189eb
%files kubernetes -f kubernetes.list
7189eb
%{_libexecdir}/cockpit-kube-auth
7189eb
%{_libexecdir}/cockpit-kube-launch
7189eb
%{_libexecdir}/cockpit-stub
7189eb
%endif
7189eb
7189eb
%package packagekit
87e9e1
Summary: Cockpit user interface for package updates
7189eb
Requires: %{name}-bridge >= %{required_base}
7189eb
Requires: PackageKit
7189eb
7189eb
%description packagekit
87e9e1
The Cockpit component for installing package updates, via PackageKit.
7189eb
7189eb
%files packagekit -f packagekit.list
7189eb
c893f3
%endif # build optional extension packages
c893f3
7189eb
%changelog
c893f3
* Wed May 30 2018 Martin Pitt <mpitt@redhat.com> 169-1
c893f3
- Update to 169 release
c893f3
- Storage: Offer installation of NFS client support on demand
c893f3
- Containers: Don't try to manage "overlay2" storage without a volume group
c893f3
- Machines: Fix "Start VM" checkbox layout
c893f3
- Software Updates: Fix security update icon rhbz#1582570
c893f3
- Drop obsolete cockpit-bashboard SELinux %post hack rhbz#1570833
c893f3
b498bd
* Tue Apr 17 2018 Martin Pitt <mpitt@redhat.com> 165-3
b498bd
- Revert "noarch" change for cockpit-doc as well
b498bd
b498bd
* Tue Apr 17 2018 Martin Pitt <mpitt@redhat.com> 165-2
b498bd
- Revert "noarch" changes from 165-1, they cause too much fallout
b498bd
b498bd
* Fri Apr 13 2018 Martin Pitt <mpitt@redhat.com> 165-1
b498bd
- Update to 165 release
b498bd
- New VMs can be created on Machines page
b498bd
- Improve LVM volume resizing
b498bd
- Hide Docker storage pool reset button when it cannot work properly
b498bd
- Move NFS management into new details page
b498bd
- Show more details of sessions and services that keep NFS busy
b498bd
- Machines page now shows proper error notifications
b498bd
- Show virtual machines that are being created
b498bd
- Detect if libvirtd is not running and offer to start and/or enable it
b498bd
- Enable building of cockpit-machines-ovirt rhbz#1515796
b498bd
87e9e1
* Mon Feb 26 2018 Martin Pitt <mpitt@redhat.com> 160-3
87e9e1
- storaged: Drop VDO async option rhbz#1548988
87e9e1
87e9e1
* Mon Jan 29 2018 Martin Pitt <mpitt@redhat.com> 160-2
87e9e1
- Add kubevirt Virtual Machines overview
87e9e1
- Redesign package list on Software Updates page and show RHEL Errata
87e9e1
87e9e1
* Wed Jan 10 2018 Martin Pitt <mpitt@redhat.com> 159-1
87e9e1
- Update to 159 release
87e9e1
- Configure data deduplication with VDO devices on Storage page
87e9e1
- Add serial console to virtual Machines page and redesign the Consoles tab
87e9e1
- Show more error message details for failures on virtual Machines page
87e9e1
87e9e1
* Thu Dec 14 2017 Martin Pitt <mpitt@redhat.com> 158-1
87e9e1
- Update to 158 release
87e9e1
- New package "cockpit-packagekit", which provides a "Software Updates" page
87e9e1
  for installing package updates rhbz#1479836
87e9e1
- Add NFS client support to the Storage page
87e9e1
- Add checkboxes for common Storage encryption and mount options
87e9e1
- Adjust cockpit-storaged dependencies to storaged → udisks2 rename
87e9e1
  rhbz#1510667
87e9e1
87e9e1
* Thu Jun 29 2017 Dominik Perpeet <dperpeet@redhat.com> 141-4
87e9e1
- Bump for rebuild on more architectures
87e9e1
87e9e1
* Thu Jun 29 2017 Dominik Perpeet <dperpeet@redhat.com> 141-3
87e9e1
- Fix dashboard dependency rhbz#1466423
87e9e1
87e9e1
* Mon Jun 05 2017 Dominik Perpeet <dperpeet@redhat.com> 141-2
87e9e1
- Build on more architectures
87e9e1
87e9e1
* Mon Jun 05 2017 Dominik Perpeet <dperpeet@redhat.com> 141-1
87e9e1
- Update to 141 release
87e9e1
- Allow users to change Docker container environment variables
87e9e1
- Allow auth commands to store credentials for future challenges
87e9e1
- Attempt to tear down used partitions when formatting disks
87e9e1
- Show the correct known_hosts path on missing/mismatching host keys
87e9e1
- Set HTML content type when serving login page, for better reverse proxy operation
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