From 6ef3b9d06864f3d5c2b7e2d206e4ca9718165491 Mon Sep 17 00:00:00 2001 From: Matt Jolly Date: Mon, 24 Jun 2024 16:24:32 +1000 Subject: [PATCH 1/4] app-misc/elasticsearch: add 8.14.1 Signed-off-by: Matt Jolly --- app-misc/elasticsearch/Manifest | 1 + .../elasticsearch/elasticsearch-8.14.1.ebuild | 102 ++++++++++++++++++ 2 files changed, 103 insertions(+) create mode 100644 app-misc/elasticsearch/elasticsearch-8.14.1.ebuild diff --git a/app-misc/elasticsearch/Manifest b/app-misc/elasticsearch/Manifest index 66dd9d1b7eea1..f38f1213328f1 100644 --- a/app-misc/elasticsearch/Manifest +++ b/app-misc/elasticsearch/Manifest @@ -1,3 +1,4 @@ DIST elasticsearch-7.17.16-no-jdk-linux-x86_64.tar.gz 168795535 BLAKE2B 642ae6f07db953e7fa783dcd63c6dcebab61e85ea600bede09e9596bf9dee2d71c43e5c28b80bd4c091d792ed3a95d10cc75ffb1074ad4b3cfceb081ed25027f SHA512 3755373f5068a08e4619b4e922bc2d3d97d41791dbf5aa84564574fc84abee9c567b16095cf0e11d48910627e3c183ff1193bf2d5ade59891bea2b3f994aa7df DIST elasticsearch-8.12.1-linux-x86_64.tar.gz 621183584 BLAKE2B e168cf9549a22c2c8b049638f7039b5f43f6384da0a10627fbe0671a0a5a99f8a4e40f7c914d820d94dd42b2d328f3e20425eca3363478526d5faf07f9c5d782 SHA512 dcaea1ddb499724be40da936f6b7309e66458f0ac2852c63109cc8bd8fb6c88dbea0d8c9ce451c2fb0441a25fc137f5dc2894b7bea0242e0067bf29ffad48f54 DIST elasticsearch-8.12.2-linux-x86_64.tar.gz 621185674 BLAKE2B 9e4d62bcbc0fcc6d545572e5c076af24e5363a6c5aabd87e9836005863013f08445c64877d78c5c5c71aed481c5dd2bb766a8b13eab5fe3398ab3624ab8a14ef SHA512 d4791e2e30221d5e6e0284089ba3347c0232c49173caccc64b6548aafac94066af1ba05c3f2f4635bc016004195371bb79864d331996f8cea76fc290976b4638 +DIST elasticsearch-8.14.1-linux-x86_64.tar.gz 588486610 BLAKE2B 6005509b9cef7a07e455a394bb41fd0ae970b7249e4b328d55a923f8b529779ceb350580ccd6f8be82bdbc64de6ec1103f28e34b4836f4f2c8ef767c1276338f SHA512 31ed9fe9e28bb778c1042df8dc4183b3044e250d5ee5d760c4e5f1fe5c82e52e2882ed02824c454a64fefbaa10f9212bde9b6b4faa278e2cb5dc64b57960da00 diff --git a/app-misc/elasticsearch/elasticsearch-8.14.1.ebuild b/app-misc/elasticsearch/elasticsearch-8.14.1.ebuild new file mode 100644 index 0000000000000..8498fcbccc2a8 --- /dev/null +++ b/app-misc/elasticsearch/elasticsearch-8.14.1.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit systemd tmpfiles + +DESCRIPTION="Free and Open, Distributed, RESTful Search Engine" +HOMEPAGE="https://www.elastic.co/elasticsearch/" +SRC_URI="https://artifacts.elastic.co/downloads/${PN}/${P}-linux-x86_64.tar.gz" + +LICENSE="Apache-2.0 BSD-2 Elastic-2.0 LGPL-3 MIT public-domain" +SLOT="0/8" +KEYWORDS="~amd64" + +DEPEND="acct-group/elasticsearch + acct-user/elasticsearch" +RDEPEND="acct-group/elasticsearch + acct-user/elasticsearch + sys-libs/zlib + virtual/jre:17" + +QA_PREBUILT="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*" +QA_PRESTRIPPED="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*" + +PATCHES=( + "${FILESDIR}/${PN}-env.patch" +) + +src_prepare() { + default + + rm -rf jdk || die + sed -i -e "s:logs/:${EPREFIX}/var/log/${PN}/:g" config/jvm.options || die "Unable to set Elasticsearch log location" + # elasticsearch-env sets the envvar for the config location if not specified elsewhere; + # certain utilities try and source this. Although we patch ES_JAVA_HOME for Gentoo slightly earlier, + # it's easier to respect EPREFIX for the config location using sed. + sed -i "s:ES_PATH_CONF=\"\$ES_HOME\"/config:ES_PATH_CONF=\"${EPREFIX}/etc/${PN}\":" bin/elasticsearch-env \ + || die "Unable to set Elasticsearch config directory" + rm LICENSE.txt NOTICE.txt || die + rmdir logs || die +} + +src_install() { + keepdir /etc/${PN} + keepdir /etc/${PN}/scripts + + insinto /etc/${PN} + doins -r config/. + rm -r config || die + + fowners -R root:${PN} /etc/${PN} + fperms -R 2750 /etc/${PN} + + insinto /usr/share/${PN} + doins -r . + + keepdir /usr/share/${PN}/plugins + + exeinto /usr/share/${PN}/bin + doexe "${FILESDIR}"/elasticsearch-systemd-pre-exec + + fperms -R +x /usr/share/${PN}/bin + fperms -R +x /usr/share/${PN}/modules/x-pack-ml/platform/linux-x86_64/bin + + keepdir /var/{lib,log}/${PN} + fowners ${PN}:${PN} /var/{lib,log}/${PN} + fperms 0750 /var/{lib,log}/${PN} + + insinto /etc/sysctl.d + newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf + + newconfd "${FILESDIR}/${PN}.conf.4" ${PN} + newinitd "${FILESDIR}/${PN}.init.8" ${PN} + + systemd_install_serviced "${FILESDIR}/${PN}.service.conf" + systemd_newunit "${FILESDIR}"/${PN}.service.4 ${PN}.service + + newtmpfiles "${FILESDIR}"/${PN}.tmpfiles.d ${PN}.conf +} + +pkg_postinst() { + # Elasticsearch will choke on our keep file and dodir will not preserve the empty dir + local KEEPFILE + KEEPFILE=$(find "${EROOT}/usr/share/${PN}/plugins/" -type f -name '.keep*') + rm "${KEEPFILE}" || die + tmpfiles_process /usr/lib/tmpfiles.d/${PN}.conf + if ! systemd_is_booted ; then + elog "You may create multiple instances of ${PN} by" + elog "symlinking the init script:" + elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance" + elog + elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts" + elog "from /etc/${PN} into the configuration directory of the instance:" + elog "/etc/${PN}/instance" + elog + fi + ewarn "Please make sure you have proper permissions on /etc/${PN}" + ewarn "prior to keystore generation or you may experience startup failures." + ewarn "chown root:${PN} /etc/${PN} && chmod 2750 /etc/${PN}" + ewarn "chown root:${PN} /etc/${PN}/${PN}.keystore && chmod 0660 /etc/${PN}/${PN}.keystore" +} From fb989a6bfbc48934fae9403776a7846cd849a620 Mon Sep 17 00:00:00 2001 From: Matt Jolly Date: Mon, 24 Jun 2024 16:24:56 +1000 Subject: [PATCH 2/4] app-misc/elasticsearch: drop 8.12.1, 8.12.2 Signed-off-by: Matt Jolly --- app-misc/elasticsearch/Manifest | 2 - .../elasticsearch/elasticsearch-8.12.1.ebuild | 102 ------------------ .../elasticsearch/elasticsearch-8.12.2.ebuild | 102 ------------------ 3 files changed, 206 deletions(-) delete mode 100644 app-misc/elasticsearch/elasticsearch-8.12.1.ebuild delete mode 100644 app-misc/elasticsearch/elasticsearch-8.12.2.ebuild diff --git a/app-misc/elasticsearch/Manifest b/app-misc/elasticsearch/Manifest index f38f1213328f1..c86f289b72e41 100644 --- a/app-misc/elasticsearch/Manifest +++ b/app-misc/elasticsearch/Manifest @@ -1,4 +1,2 @@ DIST elasticsearch-7.17.16-no-jdk-linux-x86_64.tar.gz 168795535 BLAKE2B 642ae6f07db953e7fa783dcd63c6dcebab61e85ea600bede09e9596bf9dee2d71c43e5c28b80bd4c091d792ed3a95d10cc75ffb1074ad4b3cfceb081ed25027f SHA512 3755373f5068a08e4619b4e922bc2d3d97d41791dbf5aa84564574fc84abee9c567b16095cf0e11d48910627e3c183ff1193bf2d5ade59891bea2b3f994aa7df -DIST elasticsearch-8.12.1-linux-x86_64.tar.gz 621183584 BLAKE2B e168cf9549a22c2c8b049638f7039b5f43f6384da0a10627fbe0671a0a5a99f8a4e40f7c914d820d94dd42b2d328f3e20425eca3363478526d5faf07f9c5d782 SHA512 dcaea1ddb499724be40da936f6b7309e66458f0ac2852c63109cc8bd8fb6c88dbea0d8c9ce451c2fb0441a25fc137f5dc2894b7bea0242e0067bf29ffad48f54 -DIST elasticsearch-8.12.2-linux-x86_64.tar.gz 621185674 BLAKE2B 9e4d62bcbc0fcc6d545572e5c076af24e5363a6c5aabd87e9836005863013f08445c64877d78c5c5c71aed481c5dd2bb766a8b13eab5fe3398ab3624ab8a14ef SHA512 d4791e2e30221d5e6e0284089ba3347c0232c49173caccc64b6548aafac94066af1ba05c3f2f4635bc016004195371bb79864d331996f8cea76fc290976b4638 DIST elasticsearch-8.14.1-linux-x86_64.tar.gz 588486610 BLAKE2B 6005509b9cef7a07e455a394bb41fd0ae970b7249e4b328d55a923f8b529779ceb350580ccd6f8be82bdbc64de6ec1103f28e34b4836f4f2c8ef767c1276338f SHA512 31ed9fe9e28bb778c1042df8dc4183b3044e250d5ee5d760c4e5f1fe5c82e52e2882ed02824c454a64fefbaa10f9212bde9b6b4faa278e2cb5dc64b57960da00 diff --git a/app-misc/elasticsearch/elasticsearch-8.12.1.ebuild b/app-misc/elasticsearch/elasticsearch-8.12.1.ebuild deleted file mode 100644 index 8498fcbccc2a8..0000000000000 --- a/app-misc/elasticsearch/elasticsearch-8.12.1.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit systemd tmpfiles - -DESCRIPTION="Free and Open, Distributed, RESTful Search Engine" -HOMEPAGE="https://www.elastic.co/elasticsearch/" -SRC_URI="https://artifacts.elastic.co/downloads/${PN}/${P}-linux-x86_64.tar.gz" - -LICENSE="Apache-2.0 BSD-2 Elastic-2.0 LGPL-3 MIT public-domain" -SLOT="0/8" -KEYWORDS="~amd64" - -DEPEND="acct-group/elasticsearch - acct-user/elasticsearch" -RDEPEND="acct-group/elasticsearch - acct-user/elasticsearch - sys-libs/zlib - virtual/jre:17" - -QA_PREBUILT="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*" -QA_PRESTRIPPED="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*" - -PATCHES=( - "${FILESDIR}/${PN}-env.patch" -) - -src_prepare() { - default - - rm -rf jdk || die - sed -i -e "s:logs/:${EPREFIX}/var/log/${PN}/:g" config/jvm.options || die "Unable to set Elasticsearch log location" - # elasticsearch-env sets the envvar for the config location if not specified elsewhere; - # certain utilities try and source this. Although we patch ES_JAVA_HOME for Gentoo slightly earlier, - # it's easier to respect EPREFIX for the config location using sed. - sed -i "s:ES_PATH_CONF=\"\$ES_HOME\"/config:ES_PATH_CONF=\"${EPREFIX}/etc/${PN}\":" bin/elasticsearch-env \ - || die "Unable to set Elasticsearch config directory" - rm LICENSE.txt NOTICE.txt || die - rmdir logs || die -} - -src_install() { - keepdir /etc/${PN} - keepdir /etc/${PN}/scripts - - insinto /etc/${PN} - doins -r config/. - rm -r config || die - - fowners -R root:${PN} /etc/${PN} - fperms -R 2750 /etc/${PN} - - insinto /usr/share/${PN} - doins -r . - - keepdir /usr/share/${PN}/plugins - - exeinto /usr/share/${PN}/bin - doexe "${FILESDIR}"/elasticsearch-systemd-pre-exec - - fperms -R +x /usr/share/${PN}/bin - fperms -R +x /usr/share/${PN}/modules/x-pack-ml/platform/linux-x86_64/bin - - keepdir /var/{lib,log}/${PN} - fowners ${PN}:${PN} /var/{lib,log}/${PN} - fperms 0750 /var/{lib,log}/${PN} - - insinto /etc/sysctl.d - newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf - - newconfd "${FILESDIR}/${PN}.conf.4" ${PN} - newinitd "${FILESDIR}/${PN}.init.8" ${PN} - - systemd_install_serviced "${FILESDIR}/${PN}.service.conf" - systemd_newunit "${FILESDIR}"/${PN}.service.4 ${PN}.service - - newtmpfiles "${FILESDIR}"/${PN}.tmpfiles.d ${PN}.conf -} - -pkg_postinst() { - # Elasticsearch will choke on our keep file and dodir will not preserve the empty dir - local KEEPFILE - KEEPFILE=$(find "${EROOT}/usr/share/${PN}/plugins/" -type f -name '.keep*') - rm "${KEEPFILE}" || die - tmpfiles_process /usr/lib/tmpfiles.d/${PN}.conf - if ! systemd_is_booted ; then - elog "You may create multiple instances of ${PN} by" - elog "symlinking the init script:" - elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance" - elog - elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts" - elog "from /etc/${PN} into the configuration directory of the instance:" - elog "/etc/${PN}/instance" - elog - fi - ewarn "Please make sure you have proper permissions on /etc/${PN}" - ewarn "prior to keystore generation or you may experience startup failures." - ewarn "chown root:${PN} /etc/${PN} && chmod 2750 /etc/${PN}" - ewarn "chown root:${PN} /etc/${PN}/${PN}.keystore && chmod 0660 /etc/${PN}/${PN}.keystore" -} diff --git a/app-misc/elasticsearch/elasticsearch-8.12.2.ebuild b/app-misc/elasticsearch/elasticsearch-8.12.2.ebuild deleted file mode 100644 index 8498fcbccc2a8..0000000000000 --- a/app-misc/elasticsearch/elasticsearch-8.12.2.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit systemd tmpfiles - -DESCRIPTION="Free and Open, Distributed, RESTful Search Engine" -HOMEPAGE="https://www.elastic.co/elasticsearch/" -SRC_URI="https://artifacts.elastic.co/downloads/${PN}/${P}-linux-x86_64.tar.gz" - -LICENSE="Apache-2.0 BSD-2 Elastic-2.0 LGPL-3 MIT public-domain" -SLOT="0/8" -KEYWORDS="~amd64" - -DEPEND="acct-group/elasticsearch - acct-user/elasticsearch" -RDEPEND="acct-group/elasticsearch - acct-user/elasticsearch - sys-libs/zlib - virtual/jre:17" - -QA_PREBUILT="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*" -QA_PRESTRIPPED="usr/share/elasticsearch/modules/x-pack-ml/platform/linux-x86_64/\(bin\|lib\)/.*" - -PATCHES=( - "${FILESDIR}/${PN}-env.patch" -) - -src_prepare() { - default - - rm -rf jdk || die - sed -i -e "s:logs/:${EPREFIX}/var/log/${PN}/:g" config/jvm.options || die "Unable to set Elasticsearch log location" - # elasticsearch-env sets the envvar for the config location if not specified elsewhere; - # certain utilities try and source this. Although we patch ES_JAVA_HOME for Gentoo slightly earlier, - # it's easier to respect EPREFIX for the config location using sed. - sed -i "s:ES_PATH_CONF=\"\$ES_HOME\"/config:ES_PATH_CONF=\"${EPREFIX}/etc/${PN}\":" bin/elasticsearch-env \ - || die "Unable to set Elasticsearch config directory" - rm LICENSE.txt NOTICE.txt || die - rmdir logs || die -} - -src_install() { - keepdir /etc/${PN} - keepdir /etc/${PN}/scripts - - insinto /etc/${PN} - doins -r config/. - rm -r config || die - - fowners -R root:${PN} /etc/${PN} - fperms -R 2750 /etc/${PN} - - insinto /usr/share/${PN} - doins -r . - - keepdir /usr/share/${PN}/plugins - - exeinto /usr/share/${PN}/bin - doexe "${FILESDIR}"/elasticsearch-systemd-pre-exec - - fperms -R +x /usr/share/${PN}/bin - fperms -R +x /usr/share/${PN}/modules/x-pack-ml/platform/linux-x86_64/bin - - keepdir /var/{lib,log}/${PN} - fowners ${PN}:${PN} /var/{lib,log}/${PN} - fperms 0750 /var/{lib,log}/${PN} - - insinto /etc/sysctl.d - newins "${FILESDIR}/${PN}.sysctl.d" ${PN}.conf - - newconfd "${FILESDIR}/${PN}.conf.4" ${PN} - newinitd "${FILESDIR}/${PN}.init.8" ${PN} - - systemd_install_serviced "${FILESDIR}/${PN}.service.conf" - systemd_newunit "${FILESDIR}"/${PN}.service.4 ${PN}.service - - newtmpfiles "${FILESDIR}"/${PN}.tmpfiles.d ${PN}.conf -} - -pkg_postinst() { - # Elasticsearch will choke on our keep file and dodir will not preserve the empty dir - local KEEPFILE - KEEPFILE=$(find "${EROOT}/usr/share/${PN}/plugins/" -type f -name '.keep*') - rm "${KEEPFILE}" || die - tmpfiles_process /usr/lib/tmpfiles.d/${PN}.conf - if ! systemd_is_booted ; then - elog "You may create multiple instances of ${PN} by" - elog "symlinking the init script:" - elog "ln -sf /etc/init.d/${PN} /etc/init.d/${PN}.instance" - elog - elog "Please make sure you put elasticsearch.yml, log4j2.properties and scripts" - elog "from /etc/${PN} into the configuration directory of the instance:" - elog "/etc/${PN}/instance" - elog - fi - ewarn "Please make sure you have proper permissions on /etc/${PN}" - ewarn "prior to keystore generation or you may experience startup failures." - ewarn "chown root:${PN} /etc/${PN} && chmod 2750 /etc/${PN}" - ewarn "chown root:${PN} /etc/${PN}/${PN}.keystore && chmod 0660 /etc/${PN}/${PN}.keystore" -} From 53ba211d4ebbdfb47e6f641df1fadd63cb366ece Mon Sep 17 00:00:00 2001 From: Henning Schild Date: Sun, 23 Jun 2024 20:29:11 +0200 Subject: [PATCH 3/4] www-apps/rutorrent: bump version to 4.3.5 Signed-off-by: Henning Schild Signed-off-by: Viorel Munteanu --- www-apps/rutorrent/Manifest | 1 + www-apps/rutorrent/rutorrent-4.3.5.ebuild | 71 +++++++++++++++++++++++ 2 files changed, 72 insertions(+) create mode 100644 www-apps/rutorrent/rutorrent-4.3.5.ebuild diff --git a/www-apps/rutorrent/Manifest b/www-apps/rutorrent/Manifest index 84b5c164ad9f2..d38eb19c09770 100644 --- a/www-apps/rutorrent/Manifest +++ b/www-apps/rutorrent/Manifest @@ -1,2 +1,3 @@ DIST rutorrent-4.3.3.tar.gz 2377736 BLAKE2B ae07dce8c13268403a47ef20a3920228028578991b7325b808885e4576e4883859eb49dff6e6d0d0750ed1b58e900c6b8f4c646018b1b16ca5d0d919e3011971 SHA512 0301f512f8adb86a332dacac200c83cf49f0d532eb5e5206b137587a219914591932a801e9c711af60b1e91a430ed09ec99157c2a558cdf80828828e70eb0cb7 DIST rutorrent-4.3.4.tar.gz 2377757 BLAKE2B 476026f255d22bf39c94284556403e7cc3ec9ed6dc1ed04f25ac6c82c14e7be32c17dca4e542cc8354673dbf572d1b1ebf0d6af3f013b16fae07cdf31aa4a01b SHA512 b141e58584d71ec42dc6c81b19036f9927afe16c79b74a6d881ad35946fe9e1b5c9f5bdbe99b1619396b59a08501e9123e9171da50e337cea8ad05daa7a76795 +DIST rutorrent-4.3.5.tar.gz 2377763 BLAKE2B 7424a45d29a7257b88a1c54b225bc287e9df4be796eb72cf112432ed06ed4fe02465815746a193f3b4cc6f47fa0929dae98166d599100ce2faf7cb563a399b4e SHA512 04694aaea5000f8dd60cc806f6352735aa4445434198aa9ab4a34c1a2070ef1e087856704f1ccddcaa8d03376da8e489dbb1ee8387f79fe9a00de8266e799d27 diff --git a/www-apps/rutorrent/rutorrent-4.3.5.ebuild b/www-apps/rutorrent/rutorrent-4.3.5.ebuild new file mode 100644 index 0000000000000..97453fadf5c85 --- /dev/null +++ b/www-apps/rutorrent/rutorrent-4.3.5.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit webapp optfeature + +DESCRIPTION="ruTorrent is a front-end for the popular Bittorrent client rTorrent" +HOMEPAGE="https://github.com/Novik/ruTorrent" +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/Novik/ruTorrent.git" +else + SRC_URI="https://github.com/Novik/ruTorrent/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~ppc ~x86" + S="${WORKDIR}/ruTorrent-${PV}" +fi + +LICENSE="GPL-2+ MIT" + +RDEPEND=" + dev-lang/php[xml,gd] + virtual/httpd-php +" + +need_httpd_cgi + +pkg_setup() { + webapp_pkg_setup +} + +src_install() { + webapp_src_preinst + + rm -r .github || die + find . \( -name .gitignore -o -name .gitmodules \) -type f -delete || die + if [[ ${PV} == 9999 ]]; then + rm -r .git .gitattributes || die + fi + + insinto "${MY_HTDOCSDIR}" + doins -r . + + # can not use fperms beacuse of globbing + chmod +x "${ED}${MY_HTDOCSDIR}"/plugins/*/*.sh \ + "${ED}${MY_HTDOCSDIR}"/php/test.sh || die "chmod failed" + + keepdir "${MY_HTDOCSDIR}"/conf/users + keepdir "${MY_HTDOCSDIR}"/share/settings + keepdir "${MY_HTDOCSDIR}"/share/torrents + keepdir "${MY_HTDOCSDIR}"/share/users + + webapp_serverowned -R "${MY_HTDOCSDIR}"/conf + webapp_serverowned -R "${MY_HTDOCSDIR}"/share + + webapp_configfile "${MY_HTDOCSDIR}"/conf/.htaccess + webapp_configfile "${MY_HTDOCSDIR}"/conf/config.php + webapp_configfile "${MY_HTDOCSDIR}"/conf/access.ini + webapp_configfile "${MY_HTDOCSDIR}"/conf/plugins.ini + webapp_configfile "${MY_HTDOCSDIR}"/share/.htaccess + + webapp_src_install +} + +pkg_postinst() { + webapp_pkg_postinst + + optfeature "Show audio file spectogram" media-sound/sox + optfeature "Display media file information" media-video/mediainfo + optfeature "Scrape Cloudflare based sites" dev-python/cloudscraper +} From 043ddb29198a94dbfb9c886e2d42f1d138f511f6 Mon Sep 17 00:00:00 2001 From: Henning Schild Date: Sun, 23 Jun 2024 20:30:19 +0200 Subject: [PATCH 4/4] www-apps/rutorrent: drop old Signed-off-by: Henning Schild Closes: https://github.com/gentoo/gentoo/pull/37261 Signed-off-by: Viorel Munteanu --- www-apps/rutorrent/Manifest | 1 - www-apps/rutorrent/rutorrent-4.3.3.ebuild | 71 ----------------------- 2 files changed, 72 deletions(-) delete mode 100644 www-apps/rutorrent/rutorrent-4.3.3.ebuild diff --git a/www-apps/rutorrent/Manifest b/www-apps/rutorrent/Manifest index d38eb19c09770..6530e80f90551 100644 --- a/www-apps/rutorrent/Manifest +++ b/www-apps/rutorrent/Manifest @@ -1,3 +1,2 @@ -DIST rutorrent-4.3.3.tar.gz 2377736 BLAKE2B ae07dce8c13268403a47ef20a3920228028578991b7325b808885e4576e4883859eb49dff6e6d0d0750ed1b58e900c6b8f4c646018b1b16ca5d0d919e3011971 SHA512 0301f512f8adb86a332dacac200c83cf49f0d532eb5e5206b137587a219914591932a801e9c711af60b1e91a430ed09ec99157c2a558cdf80828828e70eb0cb7 DIST rutorrent-4.3.4.tar.gz 2377757 BLAKE2B 476026f255d22bf39c94284556403e7cc3ec9ed6dc1ed04f25ac6c82c14e7be32c17dca4e542cc8354673dbf572d1b1ebf0d6af3f013b16fae07cdf31aa4a01b SHA512 b141e58584d71ec42dc6c81b19036f9927afe16c79b74a6d881ad35946fe9e1b5c9f5bdbe99b1619396b59a08501e9123e9171da50e337cea8ad05daa7a76795 DIST rutorrent-4.3.5.tar.gz 2377763 BLAKE2B 7424a45d29a7257b88a1c54b225bc287e9df4be796eb72cf112432ed06ed4fe02465815746a193f3b4cc6f47fa0929dae98166d599100ce2faf7cb563a399b4e SHA512 04694aaea5000f8dd60cc806f6352735aa4445434198aa9ab4a34c1a2070ef1e087856704f1ccddcaa8d03376da8e489dbb1ee8387f79fe9a00de8266e799d27 diff --git a/www-apps/rutorrent/rutorrent-4.3.3.ebuild b/www-apps/rutorrent/rutorrent-4.3.3.ebuild deleted file mode 100644 index 97453fadf5c85..0000000000000 --- a/www-apps/rutorrent/rutorrent-4.3.3.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit webapp optfeature - -DESCRIPTION="ruTorrent is a front-end for the popular Bittorrent client rTorrent" -HOMEPAGE="https://github.com/Novik/ruTorrent" -if [[ ${PV} == 9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/Novik/ruTorrent.git" -else - SRC_URI="https://github.com/Novik/ruTorrent/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~ppc ~x86" - S="${WORKDIR}/ruTorrent-${PV}" -fi - -LICENSE="GPL-2+ MIT" - -RDEPEND=" - dev-lang/php[xml,gd] - virtual/httpd-php -" - -need_httpd_cgi - -pkg_setup() { - webapp_pkg_setup -} - -src_install() { - webapp_src_preinst - - rm -r .github || die - find . \( -name .gitignore -o -name .gitmodules \) -type f -delete || die - if [[ ${PV} == 9999 ]]; then - rm -r .git .gitattributes || die - fi - - insinto "${MY_HTDOCSDIR}" - doins -r . - - # can not use fperms beacuse of globbing - chmod +x "${ED}${MY_HTDOCSDIR}"/plugins/*/*.sh \ - "${ED}${MY_HTDOCSDIR}"/php/test.sh || die "chmod failed" - - keepdir "${MY_HTDOCSDIR}"/conf/users - keepdir "${MY_HTDOCSDIR}"/share/settings - keepdir "${MY_HTDOCSDIR}"/share/torrents - keepdir "${MY_HTDOCSDIR}"/share/users - - webapp_serverowned -R "${MY_HTDOCSDIR}"/conf - webapp_serverowned -R "${MY_HTDOCSDIR}"/share - - webapp_configfile "${MY_HTDOCSDIR}"/conf/.htaccess - webapp_configfile "${MY_HTDOCSDIR}"/conf/config.php - webapp_configfile "${MY_HTDOCSDIR}"/conf/access.ini - webapp_configfile "${MY_HTDOCSDIR}"/conf/plugins.ini - webapp_configfile "${MY_HTDOCSDIR}"/share/.htaccess - - webapp_src_install -} - -pkg_postinst() { - webapp_pkg_postinst - - optfeature "Show audio file spectogram" media-sound/sox - optfeature "Display media file information" media-video/mediainfo - optfeature "Scrape Cloudflare based sites" dev-python/cloudscraper -}