Commit Graph

72 Commits

Author SHA1 Message Date
Wolfgang Bumiller 85d3660bf9 bump proxmox dependency to 0.1.2
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2020-01-08 14:18:07 +01:00
Fabian Grünbichler 70cd0e1b12 d/control: bump proxmox build-dep
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2020-01-07 10:46:32 +01:00
Dietmar Maurer 8ec9e311e4 bump version to 0.1.2 2019-12-30 11:01:21 +01:00
Dietmar Maurer 3332a91426 bump version to 0.1.1 2019-12-27 11:51:22 +01:00
Fabian Grünbichler 75232e517a packaging: fix docs install path
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2019-12-23 07:52:40 +01:00
Fabian Grünbichler da0e1e4021 various packaging fixes, bump version
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2019-12-20 12:55:32 +01:00
Fabian Grünbichler 4aa3763944 d/control: add proper rust build-dependencies
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2019-12-20 12:55:32 +01:00
Thomas Lamprecht 6060a57578 debian/: run wrap-and-sort
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-12-18 17:22:43 +01:00
Dietmar Maurer 81cc71c0d7 use proxmox-mini-journalreader to display syslog 2019-12-17 14:06:48 +01:00
Dietmar Maurer 7f816d468a install ext6-pbs.css 2019-12-17 11:34:29 +01:00
Thomas Lamprecht 05c031612e d/rules: override dwz helper to avoid build-failure
AFAICT, this is the issue from Debian Bug #933541, I implement the
workaround suggested by a maintainer[0].

[0]: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=933541#10

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-12-16 16:38:03 +01:00
Thomas Lamprecht 1182a3c40d Revert "d/control: add llvm-dev to build-dependencies"
llvm-dev was wrong, llvm-config is shipped by llvm package

This reverts commit 2db252aeae.
2019-12-16 15:33:57 +01:00
Oguz Bektas 2db252aeae d/control: add llvm-dev to build-dependencies
Signed-off-by: Oguz Bektas <o.bektas@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-12-16 15:17:14 +01:00
Thomas Lamprecht ba0f71f5eb d/control: add rsync to build-dependencies
not directly required for

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-12-16 11:32:44 +01:00
Thomas Lamprecht f1e8935b45 d/control: add missing build-dependencies
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-12-16 11:24:57 +01:00
Dietmar Maurer 720776b81e generate separate proxmox-backup-docs package 2019-12-13 14:15:07 +01:00
Christian Ebner 06aa0f2844 debian/control: remove libreadline-dev build dependency
Signed-off-by: Christian Ebner <c.ebner@proxmox.com>
2019-12-06 09:03:15 +01:00
Dietmar Maurer a96521577e correctly install bash completion helpers 2019-12-03 09:52:53 +01:00
Dietmar Maurer 126c1f675f add build depend for libreadline-dev 2019-11-22 08:29:41 +01:00
Dietmar Maurer e4a5ab8ddb add pxar.1 manual page 2019-11-17 17:13:59 +01:00
Wolfgang Bumiller f569acc5e2 drop uuid crate dependency
proxmox::tools now has a Uuid module using the native
libuuid.

Adds build dependency: libuuid1 (which is a Pre-Depends of
util-linux, so always installed anyway).

