5
0
mirror of git://git.proxmox.com/git/pve-http-server.git synced 2025-02-08 05:57:37 +03:00

initial import

The PVE/AsyncHTTPServer.pm code is copied from the pve-manager
package (PVE/HTTPServer.pm) and renamed.
This commit is contained in:
Dietmar Maurer 2017-01-13 12:55:20 +01:00
commit d82180013b
8 changed files with 1993 additions and 0 deletions

38
Makefile Normal file
View File

@ -0,0 +1,38 @@
PACKAGE=libpve-http-server-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: ${DEB}
.PHONY: deb
deb ${DEB}:
rm -rf build
rsync -a debian build
make DESTDIR=./build install
cd build; dpkg-buildpackage -rfakeroot -b -us -uc
lintian ${DEB}
install:
install -d -m 755 ${PERL5DIR}/PVE/
install -m 0644 PVE/AsyncHTTPServer.pm ${PERL5DIR}/PVE
.PHONY: upload
upload: ${DEB}
tar cf - ${DEB} | ssh repoman@repo.proxmox.com upload
distclean: clean
clean:
rm -rf ./build *.deb *.changes
find . -name '*~' -exec rm {} ';'
.PHONY: dinstall
dinstall: ${DEB}
dpkg -i ${DEB}

1909
PVE/AsyncHTTPServer.pm Executable file

File diff suppressed because it is too large Load Diff

6
debian/changelog vendored Normal file
View File

@ -0,0 +1,6 @@
libpve-http-server-perl (1.0-1) unstable; urgency=medium
* first try
-- Proxmox Support Team <support@proxmox.com> Fri, 13 Jan 2017 12:47:07 +0100

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
9

13
debian/control vendored Normal file
View File

@ -0,0 +1,13 @@
Source: libpve-http-server-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-http-server-perl
Architecture: all
Depends: ${misc:Depends}, libio-socket-ssl-perl, libjson-perl, libcrypt-ssleay-perl, libhttp-message-perl, liburi-perl, libanyevent-perl, libanyevent-http-perl
Description: Proxmox Asynchrounous HTTP Server Implementation
This is used to implement the PVE REST API.

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/>.

1
debian/install vendored Normal file
View File

@ -0,0 +1 @@
/usr/share/perl5

9
debian/rules vendored Normal 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 $@