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 11:58:57 +0200	[thread overview]
Message-ID: <20200704095857.gTNKGjhzNntICvF3-YZ4frTJpluNJkYUaqb4FUfJzXg@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: 4291 bytes --]

From 25a5276b506e7a28d082ad9cd281d2eb3c2f894a 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/3] New package : serviio-2.1

New package : serviio-2.1

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..95a4e43f9fd
--- /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 c66672294fd09eb7bd716e7f30beea4b090f8c7e Mon Sep 17 00:00:00 2001
From: Domenico Panella <pandom79@gmail.com>
Date: Sat, 4 Jul 2020 11:37:30 +0200
Subject: [PATCH 2/3] New package : serviio-2.1

---
 srcpkgs/serviio/template | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/srcpkgs/serviio/template b/srcpkgs/serviio/template
index 95a4e43f9fd..c79b4aecebc 100755
--- a/srcpkgs/serviio/template
+++ b/srcpkgs/serviio/template
@@ -6,21 +6,21 @@ archs="x86_64"
 depends="openjdk11 ffmpeg"
 short_desc="Free DLNA media server"
 maintainer="Domenico Panella <pandom79@gmail.com>"
-license="custom:serviio"
+license="custom:Proprietary"
 homepage="http://www.serviio.org/"
 distfiles="http://download.serviio.org/releases/${pkgname}-${version}-linux.tar.gz"
 checksum=51748160b38e31ba54db1b11381d3d9d705852ed7757ad111e881327a16fb757
+repository=nonfree
 restricted=yes
 make_dirs="/var/log/${pkgname} 0774 root wheel"
 
 do_install() {
 
 	_SERVIIO_HOME=usr/share/java/$pkgname
-	vmkdir  ${_SERVIIO_HOME}
+	vmkdir ${_SERVIIO_HOME}
 
-	vmkdir  usr/bin
-	vcopy   bin ${_SERVIIO_HOME}
-	ln -s  /${_SERVIIO_HOME}/bin/${pkgname}-console.sh ${DESTDIR}/usr/bin/${pkgname}-console
+	vcopy bin ${_SERVIIO_HOME}
+	vbin bin/${pkgname}-console.sh ${pkgname}-console
 
 	vcopy config ${_SERVIIO_HOME}
 
@@ -30,7 +30,6 @@ do_install() {
 
 	vcopy plugins ${_SERVIIO_HOME}
 
-	vmkdir /var/log/${pkgname}
 	ln -s /var/log/${pkgname} ${DESTDIR}/${_SERVIIO_HOME}/log
 
 	vsv ${pkgname}

From c6be18ee75d52fbebf616dc90664d8be7e9730c4 Mon Sep 17 00:00:00 2001
From: Domenico Panella <pandom79@gmail.com>
Date: Sat, 4 Jul 2020 11:58:08 +0200
Subject: [PATCH 3/3] New package : serviio-2.1

---
 srcpkgs/serviio/template | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/srcpkgs/serviio/template b/srcpkgs/serviio/template
index c79b4aecebc..53cd3fc7da8 100755
--- a/srcpkgs/serviio/template
+++ b/srcpkgs/serviio/template
@@ -19,7 +19,8 @@ do_install() {
 	_SERVIIO_HOME=usr/share/java/$pkgname
 	vmkdir ${_SERVIIO_HOME}
 
-	vcopy bin ${_SERVIIO_HOME}
+	vmkdir ${_SERVIIO_HOME}/bin
+	vinstall bin/serviio.sh 0755 ${_SERVIIO_HOME}/bin/
 	vbin bin/${pkgname}-console.sh ${pkgname}-console
 
 	vcopy config ${_SERVIIO_HOME}

  parent reply	other threads:[~2020-07-04  9:58 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
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 [this message]
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=20200704095857.gTNKGjhzNntICvF3-YZ4frTJpluNJkYUaqb4FUfJzXg@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).