commit: 373dbc0d8bf6fdf4a6af1d81436dc05bfdd0030c parent fcd153e4ff74e48555603ad04fa42178e6a86682 Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me> Date: Sat, 10 Apr 2021 03:26:01 +0200 net-misc/yacy: RemoveDiffstat:
D | net-misc/yacy/Manifest | 1 | - |
D | net-misc/yacy/files/yacy-ipv6.service | 13 | ------------- |
D | net-misc/yacy/files/yacy.confd | 2 | -- |
D | net-misc/yacy/files/yacy.rc | 16 | ---------------- |
D | net-misc/yacy/files/yacy.service | 13 | ------------- |
D | net-misc/yacy/yacy-1.922.20191013.9964.ebuild | 66 | ------------------------------------------------------------------ |
6 files changed, 0 insertions(+), 111 deletions(-)
diff --git a/net-misc/yacy/Manifest b/net-misc/yacy/Manifest @@ -1 +0,0 @@ -DIST yacy_v1.922_20191013_9964.tar.gz 76224245 BLAKE2B a9f29c28b8fd1d4daad0ffe207ac5ee9493f16437cd6c2b7bbbf5c7677f020eeea7bd4357fd5f51008ed5f3039ff7dde0f283b18695f1181da7b71417df9dff4 SHA512 cc21a5513a25da9941c9bac6d1006eee733290ccb1fa4038e3a7228bfb384344985797cb23b643772feffadcb55f6a1b972f52b9e386a15bf3a9029fa1dfce05 diff --git a/net-misc/yacy/files/yacy-ipv6.service b/net-misc/yacy/files/yacy-ipv6.service @@ -1,13 +0,0 @@ -[Unit] -Description=YaCy -After=network.target - -[Service] -Environment=CLASSPATH=.:htroot:lib/* -Environment="JAVA_ARGS=-Xmx600m -Xms180m -server -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Dsolr.directoryFactsolr.MMapDirectoryFactory" -ExecStart=/usr/bin/java $JAVA_ARGS net.yacy.yacy -User=yacy -WorkingDirectory=/usr/share/yacy - -[Install] -WantedBy=multi-user.target diff --git a/net-misc/yacy/files/yacy.confd b/net-misc/yacy/files/yacy.confd @@ -1,2 +0,0 @@ -# yacy/java options (optional) -yacy_options="-Xmx600m -Xms180m" diff --git a/net-misc/yacy/files/yacy.rc b/net-misc/yacy/files/yacy.rc @@ -1,16 +0,0 @@ -#!/sbin/openrc-run -supervisor=supervise-daemon -command=/usr/bin/java -command_args="phx.server" -command_args="${yacy_options} -server -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Dsolr.directoryFactsolr.MMapDirectoryFactory net.yacy.yacy" -command_user=yacy:yacy -command_background=1 -retry="SIGTERM/30/SIGKILL/5" -pidfile="/var/run/pleroma.pid" -directory="/usr/share/yacy" - -depend() { - need net -} - -CLASSPATH=.:htroot:lib/* diff --git a/net-misc/yacy/files/yacy.service b/net-misc/yacy/files/yacy.service @@ -1,13 +0,0 @@ -[Unit] -Description=YaCy -After=network.target - -[Service] -Environment=CLASSPATH=.:htroot:lib/* -Environment="JAVA_ARGS=-Xmx600m -Xms180m -server -Djava.net.preferIPv4Stack=true -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Dsolr.directoryFactsolr.MMapDirectoryFactory" -ExecStart=/usr/bin/java $JAVA_ARGS net.yacy.yacy -User=yacy -WorkingDirectory=/usr/share/yacy - -[Install] -WantedBy=multi-user.target diff --git a/net-misc/yacy/yacy-1.922.20191013.9964.ebuild b/net-misc/yacy/yacy-1.922.20191013.9964.ebuild @@ -1,66 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit eutils java-pkg-2 java-ant-2 systemd versionator user -MAJOR_PV="$(get_version_component_range 1-2)" -REL_PV="$(get_version_component_range 3)" -SVN_PV="$(get_version_component_range 4)" - -DESCRIPTION="YaCy - p2p based distributed web-search engine" -HOMEPAGE="http://www.yacy.net/" -SRC_URI="http://www.yacy.net/release/yacy_v${MAJOR_PV}_${REL_PV}_${SVN_PV}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND=">=virtual/jdk-1.8" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${PN}" - -EANT_BUILD_TARGET="all" - -pkg_setup() { - enewgroup yacy - enewuser yacy -1 -1 /var/lib/yacy yacy -} - -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 - - 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 - - rmdir "$D/$yacy_home/DATA" - dosym /var/lib/yacy /${yacy_home}/DATA - - exeinto /etc/init.d - newexe "${FILESDIR}/yacy.rc" yacy - insinto /etc/conf.d - newins "${FILESDIR}/yacy.confd" yacy - - 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." -}