]> git.proxmox.com Git - novnc-pve.git/commitdiff
add DSC source package and fix its reported lintian errors
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 22 May 2019 17:31:36 +0000 (19:31 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 22 May 2019 17:31:36 +0000 (19:31 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile
debian/control
debian/patches/series
debian/source/format [new file with mode: 0644]
debian/source/lintian-overrides [new file with mode: 0644]

index 2de308871e9cc0ead6141fc397b0cd3b60cbd81f..6eea569f3f577789e7afd88685f0d817d4a3b2dc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -8,24 +8,34 @@ BUILDDIR=${SRCDIR}.tmp
 GITVERSION:=$(shell git rev-parse HEAD)
 
 DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_all.deb
+DSC=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}.dsc
 
 all: ${DEB}
        @echo ${DEB}
 
-.PHONY: deb
-deb: ${DEB}
-${DEB}: | submodule
+${SRCDIR}/vnc.html: submodule
+${BUILDDIR}: $(SRCDIR)/vnc.html
        rm -rf ${BUILDDIR}
        cp -rpa ${SRCDIR} ${BUILDDIR}
        cp -a debian ${BUILDDIR}
        echo "git clone git://git.proxmox.com/git/novnc-pve.git\\ngit checkout ${GITVERSION}" > ${BUILDDIR}/debian/SOURCE
-       cd ${BUILDDIR}; dpkg-buildpackage -rfakeroot -b -uc -us
+
+.PHONY: deb
+deb: ${DEB}
+${DEB}: ${BUILDDIR}
+       cd ${BUILDDIR}; dpkg-buildpackage -b -uc -us
        lintian ${DEB}
        @echo ${DEB}
 
+.PHONY: dsc
+dsc: ${DSC}
+${DSC}: ${BUILDDIR}
+       cd ${BUILDDIR}; dpkg-buildpackage -S -uc -us -d
+       lintian ${DSC}
+
 .PHONY: submodule
 submodule:
-       test -f "${SRCDIR}/vnc.html" || git submodule update --init
+       git submodule update --init
 
 .PHONY: download
 download ${SRCDIR}:
index cedc69273aec4c1121578063e68ad1eeade90845..a5b8b8b56dbf6695e3eb718af93383550d7dae56 100644 (file)
@@ -2,7 +2,7 @@ Source: novnc-pve
 Section: web
 Priority: optional
 Maintainer: Proxmox Support Team <support@proxmox.com>
-Build-Depends: debhelper (>= 10~),
+Build-Depends: debhelper (>= 11~),
                node-es6-module-transpiler,
                quilt,
 Standards-Version: 4.1.3
index 1cc9d2ab8a9ce775bf660c514ba6ad17820b0f54..c8affc60cf0ac47224b92964560147fc90ad6c45 100644 (file)
@@ -9,4 +9,4 @@
 0009-decrease-animation-time.patch
 0010-use-only-app.js.patch
 0011-add-localCursor-setting-to-rfb.patch
-0012-pass-custom-command-to-vnc.patch
\ No newline at end of file
+0012-pass-custom-command-to-vnc.patch
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
diff --git a/debian/source/lintian-overrides b/debian/source/lintian-overrides
new file mode 100644 (file)
index 0000000..e2edfd4
--- /dev/null
@@ -0,0 +1 @@
+novnc-pve source: source-is-missing core/util/browser.js line length is *