Skip to content

Commit d7bd408

Browse files
committed
New package: yacy-1.941
1 parent 527b1dc commit d7bd408

3 files changed

Lines changed: 38 additions & 0 deletions

File tree

srcpkgs/yacy/INSTALL

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# INSTALL
2+
case "$ACTION" in
3+
post)
4+
chown -R _yacy:_yacy /var/lib/yacy
5+
;;
6+
esac

srcpkgs/yacy/files/yacy/run

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/sh
2+
exec 2>&1
3+
exec chpst -u _yacy:_yacy /var/lib/yacy/startYACY.sh -f

srcpkgs/yacy/template

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Template file for 'yacy'
2+
pkgname=yacy
3+
version=1.941
4+
revision=1
5+
hostmakedepends="apache-ant openjdk21 git"
6+
depends="openjdk21"
7+
short_desc="Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance"
8+
maintainer="Jason Elswick <jason@jasondavid.us>"
9+
license="GPL-2.0-or-later"
10+
homepage="https://yacy.net"
11+
distfiles="https://github.com/yacy/yacy_search_server/archive/refs/tags/Release_${version}.tar.gz"
12+
checksum=90e0bdef16893cdc5f0e812add1b977ee5fee34fa18ac56d4f6deba6fe521050
13+
system_accounts="_yacy"
14+
_yacy_homedir="/var/lib/yacy"
15+
make_dirs="/var/lib/yacy 0755 _yacy _yacy"
16+
17+
do_build() {
18+
export JAVA_HOME="/usr/lib/jvm/openjdk21"
19+
ant all
20+
}
21+
22+
do_install() {
23+
vmkdir var/lib/yacy
24+
vcopy ${wrksrc}/* var/lib/yacy
25+
}
26+
27+
post_install() {
28+
vsv yacy
29+
}

0 commit comments

Comments
 (0)