Drops uuid + 16 more crate dependencies.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-11-14 10:22:29 +01:00
Dietmar Maurer cd88ccae99 debian/control: build-depend on latexmk 2019-11-11 19:54:15 +01:00
Dietmar Maurer fdd471d590 docs/introduction.rst: Add License Section (AGPL3) 2019-11-11 19:21:27 +01:00
Dietmar Maurer 028bd254ac add manual page for proxmox-backup-manager 2019-11-11 09:17:55 +01:00
Dietmar Maurer 36d74cd633 debian packages: split package into client/server 2019-11-11 08:35:33 +01:00
Wolfgang Bumiller d03d3fa04e d/control: depend on libfuse3-dev
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-08-13 12:29:00 +02:00
Wolfgang Bumiller de3b0ad1ce whitespace fixup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-08-13 12:28:05 +02:00
Dietmar Maurer cf925b94ab debian/control: add clang build dependency 2019-06-27 11:14:33 +02:00
Wolfgang Bumiller d98c9a7a38 use service Type=notify
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-04-25 11:01:33 +00:00
Wolfgang Bumiller 30f76795fd debian/control: whitespace fixup and sorting
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-04-25 08:16:21 +00:00
Dietmar Maurer 7c4dd94670 rename catar into pxar
Seems impossible to stay compatible with the original catar specification,
so we change the name to avoid confusions.
2019-03-14 10:14:32 +01:00
Dietmar Maurer 4203908a9e depend on zstd 1.3.8
On debiln  stretch, you need to install that from debian backuports ...
2019-03-07 12:53:19 +01:00
Dietmar Maurer 141f062e08 src/backup/chunk_store.rs: use zstd compression insteadf of lz4
Provides better compressionm rate, and is still fast.
2019-03-07 11:42:59 +01:00
Dietmar Maurer 7ef486ae06 build doc with sphinx 2019-02-27 17:42:31 +01:00
Wolfgang Bumiller d6b5173689 debian/control: use python3
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-02-27 11:43:34 +00:00
Wolfgang Bumiller 741706eefe debian/control: rst2man is in python-docutils
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-02-27 11:26:53 +00:00
Wolfgang Bumiller a93cc7c934 debian/control: sort dependencies
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-02-27 11:26:53 +00:00
Dietmar Maurer 78216a5ab1 src/backup/chunk_store.rs: use lz4 for compression
And depend on lz4 lib now.
2019-02-25 10:00:28 +01:00
Dietmar Maurer bb5c770758 start generating manual pages
Depend on docutils-doc
2019-02-24 10:18:38 +01:00
Dietmar Maurer a8f268afbb fix configuration dir permission
Carefully set and check permissions ...
2019-02-16 12:19:13 +01:00
Dietmar Maurer 17ed456c2e change proxy user from www-data to backup 2019-02-16 09:29:04 +01:00
Wolfgang Bumiller 7406f6260a debian: add debian/source/format file
We need 1.0: We have a native package with a revision, so
anything >1.0 doesn't work...

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-02-01 10:41:54 +01:00
Wolfgang Bumiller 418f3a5f48 add missing build depends
lintian complains about a missing bash-completion dependency
which is implied required the bash completion debhelper...

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-02-01 10:41:54 +01:00
Wolfgang Bumiller bed78ccd63 use BUILD_MODE via the environment
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-02-01 10:41:54 +01:00
Wolfgang Bumiller 13b77d1060 buildsys: fixup package building
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-02-01 10:41:54 +01:00
Wolfgang Bumiller 6285b251e7 don't hardcode /usr/share paths
Add a defines.mk file defining the standard default layout
for installation (PREFIX, DATAROOTDIR, LIBDIR etc.).

Add a $(JSDIR) variable and use env!("JSDIR") in place of
the hardcoded /usr/share/javascript/proxmox-backup path.

Have defines.mk include an *optional* local.mak to override
JSDIR to www/ during local development.

Add `make install` targets and remove debian/install.

Note that service files are now in $libdir/proxmox-backup/
as there's usually no point in starting them from the
command line, so /usr/sbin makes no sense.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-02-01 10:41:54 +01:00
Wolfgang Bumiller 9fa03fa2d3 www: build proxmox-backup-gui.js into the js/ subdir
The server expects an images/ subdir and a js/ subdir, so we
should also compile our files using the same structure.

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-02-01 10:41:54 +01:00
Wolfgang Bumiller 7028d088b4 add missing build dependencies
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2019-02-01 10:41:54 +01:00
Dietmar Maurer c82bc1a1f9 depend on pam-auth, use pam for root login
Please use username "root@pam" for login via GUI.
2019-02-01 09:30:50 +01:00
Dietmar Maurer 02c7a75520 src/bin/proxmox-backup-proxy.rs: implement unpriviledged server
We want to run the public server as user www-data. Requests needing
root priviledges needs to be proxied to the proxmox-backup.service, which
now listens to 127.0.0.1:82.
2019-01-28 13:29:58 +01:00