From 9332d5fdf80f1b1d3f1401383b63fad5dcc8ddbb Mon Sep 17 00:00:00 2001 From: kirillius Date: Sun, 16 Mar 2025 22:23:53 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=B4=D0=B5=D1=81=D0=BA=D1=80=D0=B8=D0=BF=D1=82=D0=BE=D1=80=20?= =?UTF-8?q?=D0=BF=D0=B0=D0=BA=D0=B5=D1=82=D0=B0=20=D0=B8=20=D1=81=D0=BA?= =?UTF-8?q?=D1=80=D0=B8=D0=BF=D1=82=20=D0=B7=D0=B0=D0=BF=D1=83=D1=81=D0=BA?= =?UTF-8?q?=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- linux-package.json | 28 ++++++++++++++++++++++++++++ linux-wrapper.sh | 3 +++ 2 files changed, 31 insertions(+) create mode 100644 linux-package.json create mode 100644 linux-wrapper.sh diff --git a/linux-package.json b/linux-package.json new file mode 100644 index 0000000..492e094 --- /dev/null +++ b/linux-package.json @@ -0,0 +1,28 @@ +{ + "package-info": { + "name": "mktbk", + "description": "Mikrotik container backup utility", + "version": "1.0.0.{{ENV:BUILD_NUMBER}}", + "build": "{{ENV:BUILD_NUMBER}}", + "arch": "noarch", + "license": "GPL", + "url": "kirillius.ru", + "group": "UTIL", + "scripts": { + "before_install": "", + "post_install": "", + "before_remove": "", + "post_remove": "" + } + }, + + "packages": [ + "rpm" + ], + "dependencies": { + "rpm": [ + "java > 21" + ] + } +} + diff --git a/linux-wrapper.sh b/linux-wrapper.sh new file mode 100644 index 0000000..d134426 --- /dev/null +++ b/linux-wrapper.sh @@ -0,0 +1,3 @@ +#!/usr/bin/sh +java -jar $0 $@ +exit