* Re: [PR PATCH] [Updated] New package: yacy-1.922
2020-07-22 18:19 [PR PATCH] New package: yacy-1.922 jason1987d
@ 2020-07-23 14:27 ` jason1987d
2020-07-23 14:53 ` jason1987d
` (19 subsequent siblings)
20 siblings, 0 replies; 37+ messages in thread
From: jason1987d @ 2020-07-23 14:27 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 322 bytes --]
There is an updated pull request by jason1987d against master on the void-packages repository
https://github.com/jason1987d/void-packages yacy-1.922
https://github.com/void-linux/void-packages/pull/23742
New package: yacy-1.922
A patch file from https://github.com/void-linux/void-packages/pull/23742.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-yacy-1.922-23742.patch --]
[-- Type: text/x-diff, Size: 1684 bytes --]
From 7795ff338d51ff6de3ec2a931bc3e46a007d433b Mon Sep 17 00:00:00 2001
From: Jason Manley <jason@jasondavid.tv>
Date: Wed, 22 Jul 2020 13:17:10 -0500
Subject: [PATCH] New package: yacy-1.922
---
srcpkgs/yacy/files/yacy/run | 2 ++
srcpkgs/yacy/template | 35 +++++++++++++++++++++++++++++++++++
2 files changed, 37 insertions(+)
create mode 100644 srcpkgs/yacy/files/yacy/run
create mode 100644 srcpkgs/yacy/template
diff --git a/srcpkgs/yacy/files/yacy/run b/srcpkgs/yacy/files/yacy/run
new file mode 100644
index 00000000000..c5544513c35
--- /dev/null
+++ b/srcpkgs/yacy/files/yacy/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec chpst -u yacy:yacy /var/lib/yacy/startYACY.sh -f
diff --git a/srcpkgs/yacy/template b/srcpkgs/yacy/template
new file mode 100644
index 00000000000..3d3ad7e438f
--- /dev/null
+++ b/srcpkgs/yacy/template
@@ -0,0 +1,35 @@
+# Template file for 'yacy'
+pkgname=yacy
+version=1.922
+revision=1
+hostmakedepends="openjdk apache-ant"
+depends="openjdk-jre"
+short_desc="YaCy p2p decentralized search engine"
+maintainer="Jason Manley <jason@jasondavid.tv>"
+license="GPL-3.0-or-later"
+homepage="https://yacy.net"
+distfiles="http://latest.yacy.net/yacy_v${version}_20191013_9964.tar.gz"
+checksum=@99af963642dafaeab2657ad59315e7b7896bf4c1e7091f8f67e95e71802d44df
+
+system_accounts="yacy"
+yacy_homedir="/var/lib/yacy"
+yacy_shell="/bin/bash"
+make_dirs="/var/lib/yacy 0755 yacy yacy"
+
+post_extract() {
+ mv ${XBPS_BUILDDIR}/{yacy,yacy-1.922}
+}
+
+do_build() {
+ export JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk
+ ant clean all
+}
+
+do_install() {
+ vmkdir var/lib/yacy
+ vcopy $XBPS_BUILDDIR/yacy-1.922/* var/lib/yacy
+}
+
+post_install() {
+ vsv yacy
+}
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: New package: yacy-1.922
2020-07-22 18:19 [PR PATCH] New package: yacy-1.922 jason1987d
2020-07-23 14:27 ` [PR PATCH] [Updated] " jason1987d
@ 2020-07-23 14:53 ` jason1987d
2020-07-23 14:57 ` [PR REVIEW] " ericonr
` (18 subsequent siblings)
20 siblings, 0 replies; 37+ messages in thread
From: jason1987d @ 2020-07-23 14:53 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 294 bytes --]
New comment by jason1987d on void-packages repository
https://github.com/void-linux/void-packages/pull/23742#issuecomment-663053478
Comment:
I feel like my use of ${XBPS_BUILDDIR} is wrong and could be condensed with ${wrksrc}, but I'm testing out various things and still not quite working.
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PR REVIEW] New package: yacy-1.922
2020-07-22 18:19 [PR PATCH] New package: yacy-1.922 jason1987d
2020-07-23 14:27 ` [PR PATCH] [Updated] " jason1987d
2020-07-23 14:53 ` jason1987d
@ 2020-07-23 14:57 ` ericonr
2020-07-23 14:57 ` ericonr
` (17 subsequent siblings)
20 siblings, 0 replies; 37+ messages in thread
From: ericonr @ 2020-07-23 14:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 183 bytes --]
New review comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/23742#discussion_r459512520
Comment:
This can be replace by `wkrsrc=yacy`
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PR REVIEW] New package: yacy-1.922
2020-07-22 18:19 [PR PATCH] New package: yacy-1.922 jason1987d
` (2 preceding siblings ...)
2020-07-23 14:57 ` [PR REVIEW] " ericonr
@ 2020-07-23 14:57 ` ericonr
2020-07-23 14:57 ` ericonr
` (16 subsequent siblings)
20 siblings, 0 replies; 37+ messages in thread
From: ericonr @ 2020-07-23 14:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 253 bytes --]
New review comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/23742#discussion_r459514073
Comment:
Put `pwd` inside this function and observe the build process if you want to know what directory you're in.
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PR REVIEW] New package: yacy-1.922
2020-07-22 18:19 [PR PATCH] New package: yacy-1.922 jason1987d
` (3 preceding siblings ...)
2020-07-23 14:57 ` ericonr
@ 2020-07-23 14:57 ` ericonr
2020-07-23 14:58 ` [PR PATCH] [Updated] " jason1987d
` (15 subsequent siblings)
20 siblings, 0 replies; 37+ messages in thread
From: ericonr @ 2020-07-23 14:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 284 bytes --]
New review comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/23742#discussion_r459513566
Comment:
I'm not sure populating `/var` is the correct procedure. And you should just copy from inside the folder, no need to use `XBPS_BUILDDIR`.
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PR PATCH] [Updated] New package: yacy-1.922
2020-07-22 18:19 [PR PATCH] New package: yacy-1.922 jason1987d
` (4 preceding siblings ...)
2020-07-23 14:57 ` ericonr
@ 2020-07-23 14:58 ` jason1987d
2020-07-23 14:59 ` [PR REVIEW] " jason1987d
` (14 subsequent siblings)
20 siblings, 0 replies; 37+ messages in thread
From: jason1987d @ 2020-07-23 14:58 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 322 bytes --]
There is an updated pull request by jason1987d against master on the void-packages repository
https://github.com/jason1987d/void-packages yacy-1.922
https://github.com/void-linux/void-packages/pull/23742
New package: yacy-1.922
A patch file from https://github.com/void-linux/void-packages/pull/23742.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-yacy-1.922-23742.patch --]
[-- Type: text/x-diff, Size: 1598 bytes --]
From 845e56dcfab8e2a2703e8afe89f630a934c5debe Mon Sep 17 00:00:00 2001
From: Jason Manley <jason@jasondavid.tv>
Date: Wed, 22 Jul 2020 13:17:10 -0500
Subject: [PATCH] New package: yacy-1.922
---
srcpkgs/yacy/files/yacy/run | 2 ++
srcpkgs/yacy/template | 31 +++++++++++++++++++++++++++++++
2 files changed, 33 insertions(+)
create mode 100644 srcpkgs/yacy/files/yacy/run
create mode 100644 srcpkgs/yacy/template
diff --git a/srcpkgs/yacy/files/yacy/run b/srcpkgs/yacy/files/yacy/run
new file mode 100644
index 00000000000..c5544513c35
--- /dev/null
+++ b/srcpkgs/yacy/files/yacy/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec chpst -u yacy:yacy /var/lib/yacy/startYACY.sh -f
diff --git a/srcpkgs/yacy/template b/srcpkgs/yacy/template
new file mode 100644
index 00000000000..974e137b0f4
--- /dev/null
+++ b/srcpkgs/yacy/template
@@ -0,0 +1,31 @@
+# Template file for 'yacy'
+pkgname=yacy
+version=1.922
+revision=1
+wrksrc=${pkgname}
+hostmakedepends="openjdk apache-ant"
+depends="openjdk-jre"
+short_desc="YaCy p2p decentralized search engine"
+maintainer="Jason Manley <jason@jasondavid.tv>"
+license="GPL-3.0-or-later"
+homepage="https://yacy.net"
+distfiles="http://latest.yacy.net/yacy_v${version}_20191013_9964.tar.gz"
+checksum=@99af963642dafaeab2657ad59315e7b7896bf4c1e7091f8f67e95e71802d44df
+
+system_accounts="yacy"
+yacy_homedir="/var/lib/yacy"
+yacy_shell="/bin/bash"
+make_dirs="/var/lib/yacy 0755 yacy yacy"
+
+do_build() {
+ export JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk
+ ant clean all
+}
+
+do_install() {
+ vcopy ${wrksrc}/* var/lib/yacy
+}
+
+post_install() {
+ vsv yacy
+}
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PR REVIEW] New package: yacy-1.922
2020-07-22 18:19 [PR PATCH] New package: yacy-1.922 jason1987d
` (5 preceding siblings ...)
2020-07-23 14:58 ` [PR PATCH] [Updated] " jason1987d
@ 2020-07-23 14:59 ` jason1987d
2020-07-23 15:47 ` jason1987d
` (13 subsequent siblings)
20 siblings, 0 replies; 37+ messages in thread
From: jason1987d @ 2020-07-23 14:59 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 227 bytes --]
New review comment by jason1987d on void-packages repository
https://github.com/void-linux/void-packages/pull/23742#discussion_r459515232
Comment:
I just pushed changes to condense this along the lines of what you just said.
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PR REVIEW] New package: yacy-1.922
2020-07-22 18:19 [PR PATCH] New package: yacy-1.922 jason1987d
` (6 preceding siblings ...)
2020-07-23 14:59 ` [PR REVIEW] " jason1987d
@ 2020-07-23 15:47 ` jason1987d
2020-07-23 21:13 ` jason1987d
` (12 subsequent siblings)
20 siblings, 0 replies; 37+ messages in thread
From: jason1987d @ 2020-07-23 15:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 226 bytes --]
New review comment by jason1987d on void-packages repository
https://github.com/void-linux/void-packages/pull/23742#discussion_r459550071
Comment:
I've been trying several approaches, and am not sure which is the best here.
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PR REVIEW] New package: yacy-1.922
2020-07-22 18:19 [PR PATCH] New package: yacy-1.922 jason1987d
` (7 preceding siblings ...)
2020-07-23 15:47 ` jason1987d
@ 2020-07-23 21:13 ` jason1987d
2020-07-23 21:16 ` jason1987d
` (11 subsequent siblings)
20 siblings, 0 replies; 37+ messages in thread
From: jason1987d @ 2020-07-23 21:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 398 bytes --]
New review comment by jason1987d on void-packages repository
https://github.com/void-linux/void-packages/pull/23742#discussion_r459731457
Comment:
So what I've noticed is everything works inside the ${wrksrc}, the compilation doesn't really put anything into ${DESTDIR}. Not sure how to proceed. I have a way that makes it work but /var/lib/yacy ends up owned by root:root instead of yacy:yacy .
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PR REVIEW] New package: yacy-1.922
2020-07-22 18:19 [PR PATCH] New package: yacy-1.922 jason1987d
` (8 preceding siblings ...)
2020-07-23 21:13 ` jason1987d
@ 2020-07-23 21:16 ` jason1987d
2020-07-23 21:17 ` [PR PATCH] [Updated] " jason1987d
` (10 subsequent siblings)
20 siblings, 0 replies; 37+ messages in thread
From: jason1987d @ 2020-07-23 21:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 231 bytes --]
New review comment by jason1987d on void-packages repository
https://github.com/void-linux/void-packages/pull/23742#discussion_r459732745
Comment:
I also noticed in the documentation that there is no 'ant' or 'java' build style.
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PR PATCH] [Updated] New package: yacy-1.922
2020-07-22 18:19 [PR PATCH] New package: yacy-1.922 jason1987d
` (9 preceding siblings ...)
2020-07-23 21:16 ` jason1987d
@ 2020-07-23 21:17 ` jason1987d
2020-07-23 22:08 ` [PR REVIEW] " ericonr
` (9 subsequent siblings)
20 siblings, 0 replies; 37+ messages in thread
From: jason1987d @ 2020-07-23 21:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 322 bytes --]
There is an updated pull request by jason1987d against master on the void-packages repository
https://github.com/jason1987d/void-packages yacy-1.922
https://github.com/void-linux/void-packages/pull/23742
New package: yacy-1.922
A patch file from https://github.com/void-linux/void-packages/pull/23742.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-yacy-1.922-23742.patch --]
[-- Type: text/x-diff, Size: 1615 bytes --]
From 6f53d3724b5844b70422c7fd9747553166e4f3d3 Mon Sep 17 00:00:00 2001
From: Jason Manley <jason@jasondavid.tv>
Date: Wed, 22 Jul 2020 13:17:10 -0500
Subject: [PATCH] New package: yacy-1.922
---
srcpkgs/yacy/files/yacy/run | 2 ++
srcpkgs/yacy/template | 32 ++++++++++++++++++++++++++++++++
2 files changed, 34 insertions(+)
create mode 100644 srcpkgs/yacy/files/yacy/run
create mode 100644 srcpkgs/yacy/template
diff --git a/srcpkgs/yacy/files/yacy/run b/srcpkgs/yacy/files/yacy/run
new file mode 100644
index 00000000000..c5544513c35
--- /dev/null
+++ b/srcpkgs/yacy/files/yacy/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec chpst -u yacy:yacy /var/lib/yacy/startYACY.sh -f
diff --git a/srcpkgs/yacy/template b/srcpkgs/yacy/template
new file mode 100644
index 00000000000..10131a8ae19
--- /dev/null
+++ b/srcpkgs/yacy/template
@@ -0,0 +1,32 @@
+# Template file for 'yacy'
+pkgname=yacy
+version=1.922
+revision=1
+wrksrc=${pkgname}
+hostmakedepends="openjdk apache-ant"
+depends="openjdk-jre"
+short_desc="YaCy p2p decentralized search engine"
+maintainer="Jason Manley <jason@jasondavid.tv>"
+license="GPL-3.0-or-later"
+homepage="https://yacy.net"
+distfiles="http://latest.yacy.net/yacy_v${version}_20191013_9964.tar.gz"
+checksum=@99af963642dafaeab2657ad59315e7b7896bf4c1e7091f8f67e95e71802d44df
+
+system_accounts="yacy"
+yacy_homedir="/var/lib/yacy"
+yacy_shell="/bin/bash"
+make_dirs="/var/lib/yacy 0755 yacy yacy"
+
+do_build() {
+ export JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk
+ ant clean all
+}
+
+do_install() {
+ vmkdir var/lib/yacy
+ vcopy ${wrksrc} var/lib/
+}
+
+post_install() {
+ vsv yacy
+}
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PR REVIEW] New package: yacy-1.922
2020-07-22 18:19 [PR PATCH] New package: yacy-1.922 jason1987d
` (10 preceding siblings ...)
2020-07-23 21:17 ` [PR PATCH] [Updated] " jason1987d
@ 2020-07-23 22:08 ` ericonr
2020-07-23 22:08 ` ericonr
` (8 subsequent siblings)
20 siblings, 0 replies; 37+ messages in thread
From: ericonr @ 2020-07-23 22:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 347 bytes --]
New review comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/23742#discussion_r459755523
Comment:
Most of the templates using ant are copying files manually into destdir. You can use `vcopy` and `vinstall` from inside `do_install` for that.
Regarding the permissions of the folder, I'm not sure.
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PR REVIEW] New package: yacy-1.922
2020-07-22 18:19 [PR PATCH] New package: yacy-1.922 jason1987d
` (11 preceding siblings ...)
2020-07-23 22:08 ` [PR REVIEW] " ericonr
@ 2020-07-23 22:08 ` ericonr
2020-07-23 22:17 ` jason1987d
` (7 subsequent siblings)
20 siblings, 0 replies; 37+ messages in thread
From: ericonr @ 2020-07-23 22:08 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 351 bytes --]
New review comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/23742#discussion_r459755523
Comment:
Most of the templates using ant are copying files manually into destdir. You have to use `vcopy` and `vinstall` from inside `do_install` for that.
Regarding the permissions of the folder, I'm not sure.
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PR REVIEW] New package: yacy-1.922
2020-07-22 18:19 [PR PATCH] New package: yacy-1.922 jason1987d
` (12 preceding siblings ...)
2020-07-23 22:08 ` ericonr
@ 2020-07-23 22:17 ` jason1987d
2020-07-25 2:09 ` [PR PATCH] [Updated] " jason1987d
` (6 subsequent siblings)
20 siblings, 0 replies; 37+ messages in thread
From: jason1987d @ 2020-07-23 22:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 557 bytes --]
New review comment by jason1987d on void-packages repository
https://github.com/void-linux/void-packages/pull/23742#discussion_r459759088
Comment:
The vcopy setup I have inside do_install() does work to get the files there. I tried some variants before that only copied DATA (which I think may have been the only subdir inside ${DESTDIR} from all that). For ownership, in what function might be best to try to set that? The homedirs directive has /var/lib/yacy with yacy as the owner, I wonder if anything I'm doing with do_install() is overwriting that?
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PR PATCH] [Updated] New package: yacy-1.922
2020-07-22 18:19 [PR PATCH] New package: yacy-1.922 jason1987d
` (13 preceding siblings ...)
2020-07-23 22:17 ` jason1987d
@ 2020-07-25 2:09 ` jason1987d
2020-07-25 2:13 ` jason1987d
` (5 subsequent siblings)
20 siblings, 0 replies; 37+ messages in thread
From: jason1987d @ 2020-07-25 2:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 322 bytes --]
There is an updated pull request by jason1987d against master on the void-packages repository
https://github.com/jason1987d/void-packages yacy-1.922
https://github.com/void-linux/void-packages/pull/23742
New package: yacy-1.922
A patch file from https://github.com/void-linux/void-packages/pull/23742.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-yacy-1.922-23742.patch --]
[-- Type: text/x-diff, Size: 1611 bytes --]
From c21627b98858e669859c9c16066b7937034a99da Mon Sep 17 00:00:00 2001
From: Jason Manley <jason@jasondavid.tv>
Date: Wed, 22 Jul 2020 13:17:10 -0500
Subject: [PATCH] New package: yacy-1.922
---
srcpkgs/yacy/files/yacy/run | 2 ++
srcpkgs/yacy/template | 32 ++++++++++++++++++++++++++++++++
2 files changed, 34 insertions(+)
create mode 100644 srcpkgs/yacy/files/yacy/run
create mode 100644 srcpkgs/yacy/template
diff --git a/srcpkgs/yacy/files/yacy/run b/srcpkgs/yacy/files/yacy/run
new file mode 100644
index 00000000000..c5544513c35
--- /dev/null
+++ b/srcpkgs/yacy/files/yacy/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec chpst -u yacy:yacy /var/lib/yacy/startYACY.sh -f
diff --git a/srcpkgs/yacy/template b/srcpkgs/yacy/template
new file mode 100644
index 00000000000..19ba9cdd425
--- /dev/null
+++ b/srcpkgs/yacy/template
@@ -0,0 +1,32 @@
+# Template file for 'yacy'
+pkgname=yacy
+version=1.922
+revision=1
+wrksrc=${pkgname}
+hostmakedepends="openjdk apache-ant"
+depends="openjdk-jre"
+short_desc="YaCy p2p decentralized search engine"
+maintainer="Jason Manley <jason@jasondavid.tv>"
+license="GPL-3.0-or-later"
+homepage="https://yacy.net"
+distfiles="http://latest.yacy.net/yacy_v${version}_20191013_9964.tar.gz"
+checksum=@99af963642dafaeab2657ad59315e7b7896bf4c1e7091f8f67e95e71802d44df
+
+system_accounts="yacy"
+yacy_homedir="/var/lib/yacy"
+yacy_shell="/bin/bash"
+make_dirs="/var/lib/yacy 0755 yacy yacy"
+
+do_build() {
+ export JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk
+ ant clean all
+}
+
+do_install() {
+ vmkdir var/lib/
+ vcopy ${wrksrc} var/lib/
+}
+
+post_install() {
+ vsv yacy
+}
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: New package: yacy-1.922
2020-07-22 18:19 [PR PATCH] New package: yacy-1.922 jason1987d
` (14 preceding siblings ...)
2020-07-25 2:09 ` [PR PATCH] [Updated] " jason1987d
@ 2020-07-25 2:13 ` jason1987d
2020-07-29 1:14 ` [PR PATCH] [Updated] " jason1987d
` (4 subsequent siblings)
20 siblings, 0 replies; 37+ messages in thread
From: jason1987d @ 2020-07-25 2:13 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 454 bytes --]
New comment by jason1987d on void-packages repository
https://github.com/void-linux/void-packages/pull/23742#issuecomment-663794791
Comment:
Yeah, I did some more poking around. The only issue that I can't figure out is how to make in the final installation, the files inside /var/lib/yacy (the homedir and where the software is installed) be owned by yacy:yacy too. chown in post-install does not work as the user yacy is apparently not existing yet.
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PR PATCH] [Updated] New package: yacy-1.922
2020-07-22 18:19 [PR PATCH] New package: yacy-1.922 jason1987d
` (15 preceding siblings ...)
2020-07-25 2:13 ` jason1987d
@ 2020-07-29 1:14 ` jason1987d
2020-07-29 1:17 ` jason1987d
` (3 subsequent siblings)
20 siblings, 0 replies; 37+ messages in thread
From: jason1987d @ 2020-07-29 1:14 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 322 bytes --]
There is an updated pull request by jason1987d against master on the void-packages repository
https://github.com/jason1987d/void-packages yacy-1.922
https://github.com/void-linux/void-packages/pull/23742
New package: yacy-1.922
A patch file from https://github.com/void-linux/void-packages/pull/23742.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-yacy-1.922-23742.patch --]
[-- Type: text/x-diff, Size: 1942 bytes --]
From e613bac9b0b8f3e1d784d369b94f668887f4fe14 Mon Sep 17 00:00:00 2001
From: Jason Manley <jason@jasondavid.tv>
Date: Wed, 22 Jul 2020 13:17:10 -0500
Subject: [PATCH] New package: yacy-1.922
---
srcpkgs/yacy/INSTALL | 6 ++++++
srcpkgs/yacy/files/yacy/run | 2 ++
srcpkgs/yacy/template | 32 ++++++++++++++++++++++++++++++++
3 files changed, 40 insertions(+)
create mode 100644 srcpkgs/yacy/INSTALL
create mode 100644 srcpkgs/yacy/files/yacy/run
create mode 100644 srcpkgs/yacy/template
diff --git a/srcpkgs/yacy/INSTALL b/srcpkgs/yacy/INSTALL
new file mode 100644
index 00000000000..e451fab90ce
--- /dev/null
+++ b/srcpkgs/yacy/INSTALL
@@ -0,0 +1,6 @@
+# INSTALL
+case "$ACTION" in
+post)
+ chown -R yacy:yacy /var/lib/yacy
+ ;;
+esac
diff --git a/srcpkgs/yacy/files/yacy/run b/srcpkgs/yacy/files/yacy/run
new file mode 100644
index 00000000000..c5544513c35
--- /dev/null
+++ b/srcpkgs/yacy/files/yacy/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec chpst -u yacy:yacy /var/lib/yacy/startYACY.sh -f
diff --git a/srcpkgs/yacy/template b/srcpkgs/yacy/template
new file mode 100644
index 00000000000..19ba9cdd425
--- /dev/null
+++ b/srcpkgs/yacy/template
@@ -0,0 +1,32 @@
+# Template file for 'yacy'
+pkgname=yacy
+version=1.922
+revision=1
+wrksrc=${pkgname}
+hostmakedepends="openjdk apache-ant"
+depends="openjdk-jre"
+short_desc="YaCy p2p decentralized search engine"
+maintainer="Jason Manley <jason@jasondavid.tv>"
+license="GPL-3.0-or-later"
+homepage="https://yacy.net"
+distfiles="http://latest.yacy.net/yacy_v${version}_20191013_9964.tar.gz"
+checksum=@99af963642dafaeab2657ad59315e7b7896bf4c1e7091f8f67e95e71802d44df
+
+system_accounts="yacy"
+yacy_homedir="/var/lib/yacy"
+yacy_shell="/bin/bash"
+make_dirs="/var/lib/yacy 0755 yacy yacy"
+
+do_build() {
+ export JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk
+ ant clean all
+}
+
+do_install() {
+ vmkdir var/lib/
+ vcopy ${wrksrc} var/lib/
+}
+
+post_install() {
+ vsv yacy
+}
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: New package: yacy-1.922
2020-07-22 18:19 [PR PATCH] New package: yacy-1.922 jason1987d
` (16 preceding siblings ...)
2020-07-29 1:14 ` [PR PATCH] [Updated] " jason1987d
@ 2020-07-29 1:17 ` jason1987d
2020-11-09 4:16 ` jason1987d
` (2 subsequent siblings)
20 siblings, 0 replies; 37+ messages in thread
From: jason1987d @ 2020-07-29 1:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 497 bytes --]
New comment by jason1987d on void-packages repository
https://github.com/void-linux/void-packages/pull/23742#issuecomment-665375251
Comment:
> Yeah, I did some more poking around. The only issue that I can't figure out is how to make in the final installation, the files inside /var/lib/yacy (the homedir and where the software is installed) be owned by yacy:yacy too. chown in post-install does not work as the user yacy is apparently not existing yet.
Which I dealt with with INSTALL file.
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: New package: yacy-1.922
2020-07-22 18:19 [PR PATCH] New package: yacy-1.922 jason1987d
` (17 preceding siblings ...)
2020-07-29 1:17 ` jason1987d
@ 2020-11-09 4:16 ` jason1987d
2021-03-02 19:49 ` [PR PATCH] [Updated] " jason1987d
2021-03-02 21:52 ` [PR PATCH] [Closed]: " jason1987d
20 siblings, 0 replies; 37+ messages in thread
From: jason1987d @ 2020-11-09 4:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 403 bytes --]
New comment by jason1987d on void-packages repository
https://github.com/void-linux/void-packages/pull/23742#issuecomment-723743982
Comment:
Haven't heard on this in awhile. I noticed my google-earth-pro upgrade got merged. It sounds like the reviewers have been busy and/or burned out these past months. Just curious, and thank you. I'll check if there's a newer version of yacy if this gets merged.
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PR PATCH] [Updated] New package: yacy-1.922
2020-07-22 18:19 [PR PATCH] New package: yacy-1.922 jason1987d
` (18 preceding siblings ...)
2020-11-09 4:16 ` jason1987d
@ 2021-03-02 19:49 ` jason1987d
2021-03-02 21:52 ` [PR PATCH] [Closed]: " jason1987d
20 siblings, 0 replies; 37+ messages in thread
From: jason1987d @ 2021-03-02 19:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 322 bytes --]
There is an updated pull request by jason1987d against master on the void-packages repository
https://github.com/jason1987d/void-packages yacy-1.922
https://github.com/void-linux/void-packages/pull/23742
New package: yacy-1.922
A patch file from https://github.com/void-linux/void-packages/pull/23742.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-yacy-1.922-23742.patch --]
[-- Type: text/x-diff, Size: 2656 bytes --]
From e613bac9b0b8f3e1d784d369b94f668887f4fe14 Mon Sep 17 00:00:00 2001
From: Jason Manley <jason@jasondavid.tv>
Date: Wed, 22 Jul 2020 13:17:10 -0500
Subject: [PATCH 1/2] New package: yacy-1.922
---
srcpkgs/yacy/INSTALL | 6 ++++++
srcpkgs/yacy/files/yacy/run | 2 ++
srcpkgs/yacy/template | 32 ++++++++++++++++++++++++++++++++
3 files changed, 40 insertions(+)
create mode 100644 srcpkgs/yacy/INSTALL
create mode 100644 srcpkgs/yacy/files/yacy/run
create mode 100644 srcpkgs/yacy/template
diff --git a/srcpkgs/yacy/INSTALL b/srcpkgs/yacy/INSTALL
new file mode 100644
index 00000000000..e451fab90ce
--- /dev/null
+++ b/srcpkgs/yacy/INSTALL
@@ -0,0 +1,6 @@
+# INSTALL
+case "$ACTION" in
+post)
+ chown -R yacy:yacy /var/lib/yacy
+ ;;
+esac
diff --git a/srcpkgs/yacy/files/yacy/run b/srcpkgs/yacy/files/yacy/run
new file mode 100644
index 00000000000..c5544513c35
--- /dev/null
+++ b/srcpkgs/yacy/files/yacy/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec chpst -u yacy:yacy /var/lib/yacy/startYACY.sh -f
diff --git a/srcpkgs/yacy/template b/srcpkgs/yacy/template
new file mode 100644
index 00000000000..19ba9cdd425
--- /dev/null
+++ b/srcpkgs/yacy/template
@@ -0,0 +1,32 @@
+# Template file for 'yacy'
+pkgname=yacy
+version=1.922
+revision=1
+wrksrc=${pkgname}
+hostmakedepends="openjdk apache-ant"
+depends="openjdk-jre"
+short_desc="YaCy p2p decentralized search engine"
+maintainer="Jason Manley <jason@jasondavid.tv>"
+license="GPL-3.0-or-later"
+homepage="https://yacy.net"
+distfiles="http://latest.yacy.net/yacy_v${version}_20191013_9964.tar.gz"
+checksum=@99af963642dafaeab2657ad59315e7b7896bf4c1e7091f8f67e95e71802d44df
+
+system_accounts="yacy"
+yacy_homedir="/var/lib/yacy"
+yacy_shell="/bin/bash"
+make_dirs="/var/lib/yacy 0755 yacy yacy"
+
+do_build() {
+ export JAVA_HOME=/usr/lib/jvm/java-1.8-openjdk
+ ant clean all
+}
+
+do_install() {
+ vmkdir var/lib/
+ vcopy ${wrksrc} var/lib/
+}
+
+post_install() {
+ vsv yacy
+}
From b36a760c4edb642c3c98be52888c1a2672172f29 Mon Sep 17 00:00:00 2001
From: Jason Manley <jason@jasondavid.tv>
Date: Tue, 2 Mar 2021 13:48:19 -0600
Subject: [PATCH 2/2] New package: yacy-1.922.
---
srcpkgs/yacy/template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/srcpkgs/yacy/template b/srcpkgs/yacy/template
index 19ba9cdd425..67e84f1d692 100644
--- a/srcpkgs/yacy/template
+++ b/srcpkgs/yacy/template
@@ -4,7 +4,7 @@ version=1.922
revision=1
wrksrc=${pkgname}
hostmakedepends="openjdk apache-ant"
-depends="openjdk-jre"
+depends="openjdk-jre bash"
short_desc="YaCy p2p decentralized search engine"
maintainer="Jason Manley <jason@jasondavid.tv>"
license="GPL-3.0-or-later"
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PR PATCH] [Closed]: New package: yacy-1.922
2020-07-22 18:19 [PR PATCH] New package: yacy-1.922 jason1987d
` (19 preceding siblings ...)
2021-03-02 19:49 ` [PR PATCH] [Updated] " jason1987d
@ 2021-03-02 21:52 ` jason1987d
20 siblings, 0 replies; 37+ messages in thread
From: jason1987d @ 2021-03-02 21:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 157 bytes --]
There's a closed pull request on the void-packages repository
New package: yacy-1.922
https://github.com/void-linux/void-packages/pull/23742
Description:
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PR REVIEW] New package: yacy-1.922
2020-07-21 21:39 [PR PATCH] " jason1987d
@ 2020-07-21 21:55 ` ericonr
2020-07-21 21:55 ` ericonr
` (13 subsequent siblings)
14 siblings, 0 replies; 37+ messages in thread
From: ericonr @ 2020-07-21 21:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 177 bytes --]
New review comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/23695#discussion_r458411128
Comment:
why is it restriced to x86_64?
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PR REVIEW] New package: yacy-1.922
2020-07-21 21:39 [PR PATCH] " jason1987d
2020-07-21 21:55 ` [PR REVIEW] " ericonr
@ 2020-07-21 21:55 ` ericonr
2020-07-21 21:55 ` ericonr
` (12 subsequent siblings)
14 siblings, 0 replies; 37+ messages in thread
From: ericonr @ 2020-07-21 21:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 218 bytes --]
New review comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/23695#discussion_r458411377
Comment:
I believe it's preferred to have the homedir in `/var` (could be wrong)
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PR REVIEW] New package: yacy-1.922
2020-07-21 21:39 [PR PATCH] " jason1987d
2020-07-21 21:55 ` [PR REVIEW] " ericonr
2020-07-21 21:55 ` ericonr
@ 2020-07-21 21:55 ` ericonr
2020-07-21 23:17 ` jason1987d
` (11 subsequent siblings)
14 siblings, 0 replies; 37+ messages in thread
From: ericonr @ 2020-07-21 21:55 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 163 bytes --]
New review comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/23695#discussion_r458410302
Comment:
indent with tabs
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PR REVIEW] New package: yacy-1.922
2020-07-21 21:39 [PR PATCH] " jason1987d
` (2 preceding siblings ...)
2020-07-21 21:55 ` ericonr
@ 2020-07-21 23:17 ` jason1987d
2020-07-21 23:22 ` ericonr
` (10 subsequent siblings)
14 siblings, 0 replies; 37+ messages in thread
From: jason1987d @ 2020-07-21 23:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 416 bytes --]
New review comment by jason1987d on void-packages repository
https://github.com/void-linux/void-packages/pull/23695#discussion_r458442779
Comment:
It works perfectly well in this case of not building from source. I removed the arch restriction too. I did do some testing with "ant clean all" in do_install but can't figure out what java package is needed in makedepends. It keeps erroring out trying to find java.
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PR REVIEW] New package: yacy-1.922
2020-07-21 21:39 [PR PATCH] " jason1987d
` (3 preceding siblings ...)
2020-07-21 23:17 ` jason1987d
@ 2020-07-21 23:22 ` ericonr
2020-07-21 23:25 ` jason1987d
` (9 subsequent siblings)
14 siblings, 0 replies; 37+ messages in thread
From: ericonr @ 2020-07-21 23:22 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 294 bytes --]
New review comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/23695#discussion_r458444438
Comment:
You need the actual development kit to build something with java, so add `openjdk` to `hostmakedepends`. You might need to set `JAVA_HOME` as well.
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PR REVIEW] New package: yacy-1.922
2020-07-21 21:39 [PR PATCH] " jason1987d
` (4 preceding siblings ...)
2020-07-21 23:22 ` ericonr
@ 2020-07-21 23:25 ` jason1987d
2020-07-21 23:28 ` ericonr
` (8 subsequent siblings)
14 siblings, 0 replies; 37+ messages in thread
From: jason1987d @ 2020-07-21 23:25 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 292 bytes --]
New review comment by jason1987d on void-packages repository
https://github.com/void-linux/void-packages/pull/23695#discussion_r458445230
Comment:
I did try with openjdk as a makedepends (in addition of course to apache-ant), but I'm not too familiar with how JAVA_HOME should be set here.
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PR REVIEW] New package: yacy-1.922
2020-07-21 21:39 [PR PATCH] " jason1987d
` (5 preceding siblings ...)
2020-07-21 23:25 ` jason1987d
@ 2020-07-21 23:28 ` ericonr
2020-07-21 23:29 ` ericonr
` (7 subsequent siblings)
14 siblings, 0 replies; 37+ messages in thread
From: ericonr @ 2020-07-21 23:28 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 197 bytes --]
New review comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/23695#discussion_r458446218
Comment:
Take a look at how lightzone does it, for example.
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PR REVIEW] New package: yacy-1.922
2020-07-21 21:39 [PR PATCH] " jason1987d
` (6 preceding siblings ...)
2020-07-21 23:28 ` ericonr
@ 2020-07-21 23:29 ` ericonr
2020-07-21 23:32 ` jason1987d
` (6 subsequent siblings)
14 siblings, 0 replies; 37+ messages in thread
From: ericonr @ 2020-07-21 23:29 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 317 bytes --]
New review comment by ericonr on void-packages repository
https://github.com/void-linux/void-packages/pull/23695#discussion_r458446802
Comment:
Are there other options users could pass to the start script? You can include a check for a conf file and source it if available. Several other services have this option.
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PR REVIEW] New package: yacy-1.922
2020-07-21 21:39 [PR PATCH] " jason1987d
` (7 preceding siblings ...)
2020-07-21 23:29 ` ericonr
@ 2020-07-21 23:32 ` jason1987d
2020-07-21 23:32 ` jason1987d
` (5 subsequent siblings)
14 siblings, 0 replies; 37+ messages in thread
From: jason1987d @ 2020-07-21 23:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1658 bytes --]
New review comment by jason1987d on void-packages repository
https://github.com/void-linux/void-packages/pull/23695#discussion_r458447664
Comment:
Maybe the -s switch here below has some potential. could set to ~/.yacy or something.
`/opt/yacy/startYACY.sh --help
startscript for YaCy on UNIX-like systems
Options
-h, --help show this help
-t, --tail-log show the output of "tail -f DATA/LOG/yacy00.log" after starting YaCy
-l, --logging save the output of YaCy to yacy.log
-d, --debug show the output of YaCy on the console and enable remote monitoring with JMX
-f, --foreground run as a foreground process, showing the output of YaCy on the console
-p, --print-out only print the command, which would be executed to start YaCy
-s, --startup [data-path] start YaCy using the specified data folder path, relative to the current user home
-g, --gui start a gui for YaCy
[jason@box ~]$ ls /opt/yacy
addon build.properties DATA gpl.txt killYACY.sh libbuild reconfigureYACY.sh startYACY.bat stopYACY.bat updateYACY.sh
AUTHORS build.xml defaults htroot langdetect locales skins startYACY_debug.bat stopYACY.sh yacy.yellow
bin COPYRIGHT getWin32MaxHeap.bat installYaCyWindowsService.bat lib NOTICE source startYACY.sh uninstallYaCyWindowsService.bat
[jason@box ~]$ ls /opt/yacy/DATA/
ARCHIVE CLASSIFICATION DICTIONARIES HTCACHE HTDOCS INDEX LISTS LOG RELEASE SETTINGS SKINS SURROGATES WORK yacy.running`
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PR REVIEW] New package: yacy-1.922
2020-07-21 21:39 [PR PATCH] " jason1987d
` (8 preceding siblings ...)
2020-07-21 23:32 ` jason1987d
@ 2020-07-21 23:32 ` jason1987d
2020-07-21 23:33 ` jason1987d
` (4 subsequent siblings)
14 siblings, 0 replies; 37+ messages in thread
From: jason1987d @ 2020-07-21 23:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1658 bytes --]
New review comment by jason1987d on void-packages repository
https://github.com/void-linux/void-packages/pull/23695#discussion_r458447664
Comment:
Maybe the -s switch here below has some potential. could set to ~/.yacy or something.
`/opt/yacy/startYACY.sh --help
startscript for YaCy on UNIX-like systems
Options
-h, --help show this help
-t, --tail-log show the output of "tail -f DATA/LOG/yacy00.log" after starting YaCy
-l, --logging save the output of YaCy to yacy.log
-d, --debug show the output of YaCy on the console and enable remote monitoring with JMX
-f, --foreground run as a foreground process, showing the output of YaCy on the console
-p, --print-out only print the command, which would be executed to start YaCy
-s, --startup [data-path] start YaCy using the specified data folder path, relative to the current user home
-g, --gui start a gui for YaCy
[jason@box ~]$ ls /opt/yacy
addon build.properties DATA gpl.txt killYACY.sh libbuild reconfigureYACY.sh startYACY.bat stopYACY.bat updateYACY.sh
AUTHORS build.xml defaults htroot langdetect locales skins startYACY_debug.bat stopYACY.sh yacy.yellow
bin COPYRIGHT getWin32MaxHeap.bat installYaCyWindowsService.bat lib NOTICE source startYACY.sh uninstallYaCyWindowsService.bat
[jason@box ~]$ ls /opt/yacy/DATA/
ARCHIVE CLASSIFICATION DICTIONARIES HTCACHE HTDOCS INDEX LISTS LOG RELEASE SETTINGS SKINS SURROGATES WORK yacy.running`
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PR REVIEW] New package: yacy-1.922
2020-07-21 21:39 [PR PATCH] " jason1987d
` (9 preceding siblings ...)
2020-07-21 23:32 ` jason1987d
@ 2020-07-21 23:33 ` jason1987d
2020-07-21 23:34 ` jason1987d
` (3 subsequent siblings)
14 siblings, 0 replies; 37+ messages in thread
From: jason1987d @ 2020-07-21 23:33 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1573 bytes --]
New review comment by jason1987d on void-packages repository
https://github.com/void-linux/void-packages/pull/23695#discussion_r458447818
Comment:
`/opt/yacy/startYACY.sh --help
startscript for YaCy on UNIX-like systems
Options
-h, --help show this help
-t, --tail-log show the output of "tail -f DATA/LOG/yacy00.log" after starting YaCy
-l, --logging save the output of YaCy to yacy.log
-d, --debug show the output of YaCy on the console and enable remote monitoring with JMX
-f, --foreground run as a foreground process, showing the output of YaCy on the console
-p, --print-out only print the command, which would be executed to start YaCy
-s, --startup [data-path] start YaCy using the specified data folder path, relative to the current user home
-g, --gui start a gui for YaCy
[jason@box ~]$ ls /opt/yacy
addon build.properties DATA gpl.txt killYACY.sh libbuild reconfigureYACY.sh startYACY.bat stopYACY.bat updateYACY.sh
AUTHORS build.xml defaults htroot langdetect locales skins startYACY_debug.bat stopYACY.sh yacy.yellow
bin COPYRIGHT getWin32MaxHeap.bat installYaCyWindowsService.bat lib NOTICE source startYACY.sh uninstallYaCyWindowsService.bat
[jason@box ~]$ ls /opt/yacy/DATA/
ARCHIVE CLASSIFICATION DICTIONARIES HTCACHE HTDOCS INDEX LISTS LOG RELEASE SETTINGS SKINS SURROGATES WORK yacy.running`
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PR REVIEW] New package: yacy-1.922
2020-07-21 21:39 [PR PATCH] " jason1987d
` (10 preceding siblings ...)
2020-07-21 23:33 ` jason1987d
@ 2020-07-21 23:34 ` jason1987d
2020-07-21 23:34 ` jason1987d
` (2 subsequent siblings)
14 siblings, 0 replies; 37+ messages in thread
From: jason1987d @ 2020-07-21 23:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1652 bytes --]
New review comment by jason1987d on void-packages repository
https://github.com/void-linux/void-packages/pull/23695#discussion_r458447818
Comment:
Maybe -s has potential, I could set to ~/.yacy or something.
`[jason@box ~]$ /opt/yacy/startYACY.sh --help
startscript for YaCy on UNIX-like systems
Options
-h, --help show this help
-t, --tail-log show the output of "tail -f DATA/LOG/yacy00.log" after starting YaCy
-l, --logging save the output of YaCy to yacy.log
-d, --debug show the output of YaCy on the console and enable remote monitoring with JMX
-f, --foreground run as a foreground process, showing the output of YaCy on the console
-p, --print-out only print the command, which would be executed to start YaCy
-s, --startup [data-path] start YaCy using the specified data folder path, relative to the current user home
-g, --gui start a gui for YaCy
[jason@box ~]$ ls /opt/yacy
addon build.properties DATA gpl.txt killYACY.sh libbuild reconfigureYACY.sh startYACY.bat stopYACY.bat updateYACY.sh
AUTHORS build.xml defaults htroot langdetect locales skins startYACY_debug.bat stopYACY.sh yacy.yellow
bin COPYRIGHT getWin32MaxHeap.bat installYaCyWindowsService.bat lib NOTICE source startYACY.sh uninstallYaCyWindowsService.bat
[jason@box ~]$ ls /opt/yacy/DATA/
ARCHIVE CLASSIFICATION DICTIONARIES HTCACHE HTDOCS INDEX LISTS LOG RELEASE SETTINGS SKINS SURROGATES WORK yacy.running`
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PR REVIEW] New package: yacy-1.922
2020-07-21 21:39 [PR PATCH] " jason1987d
` (11 preceding siblings ...)
2020-07-21 23:34 ` jason1987d
@ 2020-07-21 23:34 ` jason1987d
2020-07-21 23:35 ` jason1987d
2020-07-22 0:01 ` fosslinux
14 siblings, 0 replies; 37+ messages in thread
From: jason1987d @ 2020-07-21 23:34 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1616 bytes --]
New review comment by jason1987d on void-packages repository
https://github.com/void-linux/void-packages/pull/23695#discussion_r458447818
Comment:
Maybe -s has potential ?
`[jason@box ~]$ /opt/yacy/startYACY.sh --help
startscript for YaCy on UNIX-like systems
Options
-h, --help show this help
-t, --tail-log show the output of "tail -f DATA/LOG/yacy00.log" after starting YaCy
-l, --logging save the output of YaCy to yacy.log
-d, --debug show the output of YaCy on the console and enable remote monitoring with JMX
-f, --foreground run as a foreground process, showing the output of YaCy on the console
-p, --print-out only print the command, which would be executed to start YaCy
-s, --startup [data-path] start YaCy using the specified data folder path, relative to the current user home
-g, --gui start a gui for YaCy
[jason@box ~]$ ls /opt/yacy
addon build.properties DATA gpl.txt killYACY.sh libbuild reconfigureYACY.sh startYACY.bat stopYACY.bat updateYACY.sh
AUTHORS build.xml defaults htroot langdetect locales skins startYACY_debug.bat stopYACY.sh yacy.yellow
bin COPYRIGHT getWin32MaxHeap.bat installYaCyWindowsService.bat lib NOTICE source startYACY.sh uninstallYaCyWindowsService.bat
[jason@box ~]$ ls /opt/yacy/DATA/
ARCHIVE CLASSIFICATION DICTIONARIES HTCACHE HTDOCS INDEX LISTS LOG RELEASE SETTINGS SKINS SURROGATES WORK yacy.running`
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PR REVIEW] New package: yacy-1.922
2020-07-21 21:39 [PR PATCH] " jason1987d
` (12 preceding siblings ...)
2020-07-21 23:34 ` jason1987d
@ 2020-07-21 23:35 ` jason1987d
2020-07-22 0:01 ` fosslinux
14 siblings, 0 replies; 37+ messages in thread
From: jason1987d @ 2020-07-21 23:35 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1721 bytes --]
New review comment by jason1987d on void-packages repository
https://github.com/void-linux/void-packages/pull/23695#discussion_r458447818
Comment:
Maybe -s has potential ? Though probably not too useful as I have this run as its own user with home dir set as /opt/yacy anyway.
`[jason@box ~]$ /opt/yacy/startYACY.sh --help
startscript for YaCy on UNIX-like systems
Options
-h, --help show this help
-t, --tail-log show the output of "tail -f DATA/LOG/yacy00.log" after starting YaCy
-l, --logging save the output of YaCy to yacy.log
-d, --debug show the output of YaCy on the console and enable remote monitoring with JMX
-f, --foreground run as a foreground process, showing the output of YaCy on the console
-p, --print-out only print the command, which would be executed to start YaCy
-s, --startup [data-path] start YaCy using the specified data folder path, relative to the current user home
-g, --gui start a gui for YaCy
[jason@box ~]$ ls /opt/yacy
addon build.properties DATA gpl.txt killYACY.sh libbuild reconfigureYACY.sh startYACY.bat stopYACY.bat updateYACY.sh
AUTHORS build.xml defaults htroot langdetect locales skins startYACY_debug.bat stopYACY.sh yacy.yellow
bin COPYRIGHT getWin32MaxHeap.bat installYaCyWindowsService.bat lib NOTICE source startYACY.sh uninstallYaCyWindowsService.bat
[jason@box ~]$ ls /opt/yacy/DATA/
ARCHIVE CLASSIFICATION DICTIONARIES HTCACHE HTDOCS INDEX LISTS LOG RELEASE SETTINGS SKINS SURROGATES WORK yacy.running`
^ permalink raw reply [flat|nested] 37+ messages in thread
* Re: [PR REVIEW] New package: yacy-1.922
2020-07-21 21:39 [PR PATCH] " jason1987d
` (13 preceding siblings ...)
2020-07-21 23:35 ` jason1987d
@ 2020-07-22 0:01 ` fosslinux
14 siblings, 0 replies; 37+ messages in thread
From: fosslinux @ 2020-07-22 0:01 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 318 bytes --]
New review comment by fosslinux on void-packages repository
https://github.com/void-linux/void-packages/pull/23695#discussion_r458454962
Comment:
`/var/lib` is probably the correct place. for example https://github.com/void-linux/void-packages/blob/master/srcpkgs/gitea/template#L38
`/opt` is defiantly not right
^ permalink raw reply [flat|nested] 37+ messages in thread