]> git.proxmox.com Git - dab.git/log
dab.git
10 months agobootstrap: mask more systemd units that fail in containers master
Thomas Lamprecht [Thu, 15 Jun 2023 14:58:07 +0000 (16:58 +0200)]
bootstrap: mask more systemd units that fail in containers

well in unprivileged ones, but if one has a privileged CT and really
wants those things, they can just unmask those units..

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agopreliminary unprivileged support
Thomas Lamprecht [Thu, 8 Jun 2023 08:58:18 +0000 (10:58 +0200)]
preliminary unprivileged support

just added the more straight-forward things, albeit userid mappings
might mess with file owner in the tar assembled at the end?

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agodeprecate old releases
Thomas Lamprecht [Thu, 8 Jun 2023 08:56:19 +0000 (10:56 +0200)]
deprecate old releases

the systemd ones won't work on modern cgroupv2 systems anyway and the
other ones are just ancient.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
10 months agomake extracting tar archive for /dev opt-in
Thomas Lamprecht [Thu, 8 Jun 2023 08:55:54 +0000 (10:55 +0200)]
make extracting tar archive for /dev opt-in

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agoswitch upload dist to bookworm
Thomas Lamprecht [Wed, 3 May 2023 15:43:34 +0000 (17:43 +0200)]
switch upload dist to bookworm

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agobump version to 3.5.0
Thomas Lamprecht [Wed, 3 May 2023 15:13:56 +0000 (17:13 +0200)]
bump version to 3.5.0

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agoadd preliminary support for Ubuntu Lunar 23.04 and Mantic 23.10
Thomas Lamprecht [Wed, 3 May 2023 13:39:32 +0000 (15:39 +0200)]
add preliminary support for Ubuntu Lunar 23.04 and Mantic 23.10

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agosort and group use statements
Thomas Lamprecht [Wed, 3 May 2023 13:39:07 +0000 (15:39 +0200)]
sort and group use statements

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agod/copyright: update years
Thomas Lamprecht [Wed, 3 May 2023 13:32:51 +0000 (15:32 +0200)]
d/copyright: update years

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agod/control: document standards conformance with 4.6.2
Thomas Lamprecht [Wed, 3 May 2023 13:32:00 +0000 (15:32 +0200)]
d/control: document standards conformance with 4.6.2

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
11 months agod/control: define compat level via build-depends and raise to 13
Thomas Lamprecht [Wed, 3 May 2023 13:29:59 +0000 (15:29 +0200)]
d/control: define compat level via build-depends and raise to 13

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
15 months agobuild: add missing build-dependency
Fabian Grünbichler [Tue, 10 Jan 2023 09:25:04 +0000 (10:25 +0100)]
build: add missing build-dependency

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
15 months agobuild: fix make test
Fabian Grünbichler [Tue, 10 Jan 2023 09:24:19 +0000 (10:24 +0100)]
build: fix make test

it should test the local module, not the installed one (the latter also
requires dab to be a build-dependency of itself, which is bad for
bootstrapping).

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
17 months agobump version to 3.4.3
Thomas Lamprecht [Fri, 21 Oct 2022 13:30:50 +0000 (15:30 +0200)]
bump version to 3.4.3

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
17 months agoallow https mirrors
Thomas Lamprecht [Fri, 21 Oct 2022 12:45:11 +0000 (14:45 +0200)]
allow https mirrors

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
17 months agoadd targetname command
Thomas Lamprecht [Fri, 21 Oct 2022 12:20:48 +0000 (14:20 +0200)]
add targetname command

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
17 months agoconstructor: factor out getting the target name
Thomas Lamprecht [Fri, 21 Oct 2022 11:55:38 +0000 (13:55 +0200)]
constructor: factor out getting the target name

get_target_name will be reused later for adding a dab command to get
the final archive name, to be used for a `make upload` target.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
17 months agozstd: remove original archive after compression like gz
Thomas Lamprecht [Fri, 21 Oct 2022 11:41:59 +0000 (13:41 +0200)]
zstd: remove original archive after compression like gz

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
17 months agodebian: future proof mirror selection for trixie and forky
Thomas Lamprecht [Fri, 21 Oct 2022 11:38:55 +0000 (13:38 +0200)]
debian: future proof mirror selection for trixie and forky

