cockpit (184-1) unstable; urgency=medium
authorMartin Pitt <mpitt@debian.org>
Thu, 13 Dec 2018 18:42:02 +0000 (18:42 +0000)
committerMartin Pitt <mpitt@debian.org>
Thu, 13 Dec 2018 18:42:02 +0000 (18:42 +0000)
  * New upstream release:
    - Machines: Dialog and tab layout is now responsive
    - Storage: Filesystem labels are validated upfront
    - Storage: Some mount options are prefilled when needed
    - Integration of Cockpit pages on the desktop

[dgit import unpatched cockpit 184-1]

29 files changed:
1  2 
debian/TODO
debian/adjust-for-release
debian/changelog
debian/cockpit-bridge.install
debian/cockpit-dashboard.install
debian/cockpit-doc.install
debian/cockpit-docker.install
debian/cockpit-machines.install
debian/cockpit-networkmanager.install
debian/cockpit-packagekit.install
debian/cockpit-pcp.install
debian/cockpit-storaged.install
debian/cockpit-system.install
debian/cockpit-tests.install
debian/cockpit-ws.dirs
debian/cockpit-ws.install
debian/cockpit-ws.postinst
debian/cockpit.install
debian/compat
debian/control
debian/copyright
debian/copyright.template
debian/gbp.conf
debian/rules
debian/source/format
debian/source/lintian-overrides
debian/tests/control
debian/tests/smoke
debian/watch

