From 8b0b6db4348a62ae0343d1fa8cad41a1582de09a Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Thu, 26 Jan 2017 17:35:17 +0100 Subject: [PATCH] initial commit --- Makefile | 44 ++++++++++++++++++++++++++++++++++++++++++++ debian/changelog | 6 ++++++ debian/compat | 1 + debian/control | 13 +++++++++++++ debian/copyright | 16 ++++++++++++++++ debian/rules | 9 +++++++++ index.html | 38 ++++++++++++++++++++++++++++++++++++++ 7 files changed, 127 insertions(+) create mode 100644 Makefile create mode 100644 debian/changelog create mode 100644 debian/compat create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules create mode 100644 index.html diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..166f793 --- /dev/null +++ b/Makefile @@ -0,0 +1,44 @@ +PACKAGE=proxmox-mailgateway-gui +PKGVER=1.0 +PKGREL=1 + +DEB=${PACKAGE}_${PKGVER}-${PKGREL}_all.deb + +DESTDIR= + +DOCDIR=${DESTDIR}/usr/share/doc/${PACKAGE} + +WWWBASEDIR=${DESTDIR}/usr/share/javascript/${PACKAGE} +WWWCSSDIR=${WWWBASEDIR}/css +WWWIMAGESDIR=${WWWBASEDIR}/images +WWWJSDIR=${WWWBASEDIR}/js + +all: + +.PHONY: deb +deb ${DEB}: + rm -rf build + rsync -a * build + cd build; dpkg-buildpackage -b -us -uc + lintian ${DEB} + +install: index.html + install -d -m 755 ${WWWCSSDIR} + install -d -m 755 ${WWWIMAGESDIR} + install -d -m 755 ${WWWJSDIR} + install -m 0644 index.html ${WWWBASEDIR} + +.PHONY: upload +upload: ${DEB} + # fixme tar cf - ${DEB} | ssh repoman@repo.proxmox.com upload + +distclean: clean + rm -f examples/simple-demo.pem + +clean: + rm -rf ./build *.deb *.changes + find . -name '*~' -exec rm {} ';' + +.PHONY: dinstall +dinstall: ${DEB} + dpkg -i ${DEB} diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..4d36927 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,6 @@ +proxmox-mailgateway-gui (1.0-1) unstable; urgency=medium + + * first try + + -- Proxmox Support Team Thu, 26 Jan 2017 17:25:38 +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..813dc70 --- /dev/null +++ b/debian/control @@ -0,0 +1,13 @@ +Source: proxmox-mailgateway-gui +Section: perl +Priority: optional +Maintainer: Proxmox Support Team +Build-Depends: debhelper (>= 9), perl (>= 5.10.0-19), libtemplate-perl +Standards-Version: 3.9.5 +Homepage: http://www.proxmox.com + +Package: proxmox-mailgateway-gui +Architecture: all +Depends: ${perl:Depends}, libtemplate-perl, libjs-extjs (>= 6.0.1) +Description: Proxmox Mail Gateway GUI + graphical user interface for Proxmox Mail Gateway. \ No newline at end of file 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/index.html b/index.html new file mode 100644 index 0000000..4542ed2 --- /dev/null +++ b/index.html @@ -0,0 +1,38 @@ +[% DEFAULT lang = "en" %] + + + + + + + [% nodename %] - Proxmox Mail Gateway + + + + + + + [% IF debug %] + + + [% ELSE %] + + + [% END %] + + + + + + +
+ +
+ +