diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 02:09:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 02:09:44 +0000 |
commit | 92bba54d6fcdca3c5e6c4c28c160aaae213edf04 (patch) | |
tree | f161e3f8045d1e6bf2244ec8b26fac578fdf9fd2 | |
parent | Adding upstream version 20240420. (diff) | |
download | progress-linux-92bba54d6fcdca3c5e6c4c28c160aaae213edf04.tar.xz progress-linux-92bba54d6fcdca3c5e6c4c28c160aaae213edf04.zip |
Adding debian version 20240420-1.debian/20240420-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | debian/TODO | 5 | ||||
-rw-r--r-- | debian/changelog | 287 | ||||
-rw-r--r-- | debian/control | 62 | ||||
-rw-r--r-- | debian/copyright | 37 | ||||
-rw-r--r-- | debian/po/POTFILES.in | 1 | ||||
-rw-r--r-- | debian/po/de.po | 67 | ||||
-rw-r--r-- | debian/po/es.po | 67 | ||||
-rw-r--r-- | debian/po/fr.po | 66 | ||||
-rw-r--r-- | debian/po/nl.po | 71 | ||||
-rw-r--r-- | debian/po/pt.po | 68 | ||||
-rw-r--r-- | debian/po/pt_BR.po | 64 | ||||
-rw-r--r-- | debian/po/ru.po | 70 | ||||
-rw-r--r-- | debian/po/templates.pot | 68 | ||||
-rw-r--r-- | debian/progress-linux-pgp-keys.install | 1 | ||||
-rw-r--r-- | debian/progress-linux-pgp-keys.lintian-overrides | 1 | ||||
-rw-r--r-- | debian/progress-linux-ssh-keys.install | 1 | ||||
-rw-r--r-- | debian/progress-linux-ssh-keys.lintian-overrides | 1 | ||||
-rwxr-xr-x | debian/progress-linux.config | 124 | ||||
-rw-r--r-- | debian/progress-linux.install | 2 | ||||
-rw-r--r-- | debian/progress-linux.lintian-overrides | 1 | ||||
-rwxr-xr-x | debian/progress-linux.postinst | 267 | ||||
-rwxr-xr-x | debian/progress-linux.postrm | 63 | ||||
-rw-r--r-- | debian/progress-linux.templates | 27 | ||||
-rwxr-xr-x | debian/rules | 19 | ||||
-rw-r--r-- | debian/source/format | 1 | ||||
-rw-r--r-- | debian/upstream/signing-key.asc | 13 | ||||
-rw-r--r-- | debian/watch | 3 |
27 files changed, 1457 insertions, 0 deletions
diff --git a/debian/TODO b/debian/TODO new file mode 100644 index 0000000..76b437a --- /dev/null +++ b/debian/TODO @@ -0,0 +1,5 @@ +TODO +==== + + * adding debconf question to include deb-src entries. + * adding debconf question to also populate debian.org sources.list entries. diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..d3aa1d6 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,287 @@ +progress-linux (20240420-1) sid; urgency=medium + + * Uploading to sid. + * Merging upstream version 20240420. + * Updating copyright for 2024. + * Updating to standards-version 4.7.0. + * Updating keyring filename for new upstream version. + * Updating version strings for backports suites to match current schema. + * Adding test repositories to debconf selection. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 20 Apr 2024 17:25:10 +0200 + +progress-linux (20221212-3) sid; urgency=medium + + * Uploading to sid. + * Adding non-free-firmware archive area. + * Adding support for Progress Linux 9.0 (illuan). + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Wed, 01 Feb 2023 15:36:08 +0100 + +progress-linux (20221212-2) sid; urgency=medium + + * Uploading to sid. + * Updating to standards version 4.6.2. + * Adding updated Brazilian Portuguese debconf translations from Paulo + Henrique de Lima Santana (phls) <phls@debian.org> (Closes: #1028012). + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Wed, 18 Jan 2023 09:55:45 +0100 + +progress-linux (20221212-1) sid; urgency=medium + + * Uploading to sid. + * Merging upstream version 20221212. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Tue, 13 Dec 2022 11:17:29 +0100 + +progress-linux (20221001-1) sid; urgency=medium + + * Uploading to sid. + * Merging upstream version 20221001. + * Updating to standards-version 4.6.1. + * Updating copyright notices for 2022. + * Using https links in GPL reference in copyright. + * Correcting wording of ssh-keys package description. + * Fixing incomplete graograman support. + * Adding support for Progress Linux 8 (horok). + * Relaxing wording in comments in rules. + * Correcting file pattern for key files in copyright. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 02 Oct 2022 10:40:03 +0200 + +progress-linux (20211008-1) sid; urgency=medium + + * Uploading to sid. + * Merging upstream version 20211008. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Fri, 08 Oct 2021 20:17:14 +0200 + +progress-linux (20210101-3) sid; urgency=medium + + * Uploading to sid. + * Updating to standards version 4.6.0. + * Making distribution detection and version handling more robust. + * Adding support for Debian 12 (bookworm). + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Fri, 27 Aug 2021 06:18:01 +0200 + +progress-linux (20210101-2) sid; urgency=medium + + * Uploading to sid. + * Adding initial Brazilian Portuguese debconf translations from Jorge + Neto <jorge.fln20@gmail.com> and Adriano Rafael Gomes + <adrianorg@debian.org> (Closes: #986501). + * Adding initial Spanish debconf translations from Camaleón + <noelamac@gmail.com> (Closes: #987667). + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 18 Jul 2021 09:14:43 +0200 + +progress-linux (20210101-1) sid; urgency=medium + + * Uploading to sid. + * Merging upstream version 20210101. + * Updating years in copyright file for 2021. + * Updating to standards version 4.5.1. + * Switching from cdn.deb.progress-linux.org to deb.progress-linux.org as main + redirector address. + * Updating TODO file. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Tue, 09 Feb 2021 15:53:47 +0100 + +progress-linux (20201001-1) sid; urgency=medium + + * Uploading to sid. + * Merging upstream version 20201001. + * Sharpening generated apt preferences by using both origin and suite + values for pinning. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Thu, 01 Oct 2020 18:51:31 +0200 + +progress-linux (20190101-14) sid; urgency=medium + + * Uploading to sid. + * Adding updated Portuguese debconf translations from Américo Monteiro + <a_monteiro@gmx.com> (Closes: #962406). + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 14 Jun 2020 11:16:42 +0200 + +progress-linux (20190101-13) sid; urgency=medium + + * Uploading to sid. + * Updating to debhelper version 13. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 19 Apr 2020 14:10:13 +0200 + +progress-linux (20190101-12) sid; urgency=medium + + * Uploading to sid. + * Using execute_after targets in rules to be explicit what we're doing. + * Adding updated Russian debconf translations from Lev Lamberov + <dogsleg@debian.org> (Closes: #951441). + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 21 Mar 2020 15:38:01 +0100 + +progress-linux (20190101-11) sid; urgency=medium + + * Uploading to sid. + * Updating years in copyright file for 2020. + * Updating to standards version 4.5.0. + * Adding updated Dutch debconf translations from Frans Spiesschaert + <Frans.Spiesschaert@yucom.be> (Closes: #947137). + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Tue, 21 Jan 2020 22:06:20 +0100 + +progress-linux (20190101-10) sid; urgency=medium + + * Uploading to sid. + * Adding updated debconf translations from Helge Kreutzmann + <debian@helgefjell.de> (Closes: #945388). + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Sun, 08 Dec 2019 21:47:44 +0100 + +progress-linux (20190101-9) sid; urgency=medium + + * Uploading to sid. + * Using pin priority 100 for backports if the corresponding base release + has not been selected in progress-linux apt sources handling. + * Updating to standards version 4.4.1. + * Switching to deb822 format for apt sources lists. + * Generalizing debconf handling. + * Adding mirror selection. + * Adding todo file. + * Using codenames as upload targets in changelog. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 18 Nov 2019 17:35:40 +0100 + +progress-linux (20190101-8) sid; urgency=medium + + * Uploading to sid. + * Remove apt keyring leftover symlink, not required anymore by using + signed-by now. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Fri, 13 Sep 2019 22:09:04 +0200 + +progress-linux (20190101-7) sid; urgency=medium + + * Uploading to sid. + * Using signed-by in sources.list instead of symlinking keyring into apt + keyring. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Fri, 13 Sep 2019 21:52:58 +0200 + +progress-linux (20190101-6) sid; urgency=medium + + * Uploading to sid. + * Symlinking archive key instead of copying it. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 10 Aug 2019 15:36:55 +0200 + +progress-linux (20190101-5) sid; urgency=medium + + * Uploading to sid. + * Adding provides to progress-linux-gpg-keys. + * Updating to standards version 4.4.0. + * Generalizing distribution handling in debconf. + * Adding support for Progress Linux 6 (fuchur). + * Handling /etc/debian_version on Progress Linux backports + distributions. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Wed, 17 Jul 2019 21:20:06 +0200 + +progress-linux (20190101-4) sid; urgency=medium + + * Uploading to sid. + * Adding initial French debconf translations from Jean-Pierre Giraud + <jean-pierregiraud@neuf.fr> (Closes: #923380). + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Wed, 27 Feb 2019 21:57:52 +0100 + +progress-linux (20190101-3) sid; urgency=medium + + * Uploading to sid. + * Harmonizing package descriptions. + * Updating URL in watch file. + * Removing overwriting of the default values in debconf handling. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Tue, 26 Feb 2019 03:14:11 +0100 + +progress-linux (20190101-2) sid; urgency=medium + + * Uploading to sid. + * Silencing rmdir in postrm. + * Using cdn redirector as default sources.list entry. + * Updating upstream download urls. + * Dynamically showing distribution specific repositories to setup. + * Adding initial Russian debconf translations from Lev Lamberov + <dogsleg@debian.org> (Closes: #922231). + * Adding initial Dutch debconf translations from Frans Spiesschaert + <Frans.Spiesschaert@yucom.be> (Closes: #922480). + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 18 Feb 2019 18:46:29 +0100 + +progress-linux (20190101-1) sid; urgency=medium + + * Uploading to sid. + * Merging upstream version 20190101. + * Updating debhelper files for new upstream version. + * Adding upstream signing key. + * Updating package descriptions. + * Building with dh_missing --fail-missing. + * Updating lintian overrides. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Wed, 06 Feb 2019 21:35:22 +0100 + +progress-linux (20181201-4) sid; urgency=high + + * Uploading to sid. + * Removing apt-transport-https from depends, it's now a transitional + package and not needed anymore. + * Adding intial German debconf translations from Helge Kreutzmann + <debian@helgefjell.de> (Closes: #921144). + * Adding initial Portuguese debconf translations from Américo Monteiro + <a_monteiro@gmx.com> (Closes: #921219). + * Adding multi-arch fields in control. + * Adding enhances fields in control. + * Adding entry about target distribution to changelog. + * Adding watch file. + * Updating source url in copyright. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Mon, 04 Feb 2019 06:23:04 +0100 + +progress-linux (20181201-3) sid; urgency=medium + + * Uploading to sid. + * Moving TODO file into upstream. + * Disabling test for now as it needs proper handling of the gnupg + homedir for buildds first. + * Adding enhances field. + * Splitting choices for translation in debconf templates. + * Adding lintian overrides. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Wed, 30 Jan 2019 03:34:24 +0100 + +progress-linux (20181201-2) sid; urgency=medium + + * Uploading to sid. + * Adding support for restricted archive area. + * Removing superfluous whitespace in archive areas when configuring apt + sources.list entries. + * Updating debconf priorities from low to high. + * Showing archive areas debconf question only when at least one archive + has previously been selected. + * Installing all available apt keys. + * Adding ssh_known_hosts handling. + * Generalizing config script. + * Generalizing postinst script. + * Adding postrm script to remove apt and ssh configuration. + * Updating TODO file. + * Updating package description. + * Updating debconf templates. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Tue, 29 Jan 2019 21:04:15 +0100 + +progress-linux (20181201-1) sid; urgency=medium + + * Initial upload to sid. + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Tue, 29 Jan 2019 05:29:25 +0100 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..969ea76 --- /dev/null +++ b/debian/control @@ -0,0 +1,62 @@ +Source: progress-linux +Section: admin +Priority: optional +Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org> +Build-Depends: + debhelper-compat (= 13), + gnupg, +Rules-Requires-Root: no +Standards-Version: 4.7.0 +Homepage: https://progress-linux.org +Vcs-Browser: https://git.progress-linux.org/users/daniel.baumann/debian/packages/progress-linux +Vcs-Git: https://git.progress-linux.org/users/daniel.baumann/debian/packages/progress-linux + +Package: progress-linux +Section: admin +Architecture: all +Multi-Arch: foreign +Depends: + ca-certificates, + progress-linux-pgp-keys, + progress-linux-ssh-keys, + ${misc:Depends}, +Enhances: + apt, + openssh-server, +Description: Progress Linux - Setup + Progress Linux is a Debian derivative distribution focused on system + integration. + . + This package allows one to setup the Progress Linux apt archives and ssh + cert-authority to the current system. + +Package: progress-linux-pgp-keys +Section: admin +Architecture: all +Multi-Arch: foreign +Depends: + ${misc:Depends}, +Provides: + progress-linux-gpg-keys, +Enhances: + apt, +Description: Progress Linux - PGP Keys + Progress Linux is a Debian derivative distribution focused on system + integration. + . + This package contains the PGP keys used to verify digital signatures on + packages and images. + +Package: progress-linux-ssh-keys +Section: admin +Architecture: all +Multi-Arch: foreign +Depends: + ${misc:Depends}, +Enhances: + openssh-server, +Description: Progress Linux - SSH Keys + Progress Linux is a Debian derivative distribution focused on system + integration. + . + This package contains the SSH keys used for hosts and maintainers. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..b29ba2f --- /dev/null +++ b/debian/copyright @@ -0,0 +1,37 @@ +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: Progress Linux +Upstream-Contact: Progress Linux Maintainers <maintainers@lists.progress-linux.org> +Source: https://get.progress-linux.org/packages/progress-linux + +Files: * +Copyright: 2010-2024 Daniel Baumann <daniel.baumann@progress-linux.org> +License: GPL-3+ + +Files: *-keys/* +Copyright: 2010-2024 Daniel Baumann <daniel.baumann@progress-linux.org> +License: PD + +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. + +License: PD + This program is free software: you have unlimited permission + to copy, distribute and modify it. + . + 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. diff --git a/debian/po/POTFILES.in b/debian/po/POTFILES.in new file mode 100644 index 0000000..8b31d5c --- /dev/null +++ b/debian/po/POTFILES.in @@ -0,0 +1 @@ +[type: gettext/rfc822deb] progress-linux.templates diff --git a/debian/po/de.po b/debian/po/de.po new file mode 100644 index 0000000..3dc60de --- /dev/null +++ b/debian/po/de.po @@ -0,0 +1,67 @@ +# German debconf translation of progress-linux +# Copyright (C) 2019 Helge Kreutzmann <debian@helgefjell.de> +# This file is distributed under the same license as the progress-linux package. +msgid "" +msgstr "" +"Project-Id-Version: progress-linux 20181201-3\n" +"Report-Msgid-Bugs-To: progress-linux@packages.debian.org\n" +"POT-Creation-Date: 2019-11-18 17:31+0100\n" +"PO-Revision-Date: 2019-11-24 06:48+0100\n" +"Last-Translator: Helge Kreutzmann <debian@helgefjell.de>\n" +"Language-Team: German <debian-l10n-german@lists.debian.org>\n" +"Language: de\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: title +#. Description +#: ../progress-linux.templates:1001 +msgid "Progress Linux: Setup" +msgstr "Progress Linux: Einrichtung" + +#. Type: multiselect +#. Description +#: ../progress-linux.templates:2001 +msgid "setup apt archives:" +msgstr "Apt-Archive einrichten:" + +#. Type: multiselect +#. Description +#: ../progress-linux.templates:2001 +msgid "Please select the apt archives to setup." +msgstr "Bitte wählen Sie die einzurichtenden Apt-Archive aus." + +#. Type: multiselect +#. Description +#: ../progress-linux.templates:3001 +msgid "setup apt archive areas:" +msgstr "Apt-Archivbereiche einrichten:" + +#. Type: multiselect +#. Description +#: ../progress-linux.templates:3001 +msgid "Please select the apt archive areas to setup." +msgstr "Bitte wählen Sie die einzurichtenden Apt-Archivbereiche aus." + +#. Type: string +#. Description +#: ../progress-linux.templates:4001 +msgid "enter apt mirror:" +msgstr "Eingabe APT-Spiegel-Server:" + +#. Type: string +#. Description +#: ../progress-linux.templates:4001 +msgid "Please specify the mirror to download packages from." +msgstr "Bitte legen Sie den Spiegel-Server zum Herunterladen von Paketen fest." + +#. Type: string +#. Description +#: ../progress-linux.templates:4001 +msgid "" +"If unsure, leave empty which will use the default mirror (https://deb." +"progress-linux.org/packages)." +msgstr "" +"Falls Sie sich nicht sicher sind, lassen Sie die Eingabe leer und verwenden " +"den Vorgabe-Spiegel-Server (https://deb.progress-linux.org/packages)." diff --git a/debian/po/es.po b/debian/po/es.po new file mode 100644 index 0000000..4f27328 --- /dev/null +++ b/debian/po/es.po @@ -0,0 +1,67 @@ +# Spanish debconf translation of progress-linux +# Copyright (C) 2021 Camaleón <noelamac@gmail.com> +# This file is distributed under the same license as the progress-linux package. +msgid "" +msgstr "" +"Project-Id-Version: progress-linux\n" +"Report-Msgid-Bugs-To: progress-linux@packages.debian.org\n" +"POT-Creation-Date: 2019-11-18 17:31+0100\n" +"PO-Revision-Date: 2021-04-16 17:45+0200\n" +"Last-Translator: Camaleón <noelamac@gmail.com>\n" +"Language-Team: Debian Spanish <debian-l10n-spanish@lists.debian.org>\n" +"Language: es\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: title +#. Description +#: ../progress-linux.templates:1001 +msgid "Progress Linux: Setup" +msgstr "Progress Linux: Configuración" + +#. Type: multiselect +#. Description +#: ../progress-linux.templates:2001 +msgid "setup apt archives:" +msgstr "configurar archivos apt:" + +#. Type: multiselect +#. Description +#: ../progress-linux.templates:2001 +msgid "Please select the apt archives to setup." +msgstr "Por favor, indique los archivos apt que desea configurar." + +#. Type: multiselect +#. Description +#: ../progress-linux.templates:3001 +msgid "setup apt archive areas:" +msgstr "configurar áreas del archivo apt:" + +#. Type: multiselect +#. Description +#: ../progress-linux.templates:3001 +msgid "Please select the apt archive areas to setup." +msgstr "Por favor, indique las áreas del archivo apt que desea configurar." + +#. Type: string +#. Description +#: ../progress-linux.templates:4001 +msgid "enter apt mirror:" +msgstr "introduzca la réplica de apt:" + +#. Type: string +#. Description +#: ../progress-linux.templates:4001 +msgid "Please specify the mirror to download packages from." +msgstr "Por favor, indique la réplica desde donde descargar los paquetes." + +#. Type: string +#. Description +#: ../progress-linux.templates:4001 +msgid "" +"If unsure, leave empty which will use the default mirror (https://deb." +"progress-linux.org/packages)." +msgstr "" +"Si no está seguro, puede dejarlo en blanco y se utilizará la réplica " +"predeterminada («https://deb.progress-linux.org/packages»)." diff --git a/debian/po/fr.po b/debian/po/fr.po new file mode 100644 index 0000000..782c6b0 --- /dev/null +++ b/debian/po/fr.po @@ -0,0 +1,66 @@ +# French debconf translation of progress-linux +# Copyright (C) 2019 Jean-Pierre Giraud <jean-pierregiraud@neuf.fr> +# This file is distributed under the same license as the progress-linux package. +msgid "" +msgstr "" +"Project-Id-Version: progress-linux\n" +"Report-Msgid-Bugs-To: progress-linux@packages.debian.org\n" +"POT-Creation-Date: 2019-11-18 17:31+0100\n" +"PO-Revision-Date: 2019-02-13 20:08+0100\n" +"Last-Translator: Jean-Pierre Giraud <jean-pierregiraud@neuf.fr>\n" +"Language-Team: French <debian-l10n-french@lists.debian.org>\n" +"Language: fr\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. Type: title +#. Description +#: ../progress-linux.templates:1001 +msgid "Progress Linux: Setup" +msgstr "Progress Linux : configuration" + +#. Type: multiselect +#. Description +#: ../progress-linux.templates:2001 +msgid "setup apt archives:" +msgstr "Configurer les archives APT :" + +#. Type: multiselect +#. Description +#: ../progress-linux.templates:2001 +msgid "Please select the apt archives to setup." +msgstr "Veuillez choisir les archives APT à configurer." + +#. Type: multiselect +#. Description +#: ../progress-linux.templates:3001 +msgid "setup apt archive areas:" +msgstr "Configurer les sections de l'archive APT :" + +#. Type: multiselect +#. Description +#: ../progress-linux.templates:3001 +msgid "Please select the apt archive areas to setup." +msgstr "Veuillez choisir les sections de l'archive APT à configurer." + +#. Type: string +#. Description +#: ../progress-linux.templates:4001 +msgid "enter apt mirror:" +msgstr "" + +#. Type: string +#. Description +#: ../progress-linux.templates:4001 +msgid "Please specify the mirror to download packages from." +msgstr "" + +#. Type: string +#. Description +#: ../progress-linux.templates:4001 +msgid "" +"If unsure, leave empty which will use the default mirror (https://deb." +"progress-linux.org/packages)." +msgstr "" diff --git a/debian/po/nl.po b/debian/po/nl.po new file mode 100644 index 0000000..8b47883 --- /dev/null +++ b/debian/po/nl.po @@ -0,0 +1,71 @@ +# Dutch debconf translation of progress-linux +# Copyright (C) 2019 Frans Spiesschaert <Frans.Spiesschaert@yucom.be> +# This file is distributed under the same license as the progress-linux package. +msgid "" +msgstr "" +"Project-Id-Version: progress-linux_20190101-9\n" +"Report-Msgid-Bugs-To: progress-linux@packages.debian.org\n" +"POT-Creation-Date: 2019-11-18 17:31+0100\n" +"PO-Revision-Date: 2019-12-02 21:06+0100\n" +"Last-Translator: Frans Spiesschaert <Frans.Spiesschaert@yucom.be>\n" +"Language-Team: Debian Dutch l10n Team <debian-l10n-dutch@lists.debian." +"org>\n" +"Language: nl\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Type: title +#. Description +#: ../progress-linux.templates:1001 +msgid "Progress Linux: Setup" +msgstr "Progress Linux: Instellen" + +#. Type: multiselect +#. Description +#: ../progress-linux.templates:2001 +msgid "setup apt archives:" +msgstr "apt-archieven instellen:" + +#. Type: multiselect +#. Description +#: ../progress-linux.templates:2001 +msgid "Please select the apt archives to setup." +msgstr "Selecteer de in te stellen apt-archieven." + +#. Type: multiselect +#. Description +#: ../progress-linux.templates:3001 +msgid "setup apt archive areas:" +msgstr "apt-archiefgebieden instellen:" + +#. Type: multiselect +#. Description +#: ../progress-linux.templates:3001 +msgid "Please select the apt archive areas to setup." +msgstr "Selecteer de in te stellen apt-archiefgebieden." + +#. Type: string +#. Description +#: ../progress-linux.templates:4001 +msgid "enter apt mirror:" +msgstr "voer de spiegelserver voor apt in:" + +#. Type: string +#. Description +#: ../progress-linux.templates:4001 +msgid "Please specify the mirror to download packages from." +msgstr "" +"Geef op vanaf welke spiegelserver pakketten opgehaald moeten worden." + +#. Type: string +#. Description +#: ../progress-linux.templates:4001 +msgid "" +"If unsure, leave empty which will use the default mirror (https://deb." +"progress-linux.org/packages)." +msgstr "" +"In geval van twijfel kunt u dit leeg laten. Dan zal de " +"standaardspiegelserver (https://deb.progress-linux.org/packages) " +"gebruikt worden." diff --git a/debian/po/pt.po b/debian/po/pt.po new file mode 100644 index 0000000..0d936b8 --- /dev/null +++ b/debian/po/pt.po @@ -0,0 +1,68 @@ +# Portuguese debconf translation of progress-linux +# Copyright (C) 2019-2020 Américo Monteiro <a_monteiro@gmx.com> +# This file is distributed under the same license as the progress-linux package. +msgid "" +msgstr "" +"Project-Id-Version: progress-linux 20190101-13\n" +"Report-Msgid-Bugs-To: progress-linux@packages.debian.org\n" +"POT-Creation-Date: 2019-11-18 17:31+0100\n" +"PO-Revision-Date: 2020-06-07 17:10+0000\n" +"Last-Translator: Américo Monteiro <a_monteiro@gmx.com>\n" +"Language-Team: Portuguese <>\n" +"Language: pt\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. Type: title +#. Description +#: ../progress-linux.templates:1001 +msgid "Progress Linux: Setup" +msgstr "Progress Linux: Configuração" + +#. Type: multiselect +#. Description +#: ../progress-linux.templates:2001 +msgid "setup apt archives:" +msgstr "configurar arquivos do apt:" + +#. Type: multiselect +#. Description +#: ../progress-linux.templates:2001 +msgid "Please select the apt archives to setup." +msgstr "Por favor escolha os arquivos apt a configurar." + +#. Type: multiselect +#. Description +#: ../progress-linux.templates:3001 +msgid "setup apt archive areas:" +msgstr "configurar áreas de arquivo do apt:" + +#. Type: multiselect +#. Description +#: ../progress-linux.templates:3001 +msgid "Please select the apt archive areas to setup." +msgstr "Por favor escolha as áreas do arquivo apt a configurar." + +#. Type: string +#. Description +#: ../progress-linux.templates:4001 +msgid "enter apt mirror:" +msgstr "indique o mirror apt:" + +#. Type: string +#. Description +#: ../progress-linux.templates:4001 +msgid "Please specify the mirror to download packages from." +msgstr "Por favor especifique o mirror de onde descarregar os pacotes." + +#. Type: string +#. Description +#: ../progress-linux.templates:4001 +msgid "" +"If unsure, leave empty which will use the default mirror (https://deb." +"progress-linux.org/packages)." +msgstr "" +"Em caso de dúvida, deixe vazio o que irá usar o mirror predefinido " +"(https://deb.progress-linux.org/packages)." diff --git a/debian/po/pt_BR.po b/debian/po/pt_BR.po new file mode 100644 index 0000000..1c0c6d2 --- /dev/null +++ b/debian/po/pt_BR.po @@ -0,0 +1,64 @@ +# Brazilian Portuguese debconf translation of progress-linux +# Copyright (C) 2019 Jorge Neto <jorge.fln20@gmail.com> +# Copyright (C) 2019 Adriano Rafael Gomes <adrianorg@debian.org> +# Copyright (C) 2022 Paulo Henrique de Lima Santana (phls) <phls@debian.org> +# This file is distributed under the same license as the progress-linux package. +msgid "" +msgstr "" +"Project-Id-Version: progress-linux_20221001-1\n" +"Report-Msgid-Bugs-To: progress-linux@packages.debian.org\n" +"POT-Creation-Date: 2019-11-18 17:31+0100\n" +"PO-Revision-Date: 2022-11-27 21:53-0300\n" +"Language: pt_BR\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. Type: title +#. Description +#: ../progress-linux.templates:1001 +msgid "Progress Linux: Setup" +msgstr "Progress Linux: configuração" + +#. Type: multiselect +#. Description +#: ../progress-linux.templates:2001 +msgid "setup apt archives:" +msgstr "configurar o repositório do apt:" + +#. Type: multiselect +#. Description +#: ../progress-linux.templates:2001 +msgid "Please select the apt archives to setup." +msgstr "Por favor, selecione o repositório do apt para configurar." + +#. Type: multiselect +#. Description +#: ../progress-linux.templates:3001 +msgid "setup apt archive areas:" +msgstr "configurar áreas do repositório do apt:" + +#. Type: multiselect +#. Description +#: ../progress-linux.templates:3001 +msgid "Please select the apt archive areas to setup." +msgstr "Por favor, selecione as áreas do repositório do apt para configurar." + +#. Type: string +#. Description +#: ../progress-linux.templates:4001 +msgid "enter apt mirror:" +msgstr "informar espelho do apt:" + +#. Type: string +#. Description +#: ../progress-linux.templates:4001 +msgid "Please specify the mirror to download packages from." +msgstr "Por favor, especifique o espelho para baixar os pacotes." + +#. Type: string +#. Description +#: ../progress-linux.templates:4001 +msgid "If unsure, leave empty which will use the default mirror (https://deb.progress-linux.org/packages)." +msgstr "Se não tiver certeza, deixe em branco que será usado o espelho padrão (https://deb.progress-linux.org/packages)." diff --git a/debian/po/ru.po b/debian/po/ru.po new file mode 100644 index 0000000..b7bf104 --- /dev/null +++ b/debian/po/ru.po @@ -0,0 +1,70 @@ +# Russian debconf translation of progress-linux +# Copyright (C) 2019-2020 Lev Lamberov <dogsleg@debian.org> +# This file is distributed under the same license as the progress-linux package. +msgid "" +msgstr "" +"Project-Id-Version: progress-linux\n" +"Report-Msgid-Bugs-To: progress-linux@packages.debian.org\n" +"POT-Creation-Date: 2019-11-18 17:31+0100\n" +"PO-Revision-Date: 2020-02-10 10:16+0500\n" +"Last-Translator: Lev Lamberov <dogsleg@debian.org>\n" +"Language-Team: Debian L10N Russian <debian-l10n-russian@lists.debian.org>\n" +"Language: ru\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n" +"%10<=4 && (n%100<12 || n%100>14) ? 1 : 2);\n" + +#. Type: title +#. Description +#: ../progress-linux.templates:1001 +msgid "Progress Linux: Setup" +msgstr "Progress Linux: настройка" + +#. Type: multiselect +#. Description +#: ../progress-linux.templates:2001 +msgid "setup apt archives:" +msgstr "Настройка архивов apt:" + +#. Type: multiselect +#. Description +#: ../progress-linux.templates:2001 +msgid "Please select the apt archives to setup." +msgstr "Выберите архивы apt для настройки." + +#. Type: multiselect +#. Description +#: ../progress-linux.templates:3001 +msgid "setup apt archive areas:" +msgstr "Настройка разделов архива apt:" + +#. Type: multiselect +#. Description +#: ../progress-linux.templates:3001 +msgid "Please select the apt archive areas to setup." +msgstr "Выберите разделы архива apt для настройки." + +#. Type: string +#. Description +#: ../progress-linux.templates:4001 +msgid "enter apt mirror:" +msgstr "Введите зеркало apt:" + +#. Type: string +#. Description +#: ../progress-linux.templates:4001 +msgid "Please specify the mirror to download packages from." +msgstr "Укажите зеркало для загрузки пакетов." + +#. Type: string +#. Description +#: ../progress-linux.templates:4001 +msgid "" +"If unsure, leave empty which will use the default mirror (https://deb." +"progress-linux.org/packages)." +msgstr "" +"Если вы не уверены, то оставьте это поле пустым, и тогда будет " +"использоваться зеркало по умолчанию (https://deb.progress-linux.org/" +"packages)." diff --git a/debian/po/templates.pot b/debian/po/templates.pot new file mode 100644 index 0000000..d4fdd92 --- /dev/null +++ b/debian/po/templates.pot @@ -0,0 +1,68 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the progress-linux package. +# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: progress-linux\n" +"Report-Msgid-Bugs-To: progress-linux@packages.debian.org\n" +"POT-Creation-Date: 2019-11-18 17:31+0100\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" +"Language-Team: LANGUAGE <LL@li.org>\n" +"Language: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" + +#. Type: title +#. Description +#: ../progress-linux.templates:1001 +msgid "Progress Linux: Setup" +msgstr "" + +#. Type: multiselect +#. Description +#: ../progress-linux.templates:2001 +msgid "setup apt archives:" +msgstr "" + +#. Type: multiselect +#. Description +#: ../progress-linux.templates:2001 +msgid "Please select the apt archives to setup." +msgstr "" + +#. Type: multiselect +#. Description +#: ../progress-linux.templates:3001 +msgid "setup apt archive areas:" +msgstr "" + +#. Type: multiselect +#. Description +#: ../progress-linux.templates:3001 +msgid "Please select the apt archive areas to setup." +msgstr "" + +#. Type: string +#. Description +#: ../progress-linux.templates:4001 +msgid "enter apt mirror:" +msgstr "" + +#. Type: string +#. Description +#: ../progress-linux.templates:4001 +msgid "Please specify the mirror to download packages from." +msgstr "" + +#. Type: string +#. Description +#: ../progress-linux.templates:4001 +msgid "" +"If unsure, leave empty which will use the default mirror (https://deb." +"progress-linux.org/packages)." +msgstr "" diff --git a/debian/progress-linux-pgp-keys.install b/debian/progress-linux-pgp-keys.install new file mode 100644 index 0000000..db4503e --- /dev/null +++ b/debian/progress-linux-pgp-keys.install @@ -0,0 +1 @@ +/usr/share/progress-linux/pgp-keys diff --git a/debian/progress-linux-pgp-keys.lintian-overrides b/debian/progress-linux-pgp-keys.lintian-overrides new file mode 100644 index 0000000..af3d209 --- /dev/null +++ b/debian/progress-linux-pgp-keys.lintian-overrides @@ -0,0 +1 @@ +progress-linux-pgp-keys: description-is-pkg-name Progress Linux - PGP Keys diff --git a/debian/progress-linux-ssh-keys.install b/debian/progress-linux-ssh-keys.install new file mode 100644 index 0000000..e2bac56 --- /dev/null +++ b/debian/progress-linux-ssh-keys.install @@ -0,0 +1 @@ +/usr/share/progress-linux/ssh-keys diff --git a/debian/progress-linux-ssh-keys.lintian-overrides b/debian/progress-linux-ssh-keys.lintian-overrides new file mode 100644 index 0000000..fb79dcd --- /dev/null +++ b/debian/progress-linux-ssh-keys.lintian-overrides @@ -0,0 +1 @@ +progress-linux-ssh-keys: description-is-pkg-name Progress Linux - SSH Keys diff --git a/debian/progress-linux.config b/debian/progress-linux.config new file mode 100755 index 0000000..6939689 --- /dev/null +++ b/debian/progress-linux.config @@ -0,0 +1,124 @@ +#!/bin/sh + +set -e + +NAME="Progress Linux" +PROJECT="progress-linux" + +. /usr/share/debconf/confmodule + +Run_debconf () +{ + # debconf templates + db_subst ${PROJECT}/archives CHOICES "${NAME} ${RELEASE} (${CODENAME}), ${NAME} ${RELEASE} (${CODENAME}-security), ${NAME} ${RELEASE} (${CODENAME}-updates), ${NAME} ${RELEASE} (${CODENAME}-extras), ${NAME} ${RELEASE} (${CODENAME}-test), ${NAME} ${RELEASE}.99 (${CODENAME}-backports), ${NAME} ${RELEASE}.99 (${CODENAME}-backports-extras), ${NAME} ${RELEASE}.99 (${CODENAME}-backports-test)" + db_subst ${PROJECT}/archives CHOICES_C "${CODENAME}, ${CODENAME}-security, ${CODENAME}-updates, ${CODENAME}-extras, ${CODENAME}-test, ${CODENAME}-backports, ${CODENAME}-backports-extras, ${CODENAME}-backports-test" + db_subst ${PROJECT}/archive-areas CHOICES "main, contrib, non-free, non-free-firmware, restricted" + + # apt archives + db_settitle ${PROJECT}/title + db_input high ${PROJECT}/archives || true + db_go + + if db_get ${PROJECT}/archives + then + # apt archive-areas + db_settitle ${PROJECT}/title + db_input high ${PROJECT}/archive-areas || true + db_go + + # apt mirror + db_settitle ${PROJECT}/title + db_input high ${PROJECT}/mirror || true + db_go + fi +} + +DEBIAN_VERSION="$(cat /etc/debian_version)" +PROGRESS_LINUX_VERSION="$(if [ -e /etc/progress-linux_version ]; then cat /etc/progress-linux_version; fi)" + +if [ -n "${PROGRESS_LINUX_VERSION}" ] +then + case "${PROGRESS_LINUX_VERSION}" in + 5*) + RELEASE="5" + CODENAME="engywuck" + + Run_debconf + ;; + + 6*) + RELEASE="6" + CODENAME="fuchur" + + Run_debconf + ;; + + 7*) + RELEASE="7" + CODENAME="graograman" + + Run_debconf + ;; + + 8*) + RELEASE="8" + CODENAME="horok" + + Run_debconf + ;; + + 9*) + RELEASE="9" + CODENAME="illuan" + + Run_debconf + ;; + + *) + echo "W: unsupported debian release" + ;; + esac +else + case "${DEBIAN_VERSION}" in + 10.*|buster/sid) + RELEASE="5" + CODENAME="engywuck" + + Run_debconf + ;; + + 11.*|bullseye/sid) + RELEASE="6" + CODENAME="fuchur" + + Run_debconf + ;; + + 12.*|bookworm/sid) + RELEASE="7" + CODENAME="graograman" + + Run_debconf + ;; + + 13.*|trixie/sid) + RELEASE="8" + CODENAME="horok" + + Run_debconf + ;; + + 14.*|forky/sid) + RELEASE="9" + CODENAME="illuan" + + Run_debconf + ;; + + *) + echo "W: unsupported debian release" + ;; + esac +fi + +db_stop diff --git a/debian/progress-linux.install b/debian/progress-linux.install new file mode 100644 index 0000000..48661b6 --- /dev/null +++ b/debian/progress-linux.install @@ -0,0 +1,2 @@ +/usr/share/doc +/usr/share/man diff --git a/debian/progress-linux.lintian-overrides b/debian/progress-linux.lintian-overrides new file mode 100644 index 0000000..3bac995 --- /dev/null +++ b/debian/progress-linux.lintian-overrides @@ -0,0 +1 @@ +progress-linux: manpage-has-bad-whatis-entry usr/share/man/man7/progress-linux.7.gz diff --git a/debian/progress-linux.postinst b/debian/progress-linux.postinst new file mode 100755 index 0000000..180770e --- /dev/null +++ b/debian/progress-linux.postinst @@ -0,0 +1,267 @@ +#!/bin/sh + +set -e + +PROJECT="progress-linux" +DOMAIN="progress-linux.org" +PACKAGES="https://deb.progress-linux.org/packages" +KEY="/usr/share/progress-linux/pgp-keys/deb.progress-linux.org.gpg" + +Install_apt_sources () +{ +cat > "/etc/apt/sources.list.d/${PROJECT}.sources" << EOF +# /etc/apt/sources.list.d/${PROJECT}.sources +EOF +} + +Remove_apt_sources () +{ + rm -f "/etc/apt/sources.list.d/${PROJECT}.sources" +} + +Install_apt_preferences () +{ +cat > "/etc/apt/preferences.d/${PROJECT}.pref" << EOF +# /etc/apt/preferences.d/${PROJECT}.pref +EOF +} + +Remove_apt_preferences () +{ + rm -f "/etc/apt/preferences.d/${PROJECT}.pref" +} + +Configure_apt_sources () +{ + # Configure repositories: ${release}, ${release}-security, ${release}-updates, ${release}-backports + SUITES="" + + for ARCHIVE in ${ARCHIVES} + do + case "${ARCHIVE}" in + *-extras) + ;; + + *) + SUITES="${SUITES} ${ARCHIVE}" + + Configure_apt_preferences ${ARCHIVE} + ;; + esac + done + + COMPONENTS="$(echo ${ARCHIVE_AREAS} | sed -e 's| restricted||')" + SUITES="$(echo ${SUITES} | sed -e 's|^ *||')" + + if [ -n "${SUITES}" ] + then + Configure_apt_sources_stanza "${SUITES}" "${COMPONENTS}" + fi + + # Configure repositories: ${release}-extras, ${release}-backports-extras + SUITES="" + + for ARCHIVE in ${ARCHIVES} + do + case "${ARCHIVE}" in + *-extras) + SUITES="${SUITES} ${ARCHIVE}" + + Configure_apt_preferences ${ARCHIVE} + ;; + + *) + ;; + esac + done + + COMPONENTS="${ARCHIVE_AREAS}" + SUITES="$(echo ${SUITES} | sed -e 's|^ *||')" + + if [ -n "${SUITES}" ] + then + Configure_apt_sources_stanza "${SUITES}" "${COMPONENTS}" + fi +} + +Configure_apt_sources_stanza () +{ + SUITES="${1}" + COMPONENTS="${2}" + +cat >> "/etc/apt/sources.list.d/${PROJECT}.sources" << EOF + +Types: deb +URIs: ${MIRROR} +Suites: ${SUITES} +Components: ${COMPONENTS} +PDiffs: no +Signed-By: ${KEY} +EOF +} + +Configure_apt_preferences () +{ + ARCHIVE="${1}" + + case "${ARCHIVE}" in + *-backports*) + PIN_PRIORITY="${BACKPORTS_PRIORITY}" + ;; + + *) + PIN_PRIORITY="999" + ;; + esac + +cat >> "/etc/apt/preferences.d/${PROJECT}.pref" << EOF + +Package: * +Pin: release o=${PROJECT}, n=${ARCHIVE} +Pin-Priority: ${PIN_PRIORITY} +EOF +} + +Configure_ssh_known_hosts () +{ + KEY="$(cat /usr/share/${PROJECT}/ssh-keys/ssh.${DOMAIN}.pub)" + + if [ ! -e "/etc/ssh/ssh_known_hosts" ] + then + mkdir -p /etc/ssh + +cat > "/etc/ssh/ssh_known_hosts" << EOF +# /etc/ssh/ssh_known_hosts + +@cert-authority *.${DOMAIN} ${KEY} +EOF + + else + grep -v "^@cert-authority \*.${DOMAIN}" /etc/ssh/ssh_known_hosts > /etc/ssh/ssh_known_hosts.tmp + +cat >> "/etc/ssh/ssh_known_hosts.tmp" << EOF +@cert-authority *.${DOMAIN} ${KEY} +EOF + + mv -f /etc/ssh/ssh_known_hosts.tmp /etc/ssh/ssh_known_hosts + fi +} + +Remove_ssh_known_hosts () +{ + if [ ! -e /etc/ssh/ssh_known_hosts ] + then + return + fi + + # ssh cert-authority + grep -v "^@cert-authority \*.${DOMAIN}" /etc/ssh/ssh_known_hosts > /etc/ssh/ssh_known_hosts.tmp + + if [ "$(md5sum /etc/ssh/ssh_known_hosts.tmp | cut -d' ' -f1)" = "2a2b4fdd70705b2029b35a24217138e6" ] + then + rm -f /etc/ssh/ssh_known_hosts.tmp + rm -f /etc/ssh/ssh_known_hosts + + rmdir /etc/ssh > /dev/null 2>&1 || true + else + mv -f /etc/ssh/ssh_known_hosts.tmp /etc/ssh/ssh_known_hosts + fi +} + +Clean () +{ + # Remove apt keys + rm -f "/etc/apt/trusted.gpg.d/${PROJECT}.gpg" + + # Remove apt lists + rm -f "/etc/apt/sources.list.d/${PROJECT}.list" +} + +case "${1}" in + configure) + . /usr/share/debconf/confmodule + + db_get ${PROJECT}/archives + ARCHIVES="$(echo ${RET} | sed -e 's|, | |g')" # multiselect w/ empty + + db_get ${PROJECT}/archive-areas + ARCHIVE_AREAS="$(echo ${RET:-main} | sed -e 's|, | |g')" # string w/o empty + + db_get ${PROJECT}/mirror + MIRROR="$(echo ${RET:-${PACKAGES}})" # string w/o empty + + db_stop + + BACKPORTS_PRIORITY="100" + + for ARCHIVE in ${ARCHIVES} + do + case "${ARCHIVE}" in + engywuck|fuchur|graograman|horok|illuan) + BACKPORTS_PRIORITY="999" + ;; + esac + done + + DEBIAN_VERSION="$(cat /etc/debian_version)" + + case "${DEBIAN_VERSION}" in + 10.*|buster/sid) + ;; + + 11.*|bullseye/sid) + ;; + + 12.*|bookworm/sid) + ;; + + 13.*|trixie/sid) + ;; + + 14.*|forky/sid) + ;; + + *) + echo "W: unsupported debian release" + + Remove_apt_sources + Remove_apt_preferences + + Remove_ssh_known_hosts + + exit 0 + ;; + esac + + # apt + if [ -n "${ARCHIVES}" ] + then + Install_apt_sources + Install_apt_preferences + + Configure_apt_sources + else + Remove_apt_sources + Remove_apt_preferences + fi + + # openssh-server + Configure_ssh_known_hosts + + # upgrading from buster + Clean + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + + ;; + + *) + echo "postinst called with unknown argument \`${1}'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + +exit 0 diff --git a/debian/progress-linux.postrm b/debian/progress-linux.postrm new file mode 100755 index 0000000..38f85e8 --- /dev/null +++ b/debian/progress-linux.postrm @@ -0,0 +1,63 @@ +#!/bin/sh + +set -e + +PROJECT="progress-linux" +DOMAIN="progress-linux.org" + +Remove_apt_sources () +{ + # apt sources + rm -f "/etc/apt/sources.list.d/${PROJECT}.list" +} + +Remove_apt_preferences () +{ + # apt preferences + rm -f "/etc/apt/preferences.d/${PROJECT}.pref" +} + +Remove_ssh_known_hosts () +{ + if [ ! -e /etc/ssh/ssh_known_hosts ] + then + return + fi + + # ssh cert-authority + grep -v "^@cert-authority \*.${DOMAIN}" /etc/ssh/ssh_known_hosts > /etc/ssh/ssh_known_hosts.tmp + + if [ "$(md5sum /etc/ssh/ssh_known_hosts.tmp | cut -d' ' -f1)" = "2a2b4fdd70705b2029b35a24217138e6" ] + then + rm -f /etc/ssh/ssh_known_hosts.tmp + rm -f /etc/ssh/ssh_known_hosts + + rmdir /etc/ssh > /dev/null 2>&1 || true + else + mv -f /etc/ssh/ssh_known_hosts.tmp /etc/ssh/ssh_known_hosts + fi +} + +case "${1}" in + remove) + # apt + Remove_apt_sources + Remove_apt_preferences + + # openssh-server + Remove_ssh_known_hosts + ;; + + 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/progress-linux.templates b/debian/progress-linux.templates new file mode 100644 index 0000000..ec393e8 --- /dev/null +++ b/debian/progress-linux.templates @@ -0,0 +1,27 @@ +Template: progress-linux/title +Type: title +_Description: Progress Linux: Setup + +Template: progress-linux/archives +Type: multiselect +Choices: ${CHOICES} +Choices-C: ${CHOICES_C} +Default: +_Description: setup apt archives: + Please select the apt archives to setup. + +Template: progress-linux/archive-areas +Type: multiselect +Choices: ${CHOICES} +Default: +_Description: setup apt archive areas: + Please select the apt archive areas to setup. + +Template: progress-linux/mirror +Type: string +Default: https://deb.progress-linux.org/packages +_Description: enter apt mirror: + Please specify the mirror to download packages from. + . + If unsure, leave empty which will use the default mirror + (https://deb.progress-linux.org/packages). diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..cd5af1f --- /dev/null +++ b/debian/rules @@ -0,0 +1,19 @@ +#!/usr/bin/make -f + +%: + dh ${@} + +override_dh_auto_build: + # disabled + +override_dh_auto_test: + # disabled + +execute_after_dh_auto_install: + # removing unused 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 + +override_dh_missing: + dh_missing --fail-missing 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..59b2dfb --- /dev/null +++ b/debian/watch @@ -0,0 +1,3 @@ +version=4 +opts="pgpmode=auto" \ +https://get.progress-linux.org/packages/progress-linux/upstream/progress-linux-(.+)\.tar\.lz |