we should get something better to check though, maybe just systemd
support - we got until 2027 to figure that out though.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
17 months agodebian bullseye,bookworm: switch apt repos over to deb.debian.org
Thomas Lamprecht [Fri, 21 Oct 2022 11:37:13 +0000 (13:37 +0200)]
debian bullseye,bookworm: switch apt repos over to deb.debian.org

ftp is a thing of the past and only exists for backward compat, use
the modern CDN backed deb.debian.org directly instead.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
17 months agoswitch dab method over to modern prototype syntax
Thomas Lamprecht [Fri, 21 Oct 2022 11:35:10 +0000 (13:35 +0200)]
switch dab method over to modern prototype syntax

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
17 months agorefactor/cleanup constructor
Thomas Lamprecht [Fri, 21 Oct 2022 11:33:36 +0000 (13:33 +0200)]
refactor/cleanup constructor

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
17 months agobump version to 3.4.2
Thomas Lamprecht [Fri, 21 Oct 2022 05:08:35 +0000 (07:08 +0200)]
bump version to 3.4.2

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
17 months agoubuntu: exclude libdrm* and libplymouth* from the base set
Thomas Lamprecht [Fri, 21 Oct 2022 05:05:41 +0000 (07:05 +0200)]
ubuntu: exclude libdrm* and libplymouth* from the base set

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
17 months agoubuntu kinetic support
Thomas Lamprecht [Fri, 21 Oct 2022 05:04:57 +0000 (07:04 +0200)]
ubuntu kinetic support

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
18 months agophp task: restore compat with very old releases using php5 again
Thomas Lamprecht [Wed, 21 Sep 2022 08:07:02 +0000 (10:07 +0200)]
php task: restore compat with very old releases using php5 again

note that both, php5 and the affected releases are EOL since years,
but as we do not want to drop the historic releases completely just
yet, restore the task functionality.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
18 months agocode style: fix some perl critic errors
Thomas Lamprecht [Wed, 21 Sep 2022 07:01:15 +0000 (09:01 +0200)]
code style: fix some perl critic errors

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
22 months agoread_packages: do not be greedy when matching package status value
Fabian Grünbichler [Tue, 14 Jun 2022 07:05:47 +0000 (09:05 +0200)]
read_packages: do not be greedy when matching package status value

Else a trailing whitespace is slurped into the $2 value, and that can
trip up users of this data.

Reported in the community forum:
https://forum.proxmox.com/threads/dab-internal-error-at-usr-share-perl5-pve-dab-pm-line-1327.97258/

Commit message copied from previous fix for other RE.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2 years agobump version to 3.4.1
Thomas Lamprecht [Tue, 29 Mar 2022 13:11:32 +0000 (15:11 +0200)]
bump version to 3.4.1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agobuildsys: do very basic perl check
Thomas Lamprecht [Tue, 29 Mar 2022 13:09:57 +0000 (15:09 +0200)]
buildsys: do very basic perl check

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoubuntu: exclude some more ct-useless packages
Thomas Lamprecht [Tue, 29 Mar 2022 13:09:12 +0000 (15:09 +0200)]
ubuntu: exclude some more ct-useless packages

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agocode cleanups
Thomas Lamprecht [Tue, 29 Mar 2022 13:08:35 +0000 (15:08 +0200)]
code cleanups

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agojammy: add future ubuntu 22.04 jammy release
Thomas Lamprecht [Tue, 29 Mar 2022 10:02:06 +0000 (12:02 +0200)]
jammy: add future ubuntu 22.04 jammy release

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agodevuan: add future daedalus 5.x release
Thomas Lamprecht [Tue, 29 Mar 2022 10:01:41 +0000 (12:01 +0200)]
devuan: add future daedalus 5.x release

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoavoid big distro codename if clauses, use flags
Thomas Lamprecht [Tue, 29 Mar 2022 10:00:09 +0000 (12:00 +0200)]
avoid big distro codename if clauses, use flags

for now only a systemd flag that defaults to true for all but Devuan,
so set it explicitly to false for older Debian/Ubuntu releases

