Commit Graph

54 Commits

Author SHA1 Message Date
Thomas Lamprecht
b597d23d35 pvecfg: adapt version and release semantic
Wit commit bcef9bde68 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
Thomas Lamprecht
38349000af buildsys: switch upload dist over to buster
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-22 21:34:47 +02:00
Thomas Lamprecht
bcef9bde68 buildsys: use dpkg-dev makefile helpers for pkg info
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-05-22 21:15:47 +02:00
Thomas Lamprecht
26ddc88d33 fixup: Makefile: s/tests/test/
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-10-23 12:49:10 +02:00
Fabian Grünbichler
946a2dadd2 build: use pve-doc-generator to verify API
and move API verification to 'check' target, where it belongs.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-10-18 14:17:08 +02:00
Fabian Grünbichler
71bef866ab build: pull REPOID into top-level Makefile
otherwise it is missing when building in a clean chroot via a generated
source packages.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-10-18 14:17:08 +02:00
Fabian Grünbichler
2ad78c9793 build: cleanup file generation
should happen in the default 'all' target, not in 'install'.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-10-18 14:15:41 +02:00
Wolfgang Bumiller
5e6668f680 buildsys: remove excess directory creations
/usr/share/$(PACKAGE) is used for country.dat, installed
with -D
/usr/share/man/man1 is defined as $(MAN1DIR) in
defines.mk and already created in bin/Makefile where it is
actually used.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2018-06-20 14:08:36 +02:00
Thomas Lamprecht
8f01459822 cleanup: move bin/test to toplevel
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-06-20 13:04:51 +02:00
Thomas Lamprecht
bf25a4c19c cleanup: add network-hooks directory and move respective files
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-06-20 13:04:51 +02:00
Thomas Lamprecht
6721f9ea98 cleanup: add configs directory and move respective files
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-06-20 13:04:51 +02:00
Thomas Lamprecht
81c713fcfd cleanup: rename bin/init.d to services
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-06-20 13:04:51 +02:00
Thomas Lamprecht
24def72f8d cleanup: replace repoid.pl script by simple git commands
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-06-20 13:04:51 +02:00
Thomas Lamprecht
e61ffa0b09 buildsys: remove wildcard target from Makefile
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2018-06-20 13:04:51 +02:00
Fabian Grünbichler
85e14dcd67 build: use git rev-parse for GITVERSION
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2018-03-13 11:06:12 +01:00
Thomas Lamprecht
5e034c9c51 remove now unused translations
We use proxmox-i18n now and merged those files there already
2018-01-25 13:36:38 +01:00
Wolfgang Bumiller
088597a355 Revert "trust StartCom_Certification_Authority_2.crt"
This reverts commit 7637ce6464.

Revert "add missing file"

This reverts commit 7599e35af8.

We've switched to Let's Encrypt.

postinst configure: run update-ca-certificates if the
  previous version is <= 5.0-23.
2017-07-19 09:38:49 +02:00
Dietmar Maurer
7637ce6464 trust StartCom_Certification_Authority_2.crt 2017-07-04 11:48:52 +02:00
Fabian Grünbichler
bbc2344dc7 add initramfs conf snippet disabling RESUME
otherwise, every boot will wait for the swap ZVol on root on
ZFS systems.

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2017-06-22 12:23:01 +02:00
Wolfgang Bumiller
614dfac402 buildsys: clean: remove .buildinfo and .changes 2017-06-12 10:20:21 +02:00
Fabian Grünbichler
f86235f12e build: fakeroot is default anyway 2017-06-12 09:27:23 +02:00
Fabian Grünbichler
338f7f62ce build: make control static 2017-06-12 09:26:57 +02:00
Dominik Csapak
dd147b56fa change from dpkg-deb to dpkg-buildpackage
for better building pve-manager

this moves the copyright file to debian/
the debian/changelog.Debian to debian/changelog

we do not need the debian/conffiles anymore (gets autogenerated from
files in ./etc/)

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-06-09 14:00:32 +02:00
Dominik Csapak
593cd5550d add SOURCE_DATE_EPOCH to Makefile
to get consistent timestamps for most files in the package

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2017-06-09 14:00:14 +02:00
Dietmar Maurer
f27584525a bin/test/Makefile: run all replication tests 2017-05-31 08:23:47 +02:00
Dietmar Maurer
f2a992e026 Makefile: use "ssh -X" for upload 2017-03-14 07:59:01 +01:00
Dietmar Maurer
b2ca8bd893 install lintian overrides file 2017-03-14 06:45:29 +01:00
Wolfgang Bumiller
d2b8a6b5d2 bump version to 5.0-1 2017-03-13 14:23:52 +01:00
Wolfgang Bumiller
8d676c8af5 buildsys: make job safety 2017-03-13 14:18:21 +01:00
Dietmar Maurer
7fdb3e699d remove vznet.conf
leftover from openvz - not used anymore...
2017-01-04 10:43:15 +01:00
Thomas Lamprecht
1ba0bf9cbc Makefile: fix distclean target
As some Makefiles in sub directories do not implement the distclean
target, namely:
PVE/Service/Makefile
PVE/CLI/Makefile

