19 Commits

Author SHA1 Message Date
Dietmar Maurer
d905cbbe1c PVE/APLInfo.pm - use correct version for user agent 2017-06-29 08:07:11 +02:00
Dietmar Maurer
6085a0aaca PVE/APLInfo.pm: avoid locale specific time stamps 2017-04-24 07:24:12 +02:00
Fabian Grünbichler
bb934324a5 aplinfo: use warnings 2016-08-24 10:10:07 +02:00
Fabian Grünbichler
7da7fe5b08 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
a8ff10b8f0 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
c2d3c481f8 aplinfo: replace system() with run_command/rename 2016-08-24 09:48:15 +02:00
Wolfgang Link
d2b867735a change turnkey URL to https version to permit a redirection. 2016-02-26 11:30:06 +01:00
Dietmar Maurer
4e2e2d515f do not use Net::SSL
seems IO::Socket::SSL can now connect to proxy
2016-02-26 11:29:00 +01:00
Wolfgang Link
0b29c1e89b 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
c9c6aeb46b 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
7cfb65bf9c aplinfo: allow version without -\d+ endings 2015-08-29 12:33:14 +02:00
Dietmar Maurer
108cdbf6f6 APLInfo: support relative locations 2015-07-02 11:58:24 +02:00
Dietmar Maurer
5a9bbfd55f APLInfo: set default location 2015-07-02 11:24:21 +02:00
Dietmar Maurer
2c0eb9fa0d aplinfo: changed directory for lxc images 2015-07-01 13:47:56 +02:00
Dietmar Maurer
0c88ea0e98 read_aplinfo_from_fh: use architecture to generate default file names 2015-07-01 07:44:32 +02:00
Dietmar Maurer
bfc517c083 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
493e43e145 download aplinfo inh postinst script 2012-02-21 12:15:10 +01:00
Dietmar Maurer
82f9a5d7cf implement template download
Also added turnkeylinux.com
2012-02-21 11:45:30 +01:00
Dietmar Maurer
c3731ed285 removed automake/autoconf, removed unused files 2011-08-23 16:11:04 +02:00