Could be extended in the future to avoid to much coupling on
codenames/versions.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agobump version to 3.4.0
Thomas Lamprecht [Thu, 14 Oct 2021 07:14:16 +0000 (09:14 +0200)]
bump version to 3.4.0

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agobootstrap: do not pull in xbase-clients by default
Thomas Lamprecht [Thu, 14 Oct 2021 08:43:08 +0000 (10:43 +0200)]
bootstrap: do not pull in xbase-clients by default

It depends on x11-apps, x11-session-utils, x11-utils, x11-xkb-utils,
x11-xserver-utils, xauth, xinit which in turn depend on mesa/glx/drm
libraries, all in all accumulating to ~200 MiB of disk space for
stuff that most container applicaitons nowadays won't have any use.

Note that the original reasoning was probably `xauth` for X11 display
redirection, but for that there's a package with the same name that
has a much smaller disk usage footprint overall.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agotasks: php: default to unversioned metapackage
Thomas Lamprecht [Thu, 14 Oct 2021 08:17:31 +0000 (10:17 +0200)]
tasks: php: default to unversioned metapackage

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agotasks: postgres: default to unversioned metapackage
Thomas Lamprecht [Thu, 14 Oct 2021 08:02:41 +0000 (10:02 +0200)]
tasks: postgres: default to unversioned metapackage

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agosome whitespace/indentation fixes
Thomas Lamprecht [Thu, 14 Oct 2021 07:59:42 +0000 (09:59 +0200)]
some whitespace/indentation fixes

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agod/copyright: update years
Thomas Lamprecht [Thu, 14 Oct 2021 07:15:39 +0000 (09:15 +0200)]
d/copyright: update years

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agodab: update and add to CLI docs
Thomas Lamprecht [Thu, 14 Oct 2021 07:13:50 +0000 (09:13 +0200)]
dab: update and add to CLI docs

for man page and usage

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agobootstrap: extract: support zstd
Thomas Lamprecht [Tue, 12 Oct 2021 12:34:39 +0000 (14:34 +0200)]
bootstrap: extract: support zstd

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agobootstrap: extract: make compressor detection generic
Thomas Lamprecht [Tue, 12 Oct 2021 12:34:31 +0000 (14:34 +0200)]
bootstrap: extract: make compressor detection generic

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoread installed: include open-error in die message
Thomas Lamprecht [Fri, 1 Oct 2021 15:23:40 +0000 (17:23 +0200)]
read installed: include open-error in die message

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoread installed: do not be greedy when matching package status value
Thomas Lamprecht [Fri, 1 Oct 2021 15:20:42 +0000 (17:20 +0200)]
read installed: do not be greedy when matching package status value

Else a trailing whitespace is slurped into the $2 value, and that can
trip up users of this data, e.g., getpkgfile

Reported in the community forum:
https://forum.proxmox.com/threads/dab-internal-error-at-usr-share-perl5-pve-dab-pm-line-1327.97258/

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agobootstrap: add simple include/exclude mechanism
Thomas Lamprecht [Wed, 29 Sep 2021 12:56:22 +0000 (14:56 +0200)]
bootstrap: add simple include/exclude mechanism

Similar to the one from debootstrap, but we do not guarantee 100%
compat.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoadd code cleanup fatal_usage helper
Thomas Lamprecht [Wed, 29 Sep 2021 10:03:46 +0000 (12:03 +0200)]
add code cleanup fatal_usage helper

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agobump version to 3.3-1
Thomas Lamprecht [Mon, 20 Sep 2021 12:06:54 +0000 (14:06 +0200)]
bump version to 3.3-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoadd usr-merge and enable it for newer Ubuntu and Debian releases
Thomas Lamprecht [Mon, 20 Sep 2021 11:39:39 +0000 (13:39 +0200)]
add usr-merge and enable it for newer Ubuntu and Debian releases

Hard-code enabling usr-merge for Ubuntu releases equal or newer than
21.x and Debian releases equal or newer than Bullseye (11).

We probably want to add a override to the configuration, for force
enabling or disabling.

For now avoid doing so in Devuan, IIRC they do not want to follow
usr-merge at the moment.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agobootstrap: tar extract: pass "keep-directory-symlink" flag
Thomas Lamprecht [Mon, 20 Sep 2021 11:37:20 +0000 (13:37 +0200)]
bootstrap: tar extract: pass "keep-directory-symlink" flag

