diff options
-rw-r--r-- | debian/changelog | 5 | ||||
-rw-r--r-- | debian/control | 358 | ||||
-rw-r--r-- | debian/copyright | 25 | ||||
-rw-r--r-- | debian/kinet-base-system.lintian-overrides | 2 | ||||
-rw-r--r-- | debian/kinet-container-server.lintian-overrides | 1 | ||||
-rwxr-xr-x | debian/kinet-container.postrm | 30 | ||||
-rwxr-xr-x | debian/kinet-container.preinst | 32 | ||||
-rw-r--r-- | debian/kinet-gnome-desktop.lintian-overrides | 1 | ||||
-rwxr-xr-x | debian/local/shutdown | 13 | ||||
-rw-r--r-- | debian/local/shutdown.txt | 6 | ||||
-rwxr-xr-x | debian/rules | 31 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/upstream/signing-key.asc | 13 | ||||
-rw-r--r-- | debian/watch | 3 |
14 files changed, 521 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..0570d53 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +kinet-metapackages (20211008-13~progress6+u1) fuchur-backports; urgency=medium + + * Initial upload to fuchur-backports. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Fri, 30 Sep 2022 13:19:36 +0200 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..365e897 --- /dev/null +++ b/debian/control @@ -0,0 +1,358 @@ +Source: kinet-metapackages +Section: metapackages +Priority: optional +Maintainer: Kinet Maintainers <maintainers@lists.progress-linux.org> +XSBC-Uploaders: Daniel Baumann <daniel.baumann@progress-linux.org> +XSBC-Original-Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org> +Bugs: mailto:maintainers@lists.progress-linux.org +Build-Depends: + debhelper-compat (= 13), + python3-docutils, +Rules-Requires-Root: no +Standards-Version: 4.6.1 +Homepage: https://kinet.ch +Vcs-Browser: https://git.progress-linux.org/packages/fuchur-backports/kinet-metapackages +Vcs-Git: https://git.progress-linux.org/packages/fuchur-backports/kinet-metapackages +XSBC-Original-Vcs-Browser: https://git.progress-linux.org/users/daniel.baumann/debian/packages/kinet-metapackages +XSBC-Original-Vcs-Git: https://git.progress-linux.org/users/daniel.baumann/debian/packages/kinet-metapackages + +Package: kinet-base-system +Section: metapackages +Architecture: any +Depends: + ${misc:Depends}, + kinet, + task-ssh-server, +# bash + bash-completion, + powerline, + powerline-gitstatus, +# debian + apt-utils, + debconf-utils, + needrestart, +# knot + knot-dnsutils, knot-dnssecutils | knot-dnsutils (<< 3.2), knot-host, +# lzip + plzip, + tarlz, + zstd, +# systemd + libpam-systemd, + systemd-oomd | systemd (<< 250.2), +# Other + acl, + bc, + ca-certificates, + crudini, + gawk, + git, + gnupg, + htop, + jq, + less, + lnav, + lsb-release, + lynx, + man-db, + mc, + mtr-tiny, + openssl, + psmisc, + python3, + rsync, + screen, + sudo, + tcpdump, + traceroute, + vim, + wget, +Conflicts: + resolvconf, +Recommends: +# knot-resolver + knot-resolver [amd64 arm64 armhf armel i386], + socat, +Enhances: + kinet, +Description: Kinet - Base System + Kinet is a Debian derivative distribution focused on system + integration. + . + This package is a metapackage defining the package selection for the + Kinet Base System. + +Package: kinet-container +Section: metapackages +Architecture: all +Depends: + ${misc:Depends}, + kinet-base-system, +# systemd + dbus, + policykit-1, + systemd-sysv, +Conflicts: + molly-guard, +Replaces: + molly-guard, +Enhances: + kinet, + kinet-base-system, +Description: Kinet - Container Metapackage + Kinet is a Debian derivative distribution focused on system + integration. + . + This package is a metapackage to be installed in a container (systemd-nspawn). + +Package: kinet-host +Section: metapackages +Architecture: any +Depends: + ${misc:Depends}, + kinet-base-system, +# bash + fonts-powerline-extra, +# cryptsetup + cryptsetup-bin, + keyutils, + plymouth, +# firmware-free + firmware-linux-free, +# firmware-nonfree (non-free) + firmware-linux-nonfree, firmware-misc-nonfree, +# firmware (third-party) + firmware-ast, +# knot-resolver + knot-resolver [amd64 arm64 armhf armel i386], + socat, +# microcode (contrib, non-free) + iucode-tool, + amd64-microcode, + intel-microcode, +# monitoring + spectre-meltdown-checker, +# Other + dmidecode [amd64 arm64 armhf i386], + ethtool, + gpm, + hdparm, + nvme-cli, + parted, + rng-tools | rng-tools5, + smartmontools, + systemd-timesyncd, +Suggests: +# Other (third-party) + intel-isdct, + supermicro-ipmicfg, +Enhances: + kinet, + kinet-base-system, +Description: Kinet - Host Metapackage + Kinet is a Debian derivative distribution focused on system + integration. + . + This package is a metapackage to be installed on a host system (physical or + virtual). + +Package: kinet-maintainers +Section: metapackages +Architecture: all +Depends: + ${misc:Depends}, + kinet-base-system, +# devscripts + devscripts, + python3-debian, +# sphinx + python3-sphinx, + python3-sphinx-autobuild, + graphviz, +# Other + autotools-dev, + build-essential, + debhelper, + debian-keyring, + debootstrap, + diffstat, + dput, + fakeroot, + git-buildpackage, + lintian, + myrepos, +Enhances: + kinet, + kinet-base-system, +Description: Kinet - Maintainers Metapackage + Kinet is a Debian derivative distribution focused on system + integration. + . + This package is a metapackage depending on packages used for + Kinet development. + +Package: kinet-desktop +Section: metapackages +Architecture: any +Depends: + ${misc:Depends}, + kinet-base-system, + task-desktop, + task-laptop, + cups, +# bash + fonts-powerline, +# firefox + firefox, + webext-foxyproxy, + webext-https-everywhere, + webext-privacy-badger, + webext-ublock-origin, +# filesystems + dosfstools, + exfatprogs, + nfs-common, + ntfs-3g, + samba-common, + sshfs, +# gimp + gimp, + gimp-plugin-registry, +# inkscape + inkscape, + inkscape-open-symbols, +# liferea + liferea, + gir1.2-gstreamer-1.0, + gir1.2-notify-0.7, +# network-manager + network-manager-config-connectivity-debian, + network-manager-ssh, +# pass + pass, + webext-browserpass [amd64 arm64 armhf i386], + pass-extension-tail, + tree, +# thunderbird + thunderbird [amd64 arm64 i386], +# virtualbox (contrib, non-free) + virtualbox [amd64], + virtualbox-modules-amd64 [amd64] | virtualbox-dkms [amd64], + virtualbox-modules-amd64 [amd64] | linux-headers-amd64 [amd64], + virtualbox-extension-pack [amd64] | virtualbox-ext-pack [amd64], + virtualbox-qt [amd64], +# zip + unzip, + zip, +# Other + apg, + util-linux (>= 2.37.2-2~) | hardlink, + libdvdcss2, + nwipe, + symlinks, + whois, +Suggests: +# deluge + deluge-gtk, deluged, +# firefox + webext-umatrix, +Conflicts: + firefox-esr, +Enhances: + kinet, + kinet-base-system, +Description: Kinet - Desktop Metapackage + Kinet is a Debian derivative distribution focused on system + integration. + . + This package is a metapackage to be installed on a desktop. + +Package: kinet-gnome-desktop +Section: metapackages +Architecture: all +Depends: + ${misc:Depends}, + kinet-desktop, + task-gnome-desktop, +# gnome-shell-extensions + gnome-shell-extension-bluetooth-quick-connect, + gnome-shell-extension-disable-workspace-switcher-popup, + gnome-shell-extension-disconnect-wifi, + gnome-shell-extension-hide-activities, + gnome-shell-extension-impatience, + gnome-shell-extension-multi-monitors, + gnome-shell-extension-no-annoyance, + gnome-shell-extension-remove-dropdown-arrows, + gnome-shell-extension-remove-rounded-corners, +# nautilus + nautilus-admin, + seahorse-nautilus, +# network-manager + network-manager-ssh-gnome, +Enhances: + kinet, + kinet-base-system, + kinet-desktop, +Description: Kinet - GNOME Desktop + Kinet is a Debian derivative distribution focused on system + integration. + . + This package is a metapackage defining the package selection for the + Kinet GNOME Desktop. + +Package: kinet-server +Section: metapackages +Architecture: all +Depends: + ${misc:Depends}, + kinet-base-system, +# Other + localepurge, + logrotate, + molly-guard | kinet-container, + postfix, + safe-rm, +Breaks: + exim4-config, +Enhances: + kinet, + kinet-base-system, +Description: Kinet - Server Metapackage + Kinet is a Debian derivative distribution focused on system + integration. + . + This package is a metapackage to be installed on a server. + +Package: kinet-container-server +Section: metapackages +Architecture: all +Depends: + ${misc:Depends}, + kinet-server, +# container-tools + open-infrastructure-container-tools, + curl, + debootstrap, + irker, + pv, + bridge-utils, +# monitoring + netdata, + netdata-apache2, + netdata-plugins-python, +# web + apache2, + ttyd, +# Other + lldpd, + numad, +Enhances: + kinet, + kinet-base-system, + kinet-server, +Description: Kinet - Container Server + Kinet is a Debian derivative distribution focused on system + integration. + . + This package is a metapackage defining the package selection for the + Kinet Container Server. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..9fca8f3 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,25 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Progress Linux Metapackages +Upstream-Contact: Progress Linux Maintainers <maintainers@lists.progress-linux.org> +Source: https://get.progress-linux.org/packages/progress-linux-metapackages + +Files: * +Copyright: 2010-2022 Daniel Baumann <daniel.baumann@progress-linux.org> +License: GPL-3+ + +License: GPL-3+ + 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 3 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. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see <https://www.gnu.org/licenses/>. + . + The complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-3 file. diff --git a/debian/kinet-base-system.lintian-overrides b/debian/kinet-base-system.lintian-overrides new file mode 100644 index 0000000..8bc1faa --- /dev/null +++ b/debian/kinet-base-system.lintian-overrides @@ -0,0 +1,2 @@ +kinet-base-system: description-is-pkg-name Progress Linux - Base System +kinet-base-system: manpage-has-bad-whatis-entry usr/share/man/man7/kinet-metapackages.7.gz diff --git a/debian/kinet-container-server.lintian-overrides b/debian/kinet-container-server.lintian-overrides new file mode 100644 index 0000000..861e84a --- /dev/null +++ b/debian/kinet-container-server.lintian-overrides @@ -0,0 +1 @@ +kinet-container-server: description-is-pkg-name Progress Linux - Container Server diff --git a/debian/kinet-container.postrm b/debian/kinet-container.postrm new file mode 100755 index 0000000..ea6f799 --- /dev/null +++ b/debian/kinet-container.postrm @@ -0,0 +1,30 @@ +#!/bin/sh + +set -e + +case "${1}" in + remove) + for FILE in halt poweroff reboot shutdown coldreboot + do + dpkg-divert --package kinet-container --quiet --remove --rename --divert /lib/container/divert/${FILE}.orig /sbin/${FILE} + done + + for FILE in pm-hibernate pm-suspend pm-suspend-hybrid + do + dpkg-divert --package kinet-container --quiet --remove --rename --divert /lib/container/divert/${FILE}.orig /usr/sbin/${FILE} + done + ;; + + purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + + ;; + + *) + echo "postrm called with unknown argument \`${1}'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 diff --git a/debian/kinet-container.preinst b/debian/kinet-container.preinst new file mode 100755 index 0000000..4ef28f7 --- /dev/null +++ b/debian/kinet-container.preinst @@ -0,0 +1,32 @@ +#!/bin/sh + +set -e + +case "${1}" in + install|upgrade) + mkdir -p /lib/container/divert + + for FILE in halt poweroff reboot shutdown coldreboot + do + dpkg-divert --package kinet-container --quiet --add --rename --divert /lib/container/divert/${FILE}.orig /sbin/${FILE} + done + + for FILE in pm-hibernate pm-suspend pm-suspend-hybrid + do + dpkg-divert --package kinet-container --quiet --add --rename --divert /lib/container/divert/${FILE}.orig /usr/sbin/${FILE} + done + ;; + + abort-upgrade) + + ;; + + *) + echo "preinst called with unknown argument \`${1}'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 diff --git a/debian/kinet-gnome-desktop.lintian-overrides b/debian/kinet-gnome-desktop.lintian-overrides new file mode 100644 index 0000000..10d3626 --- /dev/null +++ b/debian/kinet-gnome-desktop.lintian-overrides @@ -0,0 +1 @@ +kinet-gnome-desktop: description-is-pkg-name Progress Linux - GNOME Desktop diff --git a/debian/local/shutdown b/debian/local/shutdown new file mode 100755 index 0000000..30e959d --- /dev/null +++ b/debian/local/shutdown @@ -0,0 +1,13 @@ +#!/bin/sh + +echo "${0}: disabled in systemd-nspawn container" + +if [ -e /etc/compute-tools/shutdown.txt ] +then + cat /etc/compute-tools/shutdown.txt +elif [ -e /usr/share/container/shutdown.txt ] +then + cat /usr/share/container/shutdown.txt +fi + +exit 1 diff --git a/debian/local/shutdown.txt b/debian/local/shutdown.txt new file mode 100644 index 0000000..b082bf0 --- /dev/null +++ b/debian/local/shutdown.txt @@ -0,0 +1,6 @@ + +Linux container share the kernel of the host system they are running on, +there is no need to reboot just the container. + +However, please contact your system administrator to reboot this +container from the host system. diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..3ac860d --- /dev/null +++ b/debian/rules @@ -0,0 +1,31 @@ +#!/usr/bin/make -f + +SHELL := sh -e + +%: + dh ${@} + +override_dh_auto_install: + dh_auto_install -- DESTDIR=$(CURDIR)/debian/kinet-base-system + +execute_after_dh_auto_install: + # shutdown + mkdir -p debian/kinet-container/sbin + for FILE in halt poweroff reboot shutdown coldreboot; \ + do \ + cp debian/local/shutdown debian/kinet-container/sbin/$${FILE}; \ + done + + mkdir -p debian/kinet-container/usr/sbin + for FILE in pm-hibernate pm-suspend pm-suspend-hybrid; \ + do \ + cp debian/local/shutdown debian/kinet-container/usr/sbin/$${FILE}; \ + done + + mkdir -p debian/kinet-container/usr/share/container + cp debian/local/shutdown.txt debian/kinet-container/usr/share/container + + # removing useless files + rm -f debian/tmp/usr/share/doc/*/CHANGELOG.txt + rm -f debian/tmp/usr/share/doc/*/LICENSE.txt + rm -f debian/tmp/usr/share/doc/*/VERSION.txt diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/upstream/signing-key.asc b/debian/upstream/signing-key.asc new file mode 100644 index 0000000..be43c2e --- /dev/null +++ b/debian/upstream/signing-key.asc @@ -0,0 +1,13 @@ +-----BEGIN PGP PUBLIC KEY BLOCK----- + +mDMEXAKSaRYJKwYBBAHaRw8BAQdAq1Z910kZKIWBbldmI2RuKath/L9lt/yu9gLu +AY8yKce0MkRhbmllbCBCYXVtYW5uIDxkYW5pZWwuYmF1bWFubkBwcm9ncmVzcy1s +aW51eC5vcmc+iJAEExYIADgWIQSVQJ8pRLHG1ExrSdU+bKKNqvjdFAUCXAKSaQIb +AwULCQgHAgYVCgkICwIEFgIDAQIeAQIXgAAKCRA+bKKNqvjdFFlRAP0VaDVKUx42 +9KkQogj+zGLbcw6bKLaNiwk0eBTmb9JLxwEAym/fpGDR0EZjXZcDa1caufUqcAnM +CHC3IIdnRoCMUgW4OARcApJpEgorBgEEAZdVAQUBAQdALzHqExtYOAB5ER6aB1hY +1gvSBtMqYhgadyhh36ntxyEDAQgHiHgEGBYIACAWIQSVQJ8pRLHG1ExrSdU+bKKN +qvjdFAUCXAKSaQIbDAAKCRA+bKKNqvjdFIbYAP9LPJkmOR6czAKdnTtJKpntVTfe +x801sACDw1QYZXLyGQD/QuiYrvW6zeO72KgDWW4TOyjtz9atTLFBCm2RDAKdjwk= +=EFFA +-----END PGP PUBLIC KEY BLOCK----- diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..3f833b8 --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=4 +opts="pgpmode=auto" \ +https://get.kinet.org/packages/kinet-metapackages/upstream/kinet-metapackages-(.+)\.tar\.lz |