Blame SPECS/cockpit.spec

f573a2
# Globals that may be defined elsewhere
b6b72a
#  * gitcommit xxxx
f573a2
#  * tag 0.91
f573a2
#
b6b72a
ffd391
%define branding auto
5e2f64
%define tag 118
f2124f
%define rev 2
b6b72a
b6b72a
%if %{defined gitcommit}
f573a2
%define extra_flags CFLAGS='-O2 -Wall -Werror -fPIC -g -DWITH_DEBUG'
f2124f
%define stable_api %{gitcommit}
f2124f
%else
f2124f
# The first version with a stable APIs
f2124f
%define stable_api 0.114
b6b72a
%endif
c6174b
b6b72a
%if 0%{?centos}
b6b72a
%define rhel 0
b6b72a
%endif
b6b72a
b6b72a
%define _hardened_build 1
b6b72a
c6174b
%define libssh_version 0.7.1
f89aa4
%if 0%{?fedora} > 0 && 0%{?fedora} < 22
f89aa4
%define libssh_version 0.6.0
f89aa4
%endif
c6174b
b6b72a
Name:           cockpit
b6b72a
%if %{defined gitcommit}
b6b72a
Version:        %{gitcommit}
b6b72a
%else
f89aa4
Version:        %{tag}
b6b72a
%endif
06bfda
Release:        %{rev}%{?dist}
b6b72a
Summary:        A user interface for Linux servers
b6b72a
b6b72a
License:        LGPLv2+
b6b72a
URL:            http://cockpit-project.org/
b6b72a
b6b72a
%if %{defined gitcommit}
b6b72a
Source0:        cockpit-%{version}.tar.gz
b6b72a
%else
f573a2
Source0:        https://github.com/cockpit-project/cockpit/releases/download/%{version}/cockpit-%{version}.tar.xz
b6b72a
%endif
b6b72a
5e2f64
Patch1:	        0001-test-Ensure-cockpit-session-debug-is-off.patch
5e2f64
Patch2:         0002-ws-Turn-session-debug-back-off.patch
0a45bd
b6b72a
BuildRequires: pkgconfig(gio-unix-2.0)
b6b72a
BuildRequires: pkgconfig(json-glib-1.0)
b6b72a
BuildRequires: pkgconfig(polkit-agent-1) >= 0.105
b6b72a
BuildRequires: pam-devel
b6b72a
b6b72a
BuildRequires: autoconf automake
b6b72a
BuildRequires: intltool
c6174b
BuildRequires: libssh-devel >= %{libssh_version}
b6b72a
BuildRequires: openssl-devel
b6b72a
BuildRequires: zlib-devel
b6b72a
BuildRequires: krb5-devel
b6b72a
BuildRequires: libxslt-devel
b6b72a
BuildRequires: docbook-style-xsl
b6b72a
BuildRequires: keyutils-libs-devel
b6b72a
BuildRequires: glib-networking
b6b72a
BuildRequires: sed
b6b72a
b6b72a
BuildRequires: glib2-devel >= 2.37.4
c6174b
BuildRequires: systemd-devel
b6b72a
BuildRequires: polkit
b6b72a
BuildRequires: pcp-libs-devel
f89aa4
BuildRequires: gdb
b6b72a
b6b72a
%if %{defined gitcommit}
f573a2
BuildRequires: krb5-server
b6b72a
%endif
b6b72a
b6b72a
# For documentation
b6b72a
BuildRequires: xmlto
b6b72a
5e2f64
# This is the "cockpit" metapackage. It should only
5e2f64
# Require, Suggest or Recommend other cockpit-xxx subpackages
5e2f64
b6b72a
Requires: %{name}-bridge = %{version}-%{release}
b6b72a
Requires: %{name}-ws = %{version}-%{release}
b6b72a
Requires: %{name}-shell = %{version}-%{release}
f573a2
f573a2
# Optional components (for f24 we use soft deps)
f573a2
%if 0%{?fedora} >= 24 || 0%{?rhel} >= 8
f573a2
Recommends: %{name}-networkmanager = %{version}-%{release}
f573a2
Recommends: %{name}-storaged = %{version}-%{release}
f573a2
%ifarch x86_64 armv7hl
f573a2
Recommends: %{name}-docker = %{version}-%{release}
f573a2
%endif
f573a2
Suggests: %{name}-pcp = %{version}-%{release}
f573a2
Suggests: %{name}-kubernetes = %{version}-%{release}
63454a
Suggests: %{name}-selinux = %{version}-%{release}
f573a2
f573a2
# Older releases need to have strict requirements
f573a2
%else
f573a2
Requires: %{name}-networkmanager = %{version}-%{release}
c6174b
Requires: %{name}-storaged = %{version}-%{release}
c6174b
%ifarch x86_64 armv7hl
b6b72a
Requires: %{name}-docker = %{version}-%{release}
b6b72a
%endif
f573a2
b6b72a
%endif
b6b72a
f573a2
b6b72a
%description
b6b72a
Cockpit runs in a browser and can manage your network of GNU/Linux
b6b72a
machines.
b6b72a
b6b72a
%package bridge
b6b72a
Summary: Cockpit bridge server-side component
b6b72a
Obsoletes: %{name}-daemon < 0.48-2
b6b72a
Requires: polkit
b6b72a
b6b72a
%description bridge
b6b72a
The Cockpit bridge component installed server side and runs commands on the
b6b72a
system on behalf of the web based user interface.
b6b72a
b6b72a
%package doc
b6b72a
Summary: Cockpit deployment and developer guide
b6b72a
b6b72a
%description doc
b6b72a
The Cockpit Deployment and Developer Guide shows sysadmins how to
b6b72a
deploy Cockpit on their machines as well as helps developers who want to
b6b72a
embed or extend Cockpit.
b6b72a
b6b72a
%package pcp
b6b72a
Summary: Cockpit PCP integration
b6b72a
Requires: %{name}-bridge = %{version}-%{release}
b6b72a
Requires: pcp
b6b72a
b6b72a
%description pcp
b6b72a
Cockpit support for reading PCP metrics and loading PCP archives.
b6b72a
b6b72a
%package ws
b6b72a
Summary: Cockpit Web Service
b6b72a
Requires: glib-networking
b6b72a
Requires: openssl
b6b72a
Requires: glib2 >= 2.37.4
c6174b
Requires: libssh >= %{libssh_version}
f573a2
Obsoletes: cockpit-selinux-policy <= 0.83
b6b72a
Requires(post): systemd
b6b72a
Requires(preun): systemd
b6b72a
Requires(postun): systemd
b6b72a
b6b72a
%description ws
b6b72a
The Cockpit Web Service listens on the network, and authenticates users.
b6b72a
b6b72a
%prep
b6b72a
%setup -q
5e2f64
0a45bd
%patch1 -p1
f2124f
%patch2 -p1
b6b72a
b6b72a
%build
f573a2
exec 2>&1
5e2f64
%configure --disable-silent-rules --with-cockpit-user=cockpit-ws --with-branding=auto --with-selinux-config-type=etc_t %{?rhel:--without-storaged-iscsi-sessions}
f573a2
make -j4 %{?extra_flags} all
b6b72a
b6b72a
%check
f573a2
exec 2>&1
f573a2
make -j4 check
b6b72a
b6b72a
%install
c6174b
make install DESTDIR=%{buildroot}
b6b72a
%if %{defined gitcommit}
b6b72a
make install-test-assets DESTDIR=%{buildroot}
b6b72a
%else
b6b72a
rm -rf %{buildroot}/%{_datadir}/%{name}/playground
b6b72a
%endif
b6b72a
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/pam.d
f573a2
install -p -m 644 tools/cockpit.pam $RPM_BUILD_ROOT%{_sysconfdir}/pam.d/cockpit
b6b72a
rm -f %{buildroot}/%{_libdir}/cockpit/*.so
b6b72a
install -p -m 644 AUTHORS COPYING README.md %{buildroot}%{_docdir}/%{name}/
f573a2
f573a2
# On RHEL we don't yet show options for changing language
f573a2
%if 0%{?rhel}
f573a2
echo '{ "linguas": null, "machine-limit": 5 }' > %{buildroot}%{_datadir}/%{name}/shell/override.json
b6b72a
%endif
b6b72a
b6b72a
# Build the package lists for resource packages
f2124f
echo '%dir %{_datadir}/%{name}/base1' > base.list
f2124f
find %{buildroot}%{_datadir}/%{name}/base1 -type f >> base.list
b6b72a
b6b72a
echo '%dir %{_datadir}/%{name}/dashboard' >> shell.list
b6b72a
find %{buildroot}%{_datadir}/%{name}/dashboard -type f >> shell.list
b6b72a
f573a2
echo '%dir %{_datadir}/%{name}/realmd' >> shell.list
f573a2
find %{buildroot}%{_datadir}/%{name}/realmd -type f >> shell.list
f573a2
f573a2
echo '%dir %{_datadir}/%{name}/tuned' >> shell.list
f573a2
find %{buildroot}%{_datadir}/%{name}/tuned -type f >> shell.list
b6b72a
b6b72a
echo '%dir %{_datadir}/%{name}/shell' >> shell.list
b6b72a
find %{buildroot}%{_datadir}/%{name}/shell -type f >> shell.list
b6b72a
5e2f64
echo '%dir %{_datadir}/%{name}/systemd' >> shell.list
5e2f64
find %{buildroot}%{_datadir}/%{name}/systemd -type f >> shell.list
b6b72a
f89aa4
echo '%dir %{_datadir}/%{name}/users' >> shell.list
f89aa4
find %{buildroot}%{_datadir}/%{name}/users -type f >> shell.list
f89aa4
f573a2
echo '%dir %{_datadir}/%{name}/sosreport' > sosreport.list
f573a2
find %{buildroot}%{_datadir}/%{name}/sosreport -type f >> sosreport.list
f573a2
b6b72a
echo '%dir %{_datadir}/%{name}/subscriptions' > subscriptions.list
b6b72a
find %{buildroot}%{_datadir}/%{name}/subscriptions -type f >> subscriptions.list
b6b72a
5e2f64
echo '%dir %{_datadir}/%{name}/storaged' > storaged.list
5e2f64
find %{buildroot}%{_datadir}/%{name}/storaged -type f >> storaged.list
c6174b
5e2f64
echo '%dir %{_datadir}/%{name}/networkmanager' > networkmanager.list
5e2f64
find %{buildroot}%{_datadir}/%{name}/networkmanager -type f >> networkmanager.list
f89aa4
f573a2
echo '%dir %{_datadir}/%{name}/ostree' > ostree.list
f573a2
find %{buildroot}%{_datadir}/%{name}/ostree -type f >> ostree.list
f573a2
5e2f64
# on CentOS systems we don't have the required setroubleshoot-server packages
5e2f64
%if 0%{?centos}
63454a
rm -rf %{buildroot}%{_datadir}/%{name}/selinux
63454a
%else
63454a
echo '%dir %{_datadir}/%{name}/selinux' > selinux.list
63454a
find %{buildroot}%{_datadir}/%{name}/selinux -type f >> selinux.list
63454a
%endif
63454a
b6b72a
%ifarch x86_64 armv7hl
b6b72a
echo '%dir %{_datadir}/%{name}/docker' > docker.list
b6b72a
find %{buildroot}%{_datadir}/%{name}/docker -type f >> docker.list
b6b72a
%else
b6b72a
rm -rf %{buildroot}/%{_datadir}/%{name}/docker
b6b72a
touch docker.list
b6b72a
%endif
b6b72a
b6b72a
%ifarch x86_64
06bfda
%if %{defined gitcommit}
06bfda
%else
63454a
rm %{buildroot}/%{_datadir}/%{name}/kubernetes/override.json
06bfda
%endif
63454a
echo '%dir %{_datadir}/%{name}/kubernetes' > kubernetes.list
63454a
find %{buildroot}%{_datadir}/%{name}/kubernetes -type f >> kubernetes.list
b6b72a
%else
b6b72a
rm -rf %{buildroot}/%{_datadir}/%{name}/kubernetes
b6b72a
touch kubernetes.list
b6b72a
%endif
b6b72a
b6b72a
sed -i "s|%{buildroot}||" *.list
b6b72a
c6174b
# Build the package lists for debug package, and move debug files to installed locations
5e2f64
find %{buildroot}/usr/src/debug%{_datadir}/%{name} -type f -o -type l > debug.partial
5e2f64
sed -i "s|%{buildroot}/usr/src/debug||" debug.partial
5e2f64
sed -n 's/\.map\(\.gz\)\?$/\0/p' *.list >> debug.partial
5e2f64
sed -i '/\.map\(\.gz\)\?$/d' *.list
c6174b
tar -C %{buildroot}/usr/src/debug -cf - . | tar -C %{buildroot} -xf -
c6174b
rm -rf %{buildroot}/usr/src/debug
c6174b
5e2f64
# On RHEL subscriptions, networkmanager, selinux, and sosreport are part of the shell package
c6174b
%if 0%{?rhel}
5e2f64
cat subscriptions.list sosreport.list networkmanager.list selinux.list >> shell.list
f89aa4
%endif
f89aa4
5e2f64
%find_lang %{name}
5e2f64
06bfda
# dwz has trouble with the go binaries
06bfda
# https://fedoraproject.org/wiki/PackagingDrafts/Go
06bfda
%global _dwz_low_mem_die_limit 0
06bfda
f89aa4
# Only strip out debug info in non wip builds
f89aa4
%if %{defined gitcommit}
f89aa4
%define find_debug_info %{nil}
f89aa4
%else
f89aa4
%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} "%{_builddir}/%{?buildsubdir}"
b6b72a
%endif
b6b72a
b6b72a
# Redefine how debug info is built to slip in our extra debug files
b6b72a
%define __debug_install_post   \
f89aa4
   %{find_debug_info} \
5e2f64
   cat debug.partial >> %{_builddir}/%{?buildsubdir}/debugfiles.list \
b6b72a
%{nil}
b6b72a
b6b72a
%files
b6b72a
%{_docdir}/%{name}/AUTHORS
b6b72a
%{_docdir}/%{name}/COPYING
b6b72a
%{_docdir}/%{name}/README.md
b6b72a
%dir %{_datadir}/%{name}
f573a2
%{_datadir}/appdata/cockpit.appdata.xml
f573a2
%{_datadir}/applications/cockpit.desktop
f573a2
%{_datadir}/pixmaps/cockpit.png
f573a2
%doc %{_mandir}/man1/cockpit.1.gz
b6b72a
f2124f
%files bridge -f base.list
b6b72a
%doc %{_mandir}/man1/cockpit-bridge.1.gz
b6b72a
%{_bindir}/cockpit-bridge
b6b72a
%attr(4755, -, -) %{_libexecdir}/cockpit-polkit
b6b72a
%{_libdir}/security/pam_reauthorize.so
b6b72a
b6b72a
%files doc
b6b72a
%exclude %{_docdir}/%{name}/AUTHORS
b6b72a
%exclude %{_docdir}/%{name}/COPYING
b6b72a
%exclude %{_docdir}/%{name}/README.md
b6b72a
%{_docdir}/%{name}
b6b72a
b6b72a
%files pcp
b6b72a
%{_libexecdir}/cockpit-pcp
c6174b
%{_localstatedir}/lib/pcp/config/pmlogconf/tools/cockpit
b6b72a
b6b72a
%post pcp
b6b72a
# HACK - https://bugzilla.redhat.com/show_bug.cgi?id=1185749
c6174b
( cd %{_localstatedir}/lib/pcp/pmns && ./Rebuild -du )
ffd391
# HACK - https://bugzilla.redhat.com/show_bug.cgi?id=1185764
ffd391
# We can't use "systemctl reload-or-try-restart" since systemctl might
ffd391
# be out of sync with reality.
ffd391
/usr/share/pcp/lib/pmlogger reload
b6b72a
5e2f64
%files ws -f %{name}.lang
b6b72a
%doc %{_mandir}/man5/cockpit.conf.5.gz
b6b72a
%doc %{_mandir}/man8/cockpit-ws.8.gz
b6b72a
%doc %{_mandir}/man8/remotectl.8.gz
f89aa4
%doc %{_mandir}/man8/pam_ssh_add.8.gz
b6b72a
%config(noreplace) %{_sysconfdir}/%{name}
b6b72a
%config(noreplace) %{_sysconfdir}/pam.d/cockpit
b6b72a
%{_unitdir}/cockpit.service
b6b72a
%{_unitdir}/cockpit.socket
b6b72a
%{_prefix}/lib/firewalld/services/cockpit.xml
b6b72a
%{_sbindir}/remotectl
f89aa4
%{_libdir}/security/pam_ssh_add.so
b6b72a
%{_libexecdir}/cockpit-ws
f573a2
%{_libexecdir}/cockpit-stub
b6b72a
%attr(4750, root, cockpit-ws) %{_libexecdir}/cockpit-session
c6174b
%attr(775, -, wheel) %{_localstatedir}/lib/%{name}
b6b72a
%{_datadir}/%{name}/static
ffd391
%{_datadir}/%{name}/branding
b6b72a
b6b72a
%pre ws
b6b72a
getent group cockpit-ws >/dev/null || groupadd -r cockpit-ws
b6b72a
getent passwd cockpit-ws >/dev/null || useradd -r -g cockpit-ws -d / -s /sbin/nologin -c "User for cockpit-ws" cockpit-ws
b6b72a
b6b72a
%post ws
b6b72a
%systemd_post cockpit.socket
b6b72a
# firewalld only partially picks up changes to its services files without this
b6b72a
test -f %{_bindir}/firewall-cmd && firewall-cmd --reload --quiet || true
b6b72a
b6b72a
%preun ws
b6b72a
%systemd_preun cockpit.socket
b6b72a
b6b72a
%postun ws
b6b72a
%systemd_postun_with_restart cockpit.socket
f2124f
%systemd_postun_with_restart cockpit.service
b6b72a
f89aa4
%package shell
f89aa4
Summary: Cockpit Shell user interface package
5e2f64
Requires: %{name}-bridge = %{version}-%{release}
f89aa4
Requires: shadow-utils
f89aa4
Requires: grep
f89aa4
Requires: libpwquality
f89aa4
Requires: /usr/bin/date
f89aa4
%if 0%{?rhel}
f89aa4
Provides: %{name}-subscriptions = %{version}-%{release}
f89aa4
Requires: subscription-manager >= 1.13
f89aa4
Provides: %{name}-networkmanager = %{version}-%{release}
f89aa4
Requires: NetworkManager
5e2f64
# Optional components (only when soft deps are supported)
5e2f64
%if 0%{?fedora} >= 24 || 0%{?rhel} >= 8
5e2f64
Recommends: NetworkManager-team
5e2f64
%endif
f89aa4
%endif
f89aa4
Provides: %{name}-assets
f89aa4
Obsoletes: %{name}-assets < 0.32
f89aa4
BuildArch: noarch
f89aa4
f89aa4
%description shell
f89aa4
This package contains the Cockpit shell UI assets.
f89aa4
f89aa4
%files shell -f shell.list
f89aa4
f89aa4
%package storaged
f89aa4
Summary: Cockpit user interface for storage, using Storaged
5e2f64
Requires: %{name}-bridge >= %{version}-%{release}
f2124f
Requires: %{name}-shell >= %{stable_api}
f89aa4
Requires: storaged >= 2.1.1
f2124f
%if 0%{?fedora} >= 24 || 0%{?rhel} >= 8
f2124f
Recommends: storaged-lvm2 >= 2.1.1
f2124f
Recommends: storaged-iscsi >= 2.1.1
f2124f
Recommends: device-mapper-multipath
f2124f
%else
f573a2
Requires: storaged-lvm2 >= 2.1.1
f2124f
Requires: storaged-iscsi >= 2.1.1
f573a2
Requires: device-mapper-multipath
f2124f
%endif
f89aa4
BuildArch: noarch
f89aa4
f89aa4
%description storaged
f89aa4
The Cockpit component for managing storage.  This package uses Storaged.
f89aa4
f89aa4
%files storaged -f storaged.list
f89aa4
f573a2
%package ostree
f573a2
Summary: Cockpit user interface for rpm-ostree
f2124f
Requires: %{name}-bridge >= %{stable_api}
f2124f
Requires: %{name}-shell >= %{stable_api}
06bfda
%if 0%{?fedora} > 0 && 0%{?fedora} < 24
06bfda
Requires: rpm-ostree >= 2015.10-1
06bfda
%else
e4854e
Requires: /usr/libexec/rpm-ostreed
f573a2
%endif
f573a2
f573a2
%description ostree
f573a2
The Cockpit components for managing software updates for ostree based systems.
f573a2
f573a2
%files ostree -f ostree.list
f573a2
b6b72a
# Conditionally built packages below
b6b72a
b6b72a
%if 0%{?rhel} == 0
b6b72a
f573a2
%package sosreport
f573a2
Summary: Cockpit user interface for diagnostic reports
f2124f
Requires: %{name}-bridge >= %{stable_api}
f2124f
Requires: %{name}-shell >= %{stable_api}
f573a2
Requires: sos
f573a2
BuildArch: noarch
f573a2
f573a2
%description sosreport
f573a2
The Cockpit component for creating diagnostic reports with the
f573a2
sosreport tool.
f573a2
f573a2
%files sosreport -f sosreport.list
f573a2
b6b72a
%package subscriptions
b6b72a
Summary: Cockpit subscription user interface package
f2124f
Requires: %{name}-bridge >= %{stable_api}
f2124f
Requires: %{name}-shell >= %{stable_api}
b6b72a
Requires: subscription-manager >= 1.13
b6b72a
BuildArch: noarch
b6b72a
b6b72a
%description subscriptions
b6b72a
This package contains the Cockpit user interface integration with local
b6b72a
subscription management.
b6b72a
b6b72a
%files subscriptions -f subscriptions.list
b6b72a
f2124f
%package networkmanager
f2124f
Summary: Cockpit user interface for networking, using NetworkManager
f2124f
Requires: %{name}-bridge >= %{stable_api}
f2124f
Requires: %{name}-shell >= %{stable_api}
f2124f
Requires: NetworkManager
5e2f64
# Optional components (only when soft deps are supported)
5e2f64
%if 0%{?fedora} >= 24 || 0%{?rhel} >= 8
5e2f64
Recommends: NetworkManager-team
5e2f64
%endif
f2124f
BuildArch: noarch
f2124f
f2124f
%description networkmanager
f2124f
The Cockpit component for managing networking.  This package uses NetworkManager.
f2124f
f2124f
%files networkmanager -f networkmanager.list
f2124f
f2124f
%endif
f2124f
f2124f
%if 0%{?rhel}%{?centos} == 0
f2124f
63454a
%package selinux
63454a
Summary: Cockpit SELinux package
f2124f
Requires: %{name}-bridge >= %{stable_api}
f2124f
Requires: %{name}-shell >= %{stable_api}
63454a
Requires: setroubleshoot-server >= 3.3.3
63454a
BuildArch: noarch
63454a
63454a
%description selinux
63454a
This package contains the Cockpit user interface integration with the
63454a
utility setroubleshoot to diagnose and resolve SELinux issues.
63454a
63454a
%files selinux -f selinux.list
63454a
f573a2
%endif
f573a2
b6b72a
%ifarch x86_64 armv7hl
b6b72a
b6b72a
%package docker
b6b72a
Summary: Cockpit user interface for Docker containers
f2124f
Requires: %{name}-bridge >= %{stable_api}
f2124f
Requires: %{name}-shell >= %{stable_api}
0bd019
Requires: docker >= 1.3.0
5e2f64
Requires: python
b6b72a
b6b72a
%description docker
b6b72a
The Cockpit components for interacting with Docker and user interface.
b6b72a
This package is not yet complete.
b6b72a
b6b72a
%files docker -f docker.list
b6b72a
b6b72a
%endif
b6b72a
b6b72a
%ifarch x86_64
b6b72a
b6b72a
%package kubernetes
b6b72a
Summary: Cockpit user interface for Kubernetes cluster
c6174b
Requires: /usr/bin/kubectl
f2124f
Requires: %{name}-bridge >= %{stable_api}
f2124f
Requires: %{name}-shell >= %{stable_api}
06bfda
BuildRequires: golang-bin
06bfda
BuildRequires: golang-src
b6b72a
b6b72a
%description kubernetes
b6b72a
The Cockpit components for visualizing and configuring a Kubernetes
b6b72a
cluster. Installed on the Kubernetes master. This package is not yet complete.
b6b72a
b6b72a
%files kubernetes -f kubernetes.list
06bfda
%{_libexecdir}/cockpit-kube-auth
06bfda
%{_libexecdir}/cockpit-kube-launch
b6b72a
b6b72a
%endif
b6b72a
b6b72a
%if %{defined gitcommit}
b6b72a
b6b72a
%package test-assets
b6b72a
Summary: Additional stuff for testing Cockpit
f2124f
Requires: %{name}-bridge >= %{stable_api}
f2124f
Requires: %{name}-shell >= %{stable_api}
b6b72a
Requires: openssh-clients
b6b72a
b6b72a
%description test-assets
b6b72a
This package contains programs and other files for testing Cockpit, and
b6b72a
pulls in some necessary packages via dependencies.
b6b72a
b6b72a
%files test-assets
b6b72a
%{_datadir}/%{name}/playground
b6b72a
%{_datadir}/cockpit-test-assets
b6b72a
b6b72a
%endif
b6b72a
b6b72a
%changelog
5e2f64
* Tue Sep 20 2016 Dominik Perpeet <dperpeet@redhat.com> 118-2
5e2f64
- Turn off Cockpit debug session
5e2f64
5e2f64
* Wed Sep 07 2016 Dominik Perpeet <dperpeet@redhat.com> 118-1
5e2f64
- Update to 118 release
5e2f64
- SELinux audit failures can be diagnosed and solutions applied to the system
5e2f64
- Configure storage for Docker containers and images
5e2f64
- Volumes and environment variables can be configured for Docker containers
5e2f64
- Support PAM conversations on the Login screen, enabling two factor authentication
5e2f64
- Cockpit URLs can be proxied with a configured HTTP path prefix
5e2f64
- Timer jobs in systemd can be created and configured
5e2f64
- Display all managed NetworkManager devices
5e2f64
- Add support for network teams
5e2f64
- Prevent removal of last volume from volume group rhbz#1354421
5e2f64
f2124f
* Fri Jul 15 2016 Dominik Perpeet <dperpeet@redhat.com> - 0.114-2
f2124f
- The API of cockpit-bridge and cockpit-shell is now stable, other components
f2124f
  only depend on a version >= 0.114 now, not an exact match to their own version
f2124f
f2124f
* Tue Jul 12 2016 Dominik Perpeet <dperpeet@redhat.com> - 0.114-1
f2124f
- Update to 0.114 release
f2124f
- Red Hat Subscriptions can now specify activation keys and orgs rhbz#1338680
f2124f
- Network configuration of the Ethernet MTU rhbz#1339552
f2124f
- SSH Host keys are show on system page rhbz#1318414
f2124f
- Properly show SSH keys on authentication page rhbz#1336686
f2124f
- Use 'active-backup' as the default for new network bonds rhbz#1348066
f2124f
- Don't show network interfaces where NM_CONTROLLED=no is set rhbz#1330552
f2124f
- Disable tuned correctly when clearing a performance profile rhbz#1330473
f2124f
- Use CockpitLang cookie and Accept-Language for localization
f2124f
- Cockpit terminal now supports shells like fish
f2124f
- Disable the network on/off switch for unknown or unmanaged interfaces
f2124f
  rhbz#1329954 rhbz#1329956
f2124f
- Show intelligent password score error messages rhbz#1330838
f2124f
- Show full string for system hardware info and operating system name rhbz#1331243
f2124f
- Ensure popup-info when creating an account remains on screen rhbz#1340749
f2124f
- Remove erroneous docker dependency rhbz#1349375
f2124f
0a45bd
* Tue May 31 2016 Dominik Perpeet <dperpeet@redhat.com> - 0.108-1
0a45bd
- Update to 0.108 release
0a45bd
- Strict browser security policy for Cockpit is now enforced. This defines which code can be run in a Cockpit session and mitigates a number of browser based attacks.
0a45bd
63454a
* Tue Apr 19 2016 Dominik Perpeet <dperpeet@redhat.com> - 0.103-1
63454a
- Update to 0.103 release
63454a
- When Cockpit fails to connect to a host, relevant SSH command or host details are displayed to help resolve the issue
63454a
- Docker restart policy can be configured when starting a new container
63454a
- Display a single combined dialog for creating logical volumes
63454a
- Don't offer a 'Computer OU' option when joining IPA domains
63454a
- Display binary journal data correctly
63454a
- Display IEC names (eg: MiB) for disk or file system sizes
63454a
- Refuse to shrink logical volumes and prevent negative sizes in file system partition dialogs
63454a
- Apply strict Content-Security-Policy on most of Cockpit to prevent a number of browser based attacks
63454a
- Numerous other bug fixes and admin interface improvements
63454a
06bfda
* Thu Mar 10 2016 Dominik Perpeet <dperpeet@redhat.com> - 0.96-2
06bfda
- Fix selenium tests
06bfda
- Fix issue with dwz / go binaries in packages
06bfda
06bfda
* Thu Mar 3 2016 Dominik Perpeet <dperpeet@redhat.com> - 0.96-1
06bfda
- Update to 0.96 release
06bfda
- Fix memory leaks, mostly related to DBus code
06bfda
- Compatible with docker 1.10
06bfda
- Limit concurrent authentication similar to sshd using 'MaxStartups' setting
06bfda
- Fixed up server disconnection UI
06bfda
- Navigation fixes 
e4854e
f573a2
* Wed Feb 10 2016 Dominik Perpeet <dperpeet@redhat.com> - 0.93-3
f573a2
- Fix session path rhbz#1306145
f573a2
f573a2
* Mon Feb 8 2016 Stef Walter <stefw@redhat.com> - 0.93-2
f573a2
- Fix startup /dev/urandom read issue rhbz#1303582
f573a2
f573a2
* Mon Jan 25 2016 Dominik Perpeet <dperpeet@redhat.com> - 0.93-1
f573a2
- Add tuned support
f573a2
- Exit on idle in cockpit-ws
f573a2
f573a2
* Thu Jan 21 2016 Dominik Perpeet <dperpeet@redhat.com> - 0.92-1
f573a2
- Add OAuth login support
f573a2
- Make SOS report work on Atomic
f573a2
f573a2
* Mon Jan 18 2016 Stef Walter <stefw@redhat.com> - 0.91-2
f573a2
- Depend on correct rpm-ostree RPM on RHEL
f573a2
f573a2
* Fri Jan 15 2016 Dominik Perpeet <dperpeet@redhat.com> - 0.91-1
f573a2
- Update to 0.91 release
f573a2
- Fix Cockpit session issues with a second machine rhbz#1277938
f573a2
- Split out docker rhbz#1297797
f573a2
- Distribute licenses of included components in the source rpm
f573a2
- Reworked TLS certificates for Cockpit
f573a2
- Remove custom SELinux policy
f573a2
- SOS report UI page
f573a2
- User interface for OSTree upgrades and rollbacks
f573a2
- Offer to activate multipathd for multipath disks
f573a2
f89aa4
* Thu Oct 08 2015 Peter <petervo@redhat.com> - 0.77-3
f89aa4
- Update cockpit.pam to include pam_reauthorize and pam_ssh_add rhbz#1269623
f89aa4
f89aa4
* Wed Sep 30 2015 Stef Walter <stefw@redhat.com> - 0.77-2
f89aa4
- Fix extreme CPU usage bug rhbz#1266503
f89aa4
- Fix regressions in 0.77 rhbz#1266566
f89aa4
f89aa4
* Tue Sep 22 2015 Stef Walter <stefw@redhat.com> - 0.77-1
f89aa4
- Work better with multipath storage
f89aa4
- Deletion of kubernetes objects
f89aa4
- Cleaner URLs in the bookmark bar
f89aa4
- Show a warning when adding too many machines
f89aa4
- Make authentication work when embedding Cockpit
f89aa4
- Complete componentizing Cockpit
f89aa4
f89aa4
* Thu Aug 13 2015 Stef Walter <stefw@redhat.com> - 0.70-2
f89aa4
- kubernetes-client is not available on kubernetes yet
c6174b
f89aa4
* Wed Aug 12 2015 Stef Walter <stefw@redhat.com> - 0.70-1
f89aa4
- Update to 0.70 release
f89aa4
- Depend on kubernetes-client instead of kubernetes
c6174b
f89aa4
* Thu Aug 06 2015 Stef Walter <stefw@redhat.com> - 0.69-1
f89aa4
- Update to 0.69 release.
c6174b
f89aa4
* Wed Jul 29 2015 Peter <petervo@redhat.com> - 0.68-1
f89aa4
- Update to 0.68 release.
c6174b
f89aa4
* Thu Jul 23 2015 Peter <petervo@redhat.com> - 0.66-1
f89aa4
- Update to 0.66 release
0bd019
f89aa4
* Fri Jul 17 2015 Peter <petervo@redhat.com> - 0.65-2
f89aa4
- Require libssh 0.7.1 on fedora >= 22 systems
ffd391
f89aa4
* Wed Jul 15 2015 Peter <petervo@redhat.com> - 0.65-1
f89aa4
- Update to 0.65 release
ffd391
f89aa4
* Wed Jul 08 2015 Peter <petervo@redhat.com> - 0.64-1
f89aa4
- Update to 0.64 release
ffd391
f89aa4
* Wed Jul 01 2015 Peter <petervo@redhat.com> - 0.63-1
f89aa4
- Update to 0.63 release
f89aa4
- Remove cockpit-docker for armv7hl while docker
f89aa4
  packages are being fixed
ffd391
f89aa4
* Thu Jun 25 2015 Peter <petervo@redhat.com> - 0.62-1
f89aa4
- Update to 0.62 release
ffd391
f89aa4
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.61-2
f89aa4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b6b72a
f89aa4
* Wed Jun 10 2015 Peter <petervo@redhat.com> - 0.61-1
f89aa4
- Update to 0.61 release
b6b72a
f89aa4
* Mon Jun 01 2015 Stef Walter <stefw@redhat.com> - 0.60-1
f89aa4
- Update to 0.60 release
f89aa4
f89aa4
* Wed May 27 2015 Peter <petervo@redhat.com> - 0.59-1
f89aa4
- Update to 0.59 release
f89aa4
f89aa4
* Fri May 22 2015 Peter <petervo@redhat.com> - 0.58-1
f89aa4
- Update to 0.58 release
f89aa4
f89aa4
* Wed May 20 2015 Peter <petervo@redhat.com> - 0.57-1
f89aa4
- Update to 0.57 release
f89aa4
f89aa4
* Wed May 13 2015 Peter <petervo@redhat.com> - 0.56-1
f89aa4
- Update to 0.56 release
f89aa4
f89aa4
* Wed May 06 2015 Stef Walter <stefw@redhat.com> - 0.55-1
f89aa4
- Update to 0.55 release
f89aa4
f89aa4
* Fri Apr 24 2015 Peter <petervo@redhat.com> - 0.54-1
f89aa4
- Update to 0.54 release
f89aa4
f89aa4
* Tue Apr 21 2015 Peter <petervo@redhat.com> - 0.53-1
b6b72a
- Update to 0.53 release
b6b72a
b6b72a
* Thu Apr 16 2015 Stef Walter <stefw@redhat.com> - 0.52-1
b6b72a
- Update to 0.52 release
b6b72a
f89aa4
* Tue Apr 14 2015 Peter <petervo@redhat.com> - 0.51-1
b6b72a
- Update to 0.51 release
b6b72a
b6b72a
* Tue Apr 07 2015 Stef Walter <stefw@redhat.com> - 0.50-1
b6b72a
- Update to 0.50 release
b6b72a
f89aa4
* Wed Apr 01 2015 Stephen Gallagher <sgallagh@redhat.com> 0.49-2
f89aa4
- Fix incorrect Obsoletes: of cockpit-daemon
f89aa4
f89aa4
* Wed Apr 01 2015 Peter <petervo@redhat.com> - 0.49-1
b6b72a
- Update to 0.49 release.
b6b72a
- cockpitd was renamed to cockpit-wrapper the cockpit-daemon
b6b72a
  package was removed and is now installed with the
b6b72a
  cockpit-bridge package.
b6b72a
f89aa4
* Mon Mar 30 2015 Peter <petervo@redhat.com> - 0.48-1
b6b72a
- Update to 0.48 release
b6b72a
f89aa4
* Mon Mar 30 2015 Stephen Gallagher <sgallagh@redhat.com> 0.47-2
f89aa4
- Don't attempt to build cockpit-kubernetes on armv7hl
f89aa4
f89aa4
* Fri Mar 27 2015 Peter <petervo@redhat.com> - 0.47-1
f89aa4
- Update to 0.47 release, build docker on armvrhl
f89aa4
b6b72a
* Thu Mar 26 2015 Stef Walter <stefw@redhat.com> - 0.46-1
b6b72a
- Update to 0.46 release
b6b72a
b6b72a
* Mon Mar 23 2015 Stef Walter <stefw@redhat.com> - 0.45-1
b6b72a
- Update to 0.45 release
b6b72a
b6b72a
* Sat Mar 21 2015 Stef Walter <stefw@redhat.com> - 0.44-3
b6b72a
- Add back debuginfo files to the right place
b6b72a
b6b72a
* Fri Mar 20 2015 Stef Walter <stefw@redhat.com> - 0.44-2
b6b72a
- Disable separate debuginfo for now: build failure
b6b72a
b6b72a
* Fri Mar 20 2015 Stef Walter <stefw@redhat.com> - 0.44-1
b6b72a
- Update to 0.44 release
b6b72a
b6b72a
* Thu Mar 19 2015 Stef Walter <stefw@redhat.com> - 0.43-2
b6b72a
- Don't break EPEL or CentOS builds due to missing branding
b6b72a
b6b72a
* Wed Mar 18 2015 Stef Walter <stefw@redhat.com> - 0.43-1
b6b72a
- Update to 0.43 release
b6b72a
b6b72a
* Tue Mar 17 2015 Stef Walter <stefw@redhat.com> - 0.42-2
b6b72a
- Fix obseleting cockpit-assets
b6b72a
b6b72a
* Sat Mar 14 2015 Stef Walter <stefw@redhat.com> - 0.42-1
b6b72a
- Update to 0.42 release
b6b72a
b6b72a
* Wed Mar 04 2015 Stef Walter <stefw@redhat.com> - 0.41-1
b6b72a
- Update to 0.41 release
b6b72a
b6b72a
* Thu Feb 26 2015 Stef Walter <stefw@redhat.com> - 0.40-1
b6b72a
- Update to 0.40 release
b6b72a
b6b72a
* Thu Feb 19 2015 Stef Walter <stefw@redhat.com> - 0.39-1
b6b72a
- Update to 0.39 release
b6b72a
b6b72a
* Wed Jan 28 2015 Stef Walter <stefw@redhat.com> - 0.38-1
b6b72a
- Update to 0.38 release
b6b72a
b6b72a
* Thu Jan 22 2015 Stef Walter <stefw@redhat.com> - 0.37-1
b6b72a
- Update to 0.37 release
b6b72a
b6b72a
* Mon Jan 12 2015 Stef Walter <stefw@redhat.com> - 0.36-1
b6b72a
- Update to 0.36 release
b6b72a
b6b72a
* Mon Dec 15 2014 Stef Walter <stefw@redhat.com> - 0.35-1
b6b72a
- Update to 0.35 release
b6b72a
b6b72a
* Thu Dec 11 2014 Stef Walter <stefw@redhat.com> - 0.34-1
b6b72a
- Update to 0.34 release
b6b72a
b6b72a
* Fri Dec 05 2014 Stef Walter <stefw@redhat.com> - 0.33-3
b6b72a
- Only depend on docker stuff on x86_64
b6b72a
b6b72a
* Fri Dec 05 2014 Stef Walter <stefw@redhat.com> - 0.33-2
b6b72a
- Only build docker stuff on x86_64
b6b72a
b6b72a
* Wed Dec 03 2014 Stef Walter <stefw@redhat.com> - 0.33-1
b6b72a
- Update to 0.33 release
b6b72a
b6b72a
* Mon Nov 24 2014 Stef Walter <stefw@redhat.com> - 0.32-1
b6b72a
- Update to 0.32 release
b6b72a
b6b72a
* Fri Nov 14 2014 Stef Walter <stefw@redhat.com> - 0.31-1
b6b72a
- Update to 0.31 release
b6b72a
b6b72a
* Wed Nov 12 2014 Stef Walter <stefw@redhat.com> - 0.30-1
b6b72a
- Update to 0.30 release
b6b72a
- Split Cockpit into various sub packages
b6b72a
b6b72a
* Wed Nov 05 2014 Stef Walter <stefw@redhat.com> - 0.29-3
b6b72a
- Don't require test-assets from selinux-policy
b6b72a
- Other minor tweaks and fixes
b6b72a
b6b72a
* Wed Nov 05 2014 Stef Walter <stefw@redhat.com> - 0.29-2
b6b72a
- Include selinux policy as a dep where required
b6b72a
b6b72a
* Wed Nov 05 2014 Stef Walter <stefw@redhat.com> - 0.29-1
b6b72a
- Update to 0.29 release
b6b72a
b6b72a
* Thu Oct 16 2014 Stef Walter <stefw@redhat.com> - 0.28-1
b6b72a
- Update to 0.28 release
b6b72a
- cockpit-agent was renamed to cockpit-bridge
b6b72a
b6b72a
* Fri Oct 10 2014 Stef Walter <stefw@redhat.com> - 0.27-1
b6b72a
- Update to 0.27 release
b6b72a
- Don't create cockpit-*-admin groups rhbz#1145135
b6b72a
- Fix user management for non-root users rhbz#1140562
b6b72a
- Fix 'out of memory' error during ssh auth rhbz#1142282
b6b72a
b6b72a
* Wed Oct 08 2014 Stef Walter <stefw@redhat.com> - 0.26-1
b6b72a
- Update to 0.26 release
b6b72a
- Can see disk usage on storage page rhbz#1142459
b6b72a
- Better order for lists of block devices rhbz#1142443
b6b72a
- Setting container memory limit fixed rhbz#1142362
b6b72a
- Can create storage volume of maximum capacity rhbz#1142259
b6b72a
- Fix RAID device Bitmap enable/disable error rhbz#1142248
b6b72a
- Docker page connects to right machine rhbz#1142229
b6b72a
- Clear the format dialog label correctly rhbz#1142228
b6b72a
- No 'Drop Privileges' item in menu for root rhbz#1142197
b6b72a
- Don't flash 'Server has closed Connection on logout rhbz#1142175
b6b72a
- Non-root users can manipulate user accounts rhbz#1142154
b6b72a
- Fix strange error message when editing user accounts rhbz#1142154
b6b72a
b6b72a
* Wed Sep 24 2014 Stef Walter <stefw@redhat.com> - 0.25-1
b6b72a
- Update to 0.25 release
b6b72a
b6b72a
* Wed Sep 17 2014 Stef Walter <stefw@redhat.com> - 0.24-1
b6b72a
- Update to 0.24 release
b6b72a
b6b72a
* Wed Sep 10 2014 Stef Walter <stefw@redhat.com> - 0.23-1
b6b72a
- Update to 0.23 release
b6b72a
b6b72a
* Wed Sep 03 2014 Stef Walter <stefw@redhat.com> - 0.22-1
b6b72a
- Update to 0.22 release
b6b72a
b6b72a
* Tue Aug 26 2014 Patrick Uiterwijk <puiterwijk@redhat.com> - 0.21-1
b6b72a
- Update to 0.21 release
b6b72a
b6b72a
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-2
b6b72a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
b6b72a
b6b72a
* Thu Aug 14 2014 Stef Walter <stefw@redhat.com> 0.20-1
b6b72a
- Update to 0.20 release
b6b72a
b6b72a
* Thu Aug 07 2014 Stef Walter <stefw@redhat.com> 0.19-1
b6b72a
- Update to 0.19 release
b6b72a
b6b72a
* Wed Jul 30 2014 Stef Walter <stefw@redhat.com> 0.18-1
b6b72a
- Update to 0.18 release
b6b72a
- Add glib-networking build requirement
b6b72a
- Let selinux-policy-targetted distribute selinux policy
b6b72a
b6b72a
* Mon Jul 28 2014 Colin Walters <walters@verbum.org> 0.17-2
b6b72a
- Drop Requires and references to dead test-assets subpackage
b6b72a
b6b72a
* Thu Jul 24 2014 Stef Walter <stefw@redhat.com> 0.17-1
b6b72a
- Update to 0.17 release
b6b72a
b6b72a
* Wed Jul 23 2014 Stef Walter <stefw@redhat.com> 0.16-3
b6b72a
- Distribute our own selinux policy rhbz#1110758
b6b72a
b6b72a
* Tue Jul 22 2014 Stef Walter <stefw@redhat.com> 0.16-2
b6b72a
- Refer to cockpit.socket in scriptlets rhbz#1110764
b6b72a
b6b72a
* Thu Jul 17 2014 Stef Walter <stefw@redhat.com> 0.16-1
b6b72a
- Update to 0.16 release
b6b72a
b6b72a
* Thu Jul 10 2014 Stef Walter <stefw@redhat.com> 0.15-1
b6b72a
- Update to 0.15 release
b6b72a
- Put pam_reauthorize.so in the cockpit PAM stack
b6b72a
b6b72a
* Thu Jul 03 2014 Stef Walter <stefw@redhat.com> 0.14-1
b6b72a
- Update to 0.14 release
b6b72a
b6b72a
* Mon Jun 30 2014 Stef Walter <stefw@redhat.com> 0.13-1
b6b72a
- Update to 0.13 release
b6b72a
b6b72a
* Tue Jun 24 2014 Stef Walter <stefw@redhat.com> 0.12-1
b6b72a
- Update to upstream 0.12 release
b6b72a
b6b72a
* Fri Jun 20 2014 Stef Walter <stefw@redhat.com> 0.11-1
b6b72a
- Update to upstream 0.11 release
b6b72a
b6b72a
* Thu Jun 12 2014 Stef Walter <stefw@redhat.com> 0.10-1
b6b72a
- Update to upstream 0.10 release
b6b72a
b6b72a
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-2
b6b72a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b6b72a
b6b72a
* Fri May 23 2014 Stef Walter <stefw@redhat.com> 0.9-1
b6b72a
- Update to upstream 0.9 release
b6b72a
- Fix file attribute for cockpit-polkit
b6b72a
b6b72a
* Wed May 21 2014 Stef Walter <stefw@redhat.com> 0.8-1
b6b72a
- Update to upstream 0.8 release
b6b72a
- cockpitd now runs as a user session DBus service
b6b72a
b6b72a
* Mon May 19 2014 Stef Walter <stefw@redhat.com> 0.7-1
b6b72a
- Update to upstream 0.7 release
b6b72a
b6b72a
* Wed May 14 2014 Stef Walter <stefw@redhat.com> 0.6-1
b6b72a
- Update to upstream 0.6 release
b6b72a
b6b72a
* Tue Apr 15 2014 Stef Walter <stefw@redhat.com> 0.5-1
b6b72a
- Update to upstream 0.5 release
b6b72a
b6b72a
* Thu Apr 03 2014 Stef Walter <stefw@redhat.com> 0.4-1
b6b72a
- Update to upstream 0.4 release
b6b72a
- Lots of packaging cleanup and polish
b6b72a
b6b72a
* Fri Mar 28 2014 Stef Walter <stefw@redhat.com> 0.3-1
b6b72a
- Update to upstream 0.3 release
b6b72a
b6b72a
* Wed Feb 05 2014 Patrick Uiterwijk (LOCAL) <puiterwijk@redhat.com> - 0.2-0.4.20140204git5e1faad
b6b72a
- Redid the release tag
b6b72a
b6b72a
* Tue Feb 04 2014 Patrick Uiterwijk (LOCAL) <puiterwijk@redhat.com> - 0.2-0.3.5e1faadgit
b6b72a
- Fixed license tag
b6b72a
- Updated to new FSF address upstream
b6b72a
- Removing libgsystem before build
b6b72a
- Now claiming specific manpages
b6b72a
- Made the config files noreplace
b6b72a
- Removed the test assets
b6b72a
- Put the web assets in a subpackage
b6b72a
b6b72a
* Tue Feb 04 2014 Patrick Uiterwijk (LOCAL) <puiterwijk@redhat.com> - 0.2-0.2.5e1faadgit
b6b72a
- Patch libgsystem out