avoid overriding symlinks, e.g., in a (future) usr-merged system

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoadd bookworm + some minor cleanups
Thomas Lamprecht [Mon, 20 Sep 2021 11:33:56 +0000 (13:33 +0200)]
add bookworm + some minor cleanups

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agobump version to 3.2-3
Thomas Lamprecht [Thu, 15 Jul 2021 09:31:10 +0000 (11:31 +0200)]
bump version to 3.2-3

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agofix compressor loop-order
Stoiko Ivanov [Wed, 14 Jul 2021 16:52:04 +0000 (18:52 +0200)]
fix compressor loop-order

commit dbac106eb6e3cff405e57c0bb6a6dbe3cf307c52 introduced a flaw in
the logic - once a file is downloaded the 'last;' statement exited the
inner loop iterating over the compoentens instead of the outer one
iterating over the compressors.

since both do not inherently depend on each other simply swap them.

noticed while trying to build a pmg-template in a clean environment
with full repository configuration (before the tests worked due to
leftover files in the infodir)

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2 years agobuildsys: change upload dist to bullseye
Thomas Lamprecht [Wed, 14 Jul 2021 15:42:53 +0000 (17:42 +0200)]
buildsys: change upload dist to bullseye

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agobump version to 3.2-2
Thomas Lamprecht [Wed, 14 Jul 2021 15:41:58 +0000 (17:41 +0200)]
bump version to 3.2-2

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoadd preliminary support for Ubuntu 21.10 Impish Indri
Thomas Lamprecht [Wed, 14 Jul 2021 15:41:09 +0000 (17:41 +0200)]
add preliminary support for Ubuntu 21.10 Impish Indri

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agotry all available compressors for Packages
Stoiko Ivanov [Wed, 14 Jul 2021 14:49:25 +0000 (16:49 +0200)]
try all available compressors for Packages

Some repositories (e.g. debian-security) only offer .xz compressed
Packages, others (e.g. promox repositories) only .gz compressed ones.

Make the compressors an array and try them in order until successful

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
2 years agobump version to 3.2-1
Thomas Lamprecht [Mon, 24 May 2021 12:50:57 +0000 (14:50 +0200)]
bump version to 3.2-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agodebian 11: use short ostype
Thomas Lamprecht [Mon, 24 May 2021 12:49:05 +0000 (14:49 +0200)]
debian 11: use short ostype

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agozstd: use higher level by default and add a max option
Thomas Lamprecht [Mon, 24 May 2021 12:19:35 +0000 (14:19 +0200)]
zstd: use higher level by default and add a max option

levle 9 is what Arch Linux uses for their packages, so it's a widely
used level which is a good default tradeoff for such images.

Add also zstd-max level, which uses the highest default level which
is still highly efficient on decompression, i.e., while compression
needs more time and resources the decompression doesn't.

Some number for a Debian 11 minimal template from 2021-05-06:

uncomp.    321M    100.0%
gzip       116M     36.1%
zstd  0    106M     33.0%
zstd  9     98M     30.5%
zstd 19     83M     26.8%

So, the still cheap to extract zstd lvl19 need 33M less than the
current default gzip, the access log from our german cdn server show
about 490 successful access to our system images per day, that would
mean that changes saves `490 download/day * 30.4375 days/month * 33M
saved/download` =~ 490 G/month traffic for us and for users.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agosupport Devuan 4 and 5
Thomas Lamprecht [Mon, 24 May 2021 12:18:53 +0000 (14:18 +0200)]
support Devuan 4 and 5

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2 years agoadd support for Ubuntu 21.04 Hirsute
Thomas Lamprecht [Sun, 25 Apr 2021 15:36:10 +0000 (17:36 +0200)]
add support for Ubuntu 21.04 Hirsute

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agobump version to 3.1-3
Thomas Lamprecht [Mon, 16 Nov 2020 14:17:38 +0000 (15:17 +0100)]
bump version to 3.1-3

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoadd basic support for Ubuntu 20.10 Groovy Gorilla
Thomas Lamprecht [Mon, 16 Nov 2020 14:15:57 +0000 (15:15 +0100)]
add basic support for Ubuntu 20.10 Groovy Gorilla

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoallow compressing final archive with zstd
Thomas Lamprecht [Tue, 25 Aug 2020 19:01:04 +0000 (21:01 +0200)]
allow compressing final archive with zstd

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agodebian 10 fixup
Thomas Lamprecht [Tue, 25 Aug 2020 19:00:44 +0000 (21:00 +0200)]
debian 10 fixup

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoadd help and output all available commands
Thomas Lamprecht [Mon, 24 Aug 2020 09:09:15 +0000 (11:09 +0200)]
add help and output all available commands

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agomask sys-kernel-config.mount: fails and makes no sense in CT
Thomas Lamprecht [Sat, 25 Apr 2020 14:54:54 +0000 (16:54 +0200)]
mask sys-kernel-config.mount: fails and makes no sense in CT

