Github messages for voidlinux
 help / color / mirror / Atom feed
From: jason1987d <jason1987d@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: yacy-1.924
Date: Mon, 20 Jun 2022 20:42:39 +0200	[thread overview]
Message-ID: <20220620184239.YXw-8j8iKIGm3Tdhk7Cz9w_5a97GOaOGoyK2BmwLwj8@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35810@inbox.vuxu.org>

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

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

https://github.com/jason1987d/void-packages yacy
https://github.com/void-linux/void-packages/pull/35810

New package: yacy-1.924
- I tested the changes in this PR: YES

- This new package conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements): YES

- I built this PR locally for my native architecture, (x86_64-LIBC)


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

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

From f7d9c42d20bf51f5776f665c087a8ba00848011c Mon Sep 17 00:00:00 2001
From: Jason Manley <jason@jasondavid.tv>
Date: Thu, 24 Feb 2022 15:48:42 -0600
Subject: [PATCH] New package: yacy-1.924

---
 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 000000000000..3e2065e8168c
--- /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 000000000000..36a71e1dcb1b
--- /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 000000000000..d43db1194e45
--- /dev/null
+++ b/srcpkgs/yacy/template
@@ -0,0 +1,32 @@
+# Template file for 'yacy'
+pkgname=yacy
+version=1.924
+revision=1
+wrksrc=${pkgname}
+hostmakedepends="openjdk apache-ant"
+depends="openjdk-jre bash"
+short_desc="YaCy p2p decentralized search engine"
+maintainer="Jason Manley <jason@jasondavid.tv>"
+license="GPL-3.0-or-later"
+homepage="https://yacy.net"
+distfiles="https://download.yacy.net/yacy_v${version}_20210209_10069.tar.gz"
+checksum=@3b484c4db858a51dd191aa1ce30f892f49beadd8cb6434b65837d79a76325526
+
+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
+}

  parent reply	other threads:[~2022-06-20 18:42 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-23 20:37 [PR PATCH] " jason1987d
2022-02-23 20:40 ` [PR PATCH] [Updated] " jason1987d
2022-02-23 22:11 ` tibequadorian
2022-02-24 18:32 ` jason1987d
2022-02-24 18:53 ` tibequadorian
2022-02-24 21:48 ` [PR PATCH] [Updated] " jason1987d
2022-02-24 21:50 ` jason1987d
2022-02-24 21:54 ` jason1987d
2022-02-24 21:58 ` jason1987d
2022-02-24 21:59 ` jason1987d
2022-05-16 22:10 ` jason1987d
2022-05-16 22:11 ` jason1987d
2022-06-20 18:38 ` jason1987d
2022-06-20 18:39 ` jason1987d
2022-06-20 18:40 ` jason1987d
2022-06-20 18:42 ` jason1987d [this message]
2022-06-20 18:43 ` jason1987d
2022-06-20 18:51 ` [PR PATCH] [Closed]: " jason1987d
  -- strict thread matches above, loose matches on Subject: below --
2021-05-16 19:31 [PR PATCH] " jason1987d
2021-05-16 20:35 ` [PR PATCH] [Updated] " jason1987d
2021-05-16 20:37 ` jason1987d
2021-05-24 18:15 ` jason1987d
2021-05-24 20:58 ` jason1987d
2021-05-24 21:17 ` jason1987d

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=20220620184239.YXw-8j8iKIGm3Tdhk7Cz9w_5a97GOaOGoyK2BmwLwj8@z \
    --to=jason1987d@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).