Github messages for voidlinux
 help / color / mirror / Atom feed
From: pandom79 <pandom79@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package : serviio-2.1
Date: Sat, 04 Jul 2020 10:20:34 +0200	[thread overview]
Message-ID: <20200704082034.VrL5XKwsr_YUve29ul83ATUFcUPqVV30g9Ps16l1OHY@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23341@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 366 bytes --]

There is an updated pull request by pandom79 against master on the void-packages repository

https://github.com/pandom79/void-packages serviio
https://github.com/void-linux/void-packages/pull/23341

New package : serviio-2.1
Xlint hasn't get error. I marked as restricted.


A patch file from https://github.com/void-linux/void-packages/pull/23341.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-serviio-23341.patch --]
[-- Type: text/x-diff, Size: 3695 bytes --]

From 7960ef94659df4605736a29612f20ba1732b4727 Mon Sep 17 00:00:00 2001
From: Domenico Panella <pandom79@gmail.com>
Date: Wed, 1 Jul 2020 16:27:31 +0200
Subject: [PATCH 1/2] New package : serviio-2.1

New package : serviio-2.1
---
 srcpkgs/serviio/files/serviio/run |  2 ++
 srcpkgs/serviio/template          | 44 +++++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)
 create mode 100755 srcpkgs/serviio/files/serviio/run
 create mode 100755 srcpkgs/serviio/template

diff --git a/srcpkgs/serviio/files/serviio/run b/srcpkgs/serviio/files/serviio/run
new file mode 100755
index 00000000000..555e6e36135
--- /dev/null
+++ b/srcpkgs/serviio/files/serviio/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /usr/share/java/serviio/bin/serviio.sh 2>&1
diff --git a/srcpkgs/serviio/template b/srcpkgs/serviio/template
new file mode 100755
index 00000000000..dfd859edda3
--- /dev/null
+++ b/srcpkgs/serviio/template
@@ -0,0 +1,44 @@
+# Template file for 'serviio'
+pkgname=serviio
+version=2.1
+revision=1
+archs="x86_64"
+depends="openjdk11 ffmpeg"
+short_desc="Free DLNA media server"
+maintainer="Domenico Panella <pandom79@gmail.com>"
+license="custom:serviio"
+homepage="http://www.serviio.org/"
+distfiles="http://download.serviio.org/releases/${pkgname}-${version}-linux.tar.gz"
+checksum=51748160b38e31ba54db1b11381d3d9d705852ed7757ad111e881327a16fb757
+restricted=yes
+make_dirs="/var/log/${pkgname} 0774 root wheel"
+
+do_install() {
+
+    _SERVIIO_HOME=usr/share/java/$pkgname
+    vmkdir ${_SERVIIO_HOME}
+
+    vmkdir usr/bin
+    vcopy bin ${_SERVIIO_HOME}
+    ln -s /${_SERVIIO_HOME}/bin/${pkgname}-console.sh ${DESTDIR}/usr/bin/${pkgname}-console
+
+    vcopy config ${_SERVIIO_HOME}
+
+    vcopy lib ${_SERVIIO_HOME}
+
+    vcopy library ${_SERVIIO_HOME}
+
+    vcopy plugins ${_SERVIIO_HOME}
+
+    vmkdir /var/log/${pkgname}
+    ln -s /var/log/${pkgname} ${DESTDIR}/${_SERVIIO_HOME}/log
+
+    vsv ${pkgname}
+
+    vlicense LICENCE.txt
+
+    vdoc README.txt
+    vdoc NOTICE.txt
+    vdoc RELEASE_NOTES.txt
+
+}

From 861cf4287899f7bbffd61831c4b75fc556d78f30 Mon Sep 17 00:00:00 2001
From: Domenico Panella <pandom79@gmail.com>
Date: Sat, 4 Jul 2020 10:18:51 +0200
Subject: [PATCH 2/2] New package : serviio-2.1

---
 srcpkgs/serviio/template | 32 ++++++++++++++++----------------
 1 file changed, 16 insertions(+), 16 deletions(-)

diff --git a/srcpkgs/serviio/template b/srcpkgs/serviio/template
index dfd859edda3..ab5d59bac2f 100755
--- a/srcpkgs/serviio/template
+++ b/srcpkgs/serviio/template
@@ -15,30 +15,30 @@ make_dirs="/var/log/${pkgname} 0774 root wheel"
 
 do_install() {
 
-    _SERVIIO_HOME=usr/share/java/$pkgname
-    vmkdir ${_SERVIIO_HOME}
+_SERVIIO_HOME=usr/share/java/$pkgname
+vmkdir ${_SERVIIO_HOME}
 
-    vmkdir usr/bin
-    vcopy bin ${_SERVIIO_HOME}
-    ln -s /${_SERVIIO_HOME}/bin/${pkgname}-console.sh ${DESTDIR}/usr/bin/${pkgname}-console
+vmkdir usr/bin
+vcopy bin ${_SERVIIO_HOME}
+ln -s /${_SERVIIO_HOME}/bin/${pkgname}-console.sh ${DESTDIR}/usr/bin/${pkgname}-console
 
-    vcopy config ${_SERVIIO_HOME}
+vcopy config ${_SERVIIO_HOME}
 
-    vcopy lib ${_SERVIIO_HOME}
+vcopy lib ${_SERVIIO_HOME}
 
-    vcopy library ${_SERVIIO_HOME}
+vcopy library ${_SERVIIO_HOME}
 
-    vcopy plugins ${_SERVIIO_HOME}
+vcopy plugins ${_SERVIIO_HOME}
 
-    vmkdir /var/log/${pkgname}
-    ln -s /var/log/${pkgname} ${DESTDIR}/${_SERVIIO_HOME}/log
+vmkdir /var/log/${pkgname}
+ln -s /var/log/${pkgname} ${DESTDIR}/${_SERVIIO_HOME}/log
 
-    vsv ${pkgname}
+vsv ${pkgname}
 
-    vlicense LICENCE.txt
+vlicense LICENCE.txt
 
-    vdoc README.txt
-    vdoc NOTICE.txt
-    vdoc RELEASE_NOTES.txt
+vdoc README.txt
+vdoc NOTICE.txt
+vdoc RELEASE_NOTES.txt
 
 }

  parent reply	other threads:[~2020-07-04  8:20 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-23341@inbox.vuxu.org>
2020-07-03 19:29 ` pandom79
2020-07-03 19:32 ` pandom79
2020-07-03 19:34 ` pandom79
2020-07-03 19:37 ` pandom79
2020-07-04  6:42 ` pandom79
2020-07-04  6:43 ` pandom79
2020-07-04  8:19 ` pandom79
2020-07-04  8:20 ` pandom79 [this message]
2020-07-04  8:23 ` pandom79
2020-07-04  8:41 ` pandom79
2020-07-04  8:42 ` pandom79
2020-07-04  9:38 ` pandom79
2020-07-04  9:58 ` pandom79
2020-07-04 10:08 ` pandom79
2020-07-05 20:49 ` pandom79
2020-07-05 20:50 ` pandom79
2020-10-04 16:35 ` pandom79
2020-10-10 17:55 ` [PR PATCH] [Closed]: " pandom79

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200704082034.VrL5XKwsr_YUve29ul83ATUFcUPqVV30g9Ps16l1OHY@z \
    --to=pandom79@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).