From 5709a45d33d708952128d31734ee4668ca615599 Mon Sep 17 00:00:00 2001 From: Holger Paradies Date: Sun, 16 May 2021 16:17:09 +0200 Subject: Ventoy package for kanotix-iso-writer Package with update-script for ventoy --- kiw-ventoy/debian/README | 6 ++++++ kiw-ventoy/debian/README.Debian | 6 ++++++ kiw-ventoy/debian/README.source | 10 ++++++++++ kiw-ventoy/debian/changelog | 23 +++++++++++++++++++++++ kiw-ventoy/debian/control | 16 ++++++++++++++++ kiw-ventoy/debian/copyright | 26 ++++++++++++++++++++++++++ kiw-ventoy/debian/kiw-ventoy-docs.docs | 3 +++ kiw-ventoy/debian/kiw-ventoy.install | 1 + kiw-ventoy/debian/rules | 12 ++++++++++++ kiw-ventoy/debian/source/format | 1 + kiw-ventoy/update-ventoy-package.sh | 25 +++++++++++++++++++++++++ kiw-ventoy/ventoysha256sum | 1 + 12 files changed, 130 insertions(+) create mode 100644 kiw-ventoy/debian/README create mode 100644 kiw-ventoy/debian/README.Debian create mode 100644 kiw-ventoy/debian/README.source create mode 100644 kiw-ventoy/debian/changelog create mode 100644 kiw-ventoy/debian/control create mode 100644 kiw-ventoy/debian/copyright create mode 100644 kiw-ventoy/debian/kiw-ventoy-docs.docs create mode 100644 kiw-ventoy/debian/kiw-ventoy.install create mode 100755 kiw-ventoy/debian/rules create mode 100644 kiw-ventoy/debian/source/format create mode 100644 kiw-ventoy/update-ventoy-package.sh create mode 100644 kiw-ventoy/ventoysha256sum diff --git a/kiw-ventoy/debian/README b/kiw-ventoy/debian/README new file mode 100644 index 0000000..cbb50fd --- /dev/null +++ b/kiw-ventoy/debian/README @@ -0,0 +1,6 @@ +The Debian Package kiw-ventoy +---------------------------- + +Comments regarding the Package + + -- Holger Paradies Sun, 28 Feb 2021 19:16:43 +0100 diff --git a/kiw-ventoy/debian/README.Debian b/kiw-ventoy/debian/README.Debian new file mode 100644 index 0000000..fea2ff1 --- /dev/null +++ b/kiw-ventoy/debian/README.Debian @@ -0,0 +1,6 @@ +kiw-ventoy for Debian +-------------------- + + + + -- Holger Paradies Sun, 28 Feb 2021 19:16:43 +0100 diff --git a/kiw-ventoy/debian/README.source b/kiw-ventoy/debian/README.source new file mode 100644 index 0000000..c91bb35 --- /dev/null +++ b/kiw-ventoy/debian/README.source @@ -0,0 +1,10 @@ +kiw-ventoy for Debian +-------------------- + + + + + + -- Holger Paradies Sun, 28 Feb 2021 19:16:43 +0100 + diff --git a/kiw-ventoy/debian/changelog b/kiw-ventoy/debian/changelog new file mode 100644 index 0000000..b7be72b --- /dev/null +++ b/kiw-ventoy/debian/changelog @@ -0,0 +1,23 @@ +kiw-ventoy (1.0.43) unstable; urgency=medium + + * Ventoy 1.0.43 + + -- Holger Paradies Thu, 13 May 2021 13:06:10 +0200 + +kiw-ventoy (1.0.41) unstable; urgency=medium + + * Ventoy 1.0.41 + + -- Holger Paradies Sun, 25 Apr 2021 13:05:00 +0200 + +kiw-ventoy (1.0.40) unstable; urgency=medium + + * Ventoy 1.0.40 + + -- Holger Paradies Sun, 07 Mar 2021 16:31:33 +0100 + +kiw-ventoy (1.0.36) unstable; urgency=medium + + * Initial Release. + + -- Holger Paradies Sun, 28 Feb 2021 19:16:43 +0100 diff --git a/kiw-ventoy/debian/control b/kiw-ventoy/debian/control new file mode 100644 index 0000000..42bfe86 --- /dev/null +++ b/kiw-ventoy/debian/control @@ -0,0 +1,16 @@ +Source: kiw-ventoy +Section: misc +Priority: optional +Maintainer: Holger Paradies +Build-Depends: debhelper-compat (= 12) +Standards-Version: 4.5.1 +Vcs-Browser: http://git.acritox.com/kanotix-packages/tree//kiw-ventoy +Rules-Requires-Root: no + +Package: kiw-ventoy +Architecture: all +Depends: ${misc:Depends} +Description: Ventoy for kanotix-iso-writer + Unmodified ventoy-xxxx.tar.gz file. + used with kanotix-iso-writer to create + ventoy-stick as option in multiboot mode. diff --git a/kiw-ventoy/debian/copyright b/kiw-ventoy/debian/copyright new file mode 100644 index 0000000..3eba86c --- /dev/null +++ b/kiw-ventoy/debian/copyright @@ -0,0 +1,26 @@ +Source: ventoy.net + +Files: ventoy* +Copyright: 2020-2021 longpanda admin@ventoy.net +License: GPL-3.0+ + +Files: debian/* update-ventoy-package.sh +Copyright: 2021 Holger Paradies +License: GPL-3.0+ + +License: GPL-3.0+ + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + . + This package 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 General Public License for more details. + . + You should have received a copy of the GNU General Public License + along with this program. If not, see . + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". diff --git a/kiw-ventoy/debian/kiw-ventoy-docs.docs b/kiw-ventoy/debian/kiw-ventoy-docs.docs new file mode 100644 index 0000000..a25c234 --- /dev/null +++ b/kiw-ventoy/debian/kiw-ventoy-docs.docs @@ -0,0 +1,3 @@ +README +README.source +README.Debian diff --git a/kiw-ventoy/debian/kiw-ventoy.install b/kiw-ventoy/debian/kiw-ventoy.install new file mode 100644 index 0000000..57b9bcd --- /dev/null +++ b/kiw-ventoy/debian/kiw-ventoy.install @@ -0,0 +1 @@ +placeholder, filled during build diff --git a/kiw-ventoy/debian/rules b/kiw-ventoy/debian/rules new file mode 100755 index 0000000..a0e8acd --- /dev/null +++ b/kiw-ventoy/debian/rules @@ -0,0 +1,12 @@ +#!/usr/bin/make -f +# See debhelper(7) (uncomment to enable) +# output every command that modifies files on the build system. +export DH_VERBOSE = 1 + +%: + dh $@ + +override_dh_clean: + dh_clean + sha256sum -c ventoysha256sum + diff --git a/kiw-ventoy/debian/source/format b/kiw-ventoy/debian/source/format new file mode 100644 index 0000000..89ae9db --- /dev/null +++ b/kiw-ventoy/debian/source/format @@ -0,0 +1 @@ +3.0 (native) diff --git a/kiw-ventoy/update-ventoy-package.sh b/kiw-ventoy/update-ventoy-package.sh new file mode 100644 index 0000000..ea26128 --- /dev/null +++ b/kiw-ventoy/update-ventoy-package.sh @@ -0,0 +1,25 @@ +#!/bin/sh + +rm -f ventoy*.tar.gz + +VERSION=$(basename $(wget -qO- https://github.com/ventoy/Ventoy/releases|sort|awk -F\" '/linux.tar.gz/&&/href/{print $2}'| tail -n1)) + +VERSIONNUMBER=$(echo $VERSION|sed 's/linux.tar.gz//' |sed 's/[^0-9.]//g') + +SHA256=$(wget -qO- https://github.com/ventoy/Ventoy/releases |grep ^$VERSION|awk '{print $2}') + +wget -qO- https://github.com/ventoy/Ventoy/releases|awk -F\" '/linux.tar.gz/&&/href/{print $2;exit}'|wget -B https://github.com -Ni- + +echo "$SHA256 $VERSION">ventoysha256 +cat ventoysha256 |grep linux.tar.gz >ventoysha256sum +rm -f ventoysha256 + +echo "$(ls -1 ventoy*.tar.gz) usr/share/kanotix-iso-writer" >debian/kiw-ventoy.install + +dch --distribution unstable --newversion $VERSIONNUMBER "Ventoy $VERSIONNUMBER" + +debuild -S + +echo "Version is: $VERSION" +echo "Version Number is: $VERSIONNUMBER" +echo "SHA-256 sum is: $SHA256" diff --git a/kiw-ventoy/ventoysha256sum b/kiw-ventoy/ventoysha256sum new file mode 100644 index 0000000..57b9bcd --- /dev/null +++ b/kiw-ventoy/ventoysha256sum @@ -0,0 +1 @@ +placeholder, filled during build -- cgit v1.0