diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..bfb072d --- /dev/null +++ b/Makefile @@ -0,0 +1,37 @@ +PACKAGE=libpve-guest-common-perl +PKGVER=1.0 +PKGREL=1 + +DEB=${PACKAGE}_${PKGVER}-${PKGREL}_all.deb + +DESTDIR= + +PERL5DIR=${DESTDIR}/usr/share/perl5 +DOCDIR=${DESTDIR}/usr/share/doc/${PACKAGE} + +all: + +.PHONY: deb +deb ${DEB}: + rm -rf build + rsync -a * build + cd build; dpkg-buildpackage -b -us -uc + lintian ${DEB} + +install: PVE + install -d ${PERL5DIR}/PVE + install -m 0644 PVE/AbstractConfig.pm ${PERL5DIR}/PVE/ + install -m 0644 PVE/AbstractMigrate.pm ${PERL5DIR}/PVE/ + +.PHONY: upload +upload: ${DEB} + tar cf - ${DEB} | ssh repoman@repo.proxmox.com upload + +distclean: clean + +clean: + rm -rf ./build *.deb *.changes + +.PHONY: dinstall +dinstall: ${DEB} + dpkg -i ${DEB} diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..0dfcf66 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,5 @@ +libpve-guest-common-perl (1.0-1) unstable; urgency=medium + + * initial release, split out from libe-pve-common-perl + + -- Proxmox Support Team Tue, 24 Jan 2017 14:07:48 +0100 diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +9 diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..5f0681b --- /dev/null +++ b/debian/control @@ -0,0 +1,16 @@ +Source: libpve-guest-common-perl +Section: perl +Priority: optional +Maintainer: Proxmox Support Team +Build-Depends: debhelper (>= 9), perl (>= 5.10.0-19) +Standards-Version: 3.9.5 +Homepage: http://www.proxmox.com + +Package: libpve-guest-common-perl +Architecture: all +Depends: ${perl:Depends}, libpve-common-perl (>= 4.0-89), pve-cluster, libpve-storage-perl +Breaks: libpve-common-perl (<< 4.0-89) +Replaces: libpve-common-perl (<< 4.0-89) +Description: Proxmox VE common guest-related modules + This package contains a common code base used by + pve-container and qemu-server. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..22c3a5e --- /dev/null +++ b/debian/copyright @@ -0,0 +1,16 @@ +Copyright (C) 2010-2017 Proxmox Server Solutions GmbH + +This software is written by Proxmox Server Solutions GmbH + +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +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 Affero General Public License for more details. + +You should have received a copy of the GNU Affero General Public License +along with this program. If not, see . diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..2a6e77d --- /dev/null +++ b/debian/rules @@ -0,0 +1,9 @@ +#!/usr/bin/make -f +# See debhelper(7) (uncomment to enable) +# output every command that modifies files on the build system. +#DH_VERBOSE = 1 + + +%: + dh $@ + diff --git a/debian/triggers b/debian/triggers new file mode 100644 index 0000000..59dd688 --- /dev/null +++ b/debian/triggers @@ -0,0 +1 @@ +activate-noawait pve-api-updates