mirror of
git://git.proxmox.com/git/pve-network.git
synced 2025-04-30 03:27:11 +02:00
initial package commit
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
This commit is contained in:
commit
0399edbbbd
54
Makefile
Normal file
54
Makefile
Normal file
|
@ -0,0 +1,54 @@
|
|||
VERSION=5.0
|
||||
PKGREL=1
|
||||
|
||||
PACKAGE=libpve-network-perl
|
||||
|
||||
ARCH=all
|
||||
|
||||
BUILDDIR ?= ${PACKAGE}-${VERSION}
|
||||
|
||||
DEB=${PACKAGE}_${VERSION}-${PKGREL}_${ARCH}.deb
|
||||
DSC=${PACKAGE}_${VERSION}-${PKGREL}.dsc
|
||||
TARGZ=${PACKAGE}_${VERSION}-${PKGREL}.tar.gz
|
||||
|
||||
all:
|
||||
${MAKE} -C PVE
|
||||
|
||||
.PHONY: dinstall
|
||||
dinstall: deb
|
||||
dpkg -i ${DEB}
|
||||
|
||||
${BUILDDIR}: PVE debian
|
||||
rm -rf ${BUILDDIR}
|
||||
rsync -a * ${BUILDDIR}
|
||||
echo "git clone git://git.proxmox.com/git/pve-network.git\\ngit checkout $(shell git rev-parse HEAD)" > ${BUILDDIR}/debian/SOURCE
|
||||
|
||||
.PHONY: deb
|
||||
deb: ${DEB}
|
||||
${DEB}: ${BUILDDIR}
|
||||
cd ${BUILDDIR}; dpkg-buildpackage -b -us -uc
|
||||
lintian ${DEB}
|
||||
|
||||
.PHONY: dsc
|
||||
dsc ${TARGZ}: ${DSC}
|
||||
${DSC}: ${BUILDDIR}
|
||||
cd ${BUILDDIR}; dpkg-buildpackage -S -us -uc -d -nc
|
||||
lintian ${DSC}
|
||||
|
||||
.PHONY: clean distclean
|
||||
distclean: clean
|
||||
clean:
|
||||
rm -rf *~ *.deb *.changes ${BUILDDIR} *.buildinfo *.dsc *.tar.gz
|
||||
|
||||
.PHONY: check
|
||||
check:
|
||||
$(MAKE) -C test check
|
||||
|
||||
.PHONY: install
|
||||
install:
|
||||
${MAKE} -C PVE install
|
||||
|
||||
.PHONY: upload
|
||||
upload: ${DEB}
|
||||
tar cf - ${DEB}|ssh -X repoman@repo.proxmox.com -- upload --product pve --dist stretch
|
||||
|
3
PVE/Makefile
Normal file
3
PVE/Makefile
Normal file
|
@ -0,0 +1,3 @@
|
|||
.PHONY: install
|
||||
install:
|
||||
make -C Network install
|
4
PVE/Network/Makefile
Normal file
4
PVE/Network/Makefile
Normal file
|
@ -0,0 +1,4 @@
|
|||
SOURCES=Plugin.pm VlanPlugin.pm Vnet.pm VxlanMulticastPlugin.pm
|
||||
.PHONY: install
|
||||
install:
|
||||
for i in ${SOURCES}; do install -D -m 0644 $$i ${DESTDIR}${PERLDIR}/PVE/Network/$$i; done
|
6
debian/changelog
vendored
Normal file
6
debian/changelog
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
libpve-network-perl (5.0-1) unstable; urgency=medium
|
||||
|
||||
* Initial release
|
||||
|
||||
-- Proxmox Support Team <support@proxmox.com> Wed, 27 Mar 2019 12:50:26 +0100
|
||||
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
10
|
20
debian/control
vendored
Normal file
20
debian/control
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
Source: libpve-network-perl
|
||||
Section: perl
|
||||
Priority: extra
|
||||
Maintainer: Proxmox Support Team <support@proxmox.com>
|
||||
Build-Depends: debhelper (>= 7.0.50~),
|
||||
lintian,
|
||||
perl (>= 5.10.0-19),
|
||||
pve-cluster (>= 5.0-32),
|
||||
pve-doc-generator (>= 5.3-3),
|
||||
Standards-Version: 3.9.5
|
||||
Homepage: http://www.proxmox.com
|
||||
|
||||
Package: libpve-network-perl
|
||||
Architecture: all
|
||||
Breaks: pve-manager (<< 5.2-12)
|
||||
Depends: libpve-common-perl (>= 5.0-45),
|
||||
perl (>= 5.6.0-16),
|
||||
pve-cluster (>= 5.0-32),
|
||||
Description: Proxmox VE storage management library
|
||||
This package contains the storage management library used by Proxmox VE.
|
16
debian/copyright
vendored
Normal file
16
debian/copyright
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
Copyright (C) 2010 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/>.
|
1
debian/docs
vendored
Normal file
1
debian/docs
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
debian/SOURCE
|
13
debian/rules
vendored
Executable file
13
debian/rules
vendored
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/usr/bin/make -f
|
||||
# -*- makefile -*-
|
||||
# Sample debian/rules that uses debhelper.
|
||||
# This file was originally written by Joey Hess and Craig Small.
|
||||
# As a special exception, when this file is copied by dh-make into a
|
||||
# dh-make output file, you may use that output file without restriction.
|
||||
# This special exception was added by Craig Small in version 0.37 of dh-make.
|
||||
|
||||
# Uncomment this to turn on verbose mode.
|
||||
#export DH_VERBOSE=1
|
||||
|
||||
%:
|
||||
dh $@
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
1.0
|
Loading…
Reference in a new issue