]> git.proxmox.com Git - pve-network.git/commitdiff
initial package commit
authorAlexandre Derumier <aderumier@odiso.com>
Wed, 27 Mar 2019 17:24:05 +0000 (18:24 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 28 Mar 2019 09:59:08 +0000 (10:59 +0100)
Signed-off-by: Alexandre Derumier <aderumier@odiso.com>
Makefile [new file with mode: 0644]
PVE/Makefile [new file with mode: 0644]
PVE/Network/Makefile [new file with mode: 0644]
debian/changelog [new file with mode: 0644]
debian/compat [new file with mode: 0644]
debian/control [new file with mode: 0644]
debian/copyright [new file with mode: 0644]
debian/docs [new file with mode: 0644]
debian/rules [new file with mode: 0755]
debian/source/format [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
index 0000000..d8a43aa
--- /dev/null
+++ b/Makefile
@@ -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
+
diff --git a/PVE/Makefile b/PVE/Makefile
new file mode 100644 (file)
index 0000000..626c2c5
--- /dev/null
@@ -0,0 +1,3 @@
+.PHONY: install
+install:
+       make -C Network install
diff --git a/PVE/Network/Makefile b/PVE/Network/Makefile
new file mode 100644 (file)
index 0000000..543b743
--- /dev/null
@@ -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
diff --git a/debian/changelog b/debian/changelog
new file mode 100644 (file)
index 0000000..80e5f15
--- /dev/null
@@ -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
+
diff --git a/debian/compat b/debian/compat
new file mode 100644 (file)
index 0000000..f599e28
--- /dev/null
@@ -0,0 +1 @@
+10
diff --git a/debian/control b/debian/control
new file mode 100644 (file)
index 0000000..db12f06
--- /dev/null
@@ -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.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644 (file)
index 0000000..f96f3fb
--- /dev/null
@@ -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/>.
diff --git a/debian/docs b/debian/docs
new file mode 100644 (file)
index 0000000..8696672
--- /dev/null
@@ -0,0 +1 @@
+debian/SOURCE
diff --git a/debian/rules b/debian/rules
new file mode 100755 (executable)
index 0000000..b760bee
--- /dev/null
@@ -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 $@ 
diff --git a/debian/source/format b/debian/source/format
new file mode 100644 (file)
index 0000000..d3827e7
--- /dev/null
@@ -0,0 +1 @@
+1.0