summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2019-01-29 04:43:26 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2019-01-29 06:46:30 +0000
commita9ec15615ca08833f452fc8ec1be0c29a4ff341d (patch)
treec2b10b1f09b6d8e9eed55cb5e87d71f8184cb939
parentAdding upstream version 20181201. (diff)
downloadprogress-linux-a9ec15615ca08833f452fc8ec1be0c29a4ff341d.tar.xz
progress-linux-a9ec15615ca08833f452fc8ec1be0c29a4ff341d.zip
Adding debian version 20181201-1.debian/20181201-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/TODO6
-rw-r--r--debian/changelog5
-rw-r--r--debian/control49
-rw-r--r--debian/copyright37
-rw-r--r--debian/po/POTFILES.in1
-rw-r--r--debian/po/templates.pot63
-rw-r--r--debian/progress-linux-pgp-keys.install1
-rw-r--r--debian/progress-linux-ssh-keys.install1
-rwxr-xr-xdebian/progress-linux.config15
-rwxr-xr-xdebian/progress-linux.postinst100
-rw-r--r--debian/progress-linux.templates18
-rwxr-xr-xdebian/rules4
-rw-r--r--debian/source/format1
13 files changed, 301 insertions, 0 deletions
diff --git a/debian/TODO b/debian/TODO
new file mode 100644
index 0000000..0e2e5d1
--- /dev/null
+++ b/debian/TODO
@@ -0,0 +1,6 @@
+TODO
+====
+
+ * add internal preseeding for deb-src entries.
+ * add internal preseeding for pin priority.
+ * add debconf note about 'apt update'.
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..2149f18
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+progress-linux (20181201-1) unstable; 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..7e55705
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,49 @@
+Source: progress-linux
+Section: admin
+Priority: optional
+Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org>
+Build-Depends:
+ debhelper-compat (= 12),
+ debian-keyring,
+ gnupg,
+Rules-Requires-Root: no
+Standards-Version: 4.3.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
+Depends:
+ apt-transport-https,
+ ca-certificates,
+ progress-linux-pgp-keys,
+ ${misc:Depends},
+Description: Progress Linux Setup
+ Progress Linux is a Debian derivative distribution focused on system
+ integration.
+ .
+ This package allows one to add the Progress Linux package archives to the
+ current system.
+
+Package: progress-linux-pgp-keys
+Section: admin
+Architecture: all
+Depends:
+ ${misc:Depends},
+Description: PGP Keys of the Progress Linux project
+ The Progress Linux project digitally signs packages and
+ images.
+ .
+ This package contains the PGP keys.
+
+Package: progress-linux-ssh-keys
+Section: admin
+Architecture: all
+Depends:
+ ${misc:Depends},
+Description: SSH Keys of the Progress Linux project
+ The Progress Linux project digitally signs host keys.
+ .
+ This package contains the SSH keys.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..44ebfa3
--- /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://apt.progress-linux.org/files/distributions/engywuck/packages/progress-linux
+
+Files: *
+Copyright: 2010-2019 Daniel Baumann <daniel.baumann@progress-linux.org>
+License: GPL-3+
+
+Files: *-keys
+Copyright: 2010-2019 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 <http://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/templates.pot b/debian/po/templates.pot
new file mode 100644
index 0000000..543820a
--- /dev/null
+++ b/debian/po/templates.pot
@@ -0,0 +1,63 @@
+# 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-01-29 07:38+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
+#. Choices
+#: ../progress-linux.templates:2001
+msgid ""
+"Progress Linux 5 (engywuck), Progress Linux 5 (engywuck-security), Progress "
+"Linux 5 (engywuck-updates), Progress Linux 5 (engywuck-extras), Progress "
+"Linux 5+ (engywuck-backports), Progress Linux 5+ (engywuck-backports-extras)"
+msgstr ""
+
+#. Type: multiselect
+#. Description
+#: ../progress-linux.templates:2002
+msgid "setup archives:"
+msgstr ""
+
+#. Type: multiselect
+#. Description
+#: ../progress-linux.templates:2002
+msgid "Please select the package archives to setup."
+msgstr ""
+
+#. Type: multiselect
+#. Choices
+#: ../progress-linux.templates:3001
+msgid "main, contrib, non-free"
+msgstr ""
+
+#. Type: multiselect
+#. Description
+#: ../progress-linux.templates:3002
+msgid "setup archive areas:"
+msgstr ""
+
+#. Type: multiselect
+#. Description
+#: ../progress-linux.templates:3002
+msgid "Please select the archive areas to setup."
+msgstr ""
diff --git a/debian/progress-linux-pgp-keys.install b/debian/progress-linux-pgp-keys.install
new file mode 100644
index 0000000..63abeb7
--- /dev/null
+++ b/debian/progress-linux-pgp-keys.install
@@ -0,0 +1 @@
+pgp-keys/*.gpg /usr/share/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..875d411
--- /dev/null
+++ b/debian/progress-linux-ssh-keys.install
@@ -0,0 +1 @@
+ssh-keys/*.pub /usr/share/progress-linux/ssh-keys
diff --git a/debian/progress-linux.config b/debian/progress-linux.config
new file mode 100755
index 0000000..00c213e
--- /dev/null
+++ b/debian/progress-linux.config
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -e
+
+. /usr/share/debconf/confmodule
+
+db_settitle progress-linux/title
+db_input low progress-linux/archives || true
+db_go
+
+db_settitle progress-linux/title
+db_input low progress-linux/archive-areas || true
+db_go
+
+db_stop
diff --git a/debian/progress-linux.postinst b/debian/progress-linux.postinst
new file mode 100755
index 0000000..70414bd
--- /dev/null
+++ b/debian/progress-linux.postinst
@@ -0,0 +1,100 @@
+#!/bin/sh
+
+set -e
+
+Install ()
+{
+ # apt sources
+ echo "Installing /etc/apt/sources.list.d/progress-linux.list ..."
+
+cat > /etc/apt/sources.list.d/progress-linux.list << EOF
+# /etc/apt/sources.list.d/progress-linux.list
+
+EOF
+
+ # apt preferences
+ echo "Installing /etc/apt/preferences.d/progress-linux.pref ..."
+
+cat > /etc/apt/preferences.d/progress-linux.pref << EOF
+# /etc/apt/preferences.d/progress-linux.pref
+EOF
+
+ # apt key
+ echo "Installing /etc/apt/trusted.gpg.d/progress-linux-5-engywuck-archive-key.gpg ..."
+ ln -sf /usr/share/progress-linux/pgp-keys/progress-linux-5-engywuck-archive-key.gpg /etc/apt/trusted.gpg.d/progress-linux-5-engywuck-archive-key.gpg
+}
+
+Remove ()
+{
+ # apt sources
+ echo "Removing /etc/apt/sources.list.d/progress-linux.list ..."
+ rm -f /etc/apt/sources.list.d/progress-linux.list
+
+ # apt preferences
+ echo "Removing /etc/apt/sources.list.d/progress-linux.list ..."
+ rm -f /etc/apt/preferences.d/progress-linux.pref
+
+ # apt key
+ echo "Removing /etc/apt/trusted.gpg.d/progress-linux-5-engywuck-archive-key.gpg ..."
+ rm -f /etc/apt/trusted.gpg.d/progress-linux-5-engywuck-archive-key.gpg
+}
+
+Configure ()
+{
+ ARCHIVE="${1}"
+
+ # apt sources
+ cat >> /etc/apt/sources.list.d/progress-linux.list << EOF
+deb https://deb.progress-linux.org/packages ${ARCHIVE} ${ARCHIVE_AREAS}
+EOF
+
+ # apt preferences
+ cat >> /etc/apt/preferences.d/progress-linux.pref << EOF
+
+Package: *
+Pin: release n=${ARCHIVE}
+Pin-Priority: 999
+EOF
+}
+
+case "${1}" in
+ configure)
+ . /usr/share/debconf/confmodule
+
+ db_get progress-linux/archives
+ ARCHIVES="${RET}" # multiselect w/ empty
+
+ db_get progress-linux/archive-areas
+ ARCHIVE_AREAS="${RET:-main}" # string w/o empty
+
+ db_stop
+
+ if [ -n "${ARCHIVES}" ]
+ then
+ Install
+ else
+ Remove
+ fi
+
+ ARCHIVES="$(echo ${ARCHIVES} | sed -e 's|,| |g')"
+ ARCHIVE_AREAS="$(echo ${ARCHIVE_AREAS} | sed -e 's|,| |g')"
+
+ for ARCHIVE in ${ARCHIVES}
+ do
+ Configure ${ARCHIVE}
+ done
+ ;;
+
+ 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.templates b/debian/progress-linux.templates
new file mode 100644
index 0000000..eb842bd
--- /dev/null
+++ b/debian/progress-linux.templates
@@ -0,0 +1,18 @@
+Template: progress-linux/title
+Type: title
+_Description: Progress Linux: Setup
+
+Template: progress-linux/archives
+Type: multiselect
+Choices-C: engywuck, engywuck-security, engywuck-updates, engywuck-extras, engywuck-backports, engywuck-backports-extras
+_Choices: Progress Linux 5 (engywuck), Progress Linux 5 (engywuck-security), Progress Linux 5 (engywuck-updates), Progress Linux 5 (engywuck-extras), Progress Linux 5+ (engywuck-backports), Progress Linux 5+ (engywuck-backports-extras)
+Default:
+_Description: setup archives:
+ Please select the package archives to setup.
+
+Template: progress-linux/archive-areas
+Type: multiselect
+_Choices: main, contrib, non-free
+Default: main
+_Description: setup archive areas:
+ Please select the archive areas to setup.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..000210b
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,4 @@
+#!/usr/bin/make -f
+
+%:
+ dh ${@}
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)