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