If it somehow really makes sense a user can just unmask it again,
this is just setting the default, nothing permanent

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agounify similar branch
Thomas Lamprecht [Sat, 25 Apr 2020 14:54:20 +0000 (16:54 +0200)]
unify similar branch

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
3 years agoadapt default 'source' repo urls for bullseye
Thomas Lamprecht [Fri, 13 Mar 2020 15:05:26 +0000 (16:05 +0100)]
adapt default 'source' repo urls for bullseye

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agohandle .xz compressed Packages file from Bullseye
Thomas Lamprecht [Fri, 13 Mar 2020 15:02:08 +0000 (16:02 +0100)]
handle .xz compressed Packages file from Bullseye

the security one did not have a fallback .gz, so just adapt already.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agobump version to 3.1-2
Thomas Lamprecht [Fri, 21 Feb 2020 10:50:31 +0000 (11:50 +0100)]
bump version to 3.1-2

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agofinalize: output also restuling archive size for convenience
Thomas Lamprecht [Fri, 21 Feb 2020 12:00:41 +0000 (13:00 +0100)]
finalize: output also restuling archive size for convenience

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoadd support for upcomming Ubuntu 20.04 "Focal Fossa"
Thomas Lamprecht [Fri, 21 Feb 2020 10:42:52 +0000 (11:42 +0100)]
add support for upcomming Ubuntu 20.04 "Focal Fossa"

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoadd experimental support for upcomming Debian Bullseye
Thomas Lamprecht [Fri, 21 Feb 2020 10:42:31 +0000 (11:42 +0100)]
add experimental support for upcomming Debian Bullseye

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agomove supported suites out to hash
Thomas Lamprecht [Fri, 21 Feb 2020 10:01:51 +0000 (11:01 +0100)]
move supported suites out to hash

hopefully we can extract some features to this hash in the future so
that the other spaghetti code with big if/else chains in the future

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agoraise postifx main.cf compatibility_level to 2
Stoiko Ivanov [Thu, 20 Feb 2020 18:25:48 +0000 (19:25 +0100)]
raise postifx main.cf compatibility_level to 2

otherwise mail received via TCP (localhost port 25) is not accepted, since
there is no default smptd_relay_restriction set, which would make the system an
open relay.

in compatibility_level 2 the default is sensibly set to:
'permit_mynetworks, permit_sasl_authenticated, defer_unauth_destination'

reported via the pve-user list:

https://pve.proxmox.com/pipermail/pve-user/2020-February/171368.html

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
4 years agosupport Ubuntu 19.10 Eoan
Thomas Lamprecht [Wed, 2 Oct 2019 15:25:14 +0000 (17:25 +0200)]
support Ubuntu 19.10 Eoan

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agobuildsys: switch upload dist over to buster
Thomas Lamprecht [Thu, 23 May 2019 16:18:23 +0000 (18:18 +0200)]
buildsys: switch upload dist over to buster

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agobump version to 3.1-1
Thomas Lamprecht [Thu, 23 May 2019 15:52:05 +0000 (17:52 +0200)]
bump version to 3.1-1

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agobuildsys: improve make clean
Thomas Lamprecht [Thu, 23 May 2019 15:51:58 +0000 (17:51 +0200)]
buildsys: improve make clean

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
4 years agobuildsys: use dpkg-dev makefile helpers for pkg info
Thomas Lamprecht [Thu, 23 May 2019 15:50:04 +0000 (17:50 +0200)]
buildsys: use dpkg-dev makefile helpers for pkg info

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agobump version to 3.0-12
Thomas Lamprecht [Wed, 20 Mar 2019 15:36:18 +0000 (16:36 +0100)]
bump version to 3.0-12

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agomove from dpkgdeb to buildpackage and add dsc target
Thomas Lamprecht [Wed, 20 Mar 2019 15:24:42 +0000 (16:24 +0100)]
move from dpkgdeb to buildpackage and add dsc target

