Date: Thursday, February 3, 2022 @ 22:10:14 Author: mtorromeo Revision: 1124945
upgpkg: cockpit 262-1 Modified: cockpit/trunk/PKGBUILD ----------+ PKGBUILD | 27 ++++++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-02-03 22:07:27 UTC (rev 1124944) +++ PKGBUILD 2022-02-03 22:10:14 UTC (rev 1124945) @@ -5,7 +5,7 @@ pkgbase=cockpit pkgname=(cockpit cockpit-pcp) -pkgver=261 +pkgver=262 pkgrel=1 pkgdesc='A systemd web based user interface for Linux servers' arch=('x86_64') @@ -12,12 +12,13 @@ url='https://cockpit-project.org/' license=(LGPL) makedepends=(krb5 libssh accountsservice perl-json perl-locale-po json-glib glib-networking - git intltool gtk-doc gobject-introspection networkmanager libgsystem xmlto npm pcp) + git intltool gtk-doc gobject-introspection networkmanager libgsystem xmlto npm pcp + gendesk) source=("https://github.com/cockpit-project/cockpit/releases/download/$pkgver/cockpit-$pkgver.tar.xz" "cockpit.pam" "cockpit-ws.sysuser.conf" "cockpit-wsinstance.sysuser.conf") -sha256sums=('d5ab3c3a16c34d6b40f4c442062aaf7c20aabd6cc96850a3f422ae0072a16de3' +sha256sums=('b7ab728f7487fdf97c79564821488ad903749a2c49b30849fc35cd74f62d145e' 'a979e236681c6a06906937cf0f012e976347af5d6d7e7ae04a11acb01cc2689d' '1ad9dad75858264778bd94799b60c651f7cc1c7f7fa1c54622174303e639287a' '46ee8ecad7bc97ba588ab9471dde76e41c00daf40658902425626c3a1938b438') @@ -41,18 +42,32 @@ --with-cockpit-user=cockpit-ws \ --with-cockpit-ws-instance-user=cockpit-wsinstance make all + + gendesk -n \ + --name 'Cockpit Client' \ + --comment 'Connect via ssh to servers running Cockpit' \ + --exec '/usr/lib/cockpit/cockpit-desktop /' \ + --categories 'Network;RemoteAccess' \ + --custom 'DBusActivatable=true' \ + --icon cockpit-client \ + --pkgname cockpit } package_cockpit() { - depends=(krb5 libssh accountsservice perl-json perl-locale-po json-glib glib-networking libpwquality) + depends=(krb5 libssh accountsservice perl-json perl-locale-po json-glib glib-networking + libpwquality openssl kexec-tools) backup=('etc/pam.d/cockpit') optdepends=("cockpit-pcp: reading performance metrics" "cockpit-podman: user interface for managing podman containers" "cockpit-machines: user interface for managing virtual machines" + "polkit: elevate privileges" + "sudo: elevate privileges" "udisks2: manage hard disks" + "clevis: manage disk encryption" "networkmanager: manage network connections" "packagekit: manage packages" - "sssd: authentication") + "sssd: authentication" + "sscg: generate self-signed certificate") cd cockpit-$pkgver make DESTDIR="$pkgdir" install @@ -63,6 +78,8 @@ echo "z /usr/lib/cockpit/cockpit-session - - cockpit-wsinstance -" >> "$pkgdir"/usr/lib/tmpfiles.d/cockpit-tempfiles.conf + install -Dm644 cockpit.desktop "$pkgdir"/usr/share/applications/org.cockpit_project.CockpitClient.desktop + # remove unused plugins rm -rf "$pkgdir"/usr/share/cockpit/{selinux,playground,sosreport} \ "$pkgdir"/usr/share/metainfo/org.cockpit-project.cockpit-{selinux,sosreport}.metainfo.xml