Commit Graph

273 Commits

Author SHA1 Message Date
Thomas Lamprecht
982c37b78e d/control: bump versioned dependency for libpmg-rs-perl
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-13 14:16:19 +02:00
Thomas Lamprecht
7266d5fd32 bump version to 7.0-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-07-03 22:51:18 +02:00
Thomas Lamprecht
737c6f66ec d/postinst: handle static machine-id from ISO 5.0 <= x <= 6.0
Ported over from commit 8797cc74cd94583130ab4c2f541d1a75b518cfa6
of pve-manager, but with the list of machine-id extracted from PMG
ISOs.

The full map:

PMG 5.0-5  -> "e378bde63ac54872a85af23a8e4dac73"
PMG 5.1-1  -> "932b668d1fad4709b4976d54152d223c"
PMG 5.1-2  -> "931a8410cd034202a26b0e19d56e157a"
PMG 5.2-1  -> "9a1f3c5284e1423c9b0e0ee5819db6c9"
PMG 6.0-1  -> "5472a49c6436426fbebd7881f7b7f13b"

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-29 10:42:10 +02:00
Thomas Lamprecht
c4f64dd665 bump version to 7.0-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-28 16:04:30 +02:00
Thomas Lamprecht
d51799a35c d/control: bump pve-common and pve-http-server dependency versions
To ensure we have the new `upid_normalize_status_type` and the
new http-server listening behavior available

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-28 16:01:22 +02:00
Thomas Lamprecht
fd1d033817 adpi: node config: fix style nits/issues
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-28 15:27:02 +02:00
Thomas Lamprecht
b8b56fbfa5 d/control: drop transitional apt-transport-https, provided by apt
It was actually integrated into apt quite a bit before version 2.0
but it does not really hurts and version 2 is available since Q1 2020
on sid, bullseye will have 2.2.x so using (>= 2~) is just fine.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-28 14:15:31 +02:00
Thomas Lamprecht
64537e425b d/control: bump standards version and use https in homepage
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-06-28 14:15:08 +02:00
Stoiko Ivanov
2e08e3c97b unpack: adapt to new libarchive methods
This patch changes the deprecated method used from libarchive-perl.
It needs a versioned dependency bump on libarchive-perl (>= 3.4.0).

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2021-06-11 14:53:45 +00:00
Stoiko Ivanov
771f863cbb update postgresql dependency to 13
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2021-06-11 14:53:45 +00:00
Stoiko Ivanov
f6d5ecfd4e d/control: bump versioned dependency on pve-common and pve-http-server
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2021-06-11 14:53:45 +00:00
Stoiko Ivanov
4ea8d2de9f buildsys: update lintian-overrides
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2021-06-10 15:33:08 +00:00
Stoiko Ivanov
431b78b9d8 buildsys: bump d/compat to 12 and adapt d/rules
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2021-05-31 15:33:18 +00:00
Stoiko Ivanov
9abcb50508 buildsys: wrap-and-sort
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2021-05-31 10:52:37 +00:00
Thomas Lamprecht
1c8a73c7b5 bump version to 6.4-4
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-04-15 15:19:04 +02:00
Thomas Lamprecht
225ecb80a5 bump version to 6.4-3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-03-26 19:09:49 +01:00
Stoiko Ivanov
cb532a2c7a bump version to 6.4-3
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2021-03-26 18:53:18 +01:00
Thomas Lamprecht
33ee932e97 bump version to 6.4-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-03-23 08:30:51 +01:00
Thomas Lamprecht
cd99b9a0a0 bump version to 6.4-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-03-22 17:30:41 +01:00
Stoiko Ivanov
9c8321690f package: ship /etc/pmg/acme/accounts in deb
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2021-03-18 16:31:46 +01:00
Thomas Lamprecht
c799c5f4b4 bump version to 6.3-7
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-03-18 11:15:33 +01:00
Wolfgang Bumiller
0357cac721 depend on libpmg-rs-perl and proxmox-acme
This contains `PMG::RS::Acme` and `PMG::RS::CSR` which are
used for letsencrypt certificates.

