mirror of
https://git.proxmox.com/git/proxmox-backup-meta
synced 2025-10-04 07:03:04 +00:00
initial commit
This commit is contained in:
commit
50b1017c81
34
Makefile
Normal file
34
Makefile
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
include /usr/share/dpkg/pkg-info.mk
|
||||||
|
|
||||||
|
PACKAGE=proxmox-backup
|
||||||
|
|
||||||
|
GITVERSION:=$(shell git rev-parse HEAD)
|
||||||
|
|
||||||
|
DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_all.deb
|
||||||
|
|
||||||
|
DEBS=${DEB}
|
||||||
|
|
||||||
|
BUILD_DIR=build
|
||||||
|
|
||||||
|
ARCH=amd64
|
||||||
|
DIST=buster
|
||||||
|
|
||||||
|
all: ${DEB}
|
||||||
|
|
||||||
|
.PHONY: deb
|
||||||
|
deb ${CT_DEB}: ${DEB}
|
||||||
|
${DEB}: debian
|
||||||
|
rm -rf ${BUILD_DIR}
|
||||||
|
mkdir -p ${BUILD_DIR}/debian
|
||||||
|
cp -ar debian/* ${BUILD_DIR}/debian/
|
||||||
|
echo "git clone git://git.proxmox.com/git/proxmox-backup-meta.git\\ngit checkout ${GITVERSION}" > ${BUILD_DIR}/debian/SOURCE
|
||||||
|
cd ${BUILD_DIR}; dpkg-buildpackage -b -uc -us
|
||||||
|
lintian ${DEBS}
|
||||||
|
|
||||||
|
.PHONY: upload
|
||||||
|
upload: ${DEBS}
|
||||||
|
tar cf - ${DEBS}|ssh -X repoman@repo.proxmox.com -- upload --product pbs --dist ${DIST} --arch ${ARCH}
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -rf ${BUILD_DIR} *.deb *.buildinfo *.changes
|
||||||
|
find . -name '*~' -exec rm {} ';'
|
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
proxmox-backup (1.0-1) pbs; urgency=medium
|
||||||
|
|
||||||
|
* first public release
|
||||||
|
|
||||||
|
-- Proxmox Support Team <support@proxmox.com> Thu, 14 Nov 2019 11:35:06 +0100
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
12
|
18
debian/control
vendored
Normal file
18
debian/control
vendored
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
Source: proxmox-backup
|
||||||
|
Section: admin
|
||||||
|
Priority: optional
|
||||||
|
Build-Depends: debhelper (>=12~),
|
||||||
|
lintian
|
||||||
|
Maintainer: Proxmox Support Team <support@proxmox.com>
|
||||||
|
|
||||||
|
Package: proxmox-backup
|
||||||
|
Architecture: all
|
||||||
|
Depends: libc6,
|
||||||
|
pve-kernel-5.0,
|
||||||
|
pve-kernel-helper,
|
||||||
|
proxmox-backup-server,
|
||||||
|
proxmox-backup-client,
|
||||||
|
Description: Proxmox Backup Server metapackage
|
||||||
|
This is a meta package which will install everything needed to run a
|
||||||
|
Proxmox Backup server. This package also depends on the latest
|
||||||
|
available Proxmox kernel.
|
21
debian/copyright
vendored
Normal file
21
debian/copyright
vendored
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
Copyright (C) 2019 Proxmox Server Solutions GmbH
|
||||||
|
|
||||||
|
This software is written by Proxmox Server Solutions GmbH <support@proxmox.com>
|
||||||
|
|
||||||
|
|
||||||
|
This program is free software; you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation; version 2 dated June, 1991.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program; if not, write to the Free Software
|
||||||
|
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
|
||||||
|
MA 02110-1301 USA
|
||||||
|
|
||||||
|
The complete text of the GNU General
|
||||||
|
Public License can be found in `/usr/share/common-licenses/GPL-2'.
|
1
debian/grub/proxmox-backup.cfg
vendored
Normal file
1
debian/grub/proxmox-backup.cfg
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
GRUB_DISTRIBUTOR="Proxmox Backup Server"
|
15
debian/postinst
vendored
Executable file
15
debian/postinst
vendored
Executable file
@ -0,0 +1,15 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Abort if any command returns an error value
|
||||||
|
set -e
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
configure)
|
||||||
|
# setup kernel links for installation CD (rescue boot)
|
||||||
|
mkdir -p /boot/pve
|
||||||
|
ln -sf /boot/pve/vmlinuz-5.0 /boot/pve/vmlinuz
|
||||||
|
ln -sf /boot/pve/initrd.img-5.0 /boot/pve/initrd.img
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
exit 0
|
19
debian/postrm
vendored
Executable file
19
debian/postrm
vendored
Executable file
@ -0,0 +1,19 @@
|
|||||||
|
#! /bin/sh
|
||||||
|
|
||||||
|
# Abort if any command returns an error value
|
||||||
|
set -e
|
||||||
|
|
||||||
|
case "$1" in
|
||||||
|
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
|
||||||
|
# remove kernel symlinks
|
||||||
|
rm -f /boot/pve/vmlinuz
|
||||||
|
rm -f /boot/pve/initrd.img
|
||||||
|
rmdir --ignore-fail-on-non-empty /boot/pve/ || true
|
||||||
|
;;
|
||||||
|
|
||||||
|
*)
|
||||||
|
echo "postrm called with unknown argument \`$1'" >&2
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
1
debian/proxmox-backup.docs
vendored
Normal file
1
debian/proxmox-backup.docs
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
debian/SOURCE
|
2
debian/proxmox-backup.install
vendored
Normal file
2
debian/proxmox-backup.install
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
debian/proxmox-ve-release-6.x.gpg etc/apt/trusted.gpg.d/
|
||||||
|
debian/grub/proxmox-backup.cfg etc/default/grub.d/
|
1
debian/proxmox-backup.lintian-overrides
vendored
Normal file
1
debian/proxmox-backup.lintian-overrides
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
proxmox-backup: package-installs-apt-keyring etc/apt/trusted.gpg.d/proxmox-ve-release-*
|
BIN
debian/proxmox-ve-release-6.x.gpg
vendored
Normal file
BIN
debian/proxmox-ve-release-6.x.gpg
vendored
Normal file
Binary file not shown.
28
debian/rules
vendored
Normal file
28
debian/rules
vendored
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
#!/usr/bin/make -f
|
||||||
|
# -*- makefile -*-
|
||||||
|
|
||||||
|
# Uncomment this to turn on verbose mode.
|
||||||
|
#export DH_VERBOSE=1
|
||||||
|
|
||||||
|
|
||||||
|
install:
|
||||||
|
dh_install
|
||||||
|
dh_installdocs
|
||||||
|
dh_lintian
|
||||||
|
dh_installchangelogs
|
||||||
|
dh_installman
|
||||||
|
dh_strip_nondeterminism
|
||||||
|
dh_compress
|
||||||
|
dh_fixperms
|
||||||
|
|
||||||
|
binary: install
|
||||||
|
dh_strip
|
||||||
|
dh_makeshlibs
|
||||||
|
dh_shlibdeps
|
||||||
|
dh_installdeb
|
||||||
|
dh_gencontrol
|
||||||
|
dh_md5sums
|
||||||
|
dh_builddeb
|
||||||
|
|
||||||
|
.PHONY: build clean
|
||||||
|
build clean:
|
Loading…
Reference in New Issue
Block a user