Github messages for voidlinux
 help / color / mirror / Atom feed
From: jason1987d <jason1987d@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] New package: yacy-1.924
Date: Wed, 23 Feb 2022 21:37:48 +0100	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35810@inbox.vuxu.org> (raw)

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

There is a new 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
<!-- Uncomment relevant sections and delete options which are not applicable -->

#### Testing the changes
- I tested the changes in this PR: **YES**|**briefly**|**NO**

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

<!-- Note: If the build is likely to take more than 2 hours, please [skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration)
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
<!-- 
#### Local build testing
- I built this PR locally for my native architecture, (ARCH-LIBC)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64-musl
  - armv7l
  - armv6l-musl
-->


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 3ffffd761959bd2de54ca8d5bc5dca06993c0140 Mon Sep 17 00:00:00 2001
From: Jason Manley <jason@jasondavid.tv>
Date: Wed, 19 Jan 2022 10:47:33 -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
+}

             reply	other threads:[~2022-02-23 20:37 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-23 20:37 jason1987d [this message]
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
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-26  4:25 [PR PATCH] " jason1987d
2021-05-16 19:31 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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-35810@inbox.vuxu.org \
    --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).