Note that for the DNS plugins this still uses the perl code
from proxmox-acme for now.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2021-03-16 17:14:57 +01:00
Thomas Lamprecht
30891f7ed6 bump version to 6.3-6
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-03-05 22:48:17 +01:00
Thomas Lamprecht
b2033d4bd7 debian: add some OK lintian overrides
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-02-25 10:40:18 +01:00
Dietmar Maurer
3cef65a3e7 build-depends: remove dh-systemd
no longer required
2020-11-27 07:25:44 +01:00
Thomas Lamprecht
40d25ec266 bump version to 6.3-5
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-25 10:21:55 +01:00
Thomas Lamprecht
0e42a95c76 bump version to 6.3-4
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-18 19:53:01 +01:00
Thomas Lamprecht
df56ff0423 bump version to 6.3-3
...

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-18 19:47:11 +01:00
Thomas Lamprecht
782fd5f4cd bump version to 6.3-2
re use previous changelog, it's just a small bug fix after all

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-18 19:25:00 +01:00
Thomas Lamprecht
fa172d34bd bump version to 6.3-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-18 18:00:40 +01:00
Thomas Lamprecht
d69a16614c d/control: bump versioned dependency on pve-common
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-18 18:00:40 +01:00
Thomas Lamprecht
8e7c0b86bf backup service template: update to new CLI
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-11-18 16:40:51 +01:00
Stoiko Ivanov
7251cc51c1 add scheduled backup to PBS remotes
PMG::PBSSchedule contains methods for creating/deleting systemd-timer units,
which will run a backup to a configured PBS remote.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2020-11-17 11:30:36 +01:00
Stoiko Ivanov
2de4cfb286 add initial SectionConfig for PBS
add a SectionConfig definition to hold information about PBS-remotes used
for backing up PMG.

Mostly adapted from the PBSPlugin.pm in pve-storage.

This commit needs a versioned dependency on pve-common

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2020-11-17 09:54:28 +01:00
Stoiko Ivanov
6522f6b544 debian: drop duplicate ', ' in dependencies
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2020-11-17 09:54:28 +01:00
Stoiko Ivanov
2dd922aa82 debian: add dependency on proxmox-backup-client
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2020-10-30 07:34:02 +01:00
Thomas Lamprecht
3e3621074c bump version to 6.2-6
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-09-23 09:05:15 +02:00
Thomas Lamprecht
05a7829ec2 bump version to 6.2-5
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-04 16:49:19 +02:00
Thomas Lamprecht
e97f0405f9 d/postinst: avoid processing non existent '*' templates due to glob
if there's no file at all in that path the wildcard glob won't expand
and POSIX shell will use '*' as filename, which will then fail.

Avoid that.

Reported-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-06-03 19:37:40 +02:00
Thomas Lamprecht
d293bd62a4 bump version to 6.2-4
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-05-14 17:52:06 +02:00
Thomas Lamprecht
dd58a33924 bump version to 6.2-3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-04-24 19:31:55 +02:00
Thomas Lamprecht
8a590dd0f2 bump version to 6.2-3
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-04-24 18:57:17 +02:00
Stoiko Ivanov
243f0c0796 Add logrotate config for pmgproxy.log
to keep the log from growing without end. Rotate monthly and keep 12 logs,
since the logs should not be too large (e.g. a productive instance, with
~20 users using the quarantine and some configuration changes amounts to
108M over 2.5 years)

the logrotate snippet is placed in /etc/logrotate.d/pmg-api by
dh_installlogrotate(1).

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2020-04-24 13:35:45 +02:00
Thomas Lamprecht
01c5b2318b pmgsync.service: really order before postfix@-.service
followup for commit 0c4cf3f2cf
which assumed that we can order on templated base units, which we
cannot (at least under the systemd version of buster). So depend on
the actual instance of the main postfix template.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-04-24 08:59:21 +02:00
Thomas Lamprecht
88cf1bda46 bump version to 6.2-2
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-04-23 21:30:22 +02:00
Stoiko Ivanov
0c4cf3f2cf pmgsync.service: order before postfix@.service
pmgsync.service updates the database-schema (pmgdb init) and generates and
updates configuration files from the templates and reloads the respective
services.

When first booting up after installation, it adapts the config from what's
shipped in the default debian packages for the first time.

The postfix configuration is also rendered, including settings where a
restart is necessary (listening on the internal port (26)).

While the unit already starts before postfix.service, the postfix service
files are designed to start multiple instances of postfix via instantiation
(by default postfix@-.service is the single instance (and the service file
which actually starts postfix)).

Since both pmgsync and postfix@- have no ordering relation between them, they
are started in parallel, which leads to postfix starting with the stock config
upon first boot.

Tested by running the installer in debug mode and applying this patch in the
last debug shell.

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2020-04-23 13:23:30 +02:00
Thomas Lamprecht
0459624290 bump version to 6.2-1
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-04-21 20:01:21 +02:00
Thomas Lamprecht
61c566fc80 bump version to 6.1-9
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-04-20 17:37:14 +02:00
Thomas Lamprecht
618af3182f d/control: bump versioned dependency for pmg-docs
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-04-20 17:33:11 +02:00
Thomas Lamprecht
6ed05dcda1 bump version to 6.1-8
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2020-04-14 10:29:44 +02:00