Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions srcpkgs/yacy/files/yacy/run
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh
exec 2>&1
exec chpst -u _yacy:_yacy /var/lib/yacy/startYACY.sh -f
29 changes: 29 additions & 0 deletions srcpkgs/yacy/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# Template file for 'yacy'
pkgname=yacy
version=1.941
revision=1
hostmakedepends="apache-ant openjdk21 git"
depends="openjdk21"
short_desc="Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance"
maintainer="Jason Elswick <jason@jasondavid.us>"
license="GPL-2.0-or-later"
homepage="https://yacy.net"
distfiles="https://github.com/yacy/yacy_search_server/archive/refs/tags/Release_${version}.tar.gz"
checksum=90e0bdef16893cdc5f0e812add1b977ee5fee34fa18ac56d4f6deba6fe521050
system_accounts="_yacy"
_yacy_homedir="/var/lib/yacy"
make_dirs="/var/lib/yacy 0755 _yacy _yacy"

do_build() {
export JAVA_HOME="/usr/lib/jvm/openjdk21"
ant all
}

do_install() {
vmkdir var/lib/yacy
vcopy ${wrksrc}/* var/lib/yacy
}

post_install() {
vsv yacy
}