This target is broken.

As all other implementations just redirect to the 'clean' target I
do not implement the missing ones but rather remove all such
targets. Keep it just in the top level directory, for consistence
sake with other pve repos, and redirect it there directly to the
clean target.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2016-09-28 08:21:48 +02:00
Emmanuel Kasper
ce532dac59 Do not use a hardcoded Certificate Authority for https repositories
Instead we will the use the CA certificate provided by the
ca-certificates packages, which is now a mandatory depency of
pve-manager since 8204daafaf and
pve-manager 4.2-17. This change allows us in the future to
use different CA for our https repositories.

This changed has been tested OK with the following combination:
 * https repository using a StartCom certificate: works
 * https repository using a Let's encrypt certificate: works

User visible changes:
 * none : the new configuration file 75pveconf silently
 overwrites the olderone, except if local changes were made
 in which case you're presented with the traditional debian menu
 (keep local/ use packager version/ diff / open a shell)
2016-08-17 12:35:16 +02:00
Wolfgang Bumiller
c42f212de0 use new repoman toolkit 2016-06-29 14:41:04 +02:00
Dietmar Maurer
bd5d277292 rename manager5 to manager6 2016-01-22 11:24:10 +01:00
Dietmar Maurer
d23172fb66 update aplinfo.dat
Use latest data from download server.
2015-09-11 08:29:11 +02:00
Wolfgang Link
c6b6595460 fix bug #701: blacklist nvidiafb 2015-09-06 10:56:17 +02:00
Alexandre Derumier
312ce78084 add vlan aware ifupdown script v3
This add support to enable vlan aware bridge,
and management interfaces

example: 1 bridge and 1 administration port on vlan 100

auto vmbr0
iface vmbr0 inet manual
        bridge_ports eth0
        bridge_stp off
        bridge_fd 0
        bridge_vlan_aware yes
        bridge_vids 10-15

auto vmbr0.100
iface vmbr0.100 inet static
        address X.X.X.X
        netmask 255.255.255.0
        gateway X.X.X.X

bridge_vids is optional, and allow on the specified vlans.(current take 1 value or range, need to be improve with list)
If not specified, the allowed vlan are 2-4094.
vlan 1 is the default pvid. (all untagged traffic is going to this vlan).

scripts:
- /etc/network/if-up.d/bridgevlan

manage bridge vlan aware configuration

- /etc/network/if-up.d/bridgevlanport

manage bridge vlan admin port

-/etc/network/if-pre-up.d/vlan
-/etc/network/if-post-down.d/vlan

replace current vlan package, without vconfig usage and cleanups
It's only needed to create vlan interface from bridge_ports.

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2015-07-29 06:46:16 +02:00
Emmanuel Kasper
dbcfa2af33 Add manager5 directory in case of missing development symlink 2015-05-06 12:46:28 +02:00
Dietmar Maurer
6579f45ae1 add preinst script
Older versions of our daemona do not restart with HUP, so we
need to do a stop/start.
2015-01-15 07:20:17 +01:00
Dietmar Maurer
b282dec20f add spice example script spice-example-sh 2014-03-03 07:22:56 +01:00
Alexandre Derumier
31e5310115 add mtu support for manual interfaces
tested with classic linux interfaces/bridge and openvswitch interfaces

Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
2013-12-31 10:15:31 +01:00
Dietmar Maurer
a0c49bc887 add reference to git version 2013-08-22 11:48:17 +02:00
Dietmar Maurer
d76442551a automatically add pve repository to apt sources list 2013-08-01 09:23:03 +02:00
Dietmar Maurer
d47f3a7e41 install CA certificates used by our repositories 2013-07-25 11:33:55 +02:00
Dietmar Maurer
60d3dcced9 avoid apt autoremoval for pve-kernel packages 2013-07-25 07:53:07 +02:00
Dietmar Maurer
4b73743aa9 run pveproxy as unpriviledged user (www-data)
We log to /var/log/pveproxy/access.log. Extra directory is needed because we run
as www-data (no permissions to write into /var/log/pve/).
2013-04-10 09:58:35 +02:00
Dietmar Maurer
eceb917166 use C-wrapper for setgid perl script
Because perl-suid does not exist on wheezy.
2013-03-25 12:39:40 +01:00
Dietmar Maurer
8372a03e8d implement new auto balloon algorithm
Moved code into PVE/AutoBalloon.pm, and added a regression tests in bin/test/balloontest.pl
2012-12-28 12:50:13 +01:00
Dietmar Maurer
e9b159f219 re-add apl upload target 2012-10-23 09:17:43 +02:00
Dietmar Maurer
482fa9b4be start i18n support 2011-11-21 12:57:11 +01:00