aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Roman <davidroman96@gmail.com>2024-11-04 11:38:13 +0100
committerDavid Roman <davidroman96@gmail.com>2024-11-04 11:38:13 +0100
commit813be0425f39ebced402de0fa9554117352f0a76 (patch)
tree963b9b5b045dcfd838f418557fdd6c86fb99d914 /net-misc
parentsys-fs/dwarfs: removed obsolete versions (diff)
downloadguru-813be0425f39ebced402de0fa9554117352f0a76.tar.gz
guru-813be0425f39ebced402de0fa9554117352f0a76.tar.bz2
guru-813be0425f39ebced402de0fa9554117352f0a76.zip
net-misc/yacy: add 1.930.202405130205
Signed-off-by: David Roman <davidroman96@gmail.com>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/yacy/Manifest1
-rw-r--r--net-misc/yacy/yacy-1.930.202405130205.ebuild65
2 files changed, 66 insertions, 0 deletions
diff --git a/net-misc/yacy/Manifest b/net-misc/yacy/Manifest
index d98eb3a96..d618c7871 100644
--- a/net-misc/yacy/Manifest
+++ b/net-misc/yacy/Manifest
@@ -1 +1,2 @@
DIST yacy_v1.924_20210209_10069.tar.gz 78723324 BLAKE2B b505e496a8cb8d10e1f1ef32b2d1d9766d4952aa477f20d2f4f13093acef8ab6272bbb747f561fd71b505598add914db45c1705099e38a604bc6baf292c64331 SHA512 c9c5d601baba57b57aad9c991f3aa10fde2143be08759fdef5901a9e8bcfa52496242dd003b23478376fbc368f48eb0be9496b2bdd01c799fa4fbd64fff517c2
+DIST yacy_v1.930_202405130205_59c0cb0f3.tar.gz 101877649 BLAKE2B d620d60ef955ef12b3ed41d65597e12bda94c06952f6fae085d789d261c3c8b4d09441f2f61aff5bcfaa922f17fd531c087fdb343374153bead9a0013c6b500b SHA512 53f4951ec2b89b7ada9ebd8ad4bc3cd95e7f0fbe9c649123749e1fa076c20854289fd1af859711119a50dab81157c1c952d67398cbc4bdf009dbfa7e115906e5
diff --git a/net-misc/yacy/yacy-1.930.202405130205.ebuild b/net-misc/yacy/yacy-1.930.202405130205.ebuild
new file mode 100644
index 000000000..605e1c66d
--- /dev/null
+++ b/net-misc/yacy/yacy-1.930.202405130205.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit java-pkg-2 systemd
+
+MAJOR_PV="$(ver_cut 1-2)"
+REL_PV="$(ver_cut 3)"
+COMMIT="59c0cb0f3"
+
+DESCRIPTION="YaCy - p2p based distributed web-search engine"
+HOMEPAGE="https://www.yacy.net/"
+SRC_URI="https://download.yacy.net/yacy_v${MAJOR_PV}_${REL_PV}_${COMMIT}.tar.gz"
+
+S="${WORKDIR}/${PN}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+ >=virtual/jdk-1.8
+ acct-group/yacy
+ acct-user/yacy
+"
+RDEPEND="${DEPEND}"
+
+EANT_BUILD_TARGET="all"
+UNINSTALL_IGNORE="/usr/share/yacy/DATA"
+
+src_install() {
+ # remove win-only stuff
+ find "${S}" -name "*.bat" -exec rm '{}' \; || die
+ # remove init-scripts
+ rm "${S}"/*.sh || die
+ # remove sources
+ rm -r "${S}/source" || die
+ rm "${S}/build.properties" "${S}/build.xml" || die
+
+ dodoc AUTHORS NOTICE && rm AUTHORS NOTICE COPYRIGHT gpl.txt
+
+ yacy_home="${EROOT}/usr/share/${PN}"
+ dodir ${yacy_home}
+ cp -r "${S}"/* "${D}${yacy_home}" || die
+
+ rm -r "${D}${yacy_home}"/lib/*License
+
+ dodir /var/log/yacy || die
+ chown yacy:yacy "${D}/var/log/yacy" || die
+ keepdir /var/log/yacy
+
+ dosym /var/lib/yacy /${yacy_home}/DATA
+
+ exeinto /etc/init.d
+ newexe "${FILESDIR}/yacy.rc" yacy
+ doconfd "${FILESDIR}/yacy.confd"
+
+ systemd_newunit "${FILESDIR}"/${PN}-ipv6.service ${PN}.service
+}
+
+pkg_postinst() {
+ einfo "yacy.logging will write logfiles into /var/lib/yacy/LOG"
+ einfo "To setup YaCy, open http://localhost:8090 in your browser."
+}