Commit Graph

24 Commits

Author SHA1 Message Date
Thomas Lamprecht
a0b5652e9b aplinfo: use aplinfo signed with 6.x release key
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-07-19 19:19:07 +02:00
Thomas Lamprecht
8e96e296b8 aplinfo: re-work and allow different filenames per apl source
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-07-19 19:19:07 +02:00
Thomas Lamprecht
53b083d57c aplinfo: code cleanup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-07-19 19:19:07 +02:00
Thomas Lamprecht
7618913027 perl: fix some common typos found with codespell
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-06-15 10:40:20 +02:00
Thomas Lamprecht
180a86d39a pvecfg: adapt version and release semantic
Wit commit a74ba607d4 we switched over
to using the dpkg-dev provided helpers to set package version,
architecture and such in the buildsystem.

But unlike other repositories we used the version also for giving it
back over the API through the during build generated PVE::pvecfg
module, which wasn't fully updated to the new style.

This patch does that, and also cleans up semantics a bit, the
following two changed:

release is now the Debian release, instead of the "package release"
(i.e., the -X part of a full package version).
version is now simply the full (pve-manager) version, e.g., 6.0-1 or
the currently for testing used 6.0-0+1

This allows to do everything we used this information for even in a
slightly easier way (no  string concat needed anymore), and fits also
with the terminology we often used in our public channels (mailing
lists, forum, website)

Remove some cruft as we touch things.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-26 16:11:43 +02:00
Dietmar Maurer
07e5f4f776 PVE/APLInfo.pm - use correct version for user agent 2017-06-29 08:07:11 +02:00
Dietmar Maurer
8a0cae0e35 PVE/APLInfo.pm: avoid locale specific time stamps 2017-04-24 07:24:12 +02:00
Fabian Grünbichler
609801c560 aplinfo: use warnings 2016-08-24 10:10:07 +02:00
Fabian Grünbichler
36b9245739 aplinfo: remove leftover cruft
this was probably missed in a previous refactoring, the
filehandle is only opened and closed here and read_aplinfo()
already opens and closes the file itself.
2016-08-24 09:57:18 +02:00
Fabian Grünbichler
868801cb22 aplinfo: improve signature verification
instead of importing the trusted gpg keys into root's
.gnupg on each appliance list update, install a trusted
keyring generated at build time.

verify signatures with gpgv and the trusted keyring instead
of gpg --verify on root's keyring with output parsing.
2016-08-24 09:56:38 +02:00
Fabian Grünbichler
c351eda952 aplinfo: replace system() with run_command/rename 2016-08-24 09:48:15 +02:00
Wolfgang Link
06399fd71a change turnkey URL to https version to permit a redirection. 2016-02-26 11:30:06 +01:00
Dietmar Maurer
f494187fb6 do not use Net::SSL
seems IO::Socket::SSL can now connect to proxy
2016-02-26 11:29:00 +01:00
Wolfgang Link
d5a62d20da Fix problems with turnkey repository.
To prevent that one time Net:SSL and an outer time IO::Socket::SSL is loaded,
ensure that always use the same socket class.

We load the the Net:SSL in AccessControl.pm if we call pveupdate,
but if we call pveam update this module is not loaded an so the default is used (IO::Socket::SSL).
2016-02-18 06:34:41 +01:00
Wolfgang Bumiller
49ee2d1ae8 APLInfo: support proxying http traffic
As requested in ticket #838, to support running `pveam
update` from within a proxied environment.

Closes #838
2016-01-22 11:24:23 +01:00
Dietmar Maurer
f6b20cf988 aplinfo: allow version without -\d+ endings 2015-08-29 12:33:14 +02:00
Dietmar Maurer
7a07d675f1 APLInfo: support relative locations 2015-07-02 11:58:24 +02:00
Dietmar Maurer
4886fe07c6 APLInfo: set default location 2015-07-02 11:24:21 +02:00
Dietmar Maurer
648af5ab22 aplinfo: changed directory for lxc images 2015-07-01 13:47:56 +02:00
Dietmar Maurer
07c1e6b046 read_aplinfo_from_fh: use architecture to generate default file names 2015-07-01 07:44:32 +02:00
Dietmar Maurer
6de794eb71 APLInfo: split out code into read_aplinfo_from_fh
So that we can call the parser for any $fh. Add new type 'lxc'.
2015-06-30 13:43:59 +02:00
Dietmar Maurer
75a6a7f545 download aplinfo inh postinst script 2012-02-21 12:15:10 +01:00
Dietmar Maurer
c916497537 implement template download
Also added turnkeylinux.com
2012-02-21 11:45:30 +01:00
Dietmar Maurer
beb651ee65 removed automake/autoconf, removed unused files 2011-08-23 16:11:04 +02:00