5
0
mirror of git://git.proxmox.com/git/pve-guest-common.git synced 2025-02-25 17:57:25 +03:00

initial packaging

This commit is contained in:
Fabian Grünbichler 2017-01-25 09:13:35 +01:00
parent 58a3c91ced
commit e115c4af33
7 changed files with 85 additions and 0 deletions

37
Makefile Normal file
View File

@ -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}

5
debian/changelog vendored Normal file
View File

@ -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 <support@proxmox.com> Tue, 24 Jan 2017 14:07:48 +0100

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
9

16
debian/control vendored Normal file
View File

@ -0,0 +1,16 @@
Source: libpve-guest-common-perl
Section: perl
Priority: optional
Maintainer: Proxmox Support Team <support@proxmox.com>
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.

16
debian/copyright vendored Normal file
View File

@ -0,0 +1,16 @@
Copyright (C) 2010-2017 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 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 <http://www.gnu.org/licenses/>.

9
debian/rules vendored Executable file
View File

@ -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 $@

1
debian/triggers vendored Normal file
View File

@ -0,0 +1 @@
activate-noawait pve-api-updates