can surely be improved, but it's a start

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoadd support for Ubuntu 19.04 Disco Dingo
Thomas Lamprecht [Tue, 19 Mar 2019 10:18:33 +0000 (11:18 +0100)]
add support for Ubuntu 19.04 Disco Dingo

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agoadd support for Debian 10 Buster
Thomas Lamprecht [Tue, 19 Mar 2019 10:18:16 +0000 (11:18 +0100)]
add support for Debian 10 Buster

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agobump version to 3.0-11
Dietmar Maurer [Mon, 22 Oct 2018 08:16:07 +0000 (10:16 +0200)]
bump version to 3.0-11

5 years agoadd support for Ubuntu 18.10 (Cosmic Cuttlefish)
Thomas Lamprecht [Wed, 17 Oct 2018 09:10:19 +0000 (11:10 +0200)]
add support for Ubuntu 18.10 (Cosmic Cuttlefish)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
5 years agobump version to 3.0-10
Dietmar Maurer [Mon, 23 Apr 2018 09:07:46 +0000 (11:07 +0200)]
bump version to 3.0-10

5 years agoadd support for ubuntu 18.04 (bionic beaver)
Dietmar Maurer [Mon, 23 Apr 2018 08:46:18 +0000 (10:46 +0200)]
add support for ubuntu 18.04 (bionic beaver)

6 years agobump version to 3.0-9
Dietmar Maurer [Thu, 5 Apr 2018 08:07:42 +0000 (10:07 +0200)]
bump version to 3.0-9

6 years agouse new config properties for sample lxc config
Thomas Lamprecht [Thu, 5 Apr 2018 07:53:21 +0000 (09:53 +0200)]
use new config properties for sample lxc config

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 years agocorrectly check for devuan ascii suite
Thomas Lamprecht [Thu, 5 Apr 2018 07:29:26 +0000 (09:29 +0200)]
correctly check for devuan ascii suite

commit b5583827a5dac915c61fcc539c15b20a380b0b29 introduced
support for Devuan 1 and 2 (ascii), the check for ascii wasn't
correct and thus always evaluated to true.

Reported-by: Joe Burleson [1]
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
[1]: https://forum.proxmox.com/threads/dab-version-3-0-8-ubuntu-16-04-issues.42685/

6 years agobump version toö 3.0-8
Dietmar Maurer [Fri, 16 Feb 2018 04:59:12 +0000 (05:59 +0100)]
bump version toö 3.0-8

6 years agoclose #1668: add support for devuan jessie and ascii
Thomas Lamprecht [Thu, 15 Feb 2018 12:16:34 +0000 (13:16 +0100)]
close #1668: add support for devuan jessie and ascii

Use devuan-jessie as suite name to avoid conflict.
Allow both versions for Devuan ascii.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 years agobump version to 3.0-7
Dietmar Maurer [Tue, 12 Dec 2017 11:01:15 +0000 (12:01 +0100)]
bump version to 3.0-7

6 years agoadd support for Ubuntu 17.10 (artful)
Thomas Lamprecht [Mon, 4 Dec 2017 12:32:32 +0000 (13:32 +0100)]
add support for Ubuntu 17.10 (artful)

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
6 years agobump version to 3.0-6
Dietmar Maurer [Mon, 26 Jun 2017 08:11:50 +0000 (10:11 +0200)]
bump version to 3.0-6

6 years agoclosure: fix package ordering
Dietmar Maurer [Mon, 26 Jun 2017 07:58:53 +0000 (09:58 +0200)]
closure: fix package ordering

We cannot use perl 'keys', because that return a list with random
order. Some packages use preinst scripts (run at unpack time), so
package order is important.

(cherry picked from commit a922f88f4abeea8ff9d268ea2bd9dcadab9b98e2)