Source: cockpit
Section: admin
Priority: optional
Maintainer: Cockpit <cockpit@cockpit-project.org>
Build-Depends: asciidoctor,
               debhelper-compat (= 13),
               dh-python,
               gettext (>= 0.21),
               glib-networking,
               libcrypt-dev,
               libglib2.0-dev (>= 2.68),
               libgnutls28-dev (>= 3.4.3) | gnutls-dev,
               libjson-glib-dev,
               libkrb5-dev (>= 1.11),
               libpam0g-dev,
               libpolkit-agent-1-dev,
               libsystemd-dev (>= 235),
               pkgconf,
               python3,
               python3-pip,
               python3-setuptools,
               python3-wheel,
               systemd-dev | systemd (<< 253-2~),
               zlib1g-dev,
               openssh-client <!nocheck>,
               procps <!nocheck>,
               python3-pytest-asyncio <!nocheck>,
               python3-pytest-timeout <!nocheck>,
Build-Depends-Indep: esbuild,
                     nodejs,
Standards-Version: 4.7.4
Homepage: https://cockpit-project.org/
Vcs-Git: https://salsa.debian.org/utopia-team/cockpit.git
Vcs-Browser: https://salsa.debian.org/utopia-team/cockpit
Rules-Requires-Root: no

Package: cockpit
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends},
         cockpit-bridge (>= ${source:Version}),
         cockpit-ws (>= ${source:Version}),
         cockpit-system (>= ${source:Version}),
Recommends: cockpit-storaged (>= ${source:Version}),
            cockpit-networkmanager (>= ${source:Version}),
            cockpit-packagekit (>= ${source:Version}),
Suggests: cockpit-doc (>= ${source:Version}),
          cockpit-sosreport (>= ${source:Version}),
          xdg-utils,
Description: Web Console for Linux servers
 The Cockpit Web Console enables users to administer GNU/Linux servers using a
 web browser.
 .
 It offers network configuration, log inspection, diagnostic reports, SELinux
 troubleshooting, interactive command-line sessions, and more.

Package: cockpit-bridge
Architecture: all
Depends: ${misc:Depends},
         ${python3:Depends},
Recommends: openssh-client
Replaces: cockpit-pcp (<< 236)
Provides: cockpit-pcp
Conflicts: cockpit-pcp
Suggests: python3-pcp
Description: Cockpit bridge server-side component
 The Cockpit bridge component installed server side and runs commands on
 the system on behalf of the web based user interface.

Package: cockpit-doc
Section: doc
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends}
Description: Cockpit deployment and developer guide
 The Cockpit Deployment and Developer Guide shows sysadmins how to deploy
 Cockpit on their machines as well as helps developers who want to embed
 or extend Cockpit.

Package: cockpit-networkmanager
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends},
         cockpit-bridge (>= ${source:Version}),
         network-manager (>= 1.6)
Description: Cockpit user interface for networking
 The Cockpit components for interacting with networking configuration.
 Incompatible with systemd-networkd/ifupdown defined networks.

Package: cockpit-packagekit
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends},
         cockpit-bridge (>= ${source:Version}),
         packagekit,
         python3,
Description: Cockpit user interface for apps and package updates
 The Cockpit components installing OS updates and Cockpit add-ons,
 via PackageKit.

Package: cockpit-storaged
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends},
         udisks2 (>= 2.9),
         udisks2 (>= 2.10) | libblockdev-mdraid2,
         cockpit-bridge (>= ${source:Version}),
         python3,
         python3-dbus
Suggests: udisks2-btrfs,
          udisks2-lvm2,
          mdadm,
Description: Cockpit user interface for storage
 The Cockpit components for interacting with storage.
 .
 Install udisks2-lvm2 or udisks2-btrfs if you have LVM/btrfs devices and want
 to manage them with Cockpit.

Package: cockpit-system
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends},
         cockpit-bridge (>= ${source:Version}),
         libpwquality-tools,
         openssl,
# policykit-1 was split into multiple packages; keep old name for Debian 11 and Ubuntu
Recommends: sudo | pkexec | policykit-1
Provides: cockpit-shell,
          cockpit-systemd,
          cockpit-tuned,
          cockpit-users
Suggests: lastlog2
Description: Cockpit admin interface for a system
 Cockpit admin interface package for configuring and
 troubleshooting a system.

Package: cockpit-ws
Architecture: any
Depends: ${misc:Depends},
         ${shlibs:Depends},
         openssl,
         libnss-systemd,
Suggests: sssd-dbus (>= 2.6.2),
         python3,
Conflicts: cockpit-tests
Replaces: cockpit-tests (<< 331)
Description: Cockpit Web Service
 The Cockpit Web Service listens on the network, and authenticates
 users.
 .
 Install sssd-dbus for supporting client certificate/smart card authentication
 via sssd/FreeIPA.
 .
 Install python3 for running cockpit-desktop. That presents Cockpit in a
 WebKit view or a web browser without having to run cockpit.service. That
 feature additionally needs either gir1.2-webkit2-* or a web browser
 installed.

Package: cockpit-sosreport
Architecture: all
Multi-Arch: foreign
Depends: ${misc:Depends},
         cockpit-bridge (>= ${source:Version}),
         sos | sosreport
Description: Cockpit user interface for diagnostic reports
 The Cockpit component for creating diagnostic reports with the
 sosreport tool.