diff --cc debian/TODO
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..a6e45f18c17b8c06b907d484cc4213edee3594d5
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2 @@@
++- generate proper upstream changelog from
++  https://github.com/cockpit-project/cockpit/releases
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..bc5b927a112173c71c0837fd23d3592bd5106345
new file mode 100755 (executable)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,29 @@@
++#!/bin/sh
++# The upstream Debian packaging in tools/debian/ applies to all supported
++# Debian/Ubuntu release targets of Cockpit. In some of them, some
++# features or build dependendencies might not be available or are deliberately
++# disabled.
++# This script can modify (in-place) the debian/* packaging for a particular
++# release (first CLI argument). It gets called by
++# https://github.com/cockpit-project/cockpituous/blob/master/release/release-dsc
++# for building Debian/Ubuntu packages for a new Cockpit release.
++
++set -eu
++if [ -z "${1:-}" ] || [ -n "${2:-}" ]; then
++    echo "Usage: $0 <release>" >&2
++    exit 1
++fi
++release="$1"
++
++debian_dir=$(dirname $(readlink -f "$0"))
++
++set -x
++# Remove PCP build dependencies, binary package, and Suggests: while pcp is not in stable
++# (https://tracker.debian.org/pcp)
++case "$release" in
++    stable|stretch)
++        sed -i '/libpcp.*-dev/d; /^Package: cockpit-pcp/,/^$/ d; /cockpit-pcp/d' $debian_dir/control
++        # also remove the files, otherwise --fail-missing breaks the build
++        sed -i 's/for m in /&pcp /' $debian_dir/rules
++        ;;
++esac
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..7a9510b21275bdb12618303399b7626ece2c4cd3
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,515 @@@
++cockpit (184-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Machines: Dialog and tab layout is now responsive
++    - Storage: Filesystem labels are validated upfront
++    - Storage: Some mount options are prefilled when needed
++    - Integration of Cockpit pages on the desktop
++
++ -- Martin Pitt <mpitt@debian.org>  Thu, 13 Dec 2018 18:42:02 +0000
++
++cockpit (183-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Machines: Manage storage pools
++    - Kernel Dump: Support non-local targets
++    - Respect SSH configuration
++    - Never send Content-Length with chunked encoding
++
++ -- Martin Pitt <mpitt@debian.org>  Wed, 28 Nov 2018 14:52:23 +0000
++
++cockpit (182-1) unstable; urgency=medium
++
++  * New upstream release:
++    - libvirt connection choice during VM creation
++    - PackageKit page update severity tooltip
++    - PackageKit page display registration status clearly
++
++ -- Martin Pitt <mpitt@debian.org>  Wed, 14 Nov 2018 16:37:50 +0000
++
++cockpit (181-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Followup fixes related to the switch away from react-lite
++    - Memory graph layout and color improvements
++    - Machines: edit network interfaces
++    - Update look of lists to match Patternfly
++
++ -- Martin Pitt <mpitt@debian.org>  Wed, 31 Oct 2018 17:46:38 +0000
++
++cockpit (180-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Move to ssh SHA256 fingerprints
++    - Machines: Show error messages in the correct place
++
++ -- Martin Pitt <mpitt@debian.org>  Fri, 12 Oct 2018 12:54:43 +0000
++
++cockpit (179-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Machines: Detach disk from VM with LibvirtDBus provider
++    - Machines: Offer cockpit-machines as Application
++
++ -- Martin Pitt <mpitt@debian.org>  Thu, 04 Oct 2018 14:10:59 +0000
++
++cockpit (178-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Lots of crash fixes
++
++ -- Martin Pitt <mpitt@debian.org>  Wed, 19 Sep 2018 12:52:57 +0000
++
++cockpit (177-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Storage: Support LUKS v2
++    - Support centrally-managed SSH known hosts
++    - Drop support for Internet Explorer
++
++ -- Martin Pitt <mpitt@debian.org>  Wed, 05 Sep 2018 18:52:07 +0000
++
++cockpit (176-2) unstable; urgency=medium
++
++  * Fix arch-indep build.
++    When building only arch-indep packages, the cockpit-ws package does not
++    get built, and trying to remove the firewalld service failed.
++    (Closes: #907108)
++
++ -- Martin Pitt <mpitt@debian.org>  Sat, 25 Aug 2018 08:35:14 +0000
++
++cockpit (176-1) unstable; urgency=medium
++
++  * New upstream release 175:
++    - Network bound disk encryption
++  * New upstream release 176:
++    - Login: Suggest other browser when browser is unsupported
++    - Fix building against libssh 0.8
++    - Stop shipping firewall service file with recent firewalld
++      (Closes: #905389)
++
++ -- Martin Pitt <mpitt@debian.org>  Wed, 22 Aug 2018 14:23:53 +0000
++
++cockpit (174-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Kubernetes: VM detail page
++    - Realmd: Install on demand
++
++ -- Martin Pitt <mpitt@debian.org>  Wed, 01 Aug 2018 15:31:09 +0000
++
++cockpit (173-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Storage: Offer installation of VDO
++    - Machines: Add disks to a virtual machine
++  * Re-enable cockpit-pcp package, pcp has been in testing for a while now.
++
++ -- Martin Pitt <mpitt@debian.org>  Wed, 25 Jul 2018 16:38:11 +0000
++
++cockpit (172-1) unstable; urgency=medium
++
++  * New upstream release:
++    - System: Offer installation of PCP
++    - Software Updates: Improve layout in mobile mode
++    - Remove ability to drop privileges from navigation bar
++    - API: Introduce flow control for all channels
++    - Python 3 support
++
++ -- Martin Pitt <mpitt@debian.org>  Wed, 11 Jul 2018 15:15:07 +0000
++
++cockpit (171-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Machines: Add virtual CPU configuration
++    - Kubernetes: Add KubeVirt pod metrics
++    - Docker: Show container volumes
++    - Fix broken actions for non-administrators
++    - Networking: Handle non-running NetworkManager
++    - Accounts: User role improvements
++    - Localize times
++
++ -- Martin Pitt <mpitt@debian.org>  Wed, 27 Jun 2018 18:39:25 +0000
++
++cockpit (170-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Software Updates: Layout rework
++    - oVirt: Use authenticated libvirt connection by default
++
++ -- Martin Pitt <mpitt@debian.org>  Wed, 13 Jun 2018 11:55:54 +0000
++
++cockpit (169-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Storage: Offer installation of NFS client support
++    - System: Request FreeIPA SSL certificate for Cockpit's web server
++    - Services: Show unit relationships
++    - Provide motd help about how to access cockpit
++
++ -- Martin Pitt <mpitt@debian.org>  Wed, 30 May 2018 11:29:40 +0000
++
++cockpit (168-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Improve checks for root privilege availability
++
++ -- Martin Pitt <mpitt@debian.org>  Wed, 16 May 2018 10:14:12 +0000
++
++cockpit (167-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Networking: Add Firewall Configuration
++    - Kubernetes: Show Kubevirt Registry Disks
++
++ -- Martin Pitt <mpitt@debian.org>  Wed, 02 May 2018 16:36:41 +0000
++
++cockpit (166-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Kubernetes: Add creation of Virtual Machines
++    - Realms: Automatically set up Kerberos keytab for Cockpit web server
++    - Numbers now get formatted correctly for the selected language
++
++ -- Martin Pitt <mpitt@debian.org>  Wed, 18 Apr 2018 15:02:24 +0200
++
++cockpit (165-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Storage: Show more details of sessions and services that keep NFS busy
++    - Machines: Detect if libvirtd is not running
++    - Machines: Show virtual machines that are being created
++
++ -- Martin Pitt <mpitt@debian.org>  Wed, 04 Apr 2018 13:18:47 +0200
++
++cockpit (164-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Storage: Move NFS management into new details page
++    - System: Show available package updates and missing registration
++    - System: Fix inconsistent tooltips
++    - Logs: Change severities to officially defined syslog levels
++    - Machines: Add error notifications
++    - Accessibility improvements
++    - Reloading the page in the browser now reloads Cockpit package manifests
++
++ -- Martin Pitt <mpitt@debian.org>  Wed, 21 Mar 2018 16:33:50 +0100
++
++cockpit (163-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Drop "Transfer data asynchronously" VDO option on Storage page
++    - Hide Docker storage pool reset button when it cannot work properly
++    - Update jQuery to version 3.3.1 (deprecated cockpit API!)
++
++ -- Martin Pitt <mpitt@debian.org>  Wed, 07 Mar 2018 14:01:26 +0100
++
++cockpit (162-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Show pod name and disks of VMs running in Kubernetes
++    - Tighten up the default Content-Security-Policy
++
++ -- Martin Pitt <mpitt@debian.org>  Wed, 21 Feb 2018 17:00:36 +0100
++
++cockpit (161-1) unstable; urgency=medium
++
++  * New upstream release:
++    - New VMs can be created on Machines page
++    - VMs running in Kubernetes can now be deleted
++    - Improve LVM volume resizing
++    - Add new Hardware Information page
++    - Load Application metadata (Appstream) packages on demand on Debian/Ubuntu
++    - Stop advertising and supporting cockpit-bundled jQuery library
++
++ -- Martin Pitt <mpitt@debian.org>  Wed, 07 Feb 2018 12:50:15 +0100
++
++cockpit (160-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Add kubevirt Virtual Machines overview
++    - Redesign package list on Software Updates page and show RHEL Errata
++    - Install AppStream collection metadata packages on demand on Apps page
++    - Add AppStream metadata to cockpit-sosreport for showing up on Apps page
++    - Change CPU graphs to use "100%" for a fully loaded multi-processor system
++    - Show storage, network, and other numbers with 3 digits of precision
++    - Add an example bastion container
++
++ -- Martin Pitt <mpitt@debian.org>  Wed, 24 Jan 2018 11:02:51 +0100
++
++cockpit (159-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Configure data deduplication with VDO devices on Storage page
++    - Add serial console to virtual Machines page and redesign the
++      Consoles tab
++    - Show more error message details for failures on virtual Machines page
++
++ -- Martin Pitt <mpitt@debian.org>  Wed, 10 Jan 2018 14:34:54 +0100
++
++cockpit (158-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Add check boxes for common NFS mount options
++    - Clarify Software Update status if only security updates are available
++    - Create self-signed certificates with SubjectAltName
++
++ -- Martin Pitt <mpitt@debian.org>  Wed, 13 Dec 2017 11:11:20 +0100
++
++cockpit (157-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Add Networks tab to overview on Machines page
++    - The Apps page now displays SVG app icons
++
++ -- Martin Pitt <mpitt@debian.org>  Thu, 30 Nov 2017 15:08:08 +0100
++
++cockpit (156-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Redesign navigation and support mobile browsing
++    - Use /etc/cockpit/krb5.keytab if present to support alternate keytabs
++    - Add project homepage link to Apps page
++    - Maintain issue(5) file with current Cockpit status
++
++ -- Martin Pitt <mpitt@debian.org>  Thu, 16 Nov 2017 10:08:35 +0100
++
++cockpit (155-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Add NFS client support to the Storage page
++    - Fix Terminal rendering issues in Chrome
++    - Prevent closing Terminal with Ctrl+W when focused
++
++ -- Martin Pitt <mpitt@debian.org>  Tue, 07 Nov 2017 09:51:07 +0100
++
++cockpit (154-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Center the "Disconnected" message in the content area
++    - Remove long-obsolete "./configure --branding" option
++
++ -- Martin Pitt <mpitt@debian.org>  Wed, 18 Oct 2017 11:42:03 +0200
++
++cockpit (153-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Clean up rpmlint/lintian errors in the packages
++
++ -- Martin Pitt <mpitt@debian.org>  Tue, 17 Oct 2017 11:08:58 +0200
++
++cockpit (152-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Add Applications page
++    - Add automatic update configuration for dnf to Software Updates
++    - Fix cockpit-bridge crash if /etc/os-release does not exist
++
++ -- Martin Pitt <mpitt@debian.org>  Fri, 06 Oct 2017 17:23:09 +0200
++
++cockpit (151-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Support loading SSH keys from arbitrary paths
++  * Ignore PhantomJS crashes in avocado autopkgtest
++    checklogin-basic.py causes a PhantomJS crash on Ubuntu artful on amd64
++    which does not reproduce in QEMU. (Closes: #873241)
++  * Add smoke autopkgtest that can run in containers.
++    Add a simple test of cockpit-bridge and the login page to ensure that
++    packages have the right dependencies and contents, and that the systemd
++    units are set up correctly to get a login page on
++    https://localhost:9090.
++    This can also run in a container and thus in Debian's CI and on all
++    Ubuntu architectures.
++
++ -- Martin Pitt <mpitt@debian.org>  Thu, 21 Sep 2017 10:25:46 +0200
++
++cockpit (150-2) unstable; urgency=medium
++
++  * Drop nodejs-legacy autopkgtest dependency. That package ceased to exist,
++    and the tests don't need the /usr/bin/node binary.
++
++ -- Martin Pitt <mpitt@debian.org>  Mon, 11 Sep 2017 08:28:22 +0200
++
++cockpit (150-1) unstable; urgency=medium
++
++  * New upstream release 149:
++    - Support sending non-maskable interrupt to VMs
++    - Add information about non-met conditions for systemd services
++    - Clear cockpit cookie on logout
++  * New upstream release 150:
++    - Automatically enable and start newly created timers on the Services page
++
++ -- Martin Pitt <mpitt@debian.org>  Fri, 08 Sep 2017 12:42:10 +0200
++
++cockpit (148-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Fix navigation and various JavaScript errors with Internet Explorer
++    - Detect unregistered RHEL systems on Software Updates page
++    - debian/copryight: Add missing copyrights and licenses (Closes: #869934)
++
++ -- Martin Pitt <mpitt@debian.org>  Fri, 04 Aug 2017 13:07:47 +0200
++
++cockpit (147-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Add configuration of account locking and password expiry to Accounts
++      page
++    - Consistently ignore loopback traffic on all network load graphs
++    - Fix the Kdump page in Internet Exporer
++
++ -- Martin Pitt <mpitt@debian.org>  Thu, 27 Jul 2017 15:27:28 +0200
++
++cockpit (146-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Show recent updates and live update log on Software Updates page
++    - Improve available Software Updates table layout for small/mobile screens
++    - Support OAuth Kubernetes logins to work with Google Compute Engine
++    - Fix reporting ABRT crashes that are already known to the server
++    - Scroll the virtual machine VNC console into view automatically
++
++ -- Martin Pitt <mpitt@debian.org>  Fri, 21 Jul 2017 11:25:26 +0200
++
++cockpit (145-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Resize the terminal dynamically to use all available space
++    - Let the Machines page update immediately after changes
++    - Add delete VM functionality to the Machines page
++    - Retire support for external Machines provider API
++    - Always recommend rebooting after applying Software Updates
++    - Group D-Bus channels to avoid hitting connection limits
++    - Fix building on Fedora Rawhide/glibc 2.25.90
++
++ -- Martin Pitt <mpitt@debian.org>  Mon, 10 Jul 2017 14:23:51 +0200
++
++cockpit (144-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Add ability to cancel software updates while it is safe
++    - Show progress of "Refreshing package information" on the Software Updates
++      page
++    - Add ABRT integration to the System page
++    - Fix Machines page to only react to primary mouse button clicks on Firefox
++
++ -- Martin Pitt <mpitt@debian.org>  Thu, 29 Jun 2017 22:53:27 +0200
++
++cockpit (143-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Add "Software Updates" page for package (rpm/deb) based operating
++      systems
++    - Fix cockpit-machines package to make inline VNC console actually work
++
++ -- Martin Pitt <mpitt@debian.org>  Mon, 19 Jun 2017 16:44:35 +0200
++
++cockpit (142-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Virtual machines display an interactive console, either in browser, or a
++      popup viewer
++    - Fix Virtual Machines operations on non-English locales
++    - Add documentation explaining how to grant/restrict access via polkit
++      rules
++
++ -- Martin Pitt <mpitt@debian.org>  Fri, 09 Jun 2017 17:33:22 +0200
++
++cockpit (141-2) unstable; urgency=medium
++
++  * Fix autopkgtest:
++    - Latest avocado now requires python-libvirt, add it as test dependency.
++    - Use the packaged phantomjs instead of phantomjs-prebuilt as that is only
++      available for x86_64; this should make the tests work on other
++      architectures too. The Debian/Ubuntu phantomjs package is built with Qt
++      support, so run under $QT_QPA_PLATFORM=offscreen to work in a headless
++      test environment.
++    - Drop stray "sudo" command. The test already runs as root, this was a
++      copy&paste leftover.
++
++ -- Martin Pitt <mpitt@debian.org>  Fri, 02 Jun 2017 08:47:31 +0200
++
++cockpit (141-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Attempt to tear down used partitions when formatting disks
++    - Show the correct known_hosts path on missing/mismatching host keys
++    - Set HTML content type when serving login page, for better reverse proxy
++      operation
++    - Fix Kubernetes page incompatibility with recent Firefox versions
++    - Set the system:authenticated role on anonymous Kubernetes projects
++
++ -- Martin Pitt <mpitt@debian.org>  Thu, 01 Jun 2017 15:33:33 +0200
++
++cockpit (140-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Use SSCG to generate SSL certificates if available
++    - Add a "cockpit-bridge --rules" option to output the rules
++    - Allow auth commands to store credentials for future challenges
++    - Allow users to change Docker container environment variables
++    - Disable shutdown/reboot button for unprivileged users on the System page
++    - Fix binary channel data for child iframes, used e. g. in Docker terminals
++    - Don't install broken branding symlinks. (Closes: #859870)
++  * Drop cockpit-pcp package. It wasn't meant to be packaged as long as pcp is
++    not in testing.
++
++ -- Martin Pitt <mpitt@debian.org>  Mon, 08 May 2017 23:26:30 +0200
++
++cockpit (139-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Show more information about virtual machines, such as boot order
++    - Fix enablement of timer systemd units created on Services page
++    - Fix Storage crash on multiple iSCSI sessions
++    - cockpit-docker is now installable with docker-ce or other alternatives
++    - Hide docker push commands on Registry image pages for  "pull" roles
++
++ -- Martin Pitt <mpitt@debian.org>  Sun, 23 Apr 2017 22:13:20 +0200
++
++cockpit (138-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Only allow mdraid disk removal when it won't destroy data
++    - Allow DN style usernames in the Kubernetes dashboard
++    - Simplify protocol that cockpit talks to session authentication processes
++  * Sync packaging with upstream.
++
++ -- Martin Pitt <mpitt@debian.org>  Mon, 10 Apr 2017 14:53:33 +0200
++
++cockpit (137-3) unstable; urgency=medium
++
++  * Build with autoreconf.
++    This will make the previous patches actually effective, and also ensure
++    good architecture support.
++
++ -- Martin Pitt <mpitt@debian.org>  Thu, 06 Apr 2017 14:06:31 +0200
++
++cockpit (137-2) unstable; urgency=medium
++
++  * Cherry-pick upstream patches to fix build with inaccessible home directory.
++    Fixes FTBFS on most architectures.
++
++ -- Martin Pitt <mpitt@debian.org>  Thu, 06 Apr 2017 12:22:03 +0200
++
++cockpit (137-1) unstable; urgency=medium
++
++  * New upstream release:
++    - Does not use kernel keyring any more, thus this should fix the FTBFS on
++      mips/mipsel and Ubuntu armhf.
++  * Update packaging for moving from pam_reauthorize.so and cockpit-polkit
++    to cockpit-askpass helper.
++  * Fix autopkgtest on Ubuntu
++  * Run cockpit-ws unprivileged under cockpit-ws user
++  * Lower cockpit-docker Recommends to Suggests
++  * Upload to unstable, with the above fixes it should be good enough for more
++    wide-scale testing.
++
++ -- Martin Pitt <mpitt@debian.org>  Thu, 06 Apr 2017 09:53:43 +0200
++
++cockpit (134-1) experimental; urgency=medium
++
++  * Initial release. (Closes: #820107)
++
++ -- Martin Pitt <mpitt@debian.org>  Fri, 10 Mar 2017 14:43:06 +0100
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..2ed824c70783301b41b5ccedef461ac5b5856f20
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,8 @@@
++etc/cockpit/machines.d
++usr/bin/cockpit-bridge
++usr/lib/cockpit/cockpit-askpass
++usr/lib/cockpit/cockpit-ssh
++usr/share/cockpit/base1/
++usr/share/cockpit/ssh/
++usr/share/man/man1/cockpit-bridge.1
++usr/share/polkit-1/actions/org.cockpit-project.cockpit-bridge.policy
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..3d384f1cd6328cfaa33df6a453c51e517697caeb
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++usr/share/cockpit/dashboard/
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..db098190041383e430ccca7c40e6ee8bc92279f4
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++usr/share/doc/cockpit/* usr/share/doc/cockpit/guide/
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..dddfe3f9b572ea905d1e0031179800e791f9d8c9
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++usr/share/cockpit/docker/
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..0a52b735e9b18cb9f0f7d3320c0c9018f60082c3
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2 @@@
++usr/share/cockpit/machines/
++usr/share/metainfo/org.cockpit-project.cockpit-machines.metainfo.xml
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..19f0946f2c8f489589e4caaf87063b9095ed239f
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++usr/share/cockpit/networkmanager/
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..c8ccf0b1cb56217be16cfd283c7130faf905383a
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2 @@@
++usr/share/cockpit/packagekit/
++usr/share/cockpit/apps/
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..170be007f661233585238cc9ab6a78f73c630f4e
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++var/lib/pcp/config/pmlogconf/tools/cockpit
++usr/lib/cockpit/cockpit-pcp
++usr/share/cockpit/pcp/
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..45c27f3af93f4b91c11bf19980c70c724d316fb6
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++usr/share/cockpit/storaged/
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..cab732e5f34c85ed06844fe6a8a52fbc35bcb8ff
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,5 @@@
++usr/share/cockpit/realmd/
++usr/share/cockpit/shell/
++usr/share/cockpit/systemd/
++usr/share/cockpit/users/
++usr/share/cockpit/tuned/
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..42166587f7ab426af16ba1b586fdabc7eb3c358d
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++usr/share/cockpit/playground
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..198a5e03b08727a72ae05f2025ddbc07247b2f06
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++var/lib/cockpit
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..1f2df768b63e49ee12ca413ddbbf50806dfb97cd
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,23 @@@
++etc/cockpit/ws-certs.d
++etc/issue.d/cockpit.issue
++etc/motd.d/cockpit
++etc/pam.d/cockpit
++lib/systemd/system/cockpit.service
++lib/systemd/system/cockpit-motd.service
++lib/systemd/system/cockpit.socket
++lib/*/security/pam_ssh_add.so
++usr/lib/tmpfiles.d/cockpit-tempfiles.conf
++usr/lib/cockpit/cockpit-session
++usr/lib/cockpit/cockpit-ws
++usr/lib/cockpit/cockpit-desktop
++usr/lib/firewalld/services/cockpit.xml
++usr/sbin/remotectl
++usr/share/cockpit/branding/
++usr/share/cockpit/motd/
++usr/share/cockpit/static/
++usr/share/locale/
++usr/share/man/man1/cockpit-desktop.1
++usr/share/man/man5/cockpit.conf.5
++usr/share/man/man8/cockpit-ws.8
++usr/share/man/man8/pam_ssh_add.8
++usr/share/man/man8/remotectl.8
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..e21054e5245a65f0e9eb7df9355686cd164dfbfd
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,15 @@@
++#!/bin/sh
++set -e
++
++adduser --system --group --home / --no-create-home cockpit-ws
++
++if ! dpkg-statoverride --list /usr/lib/cockpit/cockpit-session >/dev/null; then
++    dpkg-statoverride --update --add root cockpit-ws 4750 /usr/lib/cockpit/cockpit-session
++fi
++
++#DEBHELPER#
++
++# restart cockpit.service on package upgrades, if it's already running
++if [ -d /run/systemd/system ] && [ -n "$2" ]; then
++    deb-systemd-invoke try-restart cockpit.service >/dev/null || true
++fi
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..a434ecbaa754d817f9f858f8f18093d3ee241db3
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,3 @@@
++usr/share/metainfo/cockpit.appdata.xml
++usr/share/pixmaps/cockpit.png
++usr/share/man/man1/cockpit.1
diff --cc debian/compat
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..f599e28b8ab0d8c9c57a486c89c4a5132dcbd3b2
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++10
diff --cc debian/control
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..d3c564ca74ce79082053707d6c74a3ed8b58535b
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,198 @@@
++Source: cockpit
++Section: admin
++Priority: optional
++Maintainer: Utopia Maintenance Team <pkg-utopia-maintainers@lists.alioth.debian.org>
++Uploaders: Michael Biebl <biebl@debian.org>,
++           Martin Pitt <mpitt@debian.org>,
++Build-Depends: debhelper (>= 10),
++               dpkg-dev (>= 1.17.14),
++               git,
++               intltool,
++               libssh-dev,
++               zlib1g-dev,
++               libkrb5-dev,
++               libxslt1-dev,
++               libglib2.0-dev,
++               libsystemd-dev,
++               libpolkit-agent-1-dev,
++               libpcp3-dev,
++               libjson-glib-dev,
++               libpam0g-dev,
++               libpcp-import1-dev,
++               libpcp-pmda3-dev,
++               systemd,
++               xsltproc,
++               xmlto,
++               docbook-xsl,
++               glib-networking,
++               openssh-client <!nocheck>,
++               python3,
++Standards-Version: 4.2.1
++Homepage: https://cockpit-project.org/
++Vcs-Git: https://salsa.debian.org/utopia-team/cockpit.git
++Vcs-Browser: https://salsa.debian.org/utopia-team/cockpit
++
++Package: cockpit
++Architecture: all
++Multi-Arch: foreign
++Depends: ${misc:Depends},
++         cockpit-bridge,
++         cockpit-ws,
++         cockpit-system,
++Recommends: cockpit-storaged,
++            cockpit-networkmanager,
++            cockpit-dashboard,
++            cockpit-packagekit,
++Suggests: cockpit-doc,
++          cockpit-pcp,
++          cockpit-docker,
++          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: any
++Depends: ${misc:Depends},
++         ${shlibs:Depends},
++         glib-networking
++Provides: cockpit-ssh
++Breaks: cockpit-dashboard (<< 170.x), cockpit-ws (<< 181.x)
++Replaces: cockpit-dashboard (<< 170.x), cockpit-ws (<< 181.x)
++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-dashboard
++Architecture: all
++Multi-Arch: foreign
++Depends: ${misc:Depends},
++         ${shlibs:Depends},
++         cockpit-bridge (>= 170.x),
++         cockpit-ws (>= ${source:Version}),
++         cockpit-ws (<< ${source:Version}.1~),
++Replaces: cockpit-system (<< 128), cockpit-ws (<< 128)
++Description: Cockpit remote servers and dashboard
++ Cockpit support for connecting to remote servers (through ssh)
++ bastion hosts, and a basic dashboard.
++
++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-docker
++Architecture: all
++Multi-Arch: foreign
++Depends: ${misc:Depends},
++         python3,
++         cockpit-bridge (>= ${bridge:minversion}),
++Recommends: docker.io (>= 1.3.0) | docker-engine (>= 1.3.0) | docker-ce (>= 1.3.0),
++Description: Cockpit user interface for Docker containers
++ The Cockpit components for interacting with Docker and user interface.
++
++Package: cockpit-machines
++Architecture: all
++Multi-Arch: foreign
++Depends: ${misc:Depends},
++         libvirt-daemon-system,
++         libvirt-clients | libvirt-bin,
++         libosinfo-bin
++Recommends: virtinst, libvirt-dbus
++Description: Cockpit user interface for virtual machines
++ The Cockpit components for managing virtual machines.
++ .
++ If the "virtinst" package is installed, you can also create new virtual
++ machines.
++
++Package: cockpit-networkmanager
++Architecture: all
++Multi-Arch: foreign
++Depends: ${misc:Depends},
++         cockpit-bridge (>= ${bridge:minversion}),
++         network-manager
++Description: Cockpit user interface for networking
++ The Cockpit components for interacting with networking configuration.
++
++Package: cockpit-pcp
++Architecture: any
++Depends: ${misc:Depends},
++         ${shlibs:Depends},
++         cockpit-bridge (>= ${bridge:minversion}),
++         pcp
++Description: Cockpit PCP integration
++ Cockpit support for reading PCP metrics and loading PCP archives.
++
++Package: cockpit-packagekit
++Architecture: all
++Multi-Arch: foreign
++Depends: ${misc:Depends},
++         cockpit-bridge (>= ${bridge:minversion}),
++         packagekit
++Description: Cockpit user interface for packages
++ The Cockpit component for installing packages, via PackageKit.
++
++Package: cockpit-storaged
++Architecture: all
++Multi-Arch: foreign
++Depends: ${misc:Depends},
++         udisks2,
++         udisks2 (<< 2.7) | libblockdev-mdraid2,
++         cockpit-bridge (>= ${bridge:minversion}),
++         python3,
++         python3-dbus
++Description: Cockpit user interface for storage
++ The Cockpit components for interacting with storage.
++
++Package: cockpit-system
++Architecture: all
++Multi-Arch: foreign
++Depends: ${misc:Depends},
++         cockpit-bridge (>= ${bridge:minversion}),
++         libpwquality-tools,
++         openssl,
++Recommends: policykit-1
++Provides: cockpit-realmd,
++          cockpit-shell,
++          cockpit-systemd,
++          cockpit-tuned,
++          cockpit-users
++Conflicts: cockpit-shell
++Replaces: cockpit-shell
++Description: Cockpit admin interface for a system
++ Cockpit admin interface package for configuring and
++ troubleshooting a system.
++
++Package: cockpit-tests
++Architecture: any
++Multi-Arch: foreign
++Depends: ${misc:Depends},
++         ${shlibs:Depends},
++         cockpit-system (>= ${source:Version}),
++         openssh-client
++Conflicts: cockpit-test-assets
++Replaces: cockpit-test-assets
++Provides: cockpit-test-assets
++Description: Tests for Cockpit
++ This package contains tests and files used while testing Cockpit.
++ These files are not required for running Cockpit.
++
++Package: cockpit-ws
++Architecture: any
++Depends: ${misc:Depends},
++         ${shlibs:Depends},
++         glib-networking,
++         adduser,
++         openssl,
++Conflicts: ${ws:Conflicts}
++Description: Cockpit Web Service
++ The Cockpit Web Service listens on the network, and authenticates
++ users.
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..f2262fd5bca73a4f939e622f85512d1c0b87b39b
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,398 @@@
++Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
++Upstream-Name: cockpit
++Source: https://github.com/cockpit-project/cockpit
++Comment:
++ This does not directly cover the files in dist/*. These are "minified" and
++ compressed JavaScript/HTML files built from pkg/* and node_modules/* with
++ node, npm, and webpack. Their copyrights and licenses are described below.
++ Rebuilding these requires internet access as that process needs to download
++ additional npm modules from the Internet, thus upstream ships the pre-minified
++ webpacks as part of the upstream release tarball so that the package can be
++ built without internet access and lots of extra unpackaged build dependencies.
++
++Files: *
++Copyright: 2013-2016  Red Hat, Inc.
++License: LGPL-2.1
++
++Files: src/common/cockpitunixsignal.c
++Copyright: Copyright (c) 1988, 1993, 1994 The Regents of the University of California
++ Portions Copyright (C) 2014 Red Hat, Inc.
++ Copyright (C) 2014 Sami Kerola <kerolasa@iki.fi>
++ Copyright (C) 2014 Karel Zak <kzak@redhat.com>
++License: BSD-4-clause
++
++Files: src/common/cockpitbase64.[hc]
++Copyright: Copyright (c) 1996, 1998 by Internet Software Consortium
++ Portions Copyright (c) 1995 by International Business Machines, Inc.
++License: MIT-IBM-immunity
++
++Files: src/common/cockpitknownhosts.c
++Copyright: Copyright (C) 2016 Red Hat, Inc.
++ Copyright (c) 2000 Markus Friedl
++License: LGPL-2.1
++
++Files: src/common/mock-io-stream.c
++Copyright: Copyright © 2008-2010 Red Hat, Inc.
++ Copyright © 2011 Nokia Corporation
++License: LGPL-2.1
++
++Files: src/reauthorize/mock-reauthorize.c
++ src/reauthorize/test-reauthorize.c
++ src/retest/retest.h
++ src/retest/retest.c
++Copyright: Copyright (c) 2013 - 2014 Red Hat Inc.
++License: BSD-3-clause
++
++Files: src/base1/test-utf8.js
++Copyright: Copyright 2014 Joshua Bell. All rights reserved
++License: Apache-2.0
++
++Files: src/bridge/cockpitpcpmetrics.c
++Copyright: Copyright (c) 2014 Red Hat.
++ Copyright (c) 1995 Silicon Graphics, Inc.
++License: LGPL-2.1
++
++Files: src/bridge/mock-pmda.c
++ test/avocado/selenium_start.sh
++ bots/images/scripts/candlepin.bootstrap
++ bots/images/scripts/fedora-*.bootstrap
++ bots/images/scripts/selenium.bootstrap
++ bots/images/scripts/selenium.setup
++ bots/images/scripts/virt-builder-fedora
++ bots/images/scripts/virt-install-fedora
++Copyright: Copyright (c) 2014 - 2016 Red Hat
++ Copyright (c) 1995,2004 Silicon Graphics, Inc.  All Rights Reserved.
++License: GPL-2+
++
++Files: src/ssh/mock-sshd.c
++Copyright: Copyright 2003-2011 Aris Adamantiadis
++License: public-domain
++ You are free to copy this file, modify it in any way, consider it being public
++ domain.
++
++Files: tools/install-sh
++Copyright: Copyright (C) 1994 X Consortium
++License: MIT/X11
++
++Files: node_modules/angular/*
++Copyright: Copyright (c) 2010-2015 Google, Inc. http://angularjs.org
++License: MIT
++
++Files: node_modules/angular-bootstrap-npm/*
++Copyright: Copyright (c) 2014 Neohapsis Inc.
++License: MIT
++
++Files: node_modules/angular-gettext/*
++Copyright: Copyright (C) 2013-2017 by Ruben Vermeersch <ruben@rocketeer.be>
++License: MIT
++
++Files: node_modules/angular-route/*
++Copyright: Copyright (c) 2010-2015 Google, Inc. http://angularjs.org
++License: MIT
++
++Files: node_modules/bootstrap/*
++Copyright: Copyright (c) 2011-2016 Twitter, Inc.
++License: MIT
++
++Files: node_modules/bootstrap-datepicker/*
++Copyright: Andrew Rowls
++License: Apache-2.0
++
++Files: node_modules/c3/*
++Copyright: Copyright (c) 2013 Masayuki Tanaka
++License: MIT
++
++Files: node_modules/d3/*
++Copyright: Copyright (c) 2010-2016, Michael Bostock
++License: BSD-3-Clause
++
++Files: node_modules/jquery-flot/*
++Copyright: Copyright (c) 2007-2014 IOLA and Ole Laursen
++License: MIT
++
++Files: node_modules/js-sha1/*
++Copyright: @copyright Chen, Yi-Cyuan 2014-2017
++ Copyright 2014-2017 Chen, Yi-Cyuan
++License: MIT
++
++Files: node_modules/json-stable-stringify-without-jsonify/*
++Copyright: James Halliday
++License: MIT
++
++Files: node_modules/kubernetes-container-terminal/*
++Copyright: Copyright (C) 1991, 1999 Free Software Foundation, Inc.
++ Copyright (C) 2015 Red Hat, Inc.
++License: LGPL-2.1
++
++Files: node_modules/kubernetes-object-describer/*
++Copyright: Jessica Forrester
++License: Apache-2.0
++
++Files: node_modules/kubernetes-topology-graph/*
++Copyright: Copyright (C) 1991, 1999 Free Software Foundation, Inc.
++ Copyright (C) 2015 Red Hat, Inc.
++License: LGPL-2.1
++
++Files: node_modules/moment/*
++Copyright: Copyright (c) JS Foundation and other contributors
++License: MIT
++
++Files: node_modules/mustache/*
++Copyright: Copyright (c) 2009 Chris Wanstrath (Ruby)
++ Copyright (c) 2010-2014 Jan Lehnardt (JavaScript)
++ Copyright (c) 2010-2015 The mustache.js community
++License: MIT
++
++Files: node_modules/object-describer/*
++Copyright: Jessica Forrester
++License: Apache-2.0
++
++Files: node_modules/patternfly/*
++Copyright: Modifications to Bootstrap are copyright 2013 Red Hat, Inc.
++License: Apache-2.0
++
++Files: node_modules/patternfly-bootstrap-combobox/*
++Copyright: Copyright 2012 Daniel Farrell
++License: Apache-2.0
++
++Files: node_modules/patternfly-react/*
++Copyright: Red Hat
++License: Apache-2.0
++
++Files: node_modules/promise/*
++Copyright: Copyright (c) 2014 Forbes Lindesay
++License: MIT
++
++Files: node_modules/prop-types/*
++Copyright: Copyright (c) 2013-present, Facebook, Inc.
++License: MIT
++
++Files: node_modules/qunit/*
++Copyright: Copyright 2006 Google Inc.
++License: MIT
++
++Files: node_modules/qunit-tap/*
++Copyright: Copyright (C) 1989, 1991 Free Software Foundation, Inc.
++ Copyright (c) 2010-2016 Takuto Wada
++ Copyright (c) 2010-2016 Takuto Wada, https://github.com/twada/qunit-tap
++ Copyright 2012 jQuery Foundation and other contributors
++License: MIT
++
++Files: node_modules/react/*
++Copyright: Copyright (c) Facebook, Inc. and its affiliates
++License: MIT
++
++Files: node_modules/react-bootstrap/*
++Copyright: Copyright (c) 2014-present Stephen J. Collings, Matthew Honnibal, Pieter Vanderwerff
++License: MIT
++
++Files: node_modules/react-dom/*
++Copyright: Copyright (c) Facebook, Inc. and its affiliates
++License: MIT
++
++Files: node_modules/react-remarkable/*
++Copyright: Andrew Clark
++License: MIT
++
++Files: node_modules/redux/*
++Copyright: Copyright (c) 2015-present Dan Abramov
++License: MIT
++
++Files: node_modules/redux-thunk/*
++Copyright: Copyright (c) 2015-present Dan Abramov
++License: MIT
++
++Files: node_modules/registry-image-widgets/*
++Copyright: Copyright (C) 1991, 1999 Free Software Foundation, Inc.
++ Copyright (C) 2016 Red Hat, Inc.
++License: LGPL-2.1
++
++Files: node_modules/term.js-cockpit/*
++Copyright: Copyright (c) 2011 Fabrice Bellard
++ Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
++ Copyright (c) 2012-2013, Christopher Jeffrey (https://github.com/chjj/)
++License: MIT
++
++Files: node_modules/xterm/*
++Copyright: Copyright (c) 2011 Fabrice Bellard
++ Copyright (c) 2012-2013, Christopher Jeffrey (MIT License)
++ Copyright (c) 2012-2013, Christopher Jeffrey (https://github.com/chjj/)
++ Copyright (c) 2014 The xterm.js authors. All rights reserved
++ Copyright (c) 2014-2016, SourceLair Private Company (https://www.sourcelair.com)
++ Copyright (c) 2014-2017, SourceLair, Private Company ([www.sourcelair.com](https://www.sourcelair.com/home)) (MIT License)<br>
++ Copyright (c) 2017-2018, The xterm.js authors (https://github.com/xtermjs/xterm.js)
++ Copyright (c) 2017-2018, [The xterm.js authors](https://github.com/xtermjs/xterm.js/graphs/contributors) (MIT License)<br>
++License: MIT
++
++
++License: LGPL-2.1
++ This package is free software; you can redistribute it and/or
++ modify it under the terms of the GNU Lesser General Public
++ License as published by the Free Software Foundation; either
++ version 2.1 of the License, or (at your option) any later version.
++ .
++ This package is distributed in the hope that it will be useful,
++ but WITHOUT ANY WARRANTY; without even the implied warranty of
++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
++ Lesser General Public License for more details.
++ .
++ You should have received a copy of the GNU General Public License
++ along with this program. If not, see <https://www.gnu.org/licenses/>.
++ .
++ On Debian systems, the complete text of the GNU Lesser General
++ Public License can be found in "/usr/share/common-licenses/LGPL-2.1".
++
++License: GPL-2+
++ This program is free software; you can redistribute it and/or modify it
++ under the terms of the GNU General Public License as published by the
++ Free Software Foundation; either version 2 of the License, or (at your
++ option) any later version.
++ .
++ This program is distributed in the hope that it will be useful, but
++ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
++ or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
++ for more details.
++ .
++ On Debian systems, the complete text of the GNU General
++ Public License can be found in "/usr/share/common-licenses/GPL-2".
++
++License: BSD-3-clause
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ .
++     * Redistributions of source code must retain the above
++       copyright notice, this list of conditions and the
++       following disclaimer.
++     * Redistributions in binary form must reproduce the
++       above copyright notice, this list of conditions and
++       the following disclaimer in the documentation and/or
++       other materials provided with the distribution.
++     * The names of contributors to this software may not be
++       used to endorse or promote products derived from this
++       software without specific prior written permission.
++ .
++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
++ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
++ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
++ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
++ COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
++ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
++ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
++ OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
++ AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
++ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
++ THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
++ DAMAGE.
++
++License: BSD-4-clause
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. All advertising materials mentioning features or use of this software
++ must display the following acknowledgment:
++ This product includes software developed by the University of
++ California, Berkeley and its contributors.
++ 4. Neither the name of the University nor the names of its contributors
++ may be used to endorse or promote products derived from this software
++ without specific prior written permission.
++ .
++ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
++ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
++ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
++ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
++ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
++ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
++ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
++ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
++ SUCH DAMAGE.
++
++License: MIT
++ Permission is hereby granted, free of charge, to any person obtaining a copy
++ of this software and associated documentation files (the "Software"), to
++ deal in the Software without restriction, including without limitation the
++ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
++ sell copies of the Software, and to permit persons to whom the Software is
++ furnished to do so, subject to the following conditions:
++ .
++ The above copyright notice and this permission notice shall be included in
++ all copies or substantial portions of the Software.
++ .
++ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
++ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
++ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
++ X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
++ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
++ TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
++
++License: MIT/X11
++ Permission is hereby granted, free of charge, to any person obtaining a copy
++ of this software and associated documentation files (the "Software"), to
++ deal in the Software without restriction, including without limitation the
++ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
++ sell copies of the Software, and to permit persons to whom the Software is
++ furnished to do so, subject to the following conditions:
++ .
++ The above copyright notice and this permission notice shall be included in
++ all copies or substantial portions of the Software.
++ .
++ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
++ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
++ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
++ X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
++ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
++ TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
++ .
++ Except as contained in this notice, the name of the X Consortium shall not
++ be used in advertising or otherwise to promote the sale, use or other deal-
++ ings in this Software without prior written authorization from the X Consor-
++ tium.
++
++License: MIT-IBM-immunity
++ International Business Machines, Inc. (hereinafter called IBM) grants
++ permission under its copyrights to use, copy, modify, and distribute this
++ Software with or without fee, provided that the above copyright notice and
++ all paragraphs of this notice appear in all copies, and that the name of IBM
++ not be used in connection with the marketing of any product incorporating
++ the Software or modifications thereof, without specific, written prior
++ permission.
++ .
++ To the extent it has a right to do so, IBM grants an immunity from suit
++ under its patents, if any, for the use, sale or manufacture of products to
++ the extent that such products are used for performing Domain Name System
++ dynamic updates in TCP/IP networks by means of the Software.  No immunity is
++ granted for any product per se or for any other function of any product.
++ .
++ THE SOFTWARE IS PROVIDED "AS IS", AND IBM DISCLAIMS ALL WARRANTIES,
++ INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
++ PARTICULAR PURPOSE.  IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL,
++ DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER ARISING
++ OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE, EVEN
++ IF IBM IS APPRISED OF THE POSSIBILITY OF SUCH DAMAGES.
++
++License: Apache-2.0
++ Licensed under the Apache License, Version 2.0 (the "License");
++ you may not use this file except in compliance with the License.
++ You may obtain a copy of the License at
++ .
++ http://www.apache.org/licenses/LICENSE-2.0
++ .
++ Unless required by applicable law or agreed to in writing, software
++ distributed under the License is distributed on an "AS IS" BASIS,
++ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ See the License for the specific language governing permissions and
++ limitations under the License.
++
++License: MPL-2.0
++ This Source Code Form is subject to the terms of the Mozilla Public License,
++ v. 2.0.
++ .
++ On Debian systems, the complete text of the Mozilla Public License
++ can be found in "/usr/share/common-licenses/MPL-2.0".
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..4005d8f98dbde739f9df0d5ac6d4b9885d9b9a60
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,250 @@@
++Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
++Upstream-Name: cockpit
++Source: https://github.com/cockpit-project/cockpit
++Comment:
++ This does not directly cover the files in dist/*. These are "minified" and
++ compressed JavaScript/HTML files built from pkg/* and node_modules/* with
++ node, npm, and webpack. Their copyrights and licenses are described below.
++ Rebuilding these requires internet access as that process needs to download
++ additional npm modules from the Internet, thus upstream ships the pre-minified
++ webpacks as part of the upstream release tarball so that the package can be
++ built without internet access and lots of extra unpackaged build dependencies.
++
++Files: *
++Copyright: 2013-2016  Red Hat, Inc.
++License: LGPL-2.1
++
++Files: src/common/cockpitunixsignal.c
++Copyright: Copyright (c) 1988, 1993, 1994 The Regents of the University of California
++ Portions Copyright (C) 2014 Red Hat, Inc.
++ Copyright (C) 2014 Sami Kerola <kerolasa@iki.fi>
++ Copyright (C) 2014 Karel Zak <kzak@redhat.com>
++License: BSD-4-clause
++
++Files: src/common/cockpitbase64.[hc]
++Copyright: Copyright (c) 1996, 1998 by Internet Software Consortium
++ Portions Copyright (c) 1995 by International Business Machines, Inc.
++License: MIT-IBM-immunity
++
++Files: src/common/cockpitknownhosts.c
++Copyright: Copyright (C) 2016 Red Hat, Inc.
++ Copyright (c) 2000 Markus Friedl
++License: LGPL-2.1
++
++Files: src/common/mock-io-stream.c
++Copyright: Copyright © 2008-2010 Red Hat, Inc.
++ Copyright © 2011 Nokia Corporation
++License: LGPL-2.1
++
++Files: src/reauthorize/mock-reauthorize.c
++ src/reauthorize/test-reauthorize.c
++ src/retest/retest.h
++ src/retest/retest.c
++Copyright: Copyright (c) 2013 - 2014 Red Hat Inc.
++License: BSD-3-clause
++
++Files: src/base1/test-utf8.js
++Copyright: Copyright 2014 Joshua Bell. All rights reserved
++License: Apache-2.0
++
++Files: src/bridge/cockpitpcpmetrics.c
++Copyright: Copyright (c) 2014 Red Hat.
++ Copyright (c) 1995 Silicon Graphics, Inc.
++License: LGPL-2.1
++
++Files: src/bridge/mock-pmda.c
++ test/avocado/selenium_start.sh
++ bots/images/scripts/candlepin.bootstrap
++ bots/images/scripts/fedora-*.bootstrap
++ bots/images/scripts/selenium.bootstrap
++ bots/images/scripts/selenium.setup
++ bots/images/scripts/virt-builder-fedora
++ bots/images/scripts/virt-install-fedora
++Copyright: Copyright (c) 2014 - 2016 Red Hat
++ Copyright (c) 1995,2004 Silicon Graphics, Inc.  All Rights Reserved.
++License: GPL-2+
++
++Files: src/ssh/mock-sshd.c
++Copyright: Copyright 2003-2011 Aris Adamantiadis
++License: public-domain
++ You are free to copy this file, modify it in any way, consider it being public
++ domain.
++
++Files: tools/install-sh
++Copyright: Copyright (C) 1994 X Consortium
++License: MIT/X11
++
++#NPM# semi-autogenerated records for node_modules/ go here
++
++
++License: LGPL-2.1
++ This package is free software; you can redistribute it and/or
++ modify it under the terms of the GNU Lesser General Public
++ License as published by the Free Software Foundation; either
++ version 2.1 of the License, or (at your option) any later version.
++ .
++ This package is distributed in the hope that it will be useful,
++ but WITHOUT ANY WARRANTY; without even the implied warranty of
++ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
++ Lesser General Public License for more details.
++ .
++ You should have received a copy of the GNU General Public License
++ along with this program. If not, see <https://www.gnu.org/licenses/>.
++ .
++ On Debian systems, the complete text of the GNU Lesser General
++ Public License can be found in "/usr/share/common-licenses/LGPL-2.1".
++
++License: GPL-2+
++ This program is free software; you can redistribute it and/or modify it
++ under the terms of the GNU General Public License as published by the
++ Free Software Foundation; either version 2 of the License, or (at your
++ option) any later version.
++ .
++ This program is distributed in the hope that it will be useful, but
++ WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
++ or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
++ for more details.
++ .
++ On Debian systems, the complete text of the GNU General
++ Public License can be found in "/usr/share/common-licenses/GPL-2".
++
++License: BSD-3-clause
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ .
++     * Redistributions of source code must retain the above
++       copyright notice, this list of conditions and the
++       following disclaimer.
++     * Redistributions in binary form must reproduce the
++       above copyright notice, this list of conditions and
++       the following disclaimer in the documentation and/or
++       other materials provided with the distribution.
++     * The names of contributors to this software may not be
++       used to endorse or promote products derived from this
++       software without specific prior written permission.
++ .
++ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
++ "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
++ LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
++ FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
++ COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
++ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
++ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
++ OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
++ AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
++ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
++ THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
++ DAMAGE.
++
++License: BSD-4-clause
++ Redistribution and use in source and binary forms, with or without
++ modification, are permitted provided that the following conditions
++ are met:
++ 1. Redistributions of source code must retain the above copyright
++ notice, this list of conditions and the following disclaimer.
++ 2. Redistributions in binary form must reproduce the above copyright
++ notice, this list of conditions and the following disclaimer in the
++ documentation and/or other materials provided with the distribution.
++ 3. All advertising materials mentioning features or use of this software
++ must display the following acknowledgment:
++ This product includes software developed by the University of
++ California, Berkeley and its contributors.
++ 4. Neither the name of the University nor the names of its contributors
++ may be used to endorse or promote products derived from this software
++ without specific prior written permission.
++ .
++ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
++ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
++ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
++ ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
++ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
++ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
++ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
++ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
++ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
++ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
++ SUCH DAMAGE.
++
++License: MIT
++ Permission is hereby granted, free of charge, to any person obtaining a copy
++ of this software and associated documentation files (the "Software"), to
++ deal in the Software without restriction, including without limitation the
++ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
++ sell copies of the Software, and to permit persons to whom the Software is
++ furnished to do so, subject to the following conditions:
++ .
++ The above copyright notice and this permission notice shall be included in
++ all copies or substantial portions of the Software.
++ .
++ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
++ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
++ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
++ X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
++ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
++ TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
++
++License: MIT/X11
++ Permission is hereby granted, free of charge, to any person obtaining a copy
++ of this software and associated documentation files (the "Software"), to
++ deal in the Software without restriction, including without limitation the
++ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
++ sell copies of the Software, and to permit persons to whom the Software is
++ furnished to do so, subject to the following conditions:
++ .
++ The above copyright notice and this permission notice shall be included in
++ all copies or substantial portions of the Software.
++ .
++ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
++ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
++ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
++ X CONSORTIUM BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
++ AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNEC-
++ TION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
++ .
++ Except as contained in this notice, the name of the X Consortium shall not
++ be used in advertising or otherwise to promote the sale, use or other deal-
++ ings in this Software without prior written authorization from the X Consor-
++ tium.
++
++License: MIT-IBM-immunity
++ International Business Machines, Inc. (hereinafter called IBM) grants
++ permission under its copyrights to use, copy, modify, and distribute this
++ Software with or without fee, provided that the above copyright notice and
++ all paragraphs of this notice appear in all copies, and that the name of IBM
++ not be used in connection with the marketing of any product incorporating
++ the Software or modifications thereof, without specific, written prior
++ permission.
++ .
++ To the extent it has a right to do so, IBM grants an immunity from suit
++ under its patents, if any, for the use, sale or manufacture of products to
++ the extent that such products are used for performing Domain Name System
++ dynamic updates in TCP/IP networks by means of the Software.  No immunity is
++ granted for any product per se or for any other function of any product.
++ .
++ THE SOFTWARE IS PROVIDED "AS IS", AND IBM DISCLAIMS ALL WARRANTIES,
++ INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
++ PARTICULAR PURPOSE.  IN NO EVENT SHALL IBM BE LIABLE FOR ANY SPECIAL,
++ DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER ARISING
++ OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE, EVEN
++ IF IBM IS APPRISED OF THE POSSIBILITY OF SUCH DAMAGES.
++
++License: Apache-2.0
++ Licensed under the Apache License, Version 2.0 (the "License");
++ you may not use this file except in compliance with the License.
++ You may obtain a copy of the License at
++ .
++ http://www.apache.org/licenses/LICENSE-2.0
++ .
++ Unless required by applicable law or agreed to in writing, software
++ distributed under the License is distributed on an "AS IS" BASIS,
++ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
++ See the License for the specific language governing permissions and
++ limitations under the License.
++
++License: MPL-2.0
++ This Source Code Form is subject to the terms of the Mozilla Public License,
++ v. 2.0.
++ .
++ On Debian systems, the complete text of the Mozilla Public License
++ can be found in "/usr/share/common-licenses/MPL-2.0".
diff --cc debian/gbp.conf
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..478d845ce2aeb205af5b78a2ce6eba9c543eb6d4
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,4 @@@
++[DEFAULT]
++pristine-tar = True
++patch-numbers = False
++debian-branch = master
diff --cc debian/rules
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..95db4c92d804eeb131b7df47a17de1d73c9ad383
new file mode 100755 (executable)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,84 @@@
++#!/usr/bin/make -f
++
++DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
++
++# only build cockpit-pcp if pcp is available
++ifneq ($(shell dpkg -s libpcp3-dev >/dev/null 2>&1 && echo yes),yes)
++      export DH_OPTIONS = -Ncockpit-pcp
++      CONFIG_OPTIONS = --disable-pcp
++endif
++
++# newer firewalld ships cockpit.xml, but keep it for backports
++FIREWALLD_SERVICE = $(findstring $(shell . /etc/os-release; echo $$VERSION_ID),8 9 16.04 18.04)
++ifeq ($(FIREWALLD_SERVICE),)
++      WS_CONFLICTS = firewalld (<< 0.6.0)
++endif
++
++%:
++      dh $@
++
++# Apply patches using git in order to support binary patches. Note that
++# we also reset mtimes since patches should be "complete" and include both
++# generated and source file changes.
++# Keep this in sync with tools/cockpit.spec.
++debian/git-patches-applied:
++      set -ex; if [ -d debian/git-patches ]; then \
++              git init; \
++              git config user.email "unused@example.com"; git config user.name "Unused"; \
++              git config core.autocrlf false; git config core.safecrlf false && git config gc.auto 0; \
++              git add -f . && git commit -a -q -m "Base" && git tag -a initial --message="initial"; \
++              git am --whitespace=nowarn debian/git-patches/*.patch; \
++              touch -r $$(git diff --name-only initial..HEAD) .git; \
++      fi
++      touch $@
++
++# unapply our git patches
++override_dh_clean:
++      if [ -d .git ] && [ -e debian/git-patches-applied ]; then \
++              git reset --hard initial; \
++              git clean -fdx; \
++              rm -rf .git; \
++      fi
++      rm -f debian/git-patches-applied
++      dh_clean
++
++override_dh_auto_configure: debian/git-patches-applied
++      dh_auto_configure -- \
++              --with-networkmanager-needs-root=yes \
++              --with-cockpit-user=cockpit-ws \
++              --with-appstream-config-packages='[ "appstream" ]' \
++              --with-nfs-client-packages='"nfs-common"' \
++              --with-pamdir=/lib/$(DEB_HOST_MULTIARCH)/security \
++              --libexecdir=/usr/lib/cockpit $(CONFIG_OPTIONS)
++
++override_dh_systemd_enable:
++      dh_systemd_enable -p cockpit-ws --name=cockpit cockpit.socket
++
++override_dh_systemd_start:
++      dh_systemd_start -p cockpit-ws cockpit.socket
++
++override_dh_install:
++      # Debian/Ubuntu PAM config
++      mkdir -p debian/tmp/etc/pam.d
++      install -p -m 644 tools/cockpit.debian.pam debian/tmp/etc/pam.d/cockpit
++
++      # don't ship broken branding symlinks
++      for d in rhel fedora centos; do rm -r debian/tmp/usr/share/cockpit/branding/$$d; done
++      dpkg-vendor --derives-from ubuntu || rm -r debian/tmp/usr/share/cockpit/branding/ubuntu
++
++      # unpackaged modules
++      for m in kdump kubernetes selinux sosreport subscriptions ovirt; do rm -r debian/tmp/usr/share/cockpit/$$m; done
++      rm debian/tmp/usr/share/metainfo/org.cockpit-project.cockpit-sosreport.metainfo.xml
++      rm debian/tmp/usr/share/pixmaps/cockpit-sosreport.png
++      rm debian/tmp/usr/share/metainfo/org.cockpit-project.cockpit-kdump.metainfo.xml
++      rm debian/tmp/usr/share/metainfo/org.cockpit-project.cockpit-selinux.metainfo.xml
++      # part of kubernetes
++      rm -f debian/tmp/usr/lib/cockpit/cockpit-stub
++
++      dh_install --fail-missing -Xusr/src/debug
++      make install-tests DESTDIR=debian/cockpit-tests
++
++      if [ -z "$(FIREWALLD_SERVICE)" ] && [ -d debian/cockpit-ws ]; then rm debian/cockpit-ws/usr/lib/firewalld/services/cockpit.xml; rmdir -p --ignore-fail-on-non-empty debian/cockpit-ws/usr/lib/firewalld/services/; fi
++
++override_dh_gencontrol:
++      dh_gencontrol -- -Vbridge:minversion="$(shell tools/min-base-version)" -Vws:Conflicts="$(WS_CONFLICTS)"
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..163aaf8d82b6c54f23c45f32895dbdfdcc27b047
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++3.0 (quilt)
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..f219e91efb288e1ee066364eb4e2a0cdb815503a
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,11 @@@
++# node_modules ship pre-minified *.min.js alongside *.js
++cockpit source: source-is-missing node_modules/*
++# dist/ is (pre-)built by webpack from pkg/ and node_modules, see webpack.config.js
++cockpit source: source-is-missing dist/*.js*
++# false-positive heuristics, this is actual source
++cockpit source: source-is-missing pkg/kubernetes/scripts/test-images.js line length*
++# pkg/machines/include is symlink to node_components/noVNC/include and content is meant as downloadable resource at runtime
++cockpit source: source-is-missing pkg/machines/include/*
++# We prefer a newer debhelper which merged dh-systemd
++cockpit source: missing-build-dependency-for-dh_-command dh_systemd_start => dh-systemd
++cockpit source: missing-build-dependency-for-dh-addon systemd => dh-systemd
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..fbe3826111558d99b0e57a2ec9c6a0bc086880eb
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,4 @@@
++Tests: smoke
++Depends: cockpit,
++         curl,
++Restrictions: isolation-container
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..dd94f3db331a75e2942dccd56611a7fb0f4c2ce0
new file mode 100755 (executable)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,27 @@@
++#!/bin/sh
++set -e
++
++check_out() {
++    echo "$OUT" | grep -q "$1" || {
++        echo "output does not match '$1'" >&2
++        exit 1
++    }
++}
++
++echo " * bridge works and has expected packages"
++OUT=$(cockpit-bridge --packages)
++echo "$OUT"
++check_out "^base1: /usr/share/cockpit/base1"
++check_out "^system:"
++check_out "^users:"
++
++# on an RPM based system we expect cockpit.socket not to be enabled by default;
++# on a Debian-based system we do
++if rpm -q cockpit >/dev/null 2>&1; then
++    systemctl start cockpit.socket
++fi
++
++echo " * socket unit is set up correctly, login page available"
++OUT=$(curl --silent --show-error --insecure https://localhost:9090)
++check_out "login-user-input.*User"
++echo "smoke test passed"
diff --cc debian/watch
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..28e0670fedf4c1bc6f70b28f96f5d7569fe8ad82
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,2 @@@
++version=3
++https://github.com/cockpit-project/cockpit/releases/ .*/cockpit-([\d\.]+)\.tar\.xz