]> git.proxmox.com Git - pve-manager.git/blame - PVE/pvecfg.pm.in
store u2f challenges in the rpc environment
[pve-manager.git] / PVE / pvecfg.pm.in
CommitLineData
aff192e6
DM
1package PVE::pvecfg;
2
3use strict;
4use vars qw(@ISA);
5use Carp;
6
7sub package {
8 return '@PACKAGE@';
9}
10
11sub version {
12 return '@VERSION@';
13}
14
8747a9ec
DM
15sub release {
16 return '@PACKAGERELEASE@';
17}
18
aff192e6
DM
19sub repoid {
20 return '@REPOID@';
21}
22
8747a9ec
DM
23# this is diplayed on the GUI
24sub version_text {
25 return '@VERSION@-@PACKAGERELEASE@/@REPOID@';
26}
27
28# this is returned by the API
29sub version_info {
30 return {
31 'version' => '@VERSION@',
32 'release' => '@PACKAGERELEASE@',
33 'repoid' => '@REPOID@',
34 }
35}
36
371;