[gentoo-commits] repo/proj/guru:dev commit in: net-wireless/bluetuith/
commit: e663027fc2187fce13e68b94977fba7301c4c2de Author: Rahil Bhimjiani gmail com> AuthorDate: Thu Oct 26 00:58:04 2023 + Commit: Rahil Bhimjiani gmail com> CommitDate: Thu Oct 26 02:44:45 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e663027f net-wireless/bluetuith: add 0.1.8 & update live support arm64 Signed-off-by: Rahil Bhimjiani gmail.com> net-wireless/bluetuith/Manifest | 3 +++ .../{bluetuith-.ebuild => bluetuith-0.1.8.ebuild} | 13 - net-wireless/bluetuith/bluetuith-.ebuild| 13 - 3 files changed, 19 insertions(+), 10 deletions(-) diff --git a/net-wireless/bluetuith/Manifest b/net-wireless/bluetuith/Manifest index b3c2d3a0a7..efd2ab467a 100644 --- a/net-wireless/bluetuith/Manifest +++ b/net-wireless/bluetuith/Manifest @@ -1,3 +1,6 @@ DIST bluetuith-0.1.7-deps.tar.xz 23522828 BLAKE2B e154a25c1cb87eea8c8ecae262ce3518d2736280d6f74ea38cce95016dd70f63d023310d80418511c2989f66bff84873838cfef07437cf9986c9ed4d8eaa79a6 SHA512 c276d28954f53de68d8664275976d448ced101aa5480e71afc4d96d2b84b84907eb0b1351405c051a71d0aeb39e78b2c20b6a37222ae506270dd44f6d298d6c4 DIST bluetuith-0.1.7-docs.tar.gz 2347918 BLAKE2B 17fd92feb5ad39fca00ae47e704b71a3ac421dbc5abdedbb9079775ed4f10a294c7899564b2101ac4ac73b7c8f8128dd1382abb01276c3258d4d4ca99e51a586 SHA512 7a5124e62383470e7f82d66fb1632c19e3e6085b4cd9bbe38088004a21743e9b65ae2bb5a1a837f15e2ca00d6ea3304311eeb0ecd7acf0e62eac1ccfc30c703b DIST bluetuith-0.1.7.tar.gz 1481408 BLAKE2B 3973aa911fa845416f9d7d2085bddd7e94d7a8f377dfc9214c8fe943be3be2dae3e5ae92e30eb164f3fa96f4cbe9d6299f86c4b3adaef1bd00ae53554c5d9bf5 SHA512 431fc89073562dd0e163759d7a97c38d378e51276c0233f26d8ba455fe346fcfc2c4e9fa102500ff1cfa0ba2b69adb820fd4b11bce2739ce65cfe296cd936a3b +DIST bluetuith-0.1.8-deps.tar.xz 23536984 BLAKE2B 132e6fbd55cac55da2a454e0b97dc95ed17b99f6ca1d08c1c1ad173d196214430845d7cb036f14639f3c67342b3e4de4f13bcabc1577b6367214a146483cb0c9 SHA512 ec1a7d4e06f7e02c24eb2e946ad0d08006d6a6706762df4caa0152473f00f5cac90a9a9db7a5b47d50c6fb6d3c447c82895611b8d1a10116e85d429bb7b8a609 +DIST bluetuith-0.1.8-docs.tar.gz 2382735 BLAKE2B a1cf408cda2b115efdac1a1ab650d2564df5ac4b1f9e037a1c43bbe898b2e6b452b06c4dc634d3c1b124bd5c8e543d6a128a8e35eae89d7f87fb5cac929128f2 SHA512 a8b25e68936dbab717232d159669933d8055182193c4427d1a28fb0ed31a22cd1a80df8ea04824d2d9c95359f859cbd4c5bc8fac65ecac21c7ee9b5e6972d51e +DIST bluetuith-0.1.8.tar.gz 1484790 BLAKE2B 9061502606aba7a23aa0ccfe812864f283c380d0d47dee38f54bcd0f360ce5b4aade5483bd884eb062d03de8f4d8249c7c362066adfcd495bd371f684ae06f14 SHA512 0905af9fc9abdad38150961b4de09d5c78ac0577ba5acc20e7ab5f0578d1c837ec5dc4ede099d36132f626e0fab2a6420a275f883e2be7eb2ac61ebea56d2a13 diff --git a/net-wireless/bluetuith/bluetuith-.ebuild b/net-wireless/bluetuith/bluetuith-0.1.8.ebuild similarity index 84% copy from net-wireless/bluetuith/bluetuith-.ebuild copy to net-wireless/bluetuith/bluetuith-0.1.8.ebuild index fc51ac60f0..8163bcef19 100644 --- a/net-wireless/bluetuith/bluetuith-.ebuild +++ b/net-wireless/bluetuith/bluetuith-0.1.8.ebuild @@ -8,19 +8,22 @@ inherit go-module DESCRIPTION="A TUI bluetooth manager for Linux written in Go" HOMEPAGE="https://darkhz.github.io/bluetuith; -GIT_DOCUMENTATION_COMMIT="9c215bb1a64bdbf0f88060db4de6701215799033" +GIT_DOCUMENTATION_COMMIT="3b2ebf5a6bc8a9ed2dc48e1fa7f0df5851ddb84b" -if [[ ${PV} == ** ]]; then +if [[ ${PV} == * ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/darkhz/bluetuith.git; else SRC_URI="https://github.com/darkhz/bluetuith/archive/v${PV}.tar.gz -> ${P}.tar.gz" SRC_URI+=" https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz" SRC_URI+=" https://github.com/darkhz/bluetuith/archive/${GIT_DOCUMENTATION_COMMIT}.tar.gz -> ${P}-docs.tar.gz" - KEYWORDS="~amd64" + KEYWORDS="~amd64 ~arm64" fi -LICENSE="Apache-2.0 BSD-2 BSD MIT" +# main +LICENSE="Apache-2.0" +# deps +LICENSE+=" BSD-2 BSD MIT" SLOT="0" IUSE="doc" @@ -30,7 +33,7 @@ RDEPEND=" " src_unpack() { - if [[ ${PV} == ** ]]; then + if [[ ${PV} == * ]]; then # unpack code git-r3_src_unpack diff --git a/net-wireless/bluetuith/bluetuith-.ebuild b/net-wireless/bluetuith/bluetuith-.ebuild index fc51ac60f0..8163bcef19 100644 --- a/net-wireless/bluetuith/bluetuith-.ebuild +++ b/net-wireless/bluetuith/bluetuith-.ebuild @@ -8,19 +8,22 @@ inherit go-module DESCRIPTION="A TUI bluetooth manager for Linux written in Go" HOMEPAGE="https://darkhz.github.io/bluetuith; -GIT_DOCUMENTATION_COMMIT="9c215bb1a64bdbf0f88060db4de6701215799033"
[gentoo-commits] repo/proj/guru:dev commit in: net-wireless/bluetuith/
commit: d94921370e1d85fa510b2e0fd4e9fd064c9eb736 Author: Rahil Bhimjiani gmail com> AuthorDate: Mon Nov 6 02:01:59 2023 + Commit: Rahil Bhimjiani gmail com> CommitDate: Mon Nov 6 02:01:59 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d9492137 net-wireless/bluetuith: add 0.1.9 & update live 1. Save docs tarball with commit in name instead of version Signed-off-by: Rahil Bhimjiani gmail.com> net-wireless/bluetuith/Manifest| 3 +++ .../bluetuith/{bluetuith-.ebuild => bluetuith-0.1.9.ebuild}| 2 +- net-wireless/bluetuith/bluetuith-.ebuild | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/net-wireless/bluetuith/Manifest b/net-wireless/bluetuith/Manifest index efd2ab467a..4d3e67fab8 100644 --- a/net-wireless/bluetuith/Manifest +++ b/net-wireless/bluetuith/Manifest @@ -4,3 +4,6 @@ DIST bluetuith-0.1.7.tar.gz 1481408 BLAKE2B 3973aa911fa845416f9d7d2085bddd7e94d7 DIST bluetuith-0.1.8-deps.tar.xz 23536984 BLAKE2B 132e6fbd55cac55da2a454e0b97dc95ed17b99f6ca1d08c1c1ad173d196214430845d7cb036f14639f3c67342b3e4de4f13bcabc1577b6367214a146483cb0c9 SHA512 ec1a7d4e06f7e02c24eb2e946ad0d08006d6a6706762df4caa0152473f00f5cac90a9a9db7a5b47d50c6fb6d3c447c82895611b8d1a10116e85d429bb7b8a609 DIST bluetuith-0.1.8-docs.tar.gz 2382735 BLAKE2B a1cf408cda2b115efdac1a1ab650d2564df5ac4b1f9e037a1c43bbe898b2e6b452b06c4dc634d3c1b124bd5c8e543d6a128a8e35eae89d7f87fb5cac929128f2 SHA512 a8b25e68936dbab717232d159669933d8055182193c4427d1a28fb0ed31a22cd1a80df8ea04824d2d9c95359f859cbd4c5bc8fac65ecac21c7ee9b5e6972d51e DIST bluetuith-0.1.8.tar.gz 1484790 BLAKE2B 9061502606aba7a23aa0ccfe812864f283c380d0d47dee38f54bcd0f360ce5b4aade5483bd884eb062d03de8f4d8249c7c362066adfcd495bd371f684ae06f14 SHA512 0905af9fc9abdad38150961b4de09d5c78ac0577ba5acc20e7ab5f0578d1c837ec5dc4ede099d36132f626e0fab2a6420a275f883e2be7eb2ac61ebea56d2a13 +DIST bluetuith-0.1.9-deps.tar.xz 24086352 BLAKE2B bbb570bf9348474015db1723575ea7669b806f52a7360ca5ce3fc6b57243f35143e94022042b21e2584a1f23d8f2c3627a939d6dd954e28ed791d1560a208ee0 SHA512 44f9c8399cc1c1fb0d061d796d43d3e54dedabf0a85ed6ac868335fdccf6f926ae3522258440a2ccba896fa7bcd442b53f1288bee33d0c5ef179a7f1c2add7eb +DIST bluetuith-0.1.9.tar.gz 1482931 BLAKE2B dc6ca796c3b2cdad16e0a9788a598e305829394ce2267c6c4b8a5ab9371ac8a4cb084bf5de1731029616f576cc92eb43e2fddaa636614fb107cf3b75701f23b8 SHA512 2a6632ee73509e71ca446811fc09423e805f0f16a24e47bc96fbcd1b28ada02f25a12259519008ad4e06c78ca30bcae4066f3ed7c2dac536ebcf11e039a9ba5c +DIST bluetuith-docs-3b2ebf5a6bc8a9ed2dc48e1fa7f0df5851ddb84b.tar.gz 2382735 BLAKE2B a1cf408cda2b115efdac1a1ab650d2564df5ac4b1f9e037a1c43bbe898b2e6b452b06c4dc634d3c1b124bd5c8e543d6a128a8e35eae89d7f87fb5cac929128f2 SHA512 a8b25e68936dbab717232d159669933d8055182193c4427d1a28fb0ed31a22cd1a80df8ea04824d2d9c95359f859cbd4c5bc8fac65ecac21c7ee9b5e6972d51e diff --git a/net-wireless/bluetuith/bluetuith-.ebuild b/net-wireless/bluetuith/bluetuith-0.1.9.ebuild similarity index 94% copy from net-wireless/bluetuith/bluetuith-.ebuild copy to net-wireless/bluetuith/bluetuith-0.1.9.ebuild index 8163bcef19..9c46f9a065 100644 --- a/net-wireless/bluetuith/bluetuith-.ebuild +++ b/net-wireless/bluetuith/bluetuith-0.1.9.ebuild @@ -16,7 +16,7 @@ if [[ ${PV} == * ]]; then else SRC_URI="https://github.com/darkhz/bluetuith/archive/v${PV}.tar.gz -> ${P}.tar.gz" SRC_URI+=" https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz" - SRC_URI+=" https://github.com/darkhz/bluetuith/archive/${GIT_DOCUMENTATION_COMMIT}.tar.gz -> ${P}-docs.tar.gz" + SRC_URI+=" https://github.com/darkhz/bluetuith/archive/${GIT_DOCUMENTATION_COMMIT}.tar.gz -> ${PN}-docs-${GIT_DOCUMENTATION_COMMIT}.tar.gz" KEYWORDS="~amd64 ~arm64" fi diff --git a/net-wireless/bluetuith/bluetuith-.ebuild b/net-wireless/bluetuith/bluetuith-.ebuild index 8163bcef19..9c46f9a065 100644 --- a/net-wireless/bluetuith/bluetuith-.ebuild +++ b/net-wireless/bluetuith/bluetuith-.ebuild @@ -16,7 +16,7 @@ if [[ ${PV} == * ]]; then else SRC_URI="https://github.com/darkhz/bluetuith/archive/v${PV}.tar.gz -> ${P}.tar.gz" SRC_URI+=" https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz" - SRC_URI+=" https://github.com/darkhz/bluetuith/archive/${GIT_DOCUMENTATION_COMMIT}.tar.gz -> ${P}-docs.tar.gz" + SRC_URI+=" https://github.com/darkhz/bluetuith/archive/${GIT_DOCUMENTATION_COMMIT}.tar.gz -> ${PN}-docs-${GIT_DOCUMENTATION_COMMIT}.tar.gz" KEYWORDS="~amd64 ~arm64" fi
[gentoo-commits] repo/proj/guru:dev commit in: net-wireless/bluetuith/
commit: 5276f0bf01e43f55b2c8fdc192fb04f89aa53b70 Author: Rahil Bhimjiani gmail com> AuthorDate: Mon Nov 6 03:07:30 2023 + Commit: Rahil Bhimjiani gmail com> CommitDate: Mon Nov 6 03:07:30 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5276f0bf net-wireless/bluetuith: fixup d94921370e1d85fa510b2e0fd4e9fd064c9e Fix version info not showing on running bluetuith --version Signed-off-by: Rahil Bhimjiani gmail.com> net-wireless/bluetuith/bluetuith-0.1.9.ebuild | 7 ++- net-wireless/bluetuith/bluetuith-.ebuild | 7 ++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/net-wireless/bluetuith/bluetuith-0.1.9.ebuild b/net-wireless/bluetuith/bluetuith-0.1.9.ebuild index 9c46f9a065..93dc6512a3 100644 --- a/net-wireless/bluetuith/bluetuith-0.1.9.ebuild +++ b/net-wireless/bluetuith/bluetuith-0.1.9.ebuild @@ -8,6 +8,9 @@ inherit go-module DESCRIPTION="A TUI bluetooth manager for Linux written in Go" HOMEPAGE="https://darkhz.github.io/bluetuith; +# MAKE SURE to change these on every update +[[ ${PV} != * ]] && \ +GIT_COMMIT="28c0a9f" GIT_DOCUMENTATION_COMMIT="3b2ebf5a6bc8a9ed2dc48e1fa7f0df5851ddb84b" if [[ ${PV} == * ]]; then @@ -50,7 +53,9 @@ src_unpack() { } src_compile() { - ego build + # mimicking behavior from https://github.com/darkhz/bluetuith/blob/master/.goreleaser.yml + [[ ${PV} == * ]] && GIT_COMMIT=$(git rev-parse --short HEAD) + ego build -ldflags "-X github.com/darkhz/bluetuith/cmd.Version=${PV}@${GIT_COMMIT}" } src_test() { diff --git a/net-wireless/bluetuith/bluetuith-.ebuild b/net-wireless/bluetuith/bluetuith-.ebuild index 9c46f9a065..93dc6512a3 100644 --- a/net-wireless/bluetuith/bluetuith-.ebuild +++ b/net-wireless/bluetuith/bluetuith-.ebuild @@ -8,6 +8,9 @@ inherit go-module DESCRIPTION="A TUI bluetooth manager for Linux written in Go" HOMEPAGE="https://darkhz.github.io/bluetuith; +# MAKE SURE to change these on every update +[[ ${PV} != * ]] && \ +GIT_COMMIT="28c0a9f" GIT_DOCUMENTATION_COMMIT="3b2ebf5a6bc8a9ed2dc48e1fa7f0df5851ddb84b" if [[ ${PV} == * ]]; then @@ -50,7 +53,9 @@ src_unpack() { } src_compile() { - ego build + # mimicking behavior from https://github.com/darkhz/bluetuith/blob/master/.goreleaser.yml + [[ ${PV} == * ]] && GIT_COMMIT=$(git rev-parse --short HEAD) + ego build -ldflags "-X github.com/darkhz/bluetuith/cmd.Version=${PV}@${GIT_COMMIT}" } src_test() {
[gentoo-commits] repo/proj/guru:dev commit in: net-wireless/bluetuith/
commit: e0a4662b85bf77ad55ca5b6e0fbd87c8c07c1a0f Author: Rahil Bhimjiani gmail com> AuthorDate: Fri Sep 22 20:43:39 2023 + Commit: Rahil Bhimjiani gmail com> CommitDate: Sat Sep 30 05:25:27 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e0a4662b net-wireless/bluetuith: add 0.1.7 and live TUI bluetooth manager written in Go Closes: https://bugs.gentoo.org/913757 Signed-off-by: Rahil Bhimjiani gmail.com> net-wireless/bluetuith/Manifest | 3 ++ net-wireless/bluetuith/bluetuith-0.1.7.ebuild | 62 +++ net-wireless/bluetuith/bluetuith-.ebuild | 62 +++ net-wireless/bluetuith/metadata.xml | 16 +++ 4 files changed, 143 insertions(+) diff --git a/net-wireless/bluetuith/Manifest b/net-wireless/bluetuith/Manifest new file mode 100644 index 00..b3c2d3a0a7 --- /dev/null +++ b/net-wireless/bluetuith/Manifest @@ -0,0 +1,3 @@ +DIST bluetuith-0.1.7-deps.tar.xz 23522828 BLAKE2B e154a25c1cb87eea8c8ecae262ce3518d2736280d6f74ea38cce95016dd70f63d023310d80418511c2989f66bff84873838cfef07437cf9986c9ed4d8eaa79a6 SHA512 c276d28954f53de68d8664275976d448ced101aa5480e71afc4d96d2b84b84907eb0b1351405c051a71d0aeb39e78b2c20b6a37222ae506270dd44f6d298d6c4 +DIST bluetuith-0.1.7-docs.tar.gz 2347918 BLAKE2B 17fd92feb5ad39fca00ae47e704b71a3ac421dbc5abdedbb9079775ed4f10a294c7899564b2101ac4ac73b7c8f8128dd1382abb01276c3258d4d4ca99e51a586 SHA512 7a5124e62383470e7f82d66fb1632c19e3e6085b4cd9bbe38088004a21743e9b65ae2bb5a1a837f15e2ca00d6ea3304311eeb0ecd7acf0e62eac1ccfc30c703b +DIST bluetuith-0.1.7.tar.gz 1481408 BLAKE2B 3973aa911fa845416f9d7d2085bddd7e94d7a8f377dfc9214c8fe943be3be2dae3e5ae92e30eb164f3fa96f4cbe9d6299f86c4b3adaef1bd00ae53554c5d9bf5 SHA512 431fc89073562dd0e163759d7a97c38d378e51276c0233f26d8ba455fe346fcfc2c4e9fa102500ff1cfa0ba2b69adb820fd4b11bce2739ce65cfe296cd936a3b diff --git a/net-wireless/bluetuith/bluetuith-0.1.7.ebuild b/net-wireless/bluetuith/bluetuith-0.1.7.ebuild new file mode 100644 index 00..fc51ac60f0 --- /dev/null +++ b/net-wireless/bluetuith/bluetuith-0.1.7.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +DESCRIPTION="A TUI bluetooth manager for Linux written in Go" +HOMEPAGE="https://darkhz.github.io/bluetuith; + +GIT_DOCUMENTATION_COMMIT="9c215bb1a64bdbf0f88060db4de6701215799033" + +if [[ ${PV} == ** ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/darkhz/bluetuith.git; +else + SRC_URI="https://github.com/darkhz/bluetuith/archive/v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI+=" https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz" + SRC_URI+=" https://github.com/darkhz/bluetuith/archive/${GIT_DOCUMENTATION_COMMIT}.tar.gz -> ${P}-docs.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="Apache-2.0 BSD-2 BSD MIT" +SLOT="0" + +IUSE="doc" +RESTRICT="test" +RDEPEND=" + net-wireless/bluez +" + +src_unpack() { + if [[ ${PV} == ** ]]; then + # unpack code + git-r3_src_unpack + + # unpack docs + EGIT_BRANCH="documentation" + git-r3_fetch + EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-${GIT_DOCUMENTATION_COMMIT}" + git-r3_checkout + + go-module_live_vendor + else + go-module_src_unpack + fi +} + +src_compile() { + ego build +} + +src_test() { + ego test ./... +} + +src_install() { + default + dobin "${PN}" + dodoc -r ../"${PN}-${GIT_DOCUMENTATION_COMMIT}"/documentation/*.md + use doc && docinto html && dodoc -r ../"${PN}-${GIT_DOCUMENTATION_COMMIT}"/docs/* +} diff --git a/net-wireless/bluetuith/bluetuith-.ebuild b/net-wireless/bluetuith/bluetuith-.ebuild new file mode 100644 index 00..fc51ac60f0 --- /dev/null +++ b/net-wireless/bluetuith/bluetuith-.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +DESCRIPTION="A TUI bluetooth manager for Linux written in Go" +HOMEPAGE="https://darkhz.github.io/bluetuith; + +GIT_DOCUMENTATION_COMMIT="9c215bb1a64bdbf0f88060db4de6701215799033" + +if [[ ${PV} == ** ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/darkhz/bluetuith.git; +else + SRC_URI="https://github.com/darkhz/bluetuith/archive/v${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI+=" https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> $
[gentoo-commits] repo/proj/guru:dev commit in: acct-user/blocky/, acct-group/blocky/
commit: 9b093a600012c4f17d7f19ad4cc35073bd9610a4 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Thu Feb 22 07:32:35 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Thu Feb 22 07:32:35 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9b093a60 acct-{user,group}/blocky: change UID/GID to -1 acct-{user,group}.eclass states overlays should set UID/GID to -1 Signed-off-by: Rahil Bhimjiani rahil.rocks> acct-group/blocky/{blocky-0.ebuild => blocky-0-r1.ebuild} | 4 ++-- acct-user/blocky/{blocky-0.ebuild => blocky-0-r1.ebuild} | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/acct-group/blocky/blocky-0.ebuild b/acct-group/blocky/blocky-0-r1.ebuild similarity index 71% rename from acct-group/blocky/blocky-0.ebuild rename to acct-group/blocky/blocky-0-r1.ebuild index a85e41314e..659a717273 100644 --- a/acct-group/blocky/blocky-0.ebuild +++ b/acct-group/blocky/blocky-0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2019-2023 Gentoo Authors +# Copyright 2019-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,4 +7,4 @@ inherit acct-group DESCRIPTION="A group for net-dns/blocky" -ACCT_GROUP_ID="69" +ACCT_GROUP_ID=-1 diff --git a/acct-user/blocky/blocky-0.ebuild b/acct-user/blocky/blocky-0-r1.ebuild similarity index 76% rename from acct-user/blocky/blocky-0.ebuild rename to acct-user/blocky/blocky-0-r1.ebuild index f941ee07e2..ed91dbef4a 100644 --- a/acct-user/blocky/blocky-0.ebuild +++ b/acct-user/blocky/blocky-0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 2019-2023 Gentoo Authors +# Copyright 2019-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -7,7 +7,7 @@ inherit acct-user DESCRIPTION="A user for net-dns/blocky" -ACCT_USER_ID="100" +ACCT_USER_ID=-1 ACCT_USER_GROUPS=( "blocky" ) acct-user_add_deps
[gentoo-commits] repo/proj/guru:dev commit in: net-dns/AdGuardHome/files/, net-dns/AdGuardHome/
commit: e9edd0a0cbb9103f0197359ee81a37a5b7ab6071 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Wed Feb 7 01:41:13 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Wed Feb 7 01:43:01 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e9edd0a0 net-dns/AdGuardHome: add 0.107.44 New opt-out USE flag, 'web' which toggles web UI. Signed-off-by: Rahil Bhimjiani rahil.rocks> net-dns/AdGuardHome/AdGuardHome-0.107.44.ebuild| 119 + net-dns/AdGuardHome/Manifest | 3 + .../AdGuardHome/files/fix-go.mod-0.107.44.patch| 10 ++ net-dns/AdGuardHome/metadata.xml | 3 + 4 files changed, 135 insertions(+) diff --git a/net-dns/AdGuardHome/AdGuardHome-0.107.44.ebuild b/net-dns/AdGuardHome/AdGuardHome-0.107.44.ebuild new file mode 100644 index 00..f1d2096380 --- /dev/null +++ b/net-dns/AdGuardHome/AdGuardHome-0.107.44.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit fcaps go-module systemd + +DESCRIPTION="Network-wide ads & trackers blocking DNS server like Pi-Hole with web ui" +HOMEPAGE="https://github.com/AdguardTeam/AdGuardHome/; + +SRC_URI=" + https://github.com/AdguardTeam/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz + web? ( https://github.com/AdguardTeam/${PN}/releases/download/v${PV}/AdGuardHome_frontend.tar.gz -> ${P}-frontend.tar.gz ) +" + +# main +LICENSE="GPL-3" +# deps +LICENSE+=" Apache-2.0 BSD BSD-2 MIT ZLIB" + +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +IUSE="+web" +# RESTRICT="test" + +# see the patch below +BDEPEND=">=dev-lang/go-1.21:=" +BDEPEND+=" app-arch/unzip" + +FILECAPS=( + -m 755 'cap_net_bind_service=+eip cap_net_raw=+eip' usr/bin/${PN} +) + +# otherwise it'll error out saying "update go.mod file" +# Since dev-lang/go-1.21 is stable i think it's safe to update +PATCHES=( + "${FILESDIR}"/fix-go.mod-0.107.44.patch +) + +src_prepare() { + default + # move frontend to project directory + use web && { rm -v build/gitkeep && mv -v ../build ./ || die ; } +} + +src_compile() { + # mimicking https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-build.sh + + local MY_LDFLAGS="-s -w" + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.version=${PV}" + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.channel=release" + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.committime=$(date +%s)" + if [ "$(go env GOARM)" != '' ] + then + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.goarm=$(go env GOARM)" + elif [ "$(go env GOMIPS)" != '' ] + then + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.gomips=$(go env GOMIPS)" + fi + + ego build -ldflags "${MY_LDFLAGS}" -trimpath -v=1 -x=1 +} + +src_test() { + + # mimicking https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-test.sh + count_flags='--count=1' + cover_flags='--coverprofile=./coverage.txt' + shuffle_flags='--shuffle=on' + timeout_flags="--timeout=30s" + fuzztime_flags="--fuzztime=20s" + readonly count_flags cover_flags shuffle_flags timeout_flags fuzztime_flags + + # race only works when pie is disabled + export GOFLAGS="${GOFLAGS/-buildmode=pie/}" + + # following test is failing without giving any reason. Tried disabling internal/updater internal/whois tests toggling race, but still failing. + # ego test\ + # "$count_flags"\ + # "$cover_flags"\ + # "$shuffle_flags"\ + # --race=1\ + # "$timeout_flags"\ + # ./... + + # mimicking https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-bench.sh + ego test\ + "$count_flags"\ + "$shuffle_flags"\ + --race=0\ + "$timeout_flags"\ + --bench='.'\ + --benchmem\ + --benchtime=1s\ + --run='^$'\ + ./... + + # mimicking https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-fuzz.sh + ego test\ + "$count_flags"\ + "$shuffle_flags"\ +
[gentoo-commits] repo/proj/guru:dev commit in: net-wireless/bluetuith/
commit: 1679f2f573c0b35bf841812bb9421a5347815b7c Author: Rahil Bhimjiani rahil rocks> AuthorDate: Sat Dec 30 16:15:57 2023 + Commit: Rahil Bhimjiani gmail com> CommitDate: Sat Dec 30 16:15:57 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1679f2f5 net-wireless/bluetuith: drop 0.1.7 Signed-off-by: Rahil Bhimjiani rahil.rocks> net-wireless/bluetuith/Manifest | 3 -- net-wireless/bluetuith/bluetuith-0.1.7.ebuild | 62 --- 2 files changed, 65 deletions(-) diff --git a/net-wireless/bluetuith/Manifest b/net-wireless/bluetuith/Manifest index 4944e0f034..28580dc366 100644 --- a/net-wireless/bluetuith/Manifest +++ b/net-wireless/bluetuith/Manifest @@ -1,6 +1,3 @@ -DIST bluetuith-0.1.7-deps.tar.xz 23522828 BLAKE2B e154a25c1cb87eea8c8ecae262ce3518d2736280d6f74ea38cce95016dd70f63d023310d80418511c2989f66bff84873838cfef07437cf9986c9ed4d8eaa79a6 SHA512 c276d28954f53de68d8664275976d448ced101aa5480e71afc4d96d2b84b84907eb0b1351405c051a71d0aeb39e78b2c20b6a37222ae506270dd44f6d298d6c4 -DIST bluetuith-0.1.7-docs.tar.gz 2347918 BLAKE2B 17fd92feb5ad39fca00ae47e704b71a3ac421dbc5abdedbb9079775ed4f10a294c7899564b2101ac4ac73b7c8f8128dd1382abb01276c3258d4d4ca99e51a586 SHA512 7a5124e62383470e7f82d66fb1632c19e3e6085b4cd9bbe38088004a21743e9b65ae2bb5a1a837f15e2ca00d6ea3304311eeb0ecd7acf0e62eac1ccfc30c703b -DIST bluetuith-0.1.7.tar.gz 1481408 BLAKE2B 3973aa911fa845416f9d7d2085bddd7e94d7a8f377dfc9214c8fe943be3be2dae3e5ae92e30eb164f3fa96f4cbe9d6299f86c4b3adaef1bd00ae53554c5d9bf5 SHA512 431fc89073562dd0e163759d7a97c38d378e51276c0233f26d8ba455fe346fcfc2c4e9fa102500ff1cfa0ba2b69adb820fd4b11bce2739ce65cfe296cd936a3b DIST bluetuith-0.1.8-deps.tar.xz 23536984 BLAKE2B 132e6fbd55cac55da2a454e0b97dc95ed17b99f6ca1d08c1c1ad173d196214430845d7cb036f14639f3c67342b3e4de4f13bcabc1577b6367214a146483cb0c9 SHA512 ec1a7d4e06f7e02c24eb2e946ad0d08006d6a6706762df4caa0152473f00f5cac90a9a9db7a5b47d50c6fb6d3c447c82895611b8d1a10116e85d429bb7b8a609 DIST bluetuith-0.1.8-docs.tar.gz 2382735 BLAKE2B a1cf408cda2b115efdac1a1ab650d2564df5ac4b1f9e037a1c43bbe898b2e6b452b06c4dc634d3c1b124bd5c8e543d6a128a8e35eae89d7f87fb5cac929128f2 SHA512 a8b25e68936dbab717232d159669933d8055182193c4427d1a28fb0ed31a22cd1a80df8ea04824d2d9c95359f859cbd4c5bc8fac65ecac21c7ee9b5e6972d51e DIST bluetuith-0.1.8.tar.gz 1484790 BLAKE2B 9061502606aba7a23aa0ccfe812864f283c380d0d47dee38f54bcd0f360ce5b4aade5483bd884eb062d03de8f4d8249c7c362066adfcd495bd371f684ae06f14 SHA512 0905af9fc9abdad38150961b4de09d5c78ac0577ba5acc20e7ab5f0578d1c837ec5dc4ede099d36132f626e0fab2a6420a275f883e2be7eb2ac61ebea56d2a13 diff --git a/net-wireless/bluetuith/bluetuith-0.1.7.ebuild b/net-wireless/bluetuith/bluetuith-0.1.7.ebuild deleted file mode 100644 index fc51ac60f0..00 --- a/net-wireless/bluetuith/bluetuith-0.1.7.ebuild +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module - -DESCRIPTION="A TUI bluetooth manager for Linux written in Go" -HOMEPAGE="https://darkhz.github.io/bluetuith; - -GIT_DOCUMENTATION_COMMIT="9c215bb1a64bdbf0f88060db4de6701215799033" - -if [[ ${PV} == ** ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/darkhz/bluetuith.git; -else - SRC_URI="https://github.com/darkhz/bluetuith/archive/v${PV}.tar.gz -> ${P}.tar.gz" - SRC_URI+=" https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz" - SRC_URI+=" https://github.com/darkhz/bluetuith/archive/${GIT_DOCUMENTATION_COMMIT}.tar.gz -> ${P}-docs.tar.gz" - KEYWORDS="~amd64" -fi - -LICENSE="Apache-2.0 BSD-2 BSD MIT" -SLOT="0" - -IUSE="doc" -RESTRICT="test" -RDEPEND=" - net-wireless/bluez -" - -src_unpack() { - if [[ ${PV} == ** ]]; then - # unpack code - git-r3_src_unpack - - # unpack docs - EGIT_BRANCH="documentation" - git-r3_fetch - EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-${GIT_DOCUMENTATION_COMMIT}" - git-r3_checkout - - go-module_live_vendor - else - go-module_src_unpack - fi -} - -src_compile() { - ego build -} - -src_test() { - ego test ./... -} - -src_install() { - default - dobin "${PN}" - dodoc -r ../"${PN}-${GIT_DOCUMENTATION_COMMIT}"/documentation/*.md - use doc && docinto html && dodoc -r ../"${PN}-${GIT_DOCUMENTATION_COMMIT}"/docs/* -}
[gentoo-commits] repo/proj/guru:dev commit in: net-wireless/bluetuith/
commit: d47dccdcb4e3bcb4ba88c7cc144e2725f248a287 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Sat Dec 30 16:12:16 2023 + Commit: Rahil Bhimjiani gmail com> CommitDate: Sat Dec 30 16:12:16 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d47dccdc net-wireless/bluetuith: add 0.2.0 Signed-off-by: Rahil Bhimjiani rahil.rocks> net-wireless/bluetuith/Manifest | 2 ++ .../bluetuith/{bluetuith-.ebuild => bluetuith-0.2.0.ebuild} | 2 +- net-wireless/bluetuith/bluetuith-.ebuild| 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/net-wireless/bluetuith/Manifest b/net-wireless/bluetuith/Manifest index 4d3e67fab8..4944e0f034 100644 --- a/net-wireless/bluetuith/Manifest +++ b/net-wireless/bluetuith/Manifest @@ -6,4 +6,6 @@ DIST bluetuith-0.1.8-docs.tar.gz 2382735 BLAKE2B a1cf408cda2b115efdac1a1ab650d25 DIST bluetuith-0.1.8.tar.gz 1484790 BLAKE2B 9061502606aba7a23aa0ccfe812864f283c380d0d47dee38f54bcd0f360ce5b4aade5483bd884eb062d03de8f4d8249c7c362066adfcd495bd371f684ae06f14 SHA512 0905af9fc9abdad38150961b4de09d5c78ac0577ba5acc20e7ab5f0578d1c837ec5dc4ede099d36132f626e0fab2a6420a275f883e2be7eb2ac61ebea56d2a13 DIST bluetuith-0.1.9-deps.tar.xz 24086352 BLAKE2B bbb570bf9348474015db1723575ea7669b806f52a7360ca5ce3fc6b57243f35143e94022042b21e2584a1f23d8f2c3627a939d6dd954e28ed791d1560a208ee0 SHA512 44f9c8399cc1c1fb0d061d796d43d3e54dedabf0a85ed6ac868335fdccf6f926ae3522258440a2ccba896fa7bcd442b53f1288bee33d0c5ef179a7f1c2add7eb DIST bluetuith-0.1.9.tar.gz 1482931 BLAKE2B dc6ca796c3b2cdad16e0a9788a598e305829394ce2267c6c4b8a5ab9371ac8a4cb084bf5de1731029616f576cc92eb43e2fddaa636614fb107cf3b75701f23b8 SHA512 2a6632ee73509e71ca446811fc09423e805f0f16a24e47bc96fbcd1b28ada02f25a12259519008ad4e06c78ca30bcae4066f3ed7c2dac536ebcf11e039a9ba5c +DIST bluetuith-0.2.0-deps.tar.xz 24092520 BLAKE2B 3038def9cb8543aa84677be8d81d973338cde51514e33c4cd26d551c351161c7d31ab10161ba695608c1560a49f3d4e8b363941369cef04911aa13b514de7cf6 SHA512 6a71ec1cbcda98ac4be830f350a72e3d8da81dfdcbbb434c10dbb09f267142dd916469d3dbbc5f13181d74733723d945af2c394a14def29d09722b78034e9102 +DIST bluetuith-0.2.0.tar.gz 1483874 BLAKE2B 03321de6478feb5cb2d740d9db4c114cdbc791b7d4f4573c0b52a22d2c6040796bef9cb211134895cfa3233a91f2193c782fdda2bb5040eaa5ac019d0c5623f4 SHA512 bc17842adddcef3beb89708f1f9505035e2a71a9a9755894ad2ecdaac5ca90c823a57b90033b369f4c759b259830710d3e5a0b84fcd9bbc79c4b2697fb0234fd DIST bluetuith-docs-3b2ebf5a6bc8a9ed2dc48e1fa7f0df5851ddb84b.tar.gz 2382735 BLAKE2B a1cf408cda2b115efdac1a1ab650d2564df5ac4b1f9e037a1c43bbe898b2e6b452b06c4dc634d3c1b124bd5c8e543d6a128a8e35eae89d7f87fb5cac929128f2 SHA512 a8b25e68936dbab717232d159669933d8055182193c4427d1a28fb0ed31a22cd1a80df8ea04824d2d9c95359f859cbd4c5bc8fac65ecac21c7ee9b5e6972d51e diff --git a/net-wireless/bluetuith/bluetuith-.ebuild b/net-wireless/bluetuith/bluetuith-0.2.0.ebuild similarity index 98% copy from net-wireless/bluetuith/bluetuith-.ebuild copy to net-wireless/bluetuith/bluetuith-0.2.0.ebuild index 93dc6512a3..4c431789d4 100644 --- a/net-wireless/bluetuith/bluetuith-.ebuild +++ b/net-wireless/bluetuith/bluetuith-0.2.0.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://darkhz.github.io/bluetuith; # MAKE SURE to change these on every update [[ ${PV} != * ]] && \ -GIT_COMMIT="28c0a9f" +GIT_COMMIT="ffe8681" GIT_DOCUMENTATION_COMMIT="3b2ebf5a6bc8a9ed2dc48e1fa7f0df5851ddb84b" if [[ ${PV} == * ]]; then diff --git a/net-wireless/bluetuith/bluetuith-.ebuild b/net-wireless/bluetuith/bluetuith-.ebuild index 93dc6512a3..4c431789d4 100644 --- a/net-wireless/bluetuith/bluetuith-.ebuild +++ b/net-wireless/bluetuith/bluetuith-.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="https://darkhz.github.io/bluetuith; # MAKE SURE to change these on every update [[ ${PV} != * ]] && \ -GIT_COMMIT="28c0a9f" +GIT_COMMIT="ffe8681" GIT_DOCUMENTATION_COMMIT="3b2ebf5a6bc8a9ed2dc48e1fa7f0df5851ddb84b" if [[ ${PV} == * ]]; then
[gentoo-commits] repo/proj/guru:dev commit in: app-crypt/lego/
commit: 70474a40cc82af756e37d4876271bd0df07292eb Author: Rahil Bhimjiani rahil rocks> AuthorDate: Mon Jan 1 04:54:52 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Mon Jan 1 04:54:52 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=70474a40 app-crypt/lego: ACME client alternative to certbot/acme.sh written in Go which offers many built-in DNS plugins Signed-off-by: Rahil Bhimjiani rahil.rocks> app-crypt/lego/Manifest | 3 ++ app-crypt/lego/lego-4.14.2.ebuild | 82 +++ app-crypt/lego/lego-.ebuild | 82 +++ app-crypt/lego/metadata.xml | 13 +++ 4 files changed, 180 insertions(+) diff --git a/app-crypt/lego/Manifest b/app-crypt/lego/Manifest new file mode 100644 index 00..6a66b1065e --- /dev/null +++ b/app-crypt/lego/Manifest @@ -0,0 +1,3 @@ +DIST lego-4.14.2-deps.tar.xz 204384528 BLAKE2B 5db3b7b6c194b4042b4c81a490c99f79339c9c0c4571bf31061a352626f08afcf8508edaf104af784243476264edd03c3e992aef711d05f26f5270f27b98e7bd SHA512 a07c5bf3fa0b99e3b2af06141b1049ff030b7d74c2a38fbe7c15fc46a622d4cc02c2e563e03eb5aede1ef8dc0ea3d16b775f2381a41caafbe3c6e45831d56544 +DIST lego-4.14.2-docs.tar.gz 3639965 BLAKE2B deb991244c93cd317a8e3acb90acc5f6712d5f5a1cf65ce615a13830e5a91fb35070b1eb9ce808322fa1e6e3cc9a6ee4253b488c1c8cbef0d7899b000a00d45f SHA512 13ea06e72581aee038d8cc4906b357d506b1dd20f1c8bd32a1c3fcfa364bdac2ccb76416bf6328f07e8feabc934329358ab75b0a440ede859caf350febac69fd +DIST lego-4.14.2.tar.gz 672197 BLAKE2B b633d6ed12fd7d38c35db392a58785fd32c3475961a49c5dbb3fe4986ca17c322a39ff604e73688928db1fa26eee70c8d9774fb560f96c5e017b680e2f89dbf2 SHA512 089788d1df077bdf8731250664628c9dbf44c8db7f2755242029c69b450eb892845b4c0b549a7affe80e351a29a6cc9d07514df3d0b7d1d17b42e20d1c85eca1 diff --git a/app-crypt/lego/lego-4.14.2.ebuild b/app-crypt/lego/lego-4.14.2.ebuild new file mode 100644 index 00..2e16460056 --- /dev/null +++ b/app-crypt/lego/lego-4.14.2.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module + +DESCRIPTION="Let's Encrypt/ACME client (like certbot or acme.sh) and library written in Go" +HOMEPAGE="https://github.com/go-acme/lego/; + +DOCUMENTATION_COMMIT=e28a6ff22f2b7f75b8aaae5012672cfcca2be690 + +if [[ ${PV} == * ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/go-acme/lego.git; +else + SRC_URI=" + https://github.com/go-acme/lego/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz + doc? ( https://github.com/go-acme/lego/archive/${DOCUMENTATION_COMMIT}.tar.gz -> ${P}-docs.tar.gz ) +" + KEYWORDS="~amd64" +fi + +# main +LICENSE="MIT" +# deps +LICENSE+=" Apache-2.0 BSD-2 BSD ISC MPL-2.0" +SLOT="0" +IUSE="doc" + +# some tests require network access otherwise get following error +# expected: "zoneee: unexpected status code: [status code: 401] body: Unauthorized" +# actual : "zoneee: could not find zone for domain \"prefix.example.com\" (_acme-challenge.prefix.example.com.): could not find the start of authority for _acme-challenge.prefix.example.com.: read udp 10.0.0.1:54729->10.0.0.1:53: read: connection refused" +PROPERTIES="test_network" +RESTRICT="test" + +src_unpack() { + if [[ ${PV} == * ]]; then + git-r3_src_unpack + go-module_live_vendor + if use doc; then + EGIT_BRANCH="gh-pages" + EGIT_CHECKOUT_DIR="${WORKDIR}/${P}-doc" + git-r3_src_unpack + fi + else + go-module_src_unpack + fi +} + +src_compile() { + export CGO_ENABLED=0 + + local VERSION + if [[ ${PV} == * ]]; then + VERSION="$(git rev-parse HEAD)" || die + else + VERSION="${PV}" + fi + + ego build -trimpath -ldflags "-X main.version=${VERSION}" -o dist/"${PN}" ./cmd/lego/ +} + +src_test() { + ego test -v -cover ./... +} + +src_install() { + # primary program + dobin dist/"${PN}" + + # docs + einstalldocs + if use doc; then + if [[ ${PV} == * ]]; then + dodoc -r ../"${P}"-doc/* + else + dodoc -r ../"${PN}"-"${DOCUMENTATION_COMMIT}"/* + fi + fi +} diff --git a/app-crypt/lego/lego-.ebuild b/app-crypt/lego/lego-.ebuild new file mode 100644 index 00..2e16460056 --- /dev/null +++ b/app-crypt/lego/lego-999
[gentoo-commits] repo/proj/guru:dev commit in: net-dns/blocky/, acct-user/blocky/, acct-group/blocky/, net-dns/blocky/files/
commit: 26fd689d608e7cb99a173c645851cc22e66af2e3 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Mon Jan 1 05:53:54 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Mon Jan 1 05:53:54 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=26fd689d net-dns/blocky: Fast and lightweight DNS proxy as ad-blocker Supports DoH, DoT and prometheus+grafana integration with very versatile cli and configuration options Signed-off-by: Rahil Bhimjiani rahil.rocks> acct-group/blocky/blocky-0.ebuild | 10 + acct-group/blocky/metadata.xml |8 + acct-user/blocky/blocky-0.ebuild | 13 + acct-user/blocky/metadata.xml |8 + net-dns/blocky/Manifest|3 + net-dns/blocky/blocky-0.22.ebuild | 104 + net-dns/blocky/blocky-.ebuild | 104 + net-dns/blocky/files/blocky-0.22.service | 16 + .../blocky/files/disable-failed-tests-0.22.patch | 2272 net-dns/blocky/metadata.xml| 16 + 10 files changed, 2554 insertions(+) diff --git a/acct-group/blocky/blocky-0.ebuild b/acct-group/blocky/blocky-0.ebuild new file mode 100644 index 00..a85e41314e --- /dev/null +++ b/acct-group/blocky/blocky-0.ebuild @@ -0,0 +1,10 @@ +# Copyright 2019-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit acct-group + +DESCRIPTION="A group for net-dns/blocky" + +ACCT_GROUP_ID="69" diff --git a/acct-group/blocky/metadata.xml b/acct-group/blocky/metadata.xml new file mode 100644 index 00..3e6b5d8ad4 --- /dev/null +++ b/acct-group/blocky/metadata.xml @@ -0,0 +1,8 @@ + +https://www.gentoo.org/dtd/metadata.dtd;> + + + me@rahil.rocks + Rahil Bhimjiani + + diff --git a/acct-user/blocky/blocky-0.ebuild b/acct-user/blocky/blocky-0.ebuild new file mode 100644 index 00..f941ee07e2 --- /dev/null +++ b/acct-user/blocky/blocky-0.ebuild @@ -0,0 +1,13 @@ +# Copyright 2019-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit acct-user + +DESCRIPTION="A user for net-dns/blocky" + +ACCT_USER_ID="100" +ACCT_USER_GROUPS=( "blocky" ) + +acct-user_add_deps diff --git a/acct-user/blocky/metadata.xml b/acct-user/blocky/metadata.xml new file mode 100644 index 00..3e6b5d8ad4 --- /dev/null +++ b/acct-user/blocky/metadata.xml @@ -0,0 +1,8 @@ + +https://www.gentoo.org/dtd/metadata.dtd;> + + + me@rahil.rocks + Rahil Bhimjiani + + diff --git a/net-dns/blocky/Manifest b/net-dns/blocky/Manifest new file mode 100644 index 00..cbfdf1469a --- /dev/null +++ b/net-dns/blocky/Manifest @@ -0,0 +1,3 @@ +DIST blocky-0.22-deps.tar.xz 163869124 BLAKE2B e98614feaeb11604866d08003147871096c993cdb90c85bba46ea999a339570ca1500a80bddee202595372ec5d22baa6ec0345d8cf50ffee6d61dd8d6495d49f SHA512 883e5dd66cf974c6d8c73a94c7677d5003ceb7a3ba68001c2d9d36e1e4d1ea64f0818d30240fe77f192ad3f95ede93127bed9adc9647da07a9b9bebc958ffd33 +DIST blocky-0.22-docs.tar.gz 5639822 BLAKE2B e177790deb7493f84d8217661e4e4296004a9db7e00ff8d37dbd3c4ed8b7ba0a7cf431067c103f25784e46ca7a8bf80532cdd8f305f3e4ce119890027f0eb186 SHA512 3eed0ff726479826fbefb4140c36bb26825124134d1fbbecf74a31b2fbdde993630adc645ea2e582ce8d415736cc85b20f64a835c87da98700b715c03d368e75 +DIST blocky-0.22.tar.gz 712644 BLAKE2B d74881026421337a0fc32a6af2cf6bff736e0130ac599cd80714f0cafff1e81864e0327bc773f8377106421642cf545b76407fca94f07425c428ff8512a7113b SHA512 928ba882cb567f80b9b00c1ab74ba2fba0324b9e5fb6439789d50d8fd438a26f84772d36f91ef9c3a2351c798a399c15aa1b69927a2da11795edd576b7bae6a4 diff --git a/net-dns/blocky/blocky-0.22.ebuild b/net-dns/blocky/blocky-0.22.ebuild new file mode 100644 index 00..5b601c8825 --- /dev/null +++ b/net-dns/blocky/blocky-0.22.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit fcaps go-module systemd shell-completion + +DESCRIPTION="Fast and lightweight DNS proxy as ad-blocker with many features written in Go" +HOMEPAGE="https://github.com/0xERR0R/blocky/; + +DOCUMENTATION_COMMIT=9c6a86eb163e758686c5d6d4d5259deb086a8aa9 + +if [[ ${PV} == * ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/0xERR0R/blocky.git; +else + SRC_URI=" + https://github.com/0xERR0R/blocky/archive/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz + doc? ( https://github.com/0xERR0R/blocky/archive/${DOCUMENTATION_COMMIT}.tar.gz -> ${P}-docs.tar.gz ) +" + KEYWORDS="~amd64" +fi + +# main +LI
[gentoo-commits] repo/proj/guru:dev commit in: net-dns/AdGuardHome/, net-dns/AdGuardHome/files/
commit: 455aae69ed201dcef931219a5b17cf3a82d5c01b Author: Rahil Bhimjiani rahil rocks> AuthorDate: Mon Jan 1 05:20:55 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Mon Jan 1 05:20:55 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=455aae69 net-dns/AdGuardHome: Pi-Hole alternative written in Go offers following features which lack in Pi-hole * Encrypted DNS upstream servers (DNS-over-HTTPS, DNS-over-TLS, DNSCrypt) * Running as a DNS-over-HTTPS or DNS-over-TLS server Signed-off-by: Rahil Bhimjiani rahil.rocks> net-dns/AdGuardHome/AdGuardHome-0.107.43.ebuild| 106 + net-dns/AdGuardHome/Manifest | 3 + .../AdGuardHome/files/AdGuardHome-0.107.43.service | 22 + net-dns/AdGuardHome/metadata.xml | 13 +++ 4 files changed, 144 insertions(+) diff --git a/net-dns/AdGuardHome/AdGuardHome-0.107.43.ebuild b/net-dns/AdGuardHome/AdGuardHome-0.107.43.ebuild new file mode 100644 index 00..c1a9f54336 --- /dev/null +++ b/net-dns/AdGuardHome/AdGuardHome-0.107.43.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit fcaps go-module systemd + +DESCRIPTION="Network-wide ads & trackers blocking DNS server like Pi-Hole with web ui" +HOMEPAGE="https://github.com/AdguardTeam/AdGuardHome/; + +SRC_URI=" + https://github.com/AdguardTeam/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/AdguardTeam/${PN}/releases/download/v${PV}/AdGuardHome_frontend.tar.gz -> ${P}-frontend.tar.gz + https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz +" + +# main +LICENSE="GPL-3" +# deps +LICENSE+=" Apache-2.0 BSD BSD-2 MIT ZLIB" + +SLOT="0" +KEYWORDS="~amd64" + +FILECAPS=( + -m 755 'cap_net_bind_service=+eip cap_net_raw=+eip' usr/bin/${PN} +) + +src_prepare() { + default + # move frontend to project directory + rm build/gitkeep && mv ../build ./ || die +} + +src_compile() { + # mimicking https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-build.sh + + local MY_LDFLAGS="-s -w" + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.version=${PV}" + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.channel=release" + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.committime=$(date +%s)" + if [ "$(go env GOARM)" != '' ] + then + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.goarm=$(go env GOARM)" + elif [ "$(go env GOMIPS)" != '' ] + then + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.gomips=$(go env GOMIPS)" + fi + + ego build -ldflags "${MY_LDFLAGS}" -trimpath +} + +src_test() { + + # mimicking https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-test.sh + count_flags='--count=1' + cover_flags='--coverprofile=./coverage.txt' + shuffle_flags='--shuffle=on' + timeout_flags="--timeout=30s" + fuzztime_flags="--fuzztime=20s" + readonly count_flags cover_flags shuffle_flags timeout_flags fuzztime_flags + + # race only works when pie is disabled + export GOFLAGS="${GOFLAGS/-buildmode=pie/}" + + # following test is failing without giving any reason. Tried disabling internal/updater internal/whois tests toggling race, but still failing. + # ego test\ + # "$count_flags"\ + # "$cover_flags"\ + # "$shuffle_flags"\ + # --race=1\ + # "$timeout_flags"\ + # ./... + + # mimicking https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-bench.sh + ego test\ + "$count_flags"\ + "$shuffle_flags"\ + --race=0\ + "$timeout_flags"\ + --bench='.'\ + --benchmem\ + --benchtime=1s\ + --run='^$'\ + ./... + + # mimicking https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-fuzz.sh + ego test\ + "$count_flags"\ + "$shuffle_flags"\ + --race=0\ + "$timeout_flags"\ + "$fuzztime_flags"\ + --fuzz='.'\ + --run='^$'\ + ./internal/filtering/rulelist/\ + ; + +} + +src_install() { +
[gentoo-commits] repo/proj/guru:dev commit in: net-wireless/bluetuith/
commit: 74e32b7123ea2a9e203758568ff109d3038ce5d5 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Sat Dec 30 02:29:48 2023 + Commit: Rahil Bhimjiani gmail com> CommitDate: Sat Dec 30 02:29:48 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=74e32b71 net-wireless/bluetuith: change email Signed-off-by: Rahil Bhimjiani rahil.rocks> net-wireless/bluetuith/metadata.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-wireless/bluetuith/metadata.xml b/net-wireless/bluetuith/metadata.xml index e02ca2d3d5..96cd903975 100644 --- a/net-wireless/bluetuith/metadata.xml +++ b/net-wireless/bluetuith/metadata.xml @@ -2,7 +2,7 @@ https://www.gentoo.org/dtd/metadata.dtd;> -me@rahil.website +me@rahil.rocks Rahil Bhimjiani
[gentoo-commits] repo/proj/guru:dev commit in: net-dns/blocky/
commit: 91370a6c3b0473e7cd09c61cf145fac8d58dacd1 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Sun Jan 7 08:57:05 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Sun Jan 7 08:57:41 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=91370a6c net-dns/blocky: add 0.23 and support for arm64 Signed-off-by: Rahil Bhimjiani rahil.rocks> net-dns/blocky/Manifest | 3 +++ net-dns/blocky/{blocky-.ebuild => blocky-0.23.ebuild} | 4 ++-- net-dns/blocky/blocky-.ebuild | 4 ++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/net-dns/blocky/Manifest b/net-dns/blocky/Manifest index cbfdf1469a..6b49aa54ec 100644 --- a/net-dns/blocky/Manifest +++ b/net-dns/blocky/Manifest @@ -1,3 +1,6 @@ DIST blocky-0.22-deps.tar.xz 163869124 BLAKE2B e98614feaeb11604866d08003147871096c993cdb90c85bba46ea999a339570ca1500a80bddee202595372ec5d22baa6ec0345d8cf50ffee6d61dd8d6495d49f SHA512 883e5dd66cf974c6d8c73a94c7677d5003ceb7a3ba68001c2d9d36e1e4d1ea64f0818d30240fe77f192ad3f95ede93127bed9adc9647da07a9b9bebc958ffd33 DIST blocky-0.22-docs.tar.gz 5639822 BLAKE2B e177790deb7493f84d8217661e4e4296004a9db7e00ff8d37dbd3c4ed8b7ba0a7cf431067c103f25784e46ca7a8bf80532cdd8f305f3e4ce119890027f0eb186 SHA512 3eed0ff726479826fbefb4140c36bb26825124134d1fbbecf74a31b2fbdde993630adc645ea2e582ce8d415736cc85b20f64a835c87da98700b715c03d368e75 DIST blocky-0.22.tar.gz 712644 BLAKE2B d74881026421337a0fc32a6af2cf6bff736e0130ac599cd80714f0cafff1e81864e0327bc773f8377106421642cf545b76407fca94f07425c428ff8512a7113b SHA512 928ba882cb567f80b9b00c1ab74ba2fba0324b9e5fb6439789d50d8fd438a26f84772d36f91ef9c3a2351c798a399c15aa1b69927a2da11795edd576b7bae6a4 +DIST blocky-0.23-deps.tar.xz 191529448 BLAKE2B fbad27f70b73832e0862b32267be0e9956c39c570f4e8d16be6a1b7eaa8ea779df52d1da533486d2b0d3e5b163602b62283ac006de4adc0861ec208fd9f50bd8 SHA512 89441e8082260b7c8a850b91029540554fc8af4bdba1996adb07ff57781c0e92ee439b915cd1473d16fba9bd31612b6c267c2fe6f96096a4f9ed4fa23d46165d +DIST blocky-0.23-docs.tar.gz 6773940 BLAKE2B 8114e49c8c8b7c01a1376dd0ef15b5eee966fc18c84d8645aa91c3524876167de810a17d63f2e287a3fe4c56906076783e135cf0c209886870588f40190e9d78 SHA512 aec00c88ea97f7f2d145020e666f77f992b53cd8867d4d4c5bc5a094b06889c35d7019d0e491fe02fb1dd803912613ec7f874f4d7a9f0d06e41c7bb8c609d956 +DIST blocky-0.23.tar.gz 7236537 BLAKE2B 4dd8b4a9587ed2b768ff2cf8809e14242032d7e8be3d3c422eb5518df33c32c0f767ba8e7490f353e81ede8c150cf3175621ea35ad3aa682f62c7d169c511b63 SHA512 22431da4c2f259411b7eb790e8f05a7264d0aa96fe4774722bbe71cf9459a3ed7f434b4b295c95b80f2efc6de55ff645f860443838fe793bc413d74b77e395be diff --git a/net-dns/blocky/blocky-.ebuild b/net-dns/blocky/blocky-0.23.ebuild similarity index 96% copy from net-dns/blocky/blocky-.ebuild copy to net-dns/blocky/blocky-0.23.ebuild index 3f5b49b9fc..0852ebf831 100644 --- a/net-dns/blocky/blocky-.ebuild +++ b/net-dns/blocky/blocky-0.23.ebuild @@ -8,7 +8,7 @@ inherit fcaps go-module systemd shell-completion DESCRIPTION="Fast and lightweight DNS proxy as ad-blocker with many features written in Go" HOMEPAGE="https://github.com/0xERR0R/blocky/; -DOCUMENTATION_COMMIT=9c6a86eb163e758686c5d6d4d5259deb086a8aa9 +DOCUMENTATION_COMMIT=e9d4e51690f700d20b2cd478eef5987653bd4cc0 if [[ ${PV} == * ]]; then inherit git-r3 @@ -19,7 +19,7 @@ else https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz doc? ( https://github.com/0xERR0R/blocky/archive/${DOCUMENTATION_COMMIT}.tar.gz -> ${P}-docs.tar.gz ) " - KEYWORDS="~amd64" + KEYWORDS="~amd64 ~arm64" fi # main diff --git a/net-dns/blocky/blocky-.ebuild b/net-dns/blocky/blocky-.ebuild index 3f5b49b9fc..0852ebf831 100644 --- a/net-dns/blocky/blocky-.ebuild +++ b/net-dns/blocky/blocky-.ebuild @@ -8,7 +8,7 @@ inherit fcaps go-module systemd shell-completion DESCRIPTION="Fast and lightweight DNS proxy as ad-blocker with many features written in Go" HOMEPAGE="https://github.com/0xERR0R/blocky/; -DOCUMENTATION_COMMIT=9c6a86eb163e758686c5d6d4d5259deb086a8aa9 +DOCUMENTATION_COMMIT=e9d4e51690f700d20b2cd478eef5987653bd4cc0 if [[ ${PV} == * ]]; then inherit git-r3 @@ -19,7 +19,7 @@ else https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz doc? ( https://github.com/0xERR0R/blocky/archive/${DOCUMENTATION_COMMIT}.tar.gz -> ${P}-docs.tar.gz ) " - KEYWORDS="~amd64" + KEYWORDS="~amd64 ~arm64" fi # main
[gentoo-commits] repo/proj/guru:dev commit in: app-crypt/lego/
commit: 59597bf3499fc941fa7d8b2b758595a13feae108 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Sun Jan 7 21:01:31 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Sun Jan 7 21:01:31 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=59597bf3 app-crypt/lego: support arm64 Signed-off-by: Rahil Bhimjiani rahil.rocks> app-crypt/lego/lego-4.14.2.ebuild | 4 ++-- app-crypt/lego/lego-.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app-crypt/lego/lego-4.14.2.ebuild b/app-crypt/lego/lego-4.14.2.ebuild index 2e16460056..29e58d9642 100644 --- a/app-crypt/lego/lego-4.14.2.ebuild +++ b/app-crypt/lego/lego-4.14.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,7 +19,7 @@ else https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz doc? ( https://github.com/go-acme/lego/archive/${DOCUMENTATION_COMMIT}.tar.gz -> ${P}-docs.tar.gz ) " - KEYWORDS="~amd64" + KEYWORDS="~amd64 ~arm64" fi # main diff --git a/app-crypt/lego/lego-.ebuild b/app-crypt/lego/lego-.ebuild index 2e16460056..29e58d9642 100644 --- a/app-crypt/lego/lego-.ebuild +++ b/app-crypt/lego/lego-.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -19,7 +19,7 @@ else https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz doc? ( https://github.com/go-acme/lego/archive/${DOCUMENTATION_COMMIT}.tar.gz -> ${P}-docs.tar.gz ) " - KEYWORDS="~amd64" + KEYWORDS="~amd64 ~arm64" fi # main
[gentoo-commits] repo/proj/guru:dev commit in: net-dns/AdGuardHome/
commit: e02aedbce159ec57c89eaa9b6a4d0f42d9cc634c Author: Rahil Bhimjiani rahil rocks> AuthorDate: Sun Jan 7 20:59:49 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Sun Jan 7 20:59:49 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e02aedbc net-dns/AdGuardHome: add arm64 support Signed-off-by: Rahil Bhimjiani rahil.rocks> net-dns/AdGuardHome/AdGuardHome-0.107.43.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-dns/AdGuardHome/AdGuardHome-0.107.43.ebuild b/net-dns/AdGuardHome/AdGuardHome-0.107.43.ebuild index c1a9f54336..e1af0c5cbf 100644 --- a/net-dns/AdGuardHome/AdGuardHome-0.107.43.ebuild +++ b/net-dns/AdGuardHome/AdGuardHome-0.107.43.ebuild @@ -20,7 +20,7 @@ LICENSE="GPL-3" LICENSE+=" Apache-2.0 BSD BSD-2 MIT ZLIB" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="~amd64 ~arm64" FILECAPS=( -m 755 'cap_net_bind_service=+eip cap_net_raw=+eip' usr/bin/${PN}
[gentoo-commits] repo/proj/guru:dev commit in: app-crypt/lego/
commit: 53ddd411d73f6fef1f7644bfe3fdf047050254e5 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Mon Jan 29 11:55:41 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Mon Jan 29 11:55:41 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=53ddd411 app-crypt/lego: add 4.15.0 Signed-off-by: Rahil Bhimjiani rahil.rocks> app-crypt/lego/Manifest | 3 +++ app-crypt/lego/{lego-.ebuild => lego-4.15.0.ebuild} | 2 +- app-crypt/lego/lego-.ebuild | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app-crypt/lego/Manifest b/app-crypt/lego/Manifest index 6a66b1065e..a56340a1d7 100644 --- a/app-crypt/lego/Manifest +++ b/app-crypt/lego/Manifest @@ -1,3 +1,6 @@ DIST lego-4.14.2-deps.tar.xz 204384528 BLAKE2B 5db3b7b6c194b4042b4c81a490c99f79339c9c0c4571bf31061a352626f08afcf8508edaf104af784243476264edd03c3e992aef711d05f26f5270f27b98e7bd SHA512 a07c5bf3fa0b99e3b2af06141b1049ff030b7d74c2a38fbe7c15fc46a622d4cc02c2e563e03eb5aede1ef8dc0ea3d16b775f2381a41caafbe3c6e45831d56544 DIST lego-4.14.2-docs.tar.gz 3639965 BLAKE2B deb991244c93cd317a8e3acb90acc5f6712d5f5a1cf65ce615a13830e5a91fb35070b1eb9ce808322fa1e6e3cc9a6ee4253b488c1c8cbef0d7899b000a00d45f SHA512 13ea06e72581aee038d8cc4906b357d506b1dd20f1c8bd32a1c3fcfa364bdac2ccb76416bf6328f07e8feabc934329358ab75b0a440ede859caf350febac69fd DIST lego-4.14.2.tar.gz 672197 BLAKE2B b633d6ed12fd7d38c35db392a58785fd32c3475961a49c5dbb3fe4986ca17c322a39ff604e73688928db1fa26eee70c8d9774fb560f96c5e017b680e2f89dbf2 SHA512 089788d1df077bdf8731250664628c9dbf44c8db7f2755242029c69b450eb892845b4c0b549a7affe80e351a29a6cc9d07514df3d0b7d1d17b42e20d1c85eca1 +DIST lego-4.15.0-deps.tar.xz 211464468 BLAKE2B 545c8029f4bd337a73d9ba68b7c07e9c38a67e2ab35db31b3c79d3b438f4db88317be4715bcc642e41cb29d920e9dcbb0c9de75a1ecf14fff08f14b1056a43b8 SHA512 551532265fa0f42530ef428f798e293bc96530ad307b4bd658c77e4ca74fd8323766868b8b75e5657aa0f5f627705b3f1990430042cb7a8338269d7234179039 +DIST lego-4.15.0-docs.tar.gz 3650516 BLAKE2B b08d587ec1ee9dad15c568ab979270cf112ba8cf29c1eabd818f30bf38dd29c0625df1fff7d54ce1ed87dfe191378ad0ec288a11d3f029d55c1593c50301061a SHA512 34b1172aa9e4ef53cd2efb1e84ab0b94de2280f81440477471ebf0091cad2996ae0dbef9797b7f652c6ec13053eb6557cd809dbd48b1936747d3c0e4eda63a3d +DIST lego-4.15.0.tar.gz 683931 BLAKE2B b4bcdca4ea72e7826b690b15c297b37c186567d0167715542279acad6173d8e77883ffb79ab9cdb53f505421f67326ceca52a698f9a977cffc738b77dd8d29ed SHA512 a6cc56cbd430ed4b05451783c81d95bbd16e1c4874078b96a9057e2e7b3fde581be1b3663fdc7713079df7f2f24c8581b2f6af5b6c64737303f98e7e2bde8602 diff --git a/app-crypt/lego/lego-.ebuild b/app-crypt/lego/lego-4.15.0.ebuild similarity index 96% copy from app-crypt/lego/lego-.ebuild copy to app-crypt/lego/lego-4.15.0.ebuild index 29e58d9642..283540e19c 100644 --- a/app-crypt/lego/lego-.ebuild +++ b/app-crypt/lego/lego-4.15.0.ebuild @@ -8,7 +8,7 @@ inherit go-module DESCRIPTION="Let's Encrypt/ACME client (like certbot or acme.sh) and library written in Go" HOMEPAGE="https://github.com/go-acme/lego/; -DOCUMENTATION_COMMIT=e28a6ff22f2b7f75b8aaae5012672cfcca2be690 +DOCUMENTATION_COMMIT=9fcb88b9d6914c456d6800cc84c3cd0a6ac93f18 if [[ ${PV} == * ]]; then inherit git-r3 diff --git a/app-crypt/lego/lego-.ebuild b/app-crypt/lego/lego-.ebuild index 29e58d9642..283540e19c 100644 --- a/app-crypt/lego/lego-.ebuild +++ b/app-crypt/lego/lego-.ebuild @@ -8,7 +8,7 @@ inherit go-module DESCRIPTION="Let's Encrypt/ACME client (like certbot or acme.sh) and library written in Go" HOMEPAGE="https://github.com/go-acme/lego/; -DOCUMENTATION_COMMIT=e28a6ff22f2b7f75b8aaae5012672cfcca2be690 +DOCUMENTATION_COMMIT=9fcb88b9d6914c456d6800cc84c3cd0a6ac93f18 if [[ ${PV} == * ]]; then inherit git-r3
[gentoo-commits] repo/proj/guru:dev commit in: net-wireless/bluetuith/
commit: fe23ac1a13141e23381a42781d9fe4d0112747e7 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Sat Feb 3 06:35:23 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Sat Feb 3 06:37:34 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fe23ac1a net-wireless/bluetuith: add 0.2.1, drop 0.1.8 Signed-off-by: Rahil Bhimjiani rahil.rocks> net-wireless/bluetuith: drop 0.1.8 Signed-off-by: Rahil Bhimjiani rahil.rocks> net-wireless/bluetuith/Manifest | 5 ++--- .../bluetuith/{bluetuith-0.1.8.ebuild => bluetuith-0.2.1.ebuild} | 9 +++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/net-wireless/bluetuith/Manifest b/net-wireless/bluetuith/Manifest index 28580dc366..582c4cefc9 100644 --- a/net-wireless/bluetuith/Manifest +++ b/net-wireless/bluetuith/Manifest @@ -1,8 +1,7 @@ -DIST bluetuith-0.1.8-deps.tar.xz 23536984 BLAKE2B 132e6fbd55cac55da2a454e0b97dc95ed17b99f6ca1d08c1c1ad173d196214430845d7cb036f14639f3c67342b3e4de4f13bcabc1577b6367214a146483cb0c9 SHA512 ec1a7d4e06f7e02c24eb2e946ad0d08006d6a6706762df4caa0152473f00f5cac90a9a9db7a5b47d50c6fb6d3c447c82895611b8d1a10116e85d429bb7b8a609 -DIST bluetuith-0.1.8-docs.tar.gz 2382735 BLAKE2B a1cf408cda2b115efdac1a1ab650d2564df5ac4b1f9e037a1c43bbe898b2e6b452b06c4dc634d3c1b124bd5c8e543d6a128a8e35eae89d7f87fb5cac929128f2 SHA512 a8b25e68936dbab717232d159669933d8055182193c4427d1a28fb0ed31a22cd1a80df8ea04824d2d9c95359f859cbd4c5bc8fac65ecac21c7ee9b5e6972d51e -DIST bluetuith-0.1.8.tar.gz 1484790 BLAKE2B 9061502606aba7a23aa0ccfe812864f283c380d0d47dee38f54bcd0f360ce5b4aade5483bd884eb062d03de8f4d8249c7c362066adfcd495bd371f684ae06f14 SHA512 0905af9fc9abdad38150961b4de09d5c78ac0577ba5acc20e7ab5f0578d1c837ec5dc4ede099d36132f626e0fab2a6420a275f883e2be7eb2ac61ebea56d2a13 DIST bluetuith-0.1.9-deps.tar.xz 24086352 BLAKE2B bbb570bf9348474015db1723575ea7669b806f52a7360ca5ce3fc6b57243f35143e94022042b21e2584a1f23d8f2c3627a939d6dd954e28ed791d1560a208ee0 SHA512 44f9c8399cc1c1fb0d061d796d43d3e54dedabf0a85ed6ac868335fdccf6f926ae3522258440a2ccba896fa7bcd442b53f1288bee33d0c5ef179a7f1c2add7eb DIST bluetuith-0.1.9.tar.gz 1482931 BLAKE2B dc6ca796c3b2cdad16e0a9788a598e305829394ce2267c6c4b8a5ab9371ac8a4cb084bf5de1731029616f576cc92eb43e2fddaa636614fb107cf3b75701f23b8 SHA512 2a6632ee73509e71ca446811fc09423e805f0f16a24e47bc96fbcd1b28ada02f25a12259519008ad4e06c78ca30bcae4066f3ed7c2dac536ebcf11e039a9ba5c DIST bluetuith-0.2.0-deps.tar.xz 24092520 BLAKE2B 3038def9cb8543aa84677be8d81d973338cde51514e33c4cd26d551c351161c7d31ab10161ba695608c1560a49f3d4e8b363941369cef04911aa13b514de7cf6 SHA512 6a71ec1cbcda98ac4be830f350a72e3d8da81dfdcbbb434c10dbb09f267142dd916469d3dbbc5f13181d74733723d945af2c394a14def29d09722b78034e9102 DIST bluetuith-0.2.0.tar.gz 1483874 BLAKE2B 03321de6478feb5cb2d740d9db4c114cdbc791b7d4f4573c0b52a22d2c6040796bef9cb211134895cfa3233a91f2193c782fdda2bb5040eaa5ac019d0c5623f4 SHA512 bc17842adddcef3beb89708f1f9505035e2a71a9a9755894ad2ecdaac5ca90c823a57b90033b369f4c759b259830710d3e5a0b84fcd9bbc79c4b2697fb0234fd +DIST bluetuith-0.2.1-deps.tar.xz 24112984 BLAKE2B 2ceec0ea5962ee94eda4f30f15f33c5d7e1e226d2d6bc337201066377eeba03bc9bff9ae80e08649f4a77c5bf40d4a857e86f6a5511ca2bc1781179112e1d924 SHA512 58b6595c599cca2f116bd7f56ee2bff26fdf179e118ea8df6e0bd05d88840c362e05c3cfdb21ccf4589850a680929ccd314a1774a8d4d0f372b6e783ab1abab5 +DIST bluetuith-0.2.1.tar.gz 1485063 BLAKE2B 543576faba4350682434e8bdc4b765afdf22839a8b525c782f7d4a179863a831b7bc107dd44d27c62949ae5d8c0fd447bc3a63dbd28d344ed01a83bee8212f9e SHA512 9cd40881b18a4e109e76aaaee4db375eda123e9dc8caf6b1d7ec17c4da67debfd2d1892109ae28d6483067838a168769a4caa2c9c4dd9bd4107417183021018b DIST bluetuith-docs-3b2ebf5a6bc8a9ed2dc48e1fa7f0df5851ddb84b.tar.gz 2382735 BLAKE2B a1cf408cda2b115efdac1a1ab650d2564df5ac4b1f9e037a1c43bbe898b2e6b452b06c4dc634d3c1b124bd5c8e543d6a128a8e35eae89d7f87fb5cac929128f2 SHA512 a8b25e68936dbab717232d159669933d8055182193c4427d1a28fb0ed31a22cd1a80df8ea04824d2d9c95359f859cbd4c5bc8fac65ecac21c7ee9b5e6972d51e diff --git a/net-wireless/bluetuith/bluetuith-0.1.8.ebuild b/net-wireless/bluetuith/bluetuith-0.2.1.ebuild similarity index 77% rename from net-wireless/bluetuith/bluetuith-0.1.8.ebuild rename to net-wireless/bluetuith/bluetuith-0.2.1.ebuild index 8163bcef19..4c431789d4 100644 --- a/net-wireless/bluetuith/bluetuith-0.1.8.ebuild +++ b/net-wireless/bluetuith/bluetuith-0.2.1.ebuild @@ -8,6 +8,9 @@ inherit go-module DESCRIPTION="A TUI bluetooth manager for Linux written in Go" HOMEPAGE="https://darkhz.github.io/bluetuith; +# MAKE SURE to change these on every update +[[ ${PV} != * ]] && \ +GIT_COMMIT="ffe8681" GIT_DOCUMENTATION_COMMIT="3b2ebf5a6bc8a9ed2dc48e1fa7f0df5851ddb84b" if [[ ${PV} == * ]]; then @@ -16,7 +19,7 @@ if [[ ${PV} == * ]]; then else SRC_URI="https://github.com/darkhz/bluetuith/a
[gentoo-commits] repo/proj/guru:dev commit in: net-wireless/bluetuith/
commit: 1cbdc82530168e85f83086a507d00fccb29698a6 Author: Rahil Bhimjiani gmail com> AuthorDate: Sun Nov 19 00:10:33 2023 + Commit: Rahil Bhimjiani gmail com> CommitDate: Sun Nov 19 00:10:33 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1cbdc825 net-wireless/bluetuith: changing email in metadata.xml Signed-off-by: Rahil Bhimjiani gmail.com> net-wireless/bluetuith/metadata.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-wireless/bluetuith/metadata.xml b/net-wireless/bluetuith/metadata.xml index 31b56f21cd..e02ca2d3d5 100644 --- a/net-wireless/bluetuith/metadata.xml +++ b/net-wireless/bluetuith/metadata.xml @@ -2,7 +2,7 @@ https://www.gentoo.org/dtd/metadata.dtd;> -rahil3...@gmail.com +me@rahil.website Rahil Bhimjiani
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/bitwarden-cli-bin/
commit: a70b43878c2d4927a7dd61705da0ed48c158f411 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Tue May 7 05:16:53 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Tue May 7 05:16:53 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a70b4387 app-admin/bitwarden-cli-bin: update to 2024.4.0 and remove 2024.2.0 Signed-off-by: Rahil Bhimjiani rahil.rocks> app-admin/bitwarden-cli-bin/Manifest| 2 +- ...warden-cli-bin-2024.2.0.ebuild => bitwarden-cli-bin-2024.4.0.ebuild} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app-admin/bitwarden-cli-bin/Manifest b/app-admin/bitwarden-cli-bin/Manifest index 51e87d9e3b..ba9451f7e9 100644 --- a/app-admin/bitwarden-cli-bin/Manifest +++ b/app-admin/bitwarden-cli-bin/Manifest @@ -1,3 +1,3 @@ -DIST bw-linux-2024.2.0.zip 32968695 BLAKE2B 808dbd4965cc26b3880bd541bc4c3627ed6b07233bb3eb62c76c5034ba734c6211c1fc907309f71d8dcfd993a61ba0bcdd049dc052c477cb43e7d4452929fe31 SHA512 80fa0ab96bf291ed5008d5c01d00eebf950e72b8c21184be3df1018ba33d33bac038b4410e17123096113642372b8013bdde0605473449cec5c69c418fa2e3c5 DIST bw-linux-2024.2.1.zip 33060347 BLAKE2B fdfeec07f9c9a0c70741461ff4969b8909fb04d6aa0411a936b8a10165d7e2a31ad02228cbb6e1aea6f375436be8dd5d2dc560a440d1db9877c056ed1e870719 SHA512 67222301f62371129eccd7847a642e7ac13191d9e8d5033774f888cb6eb989e1427ce2c02a05121a259e7c217214d31d793474827b315479b410bb780f858f0d DIST bw-linux-2024.3.1.zip 33190371 BLAKE2B e0440980ef22083b53cf3032b9fb600fc9fefe06afd64431475871d2f64af1fb5620096aada09ff3a7b7fd89992abefa410e8bbf289230aae2515e118d36ad77 SHA512 4406a118b4815eab950f8bfdba5623f8097acf0d4018726985e4614a3deb6a52d3a0323deac35ba270c7974649da9f4a70ccdf049ce88ee0528c6980935366a0 +DIST bw-linux-2024.4.0.zip 33268198 BLAKE2B 672e2bc0b123320fa1118d1043c4314905203cd890c49d4c5c5ab524a9b12d3f966863dce9b4a1c5921816564fb94e908b099a94f44d033db7da3ac805de529b SHA512 07c5b153025e3303ee6f563b9e7a88908d5f7f8877594b42f94fceb3daddb77c718cf01d1546a80618c288a38a8872dbbda8faf1bc2d58af7cf74b0347e95e51 diff --git a/app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.2.0.ebuild b/app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.4.0.ebuild similarity index 92% rename from app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.2.0.ebuild rename to app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.4.0.ebuild index 767f167a69..d30d477c53 100644 --- a/app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.2.0.ebuild +++ b/app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.4.0.ebuild @@ -26,7 +26,7 @@ BDEPEND="app-arch/unzip" QA_PREBUILT="usr/bin/bw" src_compile() { - ./bw completion --shell zsh > bw.zsh + ./bw completion --shell zsh > bw.zsh 2> /dev/null || die } src_install() {
[gentoo-commits] repo/proj/guru:dev commit in: net-irc/thelounge/
commit: 8fd3dfb68a9bc5b378c722874b572185e26c916e Author: Rahil Bhimjiani rahil rocks> AuthorDate: Mon Mar 11 19:36:23 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Mon Mar 11 19:58:27 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8fd3dfb6 net-irc/thelounge: use specific python version Instead of just executing `python` or `python3` which are just symlinks and considered bad practice, execute specific python executable (i.e. /usr/bin/python3.11) This also fixes failing build with python-exec[-native-symlinks] Closes: https://bugs.gentoo.org/926719 Signed-off-by: Rahil Bhimjiani rahil.rocks> net-irc/thelounge/thelounge-4.4.1.ebuild | 12 ++-- net-irc/thelounge/thelounge-4.4.2_rc1.ebuild | 12 ++-- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/net-irc/thelounge/thelounge-4.4.1.ebuild b/net-irc/thelounge/thelounge-4.4.1.ebuild index 1f86cc3737..93cca19219 100644 --- a/net-irc/thelounge/thelounge-4.4.1.ebuild +++ b/net-irc/thelounge/thelounge-4.4.1.ebuild @@ -3,7 +3,9 @@ EAPI=8 -inherit readme.gentoo-r1 systemd tmpfiles +PYTHON_COMPAT=( python3_{10..12} ) + +inherit python-single-r1 readme.gentoo-r1 systemd tmpfiles DESCRIPTION="‎Modern, responsive, cross-platform, self-hosted web IRC client" HOMEPAGE="https://thelounge.chat/; @@ -19,6 +21,7 @@ LICENSE="BSD MIT" SLOT="0" KEYWORDS="~amd64" IUSE="+sqlite" +REQUIRED_USE="sqlite? ( ${PYTHON_REQUIRED_USE} )" RDEPEND=" acct-user/${PN} @@ -28,6 +31,7 @@ RDEPEND=" " DEPEND="${RDEPEND}" BDEPEND=" + sqlite? ( ${PYTHON_DEPS} ) >=net-libs/nodejs-16[npm] sys-apps/yarn " @@ -67,7 +71,11 @@ src_compile() { if use sqlite; then # sqlite3 build pushd node_modules/sqlite3 || die - export npm_config_cache="${WORKDIR}"/npm-cache npm_config_nodedir="${EPREFIX}"/usr || die + export \ + npm_config_cache="${WORKDIR}"/npm-cache \ + npm_config_nodedir="${EPREFIX}"/usr \ + NODE_GYP_FORCE_PYTHON="$(command -v ${PYTHON_SINGLE_TARGET/_/.})" \ + || die npm --verbose --offline install --build-from-source --sqlite="${EPREFIX}"/usr || die # sqlite3 cleanup rm -rf node_modules || die diff --git a/net-irc/thelounge/thelounge-4.4.2_rc1.ebuild b/net-irc/thelounge/thelounge-4.4.2_rc1.ebuild index 475c04eae3..588c79dce6 100644 --- a/net-irc/thelounge/thelounge-4.4.2_rc1.ebuild +++ b/net-irc/thelounge/thelounge-4.4.2_rc1.ebuild @@ -3,7 +3,9 @@ EAPI=8 -inherit readme.gentoo-r1 systemd tmpfiles +PYTHON_COMPAT=( python3_{10..12} ) + +inherit python-single-r1 readme.gentoo-r1 systemd tmpfiles DESCRIPTION="‎Modern, responsive, cross-platform, self-hosted web IRC client" HOMEPAGE="https://thelounge.chat/; @@ -19,6 +21,7 @@ LICENSE="BSD MIT" SLOT="0" KEYWORDS="~amd64" IUSE="+sqlite" +REQUIRED_USE="sqlite? ( ${PYTHON_REQUIRED_USE} )" RDEPEND=" acct-user/${PN} @@ -28,6 +31,7 @@ RDEPEND=" " DEPEND="${RDEPEND}" BDEPEND=" + sqlite? ( ${PYTHON_DEPS} ) >=net-libs/nodejs-18[npm] sys-apps/yarn " @@ -67,7 +71,11 @@ src_compile() { if use sqlite; then # sqlite3 build pushd node_modules/sqlite3 || die - export npm_config_cache="${WORKDIR}"/npm-cache npm_config_nodedir="${EPREFIX}"/usr || die + export \ + npm_config_cache="${WORKDIR}"/npm-cache \ + npm_config_nodedir="${EPREFIX}"/usr \ + NODE_GYP_FORCE_PYTHON="$(command -v ${PYTHON_SINGLE_TARGET/_/.})" \ + || die npm --verbose --offline install --build-from-source --sqlite="${EPREFIX}"/usr || die # sqlite3 cleanup rm -rf node_modules || die
[gentoo-commits] repo/proj/guru:dev commit in: net-irc/thelounge/
commit: 3e783c51debc86da3d8187de4c24575576d85f60 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Mon Mar 11 20:25:22 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Mon Mar 11 20:25:22 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3e783c51 net-irc/thelounge/thelounge: fix failing build on python3.12 Signed-off-by: Rahil Bhimjiani rahil.rocks> net-irc/thelounge/thelounge-4.4.1.ebuild | 2 +- net-irc/thelounge/thelounge-4.4.2_rc1.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net-irc/thelounge/thelounge-4.4.1.ebuild b/net-irc/thelounge/thelounge-4.4.1.ebuild index 93cca19219..a1d2ccb91d 100644 --- a/net-irc/thelounge/thelounge-4.4.1.ebuild +++ b/net-irc/thelounge/thelounge-4.4.1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..11} ) inherit python-single-r1 readme.gentoo-r1 systemd tmpfiles diff --git a/net-irc/thelounge/thelounge-4.4.2_rc1.ebuild b/net-irc/thelounge/thelounge-4.4.2_rc1.ebuild index 588c79dce6..e7d1c48610 100644 --- a/net-irc/thelounge/thelounge-4.4.2_rc1.ebuild +++ b/net-irc/thelounge/thelounge-4.4.2_rc1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) +PYTHON_COMPAT=( python3_{10..11} ) inherit python-single-r1 readme.gentoo-r1 systemd tmpfiles
[gentoo-commits] repo/proj/guru:dev commit in: acct-user/thelounge/
commit: 641bf9e50688f48705f456c425e6dff0abbc7619 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Fri Mar 8 12:01:30 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Sat Mar 9 15:57:05 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=641bf9e5 acct-user/thelounge: for net-irc/thelounge Signed-off-by: Rahil Bhimjiani rahil.rocks> acct-user/thelounge/metadata.xml | 8 acct-user/thelounge/thelounge-0.ebuild | 13 + 2 files changed, 21 insertions(+) diff --git a/acct-user/thelounge/metadata.xml b/acct-user/thelounge/metadata.xml new file mode 100644 index 00..3e6b5d8ad4 --- /dev/null +++ b/acct-user/thelounge/metadata.xml @@ -0,0 +1,8 @@ + +https://www.gentoo.org/dtd/metadata.dtd;> + + + me@rahil.rocks + Rahil Bhimjiani + + diff --git a/acct-user/thelounge/thelounge-0.ebuild b/acct-user/thelounge/thelounge-0.ebuild new file mode 100644 index 00..161eb8765a --- /dev/null +++ b/acct-user/thelounge/thelounge-0.ebuild @@ -0,0 +1,13 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit acct-user + +DESCRIPTION="A user for net-irc/thelounge" + +ACCT_USER_ID=-1 +ACCT_USER_GROUPS=( "${PN}" ) + +acct-user_add_deps
[gentoo-commits] repo/proj/guru:dev commit in: acct-group/thelounge/
commit: 0cb55cf2b3160e21f9f2041b8b5923df200466fc Author: Rahil Bhimjiani rahil rocks> AuthorDate: Fri Mar 8 12:02:06 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Sat Mar 9 15:57:05 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0cb55cf2 acct-group/thelounge: for net-irc/thelounge Signed-off-by: Rahil Bhimjiani rahil.rocks> acct-group/thelounge/metadata.xml | 8 acct-group/thelounge/thelounge-0.ebuild | 10 ++ 2 files changed, 18 insertions(+) diff --git a/acct-group/thelounge/metadata.xml b/acct-group/thelounge/metadata.xml new file mode 100644 index 00..3e6b5d8ad4 --- /dev/null +++ b/acct-group/thelounge/metadata.xml @@ -0,0 +1,8 @@ + +https://www.gentoo.org/dtd/metadata.dtd;> + + + me@rahil.rocks + Rahil Bhimjiani + + diff --git a/acct-group/thelounge/thelounge-0.ebuild b/acct-group/thelounge/thelounge-0.ebuild new file mode 100644 index 00..ad23ebdd66 --- /dev/null +++ b/acct-group/thelounge/thelounge-0.ebuild @@ -0,0 +1,10 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit acct-group + +DESCRIPTION="A group for net-irc/thelounge" + +ACCT_GROUP_ID=-1
[gentoo-commits] repo/proj/guru:dev commit in: net-irc/thelounge/, net-irc/thelounge/files/
commit: b061292d27b16f6069486e75072557d63f34b2f3 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Fri Mar 8 03:01:44 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Sat Mar 9 15:57:05 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b061292d net-irc/thelounge: ‎Modern & responsive web IRC client add 4.4.1 and 4.4.2-rc.1 Signed-off-by: Rahil Bhimjiani rahil.rocks> net-irc/thelounge/Manifest | 6 ++ .../thelounge/files/thelounge-4.4.1-tmpfiles.conf | 4 ++ .../thelounge/files/thelounge-4.4.1-user.service | 13 net-irc/thelounge/files/thelounge-4.4.1.confd | 3 + net-irc/thelounge/files/thelounge-4.4.1.initd | 20 ++ net-irc/thelounge/files/thelounge-4.4.1.logrotate | 7 ++ net-irc/thelounge/files/thelounge-4.4.1.service| 44 net-irc/thelounge/metadata.xml | 12 net-irc/thelounge/thelounge-4.4.1.ebuild | 78 ++ net-irc/thelounge/thelounge-4.4.2_rc1.ebuild | 78 ++ 10 files changed, 265 insertions(+) diff --git a/net-irc/thelounge/Manifest b/net-irc/thelounge/Manifest new file mode 100644 index 00..e05384ffc8 --- /dev/null +++ b/net-irc/thelounge/Manifest @@ -0,0 +1,6 @@ +DIST thelounge-4.4.1-deps.tar.xz 81407420 BLAKE2B 027652411cf7848fae713770444ee6c20c18b2d90abf8967976954df844dea8b39110bc0a1742926174346fbfa976c06883f9538722ab02a94579203e3d61dde SHA512 0626e55b16a92346729b4504a1b8d3f5cc108a2a59d648476abbc844043efe3f577d83240c3ea5a61572216ab1af53018cab8e0dac133b938ad0ab9d42878fbe +DIST thelounge-4.4.1-sqlite3.tar.xz 3994944 BLAKE2B 01d12ca8947465c91e4ac455c743503fedce2f53ce8ee5fbdf0e77188bfc67378bfcc58a1ad4172ef46a5c1ba04a37fcb19726f0b7aa3352efa4f5ceca6245d1 SHA512 b81734ca8b32d5ddc7bad28aead5a96e578844aa2a8e6635ffe62b7dcd38daf3b7e218569d43e0cb9e6cd12adfa07a8c41fb51877f65717e3c98e6ce3c25a017 +DIST thelounge-4.4.1.tar.gz 577766 BLAKE2B f5ce4b381445e7d8d33e83431e4222b3fdc7ad2870c7819c9d641b2e7aca9e4cbd7d000a188132f40a39b775904d8d145e87a5edda6d6195bb2de2d9a6b6eb0a SHA512 7695121a713a23688bc6f52dae2574bab1288eea930fd50d4dd85037233e9f23bd8e460980c69cdd14ea8648da4720d84e8196547b6a18e69d2f478b43d6e29a +DIST thelounge-4.4.2_rc1-deps.tar.xz 82563560 BLAKE2B 4511199d37825a2627f1865386da988047d33471b3b12ef8e84b3b3aca14d4bf50180a54436ba13487ddd21583abe2db2fdb830cde38c4872479b485117f5763 SHA512 3358b07fd9a27f8e4f16cdcff00c13b7a08850db4629f28320e485a9ad35a081174245715c3089fdf95307317cf2e198c959611a291070cfc1bdb0f0e4b567ca +DIST thelounge-4.4.2_rc1-sqlite3.tar.xz 4110020 BLAKE2B 39eaf47ea4f18b7e5f73af53771a5b3042f547476608579de0d36417e58693956fa2b6dbed17cdbadc254bc9844c452c45fb8fb016f2aed66c4220193e2c69e2 SHA512 a39202018e3927504913d62f4eaaeeda70a20dc7b35ed7b9f40b46a709982b46fc5a618bc425084b533ff6634c1f56924aec5e3a5bcc2393ae176d8f72e5f237 +DIST thelounge-4.4.2_rc1.tar.gz 588927 BLAKE2B 24e1b47e124ac1654cfeb967ceffc0d72e54691b59a0c71bfd00fe9a4ef68b8e0279561cb52f56bd281876af1d04a995481602f8a0e647bf30af3fa9a7ce5ef7 SHA512 24c8304566aca12fa0264e175e8340687f8488afbb1cb49430323c7d5c6a5fdc6e0ad14f1bd0e327e4284d3b7477cd61a18677a63836a2c49a1f4c7f785a8e33 diff --git a/net-irc/thelounge/files/thelounge-4.4.1-tmpfiles.conf b/net-irc/thelounge/files/thelounge-4.4.1-tmpfiles.conf new file mode 100644 index 00..fcca9ab2b2 --- /dev/null +++ b/net-irc/thelounge/files/thelounge-4.4.1-tmpfiles.conf @@ -0,0 +1,4 @@ +# Fields: type; path; mode; uid; gid; age; argument +# tmpfiled.d(5) +d /var/lib/thelounge 0750thelounge thelounge +f /var/log/thelounge.log 0640thelounge thelounge diff --git a/net-irc/thelounge/files/thelounge-4.4.1-user.service b/net-irc/thelounge/files/thelounge-4.4.1-user.service new file mode 100644 index 00..88306e0b14 --- /dev/null +++ b/net-irc/thelounge/files/thelounge-4.4.1-user.service @@ -0,0 +1,13 @@ +[Unit] +Description=thelounge - Modern, responsive, cross-platform, self-hosted web IRC client +Documentation=https://thelounge.chat/docs + +After=network-online.target +Wants=network-online.target + +[Service] +ExecStart=/usr/bin/%N start +UMask=0027 + +[Install] +WantedBy=default.target diff --git a/net-irc/thelounge/files/thelounge-4.4.1.confd b/net-irc/thelounge/files/thelounge-4.4.1.confd new file mode 100644 index 00..dd12931e38 --- /dev/null +++ b/net-irc/thelounge/files/thelounge-4.4.1.confd @@ -0,0 +1,3 @@ +## Sets the Data directory for thelounge. +## It contains config, logs database, logs txt files, user records, extra packages installed with `thelounge install` etc. +# THELOUNGE_HOME=/var/lib/thelounge diff --git a/net-irc/thelounge/files/thelounge-4.4.1.initd b/net-irc/thelounge/files/thelounge-4.4.1.initd new file mode 100644 index 00..bd277e5ad3 --- /dev/null +++ b/net-irc/thelounge/files/thelounge-4.4.1.initd @@ -0,0 +1,20 @@ +#!/sbin/openrc-run +# Copyright 1999-2024 G
[gentoo-commits] repo/proj/guru:dev commit in: net-irc/thelounge/
commit: c7fdbf8cac194e8c386439ba2d1a55f7b166829d Author: Rahil Bhimjiani rahil rocks> AuthorDate: Sun Mar 10 16:01:33 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Sun Mar 10 16:01:47 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c7fdbf8c net-irc/thelounge: misc improvements Changes: * provide USE flag, sqlite * fix failing build on FEATURES=-network-sandbox * build sqlite from source instead of using upstream's binary Signed-off-by: Rahil Bhimjiani rahil.rocks> net-irc/thelounge/Manifest | 4 +-- net-irc/thelounge/thelounge-4.4.1.ebuild | 40 ++-- net-irc/thelounge/thelounge-4.4.2_rc1.ebuild | 40 ++-- 3 files changed, 66 insertions(+), 18 deletions(-) diff --git a/net-irc/thelounge/Manifest b/net-irc/thelounge/Manifest index e05384ffc8..bd5029c276 100644 --- a/net-irc/thelounge/Manifest +++ b/net-irc/thelounge/Manifest @@ -1,6 +1,6 @@ DIST thelounge-4.4.1-deps.tar.xz 81407420 BLAKE2B 027652411cf7848fae713770444ee6c20c18b2d90abf8967976954df844dea8b39110bc0a1742926174346fbfa976c06883f9538722ab02a94579203e3d61dde SHA512 0626e55b16a92346729b4504a1b8d3f5cc108a2a59d648476abbc844043efe3f577d83240c3ea5a61572216ab1af53018cab8e0dac133b938ad0ab9d42878fbe -DIST thelounge-4.4.1-sqlite3.tar.xz 3994944 BLAKE2B 01d12ca8947465c91e4ac455c743503fedce2f53ce8ee5fbdf0e77188bfc67378bfcc58a1ad4172ef46a5c1ba04a37fcb19726f0b7aa3352efa4f5ceca6245d1 SHA512 b81734ca8b32d5ddc7bad28aead5a96e578844aa2a8e6635ffe62b7dcd38daf3b7e218569d43e0cb9e6cd12adfa07a8c41fb51877f65717e3c98e6ce3c25a017 +DIST thelounge-4.4.1-sqlite.tar.xz 11717368 BLAKE2B 575ca85823f190444f8b32be11af778fd822ec32bce256e8225b4640023d84d17c3aee50f10a9dcc4045bd9101c88702f086e86e092e213b41f39f9712d6794b SHA512 ca69be8fe1d51affc77c350d38de74d6e4af5b3f51abd9b3b0f5d14ceb86d5336723b7afc9a3bcff3c5127fbfc36dc7f6a9d6ac43aeb3db94454a2d850b256f8 DIST thelounge-4.4.1.tar.gz 577766 BLAKE2B f5ce4b381445e7d8d33e83431e4222b3fdc7ad2870c7819c9d641b2e7aca9e4cbd7d000a188132f40a39b775904d8d145e87a5edda6d6195bb2de2d9a6b6eb0a SHA512 7695121a713a23688bc6f52dae2574bab1288eea930fd50d4dd85037233e9f23bd8e460980c69cdd14ea8648da4720d84e8196547b6a18e69d2f478b43d6e29a DIST thelounge-4.4.2_rc1-deps.tar.xz 82563560 BLAKE2B 4511199d37825a2627f1865386da988047d33471b3b12ef8e84b3b3aca14d4bf50180a54436ba13487ddd21583abe2db2fdb830cde38c4872479b485117f5763 SHA512 3358b07fd9a27f8e4f16cdcff00c13b7a08850db4629f28320e485a9ad35a081174245715c3089fdf95307317cf2e198c959611a291070cfc1bdb0f0e4b567ca -DIST thelounge-4.4.2_rc1-sqlite3.tar.xz 4110020 BLAKE2B 39eaf47ea4f18b7e5f73af53771a5b3042f547476608579de0d36417e58693956fa2b6dbed17cdbadc254bc9844c452c45fb8fb016f2aed66c4220193e2c69e2 SHA512 a39202018e3927504913d62f4eaaeeda70a20dc7b35ed7b9f40b46a709982b46fc5a618bc425084b533ff6634c1f56924aec5e3a5bcc2393ae176d8f72e5f237 +DIST thelounge-4.4.2_rc1-sqlite.tar.xz 57426856 BLAKE2B ebcb9f1b6bc256125fe1b93d764a3cd6032615ccf5b45c6b1ac9549c6b3cab1c06155a9bfa00b13e44f86dfa31572be103277ff0023a6381ddff47c684e89b90 SHA512 dfab9ff0537b633f5d1361cefa2ae6047988d74c9e3599365adc6139e4b434e0b9abc1b8e47d0a2c00e57b37fe8bb7feb99aca9312a311cd4e0444b10decd919 DIST thelounge-4.4.2_rc1.tar.gz 588927 BLAKE2B 24e1b47e124ac1654cfeb967ceffc0d72e54691b59a0c71bfd00fe9a4ef68b8e0279561cb52f56bd281876af1d04a995481602f8a0e647bf30af3fa9a7ce5ef7 SHA512 24c8304566aca12fa0264e175e8340687f8488afbb1cb49430323c7d5c6a5fdc6e0ad14f1bd0e327e4284d3b7477cd61a18677a63836a2c49a1f4c7f785a8e33 diff --git a/net-irc/thelounge/thelounge-4.4.1.ebuild b/net-irc/thelounge/thelounge-4.4.1.ebuild index 7244624efd..1f86cc3737 100644 --- a/net-irc/thelounge/thelounge-4.4.1.ebuild +++ b/net-irc/thelounge/thelounge-4.4.1.ebuild @@ -11,19 +11,22 @@ HOMEPAGE="https://thelounge.chat/; SRC_URI=" https://github.com/thelounge/thelounge/archive/refs/tags/v${PV/_rc/-rc.}.tar.gz -> ${P}.tar.gz https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz - https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/sqlite3.tar.xz -> ${P}-sqlite3.tar.xz + sqlite? ( https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/sqlite.tar.xz -> ${P}-sqlite.tar.xz ) " S="${WORKDIR}/${PN}-${PV/_rc/-rc.}" -LICENSE="MIT" +LICENSE="BSD MIT" SLOT="0" KEYWORDS="~amd64" +IUSE="+sqlite" RDEPEND=" acct-user/${PN} acct-group/${PN} >=net-libs/nodejs-16 + sqlite? ( dev-db/sqlite:3= ) " +DEPEND="${RDEPEND}" BDEPEND=" >=net-libs/nodejs-16[npm] sys-apps/yarn @@ -34,24 +37,45 @@ DOC_CONTENTS="\n Data directory: /var/lib/${PN}\n Listens on: 0.0.0.0:9000\n Log file (openrc): /var/log/${PN}.log\n +Config file: /var/lib/${PN}/config.js\n \n # Initialization ###
[gentoo-commits] repo/proj/guru:dev commit in: net-irc/thelounge/, net-irc/thelounge/files/
commit: c4cd203c0771fd29c52cd9914dea4de85afb4921 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Tue Mar 12 07:16:05 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Tue Mar 12 07:16:05 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c4cd203c net-irc/thelounge: use python-any-r1 instead and tweak systemd unit Upstream recommended to unset LimitNOFILE LimitNPROC Signed-off-by: Rahil Bhimjiani rahil.rocks> net-irc/thelounge/files/thelounge-4.4.1.service | 4 net-irc/thelounge/thelounge-4.4.1.ebuild| 7 +++ net-irc/thelounge/thelounge-4.4.2_rc1.ebuild| 7 +++ 3 files changed, 6 insertions(+), 12 deletions(-) diff --git a/net-irc/thelounge/files/thelounge-4.4.1.service b/net-irc/thelounge/files/thelounge-4.4.1.service index 1257000860..78f9de3797 100644 --- a/net-irc/thelounge/files/thelounge-4.4.1.service +++ b/net-irc/thelounge/files/thelounge-4.4.1.service @@ -36,9 +36,5 @@ NoNewPrivileges=true ProtectSystem=strict ReadWritePaths=/var/lib/%N -# Set reasonable connection and process limits -LimitNOFILE=1048576 -LimitNPROC=64 - [Install] WantedBy=multi-user.target diff --git a/net-irc/thelounge/thelounge-4.4.1.ebuild b/net-irc/thelounge/thelounge-4.4.1.ebuild index 096387d178..d83f68fd90 100644 --- a/net-irc/thelounge/thelounge-4.4.1.ebuild +++ b/net-irc/thelounge/thelounge-4.4.1.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..11} ) -inherit python-single-r1 readme.gentoo-r1 systemd tmpfiles +inherit python-any-r1 readme.gentoo-r1 systemd tmpfiles DESCRIPTION="‎Modern, responsive, cross-platform, self-hosted web IRC client" HOMEPAGE="https://thelounge.chat/; @@ -21,7 +21,6 @@ LICENSE="BSD MIT" SLOT="0" KEYWORDS="~amd64" IUSE="+sqlite" -REQUIRED_USE="sqlite? ( ${PYTHON_REQUIRED_USE} )" RDEPEND=" acct-user/${PN} @@ -54,7 +53,7 @@ mooyarn() { } pkg_setup() { - use sqlite && python-single-r1_pkg_setup + use sqlite && python-any-r1_pkg_setup } src_prepare() { @@ -78,7 +77,7 @@ src_compile() { export \ npm_config_cache="${WORKDIR}"/npm-cache \ npm_config_nodedir="${EPREFIX}"/usr \ - NODE_GYP_FORCE_PYTHON="$(command -v ${PYTHON_SINGLE_TARGET/_/.})" \ + NODE_GYP_FORCE_PYTHON="${PYTHON}" \ || die npm --verbose --offline install --build-from-source --sqlite="${EPREFIX}"/usr || die # sqlite3 cleanup diff --git a/net-irc/thelounge/thelounge-4.4.2_rc1.ebuild b/net-irc/thelounge/thelounge-4.4.2_rc1.ebuild index a8abb0005c..cc14668af3 100644 --- a/net-irc/thelounge/thelounge-4.4.2_rc1.ebuild +++ b/net-irc/thelounge/thelounge-4.4.2_rc1.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{10..11} ) -inherit python-single-r1 readme.gentoo-r1 systemd tmpfiles +inherit python-any-r1 readme.gentoo-r1 systemd tmpfiles DESCRIPTION="‎Modern, responsive, cross-platform, self-hosted web IRC client" HOMEPAGE="https://thelounge.chat/; @@ -21,7 +21,6 @@ LICENSE="BSD MIT" SLOT="0" KEYWORDS="~amd64" IUSE="+sqlite" -REQUIRED_USE="sqlite? ( ${PYTHON_REQUIRED_USE} )" RDEPEND=" acct-user/${PN} @@ -54,7 +53,7 @@ mooyarn() { } pkg_setup() { - use sqlite && python-single-r1_pkg_setup + use sqlite && python-any-r1_pkg_setup } src_prepare() { @@ -78,7 +77,7 @@ src_compile() { export \ npm_config_cache="${WORKDIR}"/npm-cache \ npm_config_nodedir="${EPREFIX}"/usr \ - NODE_GYP_FORCE_PYTHON="$(command -v ${PYTHON_SINGLE_TARGET/_/.})" \ + NODE_GYP_FORCE_PYTHON="${PYTHON}" \ || die npm --verbose --offline install --build-from-source --sqlite="${EPREFIX}"/usr || die # sqlite3 cleanup
[gentoo-commits] repo/proj/guru:dev commit in: net-irc/thelounge/
commit: eaadd7954eb64572ce91f3ad8dd788bd4c1cdd96 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Tue Mar 12 06:25:40 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Tue Mar 12 06:47:09 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=eaadd795 net-irc/thelounge: setup for python only if +sqlite missed this one as I didn't know that python-single-r1 exports pkg_setup Signed-off-by: Rahil Bhimjiani rahil.rocks> net-irc/thelounge/thelounge-4.4.1.ebuild | 4 net-irc/thelounge/thelounge-4.4.2_rc1.ebuild | 4 2 files changed, 8 insertions(+) diff --git a/net-irc/thelounge/thelounge-4.4.1.ebuild b/net-irc/thelounge/thelounge-4.4.1.ebuild index a1d2ccb91d..096387d178 100644 --- a/net-irc/thelounge/thelounge-4.4.1.ebuild +++ b/net-irc/thelounge/thelounge-4.4.1.ebuild @@ -53,6 +53,10 @@ mooyarn() { --ignore-scripts ${YARN_OPTS} "${@}" || die } +pkg_setup() { + use sqlite && python-single-r1_pkg_setup +} + src_prepare() { default use !sqlite && { sed -i -e 's|\["sqlite", |\[|g;' defaults/config.js || die ; } diff --git a/net-irc/thelounge/thelounge-4.4.2_rc1.ebuild b/net-irc/thelounge/thelounge-4.4.2_rc1.ebuild index e7d1c48610..a8abb0005c 100644 --- a/net-irc/thelounge/thelounge-4.4.2_rc1.ebuild +++ b/net-irc/thelounge/thelounge-4.4.2_rc1.ebuild @@ -53,6 +53,10 @@ mooyarn() { --ignore-scripts ${YARN_OPTS} "${@}" || die } +pkg_setup() { + use sqlite && python-single-r1_pkg_setup +} + src_prepare() { default use !sqlite && { sed -i -e 's|\["sqlite", |\[|g;' defaults/config.js || die ; }
[gentoo-commits] repo/proj/guru:dev commit in: app-crypt/lego/
commit: 8e472f44c79ef8f1b4fb211d03afa35012f3e0ca Author: Rahil Bhimjiani rahil rocks> AuthorDate: Sun Mar 10 22:17:42 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Sun Mar 10 22:18:10 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8e472f44 app-crypt/lego: add 4.16.0 Signed-off-by: Rahil Bhimjiani rahil.rocks> app-crypt/lego/Manifest | 3 +++ app-crypt/lego/{lego-.ebuild => lego-4.16.0.ebuild} | 2 +- app-crypt/lego/lego-.ebuild | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app-crypt/lego/Manifest b/app-crypt/lego/Manifest index a56340a1d7..3d4c7d79e5 100644 --- a/app-crypt/lego/Manifest +++ b/app-crypt/lego/Manifest @@ -4,3 +4,6 @@ DIST lego-4.14.2.tar.gz 672197 BLAKE2B b633d6ed12fd7d38c35db392a58785fd32c347596 DIST lego-4.15.0-deps.tar.xz 211464468 BLAKE2B 545c8029f4bd337a73d9ba68b7c07e9c38a67e2ab35db31b3c79d3b438f4db88317be4715bcc642e41cb29d920e9dcbb0c9de75a1ecf14fff08f14b1056a43b8 SHA512 551532265fa0f42530ef428f798e293bc96530ad307b4bd658c77e4ca74fd8323766868b8b75e5657aa0f5f627705b3f1990430042cb7a8338269d7234179039 DIST lego-4.15.0-docs.tar.gz 3650516 BLAKE2B b08d587ec1ee9dad15c568ab979270cf112ba8cf29c1eabd818f30bf38dd29c0625df1fff7d54ce1ed87dfe191378ad0ec288a11d3f029d55c1593c50301061a SHA512 34b1172aa9e4ef53cd2efb1e84ab0b94de2280f81440477471ebf0091cad2996ae0dbef9797b7f652c6ec13053eb6557cd809dbd48b1936747d3c0e4eda63a3d DIST lego-4.15.0.tar.gz 683931 BLAKE2B b4bcdca4ea72e7826b690b15c297b37c186567d0167715542279acad6173d8e77883ffb79ab9cdb53f505421f67326ceca52a698f9a977cffc738b77dd8d29ed SHA512 a6cc56cbd430ed4b05451783c81d95bbd16e1c4874078b96a9057e2e7b3fde581be1b3663fdc7713079df7f2f24c8581b2f6af5b6c64737303f98e7e2bde8602 +DIST lego-4.16.0-deps.tar.xz 211637812 BLAKE2B ce3089dd2f355a72e6cf81309ae389a01eb65ce832e38065174997636b9b62e742ef7cddb3aa5ab9a8657b2d643b0e190b8f75fc9b767d74fcebb71e0d860146 SHA512 62fd86bef1163c5b0f8a3a3540e7fe94ccee1b097449c42f0d5267894a4e0931a89c0f8e2e2af0f37757c7a4f25fe0d27a305aa51490b7f522ec23b9267b7eb9 +DIST lego-4.16.0-docs.tar.gz 3681408 BLAKE2B 3be8f0a8d9aaa13e4ff3bf0bd8b928bc7be0e1bec0dd31cc5e91cd1ae7d19a6952fe81a3db5c89d296642325b897e436acacf1e18975fdf5cbe34d0b1e1e7371 SHA512 80819d4496cd2cabf1d9eb8f254b240edf43e01a01c2de28274799986bee7f9a8698fc8dbba000d8e4e37b2d68e4a9f772214a237321077dedbe3a0657666244 +DIST lego-4.16.0.tar.gz 698821 BLAKE2B 9058f856a477c70c12352df4786e18dadf444df60ed462411367a8aa18ce1e98ede4358e6aad8032d5d3230341fd7e544343bda27fd92c46c494e0a5eb683f35 SHA512 ba40fdcd94cb1f12d609104d1af5c8e398f3a3d70e4d2a0b65365b401b6928149749778de9acb138e9548d634ea210641c07d2218135f2e4c903a39947f206e5 diff --git a/app-crypt/lego/lego-.ebuild b/app-crypt/lego/lego-4.16.0.ebuild similarity index 96% copy from app-crypt/lego/lego-.ebuild copy to app-crypt/lego/lego-4.16.0.ebuild index 283540e19c..3c984d15fc 100644 --- a/app-crypt/lego/lego-.ebuild +++ b/app-crypt/lego/lego-4.16.0.ebuild @@ -8,7 +8,7 @@ inherit go-module DESCRIPTION="Let's Encrypt/ACME client (like certbot or acme.sh) and library written in Go" HOMEPAGE="https://github.com/go-acme/lego/; -DOCUMENTATION_COMMIT=9fcb88b9d6914c456d6800cc84c3cd0a6ac93f18 +DOCUMENTATION_COMMIT=1f91ea806ff8f3184b7f4e00fc6e69b1e23a08a2 if [[ ${PV} == * ]]; then inherit git-r3 diff --git a/app-crypt/lego/lego-.ebuild b/app-crypt/lego/lego-.ebuild index 283540e19c..3c984d15fc 100644 --- a/app-crypt/lego/lego-.ebuild +++ b/app-crypt/lego/lego-.ebuild @@ -8,7 +8,7 @@ inherit go-module DESCRIPTION="Let's Encrypt/ACME client (like certbot or acme.sh) and library written in Go" HOMEPAGE="https://github.com/go-acme/lego/; -DOCUMENTATION_COMMIT=9fcb88b9d6914c456d6800cc84c3cd0a6ac93f18 +DOCUMENTATION_COMMIT=1f91ea806ff8f3184b7f4e00fc6e69b1e23a08a2 if [[ ${PV} == * ]]; then inherit git-r3
[gentoo-commits] repo/proj/guru:dev commit in: app-crypt/lego/
commit: 0549759e97978de023ca4eea47c27119713c96e0 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Mon Mar 11 06:24:05 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Mon Mar 11 07:30:16 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0549759e app-crypt/lego: add 4.16.1 * Only install html files when +doc Hot fix from upstream: 19bbefb fix: don't generate ARI cert ID if ARI is not enable (#2138) Signed-off-by: Rahil Bhimjiani rahil.rocks> app-crypt/lego/Manifest | 2 ++ .../lego/{lego-.ebuild => lego-4.16.1.ebuild}| 20 app-crypt/lego/lego-.ebuild | 18 +++--- 3 files changed, 25 insertions(+), 15 deletions(-) diff --git a/app-crypt/lego/Manifest b/app-crypt/lego/Manifest index 3d4c7d79e5..0cc3a5acfe 100644 --- a/app-crypt/lego/Manifest +++ b/app-crypt/lego/Manifest @@ -7,3 +7,5 @@ DIST lego-4.15.0.tar.gz 683931 BLAKE2B b4bcdca4ea72e7826b690b15c297b37c186567d01 DIST lego-4.16.0-deps.tar.xz 211637812 BLAKE2B ce3089dd2f355a72e6cf81309ae389a01eb65ce832e38065174997636b9b62e742ef7cddb3aa5ab9a8657b2d643b0e190b8f75fc9b767d74fcebb71e0d860146 SHA512 62fd86bef1163c5b0f8a3a3540e7fe94ccee1b097449c42f0d5267894a4e0931a89c0f8e2e2af0f37757c7a4f25fe0d27a305aa51490b7f522ec23b9267b7eb9 DIST lego-4.16.0-docs.tar.gz 3681408 BLAKE2B 3be8f0a8d9aaa13e4ff3bf0bd8b928bc7be0e1bec0dd31cc5e91cd1ae7d19a6952fe81a3db5c89d296642325b897e436acacf1e18975fdf5cbe34d0b1e1e7371 SHA512 80819d4496cd2cabf1d9eb8f254b240edf43e01a01c2de28274799986bee7f9a8698fc8dbba000d8e4e37b2d68e4a9f772214a237321077dedbe3a0657666244 DIST lego-4.16.0.tar.gz 698821 BLAKE2B 9058f856a477c70c12352df4786e18dadf444df60ed462411367a8aa18ce1e98ede4358e6aad8032d5d3230341fd7e544343bda27fd92c46c494e0a5eb683f35 SHA512 ba40fdcd94cb1f12d609104d1af5c8e398f3a3d70e4d2a0b65365b401b6928149749778de9acb138e9548d634ea210641c07d2218135f2e4c903a39947f206e5 +DIST lego-4.16.1-docs.tar.gz 3681606 BLAKE2B 9f80ba3f132eb08b06a960c8a9bdcf372a7925bdc931a078385ff1b6b9f01981d76758c15cc3f8c35f48e461bdc84f5a4d6a7b9a6b1aadbda249ca4d27459bc3 SHA512 1c953edd93b6d56b0b1bd48519b745d7ebfce9df76d6c92cccde88e4aff814de19d9a68e3d949f517530acaf738def97550d1a866e156a8d03e9ff644766df35 +DIST lego-4.16.1.tar.gz 698801 BLAKE2B 005be7bf3462d941de99c46b659776f2b69b9298819a23009060fbf0f7532c62eae3512c10619f034916eaa3c20b9607d78786cf5ec023df139cc6c186b0df20 SHA512 a65c661fc003cc26c13ed6b38719a0ab49a8fe8e2a18c59c84e5c974b918aaf0c55c92015d2794a17b4fe5ac31c3557a4d5e1971527441b8bdf80907fe4b90e9 diff --git a/app-crypt/lego/lego-.ebuild b/app-crypt/lego/lego-4.16.1.ebuild similarity index 82% copy from app-crypt/lego/lego-.ebuild copy to app-crypt/lego/lego-4.16.1.ebuild index 3c984d15fc..c012524d54 100644 --- a/app-crypt/lego/lego-.ebuild +++ b/app-crypt/lego/lego-4.16.1.ebuild @@ -8,7 +8,7 @@ inherit go-module DESCRIPTION="Let's Encrypt/ACME client (like certbot or acme.sh) and library written in Go" HOMEPAGE="https://github.com/go-acme/lego/; -DOCUMENTATION_COMMIT=1f91ea806ff8f3184b7f4e00fc6e69b1e23a08a2 +DOCUMENTATION_COMMIT=14be9e1e1c33a1e370b7fc76ebe3e6fba938c87d if [[ ${PV} == * ]]; then inherit git-r3 @@ -16,7 +16,7 @@ if [[ ${PV} == * ]]; then else SRC_URI=" https://github.com/go-acme/lego/archive/v${PV}.tar.gz -> ${P}.tar.gz - https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz + https://github.com/rahilarious/gentoo-distfiles/releases/download/${PN}-4.16.0/deps.tar.xz -> ${PN}-4.16.0-deps.tar.xz doc? ( https://github.com/go-acme/lego/archive/${DOCUMENTATION_COMMIT}.tar.gz -> ${P}-docs.tar.gz ) " KEYWORDS="~amd64 ~arm64" @@ -41,7 +41,7 @@ src_unpack() { go-module_live_vendor if use doc; then EGIT_BRANCH="gh-pages" - EGIT_CHECKOUT_DIR="${WORKDIR}/${P}-doc" + EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}-${DOCUMENTATION_COMMIT}" git-r3_src_unpack fi else @@ -49,6 +49,14 @@ src_unpack() { fi } +src_prepare() { + default + if use doc; then + find ../"${PN}"-"${DOCUMENTATION_COMMIT}"/ -type f -not -name '*.html' -delete || die + fi + +} + src_compile() { export CGO_ENABLED=0 @@ -73,10 +81,6 @@ src_install() { # docs einstalldocs if use doc; then - if [[ ${PV} == * ]]; then - dodoc -r ../"${P}"-doc/* - else - dodoc -r ../"${PN}"-"${DOCUMENTATION_COMMIT}"/* - fi + dodoc -r ../"${PN}"-"${DOCUMENTATION_COMMIT}"/* fi } diff --git a/a
[gentoo-commits] repo/proj/guru:dev commit in: net-dns/AdGuardHome/, net-dns/AdGuardHome/files/
commit: 424d2b443abdc5045b1fc736cb55911147965133 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Thu Mar 21 15:56:21 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Thu Mar 21 15:56:56 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=424d2b44 net-dns/AdGuardHome: remove 0.107.{43,44} Signed-off-by: Rahil Bhimjiani rahil.rocks> net-dns/AdGuardHome/AdGuardHome-0.107.43.ebuild| 106 -- net-dns/AdGuardHome/AdGuardHome-0.107.44.ebuild| 121 - net-dns/AdGuardHome/Manifest | 6 - .../AdGuardHome/files/fix-go.mod-0.107.44.patch| 10 -- 4 files changed, 243 deletions(-) diff --git a/net-dns/AdGuardHome/AdGuardHome-0.107.43.ebuild b/net-dns/AdGuardHome/AdGuardHome-0.107.43.ebuild deleted file mode 100644 index e1af0c5cbf..00 --- a/net-dns/AdGuardHome/AdGuardHome-0.107.43.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit fcaps go-module systemd - -DESCRIPTION="Network-wide ads & trackers blocking DNS server like Pi-Hole with web ui" -HOMEPAGE="https://github.com/AdguardTeam/AdGuardHome/; - -SRC_URI=" - https://github.com/AdguardTeam/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz - https://github.com/AdguardTeam/${PN}/releases/download/v${PV}/AdGuardHome_frontend.tar.gz -> ${P}-frontend.tar.gz - https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz -" - -# main -LICENSE="GPL-3" -# deps -LICENSE+=" Apache-2.0 BSD BSD-2 MIT ZLIB" - -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -FILECAPS=( - -m 755 'cap_net_bind_service=+eip cap_net_raw=+eip' usr/bin/${PN} -) - -src_prepare() { - default - # move frontend to project directory - rm build/gitkeep && mv ../build ./ || die -} - -src_compile() { - # mimicking https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-build.sh - - local MY_LDFLAGS="-s -w" - MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.version=${PV}" - MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.channel=release" - MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.committime=$(date +%s)" - if [ "$(go env GOARM)" != '' ] - then - MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.goarm=$(go env GOARM)" - elif [ "$(go env GOMIPS)" != '' ] - then - MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.gomips=$(go env GOMIPS)" - fi - - ego build -ldflags "${MY_LDFLAGS}" -trimpath -} - -src_test() { - - # mimicking https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-test.sh - count_flags='--count=1' - cover_flags='--coverprofile=./coverage.txt' - shuffle_flags='--shuffle=on' - timeout_flags="--timeout=30s" - fuzztime_flags="--fuzztime=20s" - readonly count_flags cover_flags shuffle_flags timeout_flags fuzztime_flags - - # race only works when pie is disabled - export GOFLAGS="${GOFLAGS/-buildmode=pie/}" - - # following test is failing without giving any reason. Tried disabling internal/updater internal/whois tests toggling race, but still failing. - # ego test\ - # "$count_flags"\ - # "$cover_flags"\ - # "$shuffle_flags"\ - # --race=1\ - # "$timeout_flags"\ - # ./... - - # mimicking https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-bench.sh - ego test\ - "$count_flags"\ - "$shuffle_flags"\ - --race=0\ - "$timeout_flags"\ - --bench='.'\ - --benchmem\ - --benchtime=1s\ - --run='^$'\ - ./... - - # mimicking https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-fuzz.sh - ego test\ - "$count_flags"\ - "$shuffle_flags"\ - --race=0\ - "$timeout_flags"\ - "$fuzztime_flags"\ - --fuzz='.'\ - --run='^$'\ - ./internal/filtering/rulelist/\ - ; - -} - -src_install() { - dobin "${PN}" - einstalldocs - - systemd_newunit "${FILESDIR}"/AdGuardHome-0.107.43.service "${PN}".service -} diff --git a
[gentoo-commits] repo/proj/guru:dev commit in: net-dns/AdGuardHome/
commit: 3adf3880e01ee86f72142b96298e5f38dc245e96 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Thu Mar 21 15:54:51 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Thu Mar 21 15:56:56 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3adf3880 net-dns/AdGuardHome: add 0.107.46 Signed-off-by: Rahil Bhimjiani rahil.rocks> net-dns/AdGuardHome/AdGuardHome-0.107.46.ebuild | 142 net-dns/AdGuardHome/Manifest| 3 + 2 files changed, 145 insertions(+) diff --git a/net-dns/AdGuardHome/AdGuardHome-0.107.46.ebuild b/net-dns/AdGuardHome/AdGuardHome-0.107.46.ebuild new file mode 100644 index 00..c760965a48 --- /dev/null +++ b/net-dns/AdGuardHome/AdGuardHome-0.107.46.ebuild @@ -0,0 +1,142 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit fcaps go-module readme.gentoo-r1 systemd + +DESCRIPTION="Network-wide ads & trackers blocking DNS server like Pi-Hole with web ui" +HOMEPAGE="https://github.com/AdguardTeam/AdGuardHome/; + +WIKI_COMMIT="7964837" +SRC_URI=" + https://github.com/AdguardTeam/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz + https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/wiki.tar.xz -> ${PN}-wiki-${WIKI_COMMIT}.tar.xz + web? ( https://github.com/AdguardTeam/${PN}/releases/download/v${PV}/AdGuardHome_frontend.tar.gz -> ${P}-frontend.tar.gz ) +" + +# main +LICENSE="GPL-3" +# deps +LICENSE+=" Apache-2.0 BSD BSD-2 MIT ZLIB" + +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +IUSE="+web" +# RESTRICT="test" + +BDEPEND="app-arch/unzip" + +FILECAPS=( + -m 755 'cap_net_bind_service=+eip cap_net_raw=+eip' usr/bin/${PN} +) + +PATCHES=( + "${FILESDIR}"/disable-update-cmd-opt.patch +) + +DOCS=" + ../${PN,,}.wiki/* +" + +DOC_CONTENTS="\n +User is advised to not run binary directly instead use systemd service\n\n +Defaults for systemd service:\n +Web UI: 0.0.0.0:3000\n +Data directory: /var/lib/${PN}\n +Default config: /var/lib/${PN}/${PN}.yaml +" +src_unpack() { + # because we're using vendor/ so we don't need go-module_src_unpack + default +} + +src_prepare() { + ln -sv ../vendor ./ || die + + default + # move frontend to project directory + use web && { rm -v build/gitkeep && mv -v ../build ./ || die ; } +} + +src_compile() { + # mimicking https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-build.sh + + local MY_LDFLAGS="-s -w" + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.version=${PV}" + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.channel=release" + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.committime=$(date +%s)" + if [ "$(go env GOARM)" != '' ] + then + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.goarm=$(go env GOARM)" + elif [ "$(go env GOMIPS)" != '' ] + then + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.gomips=$(go env GOMIPS)" + fi + + ego build -ldflags "${MY_LDFLAGS}" -trimpath -v=1 -x=1 +} + +src_test() { + + # mimicking https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-test.sh + count_flags='--count=1' + cover_flags='--coverprofile=./coverage.txt' + shuffle_flags='--shuffle=on' + timeout_flags="--timeout=30s" + fuzztime_flags="--fuzztime=20s" + readonly count_flags cover_flags shuffle_flags timeout_flags fuzztime_flags + + # race only works when pie is disabled + export GOFLAGS="${GOFLAGS/-buildmode=pie/}" + + # following test is failing without giving any reason. Tried disabling internal/updater internal/whois tests toggling race, but still failing. + # ego test\ + # "$count_flags"\ + # "$cover_flags"\ + # "$shuffle_flags"\ + # --race=1\ + # "$timeout_flags"\ + # ./... + + # mimicking https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-bench.sh + ego test\ + "$count_flags"\ + "$shuffle_flags"\ + --race=0\ + "$timeout_flags"\ + --bench='.'\ + --benchmem\ + --benchtime=1s\ +
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/bitwarden-cli/
commit: fea8b9625e9f98ff31942b7ead26208aaafe1634 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Thu Mar 7 11:57:58 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Thu Mar 7 11:59:19 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fea8b962 app-admin/bitwarden-cli: add 2024.2.1 1. fix QA warning Closes: https://bugs.gentoo.org/925573 Closes: https://bugs.gentoo.org/925572 Signed-off-by: Rahil Bhimjiani rahil.rocks> app-admin/bitwarden-cli/Manifest | 2 + .../bitwarden-cli/bitwarden-cli-2024.2.1.ebuild| 64 ++ 2 files changed, 66 insertions(+) diff --git a/app-admin/bitwarden-cli/Manifest b/app-admin/bitwarden-cli/Manifest index c7b8232019..7c5d3dd61b 100644 --- a/app-admin/bitwarden-cli/Manifest +++ b/app-admin/bitwarden-cli/Manifest @@ -1,3 +1,5 @@ DIST bitwarden-cli-2024.2.0-pkg-cache.tar.xz 13081348 BLAKE2B c0f56169752a8659f4a42b36a1fb48604d968a82853f8a860fb03455b499be03ba6cdacc643188b86c3673ffa26ab8ed2a825bdf6a37996189f851ad5e638b5b SHA512 f1de3477537b9f95dc38353ce1bf1d22e7cf8b92b0012befe2c0db4c62dd1f7fc419ba06518318fed90deb9a8627e35422daee8ba70f07e02f3c8eb43678a7c1 DIST bitwarden-cli-2024.2.0.tar.gz 20328706 BLAKE2B 0f8120b7ddbf74a6e5c3d7a63ad72dd3ecea3f32c46b488b21bfa2ca877724841a5dd9318854a0204dc7015ea104ffed0783a8301bf57a53f9a5d4b9d1ff18e1 SHA512 8a9f69242a945b17c944c699649b9f2524d5ae3b07f97d296ae01bde44b9081b9262fa80028c28a1f876ce789d4daac103d2c15c01a9af07e5c7159f43d427b6 +DIST bitwarden-cli-2024.2.1.tar.gz 20495977 BLAKE2B 18059a640669ed6f62afcca8b49279f5e3be4c9bf750c3d96de1533895fa49c50ec9d640a79175d9fc4a059108c2c818110fa636513ba056bec90ea36d595114 SHA512 4fa123b9081b81e9df02cde85b61e673d5da4c3d65ebbe298633eadf773065a0108dfc43a44e07e54fd7c085d09a97f797b5f2c6139850c445d282785075196c +DIST bitwarden-clients-82998d8.tar.xz 206299056 BLAKE2B 3ffeedfebfa18c4dee6148da47d1942dbb15890ffb7c6469f53d349c8233204950be09cb83542b1bc1cba4f099bc3d51e7f2ababd9eb871373183837f31d2f07 SHA512 c5e4bd8163e2d3d505aea3719ef675bf525ca37e3451c8e12d3a3c69a91cdf8184f83ec3033f61c7ab3d70a288d5c0f5e6c739eff5542454ecb9979e5a3a558d DIST bitwarden-clients-a1a5c4b.tar.xz 204680568 BLAKE2B dd7ae09792831dacf9e7c110a508315e8d57c3231c6c32014e7b842ffc01a046fec03f375c48afd40379ba2853159e594a54b3f8ec229c1568ba3d1b8c054335 SHA512 5644d0b53c525164c2af14036dd7d432be9a943b55df2aef9922329326b164b31336bd53e2f9f2eb35a858f974d8fc0a3bd3aac6e42b821d5d4634ca714a51c3 diff --git a/app-admin/bitwarden-cli/bitwarden-cli-2024.2.1.ebuild b/app-admin/bitwarden-cli/bitwarden-cli-2024.2.1.ebuild new file mode 100644 index 00..ec43c46165 --- /dev/null +++ b/app-admin/bitwarden-cli/bitwarden-cli-2024.2.1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit check-reqs shell-completion + +DESCRIPTION="CLI frontend client connects to Bitwarden comapatible password manager server" +HOMEPAGE="https://github.com/bitwarden/clients/tree/main/apps/cli; + +BW_CLIENTS_COMMIT="82998d8" +SRC_URI=" + https://github.com/bitwarden/clients/archive/refs/tags/cli-v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/rahilarious/gentoo-distfiles/releases/download/bitwarden-clients-${BW_CLIENTS_COMMIT}/deps.tar.xz -> bitwarden-clients-${BW_CLIENTS_COMMIT}.tar.xz + https://github.com/rahilarious/gentoo-distfiles/releases/download/${PN}-2024.2.0/pkg-cache.tar.xz -> ${PN}-2024.2.0-pkg-cache.tar.xz +" + +S="${WORKDIR}/clients-cli-v${PV}" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +# non-stripped binary is of 99M but works +# stripped bianry is of 44M but doesnt work +RESTRICT='strip' + +RDEPEND="!app-admin/bitwarden-cli-bin" +BDEPEND=" + net-libs/nodejs:0/18[npm] +" + +QA_PRESTRIPPED="usr/bin/bw" +QA_FLAGS_IGNORED="${QA_PRESTRIPPED}" + +CHECKREQS_MEMORY=2G +CHECKREQS_DISK_BUILD=2G + +pkg_pretend() { + einfo "" + einfo "#" + einfo "Precompiled alternative to this package is available:" + einfo "${CATEGORY}/${PN}-bin" + einfo "#" + einfo "" + check-reqs_pkg_pretend +} + +src_prepare() { + default + mv -v ../node_modules ./ || die +} + +src_compile() { + pushd apps/cli || die + PKG_CACHE_PATH="${WORKDIR}"/.pkg-cache npm --verbose --offline run dist:lin \ + || die "Build failed! Try prebuilt from upstream ${CATEGORY}/${PN}-bin" + ./dist/linux/bw completion --shell zsh > bw.zsh || die + popd || die +} + +src_install() { + dobin apps/cli/dist/linux/bw + newzshcomp apps/cli/bw.zsh _bw +}
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/bitwarden-cli-bin/
commit: 5d26b0e81bb10dfcba9f3487cc3548e082173f1f Author: Rahil Bhimjiani rahil rocks> AuthorDate: Thu Mar 7 11:07:34 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Thu Mar 7 11:09:17 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5d26b0e8 app-admin/bitwarden-cli-bin: add 2024.2.1 1. Don't want to see any errors and die if you fail Signed-off-by: Rahil Bhimjiani rahil.rocks> app-admin/bitwarden-cli-bin/Manifest | 1 + .../bitwarden-cli-bin-2024.2.1.ebuild | 35 ++ 2 files changed, 36 insertions(+) diff --git a/app-admin/bitwarden-cli-bin/Manifest b/app-admin/bitwarden-cli-bin/Manifest index 19b13d6396..9d172f4c92 100644 --- a/app-admin/bitwarden-cli-bin/Manifest +++ b/app-admin/bitwarden-cli-bin/Manifest @@ -1 +1,2 @@ DIST bw-linux-2024.2.0.zip 32968695 BLAKE2B 808dbd4965cc26b3880bd541bc4c3627ed6b07233bb3eb62c76c5034ba734c6211c1fc907309f71d8dcfd993a61ba0bcdd049dc052c477cb43e7d4452929fe31 SHA512 80fa0ab96bf291ed5008d5c01d00eebf950e72b8c21184be3df1018ba33d33bac038b4410e17123096113642372b8013bdde0605473449cec5c69c418fa2e3c5 +DIST bw-linux-2024.2.1.zip 33060347 BLAKE2B fdfeec07f9c9a0c70741461ff4969b8909fb04d6aa0411a936b8a10165d7e2a31ad02228cbb6e1aea6f375436be8dd5d2dc560a440d1db9877c056ed1e870719 SHA512 67222301f62371129eccd7847a642e7ac13191d9e8d5033774f888cb6eb989e1427ce2c02a05121a259e7c217214d31d793474827b315479b410bb780f858f0d diff --git a/app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.2.1.ebuild b/app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.2.1.ebuild new file mode 100644 index 00..d30d477c53 --- /dev/null +++ b/app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.2.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit shell-completion + +DESCRIPTION="Precompiled CLI frontend which connects to Bitwarden comapatible servers" +HOMEPAGE="https://github.com/bitwarden/clients/tree/main/apps/cli; + +SRC_URI=" + https://github.com/bitwarden/clients/releases/download/cli-v${PV}/bw-linux-${PV}.zip +" + +S="${WORKDIR}" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +# non-stripped binary is of 99M but works +# stripped bianry is of 44M but doesnt work +RESTRICT='strip' + +RDEPEND="!app-admin/bitwarden-cli" +BDEPEND="app-arch/unzip" +QA_PREBUILT="usr/bin/bw" + +src_compile() { + ./bw completion --shell zsh > bw.zsh 2> /dev/null || die +} + +src_install() { + dobin bw + newzshcomp bw.zsh _bw +}
[gentoo-commits] repo/proj/guru:dev commit in: net-dns/AdGuardHome/files/, net-dns/AdGuardHome/
commit: c02919c91281cbfaa75f038e6f8c4ffe5bb8e310 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Thu Mar 7 08:38:30 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Thu Mar 7 08:38:30 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c02919c9 net-dns/AdGuardHome: add 0.107.45 1. Disable `--update` option from command because it alters binary from remote 2. install wiki pages Signed-off-by: Rahil Bhimjiani rahil.rocks> net-dns/AdGuardHome/AdGuardHome-0.107.45.ebuild| 124 + net-dns/AdGuardHome/Manifest | 4 + .../AdGuardHome/files/disable-update-cmd-opt.patch | 19 3 files changed, 147 insertions(+) diff --git a/net-dns/AdGuardHome/AdGuardHome-0.107.45.ebuild b/net-dns/AdGuardHome/AdGuardHome-0.107.45.ebuild new file mode 100644 index 00..e2dc7851a0 --- /dev/null +++ b/net-dns/AdGuardHome/AdGuardHome-0.107.45.ebuild @@ -0,0 +1,124 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit fcaps go-module systemd + +DESCRIPTION="Network-wide ads & trackers blocking DNS server like Pi-Hole with web ui" +HOMEPAGE="https://github.com/AdguardTeam/AdGuardHome/; + +WIKI_COMMIT="7964837" +SRC_URI=" + https://github.com/AdguardTeam/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz + https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/wiki.tar.xz -> ${PN}-wiki-${WIKI_COMMIT}.tar.xz + web? ( https://github.com/AdguardTeam/${PN}/releases/download/v${PV}/AdGuardHome_frontend.tar.gz -> ${P}-frontend.tar.gz ) +" + +# main +LICENSE="GPL-3" +# deps +LICENSE+=" Apache-2.0 BSD BSD-2 MIT ZLIB" + +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +IUSE="+web" +# RESTRICT="test" + +# so that pkgcheck doesn't complain +BDEPEND="app-arch/unzip" + +FILECAPS=( + -m 755 'cap_net_bind_service=+eip cap_net_raw=+eip' usr/bin/${PN} +) + +PATCHES=( + "${FILESDIR}"/disable-update-cmd-opt.patch +) + +DOCS=" + ../${PN,,}.wiki/* +" + +src_prepare() { + default + # move frontend to project directory + use web && { rm -v build/gitkeep && mv -v ../build ./ || die ; } +} + +src_compile() { + # mimicking https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-build.sh + + local MY_LDFLAGS="-s -w" + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.version=${PV}" + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.channel=release" + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.committime=$(date +%s)" + if [ "$(go env GOARM)" != '' ] + then + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.goarm=$(go env GOARM)" + elif [ "$(go env GOMIPS)" != '' ] + then + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.gomips=$(go env GOMIPS)" + fi + + ego build -ldflags "${MY_LDFLAGS}" -trimpath -v=1 -x=1 +} + +src_test() { + + # mimicking https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-test.sh + count_flags='--count=1' + cover_flags='--coverprofile=./coverage.txt' + shuffle_flags='--shuffle=on' + timeout_flags="--timeout=30s" + fuzztime_flags="--fuzztime=20s" + readonly count_flags cover_flags shuffle_flags timeout_flags fuzztime_flags + + # race only works when pie is disabled + export GOFLAGS="${GOFLAGS/-buildmode=pie/}" + + # following test is failing without giving any reason. Tried disabling internal/updater internal/whois tests toggling race, but still failing. + # ego test\ + # "$count_flags"\ + # "$cover_flags"\ + # "$shuffle_flags"\ + # --race=1\ + # "$timeout_flags"\ + # ./... + + # mimicking https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-bench.sh + ego test\ + "$count_flags"\ + "$shuffle_flags"\ + --race=0\ + "$timeout_flags"\ + --bench='.'\ + --benchmem\ + --benchtime=1s\ + --run='^$'\ + ./... + + # mimicking https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-fuzz.sh + ego test\ + "$count_flags"\
[gentoo-commits] repo/proj/guru:dev commit in: www-apps/vaultwarden-web-bin/
commit: f42badb8c218d48400c4bb1a22bc912decdc1738 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Tue Mar 26 14:04:08 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Tue Mar 26 19:48:39 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f42badb8 www-apps/vaultwarden-web-bin: add 2024.3.0 Signed-off-by: Rahil Bhimjiani rahil.rocks> www-apps/vaultwarden-web-bin/Manifest | 1 + .../vaultwarden-web-bin-2024.3.0.ebuild| 29 ++ 2 files changed, 30 insertions(+) diff --git a/www-apps/vaultwarden-web-bin/Manifest b/www-apps/vaultwarden-web-bin/Manifest index 41fc04069d..5b96dd85cf 100644 --- a/www-apps/vaultwarden-web-bin/Manifest +++ b/www-apps/vaultwarden-web-bin/Manifest @@ -1 +1,2 @@ DIST vaultwarden-web-bin-2024.1.2b.tar.gz 11259948 BLAKE2B 6d899b53972df56ca76c63f84375a95629c8da43026b16f0ffd09b70ab46b8db530163976f6854325cd70513d0be31c394256153b7a9cfec4c3f627fd3d3b80c SHA512 0157c751f5869de261c93624a1fa168a96e86ad1a169727bee428bb9d804b8bfac3d7b8e4b993e2e5d2414ee99a016702eb750d81c3cc71c9e4c659a5ff7b37f +DIST vaultwarden-web-bin-2024.3.0.tar.gz 11600867 BLAKE2B 2dfd4181800f613d57721c176763a6f609dba9bdf09f660042b31b07ae3d6ea33c879f24b2ce6ce33e4dcb9eeffbabfcf7aab7f9f3e8213fdc5dac2ff8be3071 SHA512 e17b956082f4788beaf8b7ef4aa73b16b35f264a568fc3d6593b69cf87c817c7ac8c5ff19336795cab3600b7f00de52b129242c84953fab996bc3f8cc94c249b diff --git a/www-apps/vaultwarden-web-bin/vaultwarden-web-bin-2024.3.0.ebuild b/www-apps/vaultwarden-web-bin/vaultwarden-web-bin-2024.3.0.ebuild new file mode 100644 index 00..a750806584 --- /dev/null +++ b/www-apps/vaultwarden-web-bin/vaultwarden-web-bin-2024.3.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Prebuilt Vaultwarden web from upstream" +HOMEPAGE="https://github.com/dani-garcia/bw_web_builds; + +SRC_URI=" + https://github.com/dani-garcia/bw_web_builds/releases/download/v${PV}/bw_web_v${PV}.tar.gz -> ${P}.tar.gz +" + +S="${WORKDIR}/web-vault" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="!www-apps/vaultwarden-web" + +src_prepare() { + default + # although following is optional in upstream's build process, it reduced build dir size from 44M to 25M + find -name "*.map" -delete || die +} + +src_install() { + insinto /usr/share/webapps/"${PN%-bin}" + doins -r * +}
[gentoo-commits] repo/proj/guru:dev commit in: www-apps/vaultwarden-web/
commit: 493bcb82dc508d77ddeb20e0761634727ae88f17 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Tue Mar 26 19:01:59 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Tue Mar 26 19:48:39 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=493bcb82 www-apps/vaultwarden-web: add 2024.3.0 Signed-off-by: Rahil Bhimjiani rahil.rocks> www-apps/vaultwarden-web/Manifest | 3 + .../vaultwarden-web-2024.3.0.ebuild| 105 + 2 files changed, 108 insertions(+) diff --git a/www-apps/vaultwarden-web/Manifest b/www-apps/vaultwarden-web/Manifest index d0df5d97e9..cdf195ef42 100644 --- a/www-apps/vaultwarden-web/Manifest +++ b/www-apps/vaultwarden-web/Manifest @@ -1,3 +1,6 @@ DIST bitwarden-clients-a1a5c4b.tar.xz 204680568 BLAKE2B dd7ae09792831dacf9e7c110a508315e8d57c3231c6c32014e7b842ffc01a046fec03f375c48afd40379ba2853159e594a54b3f8ec229c1568ba3d1b8c054335 SHA512 5644d0b53c525164c2af14036dd7d432be9a943b55df2aef9922329326b164b31336bd53e2f9f2eb35a858f974d8fc0a3bd3aac6e42b821d5d4634ca714a51c3 +DIST bitwarden-clients-dbf0f1e.tar.xz 246354040 BLAKE2B 88ff3b2ac9d1f255313086f16f89af469b595ae95476adc7cc5a119770569dd661cd83d2b946d548902d43b68717129f9d4e8db730d5155732c76fc8d40b1f9d SHA512 1ca13c13293dca613af36f111fc74a1beb489cd7686f80800af82a5767aa41dc0420775607353e3c44e6d543b700135dec2fc63fb95436f14790168574d9aaa6 DIST vaultwarden-web-2024.1.2.tar.gz 20199824 BLAKE2B da8f8f87a88a7baaa05985f5f8ec46ad2eae14953b1bec03fa22eb490f5d86a752d270fd76681dba23543e1d51ec02dad2c24aab60a47751300c539f9859bd46 SHA512 eea08dc128495b157ebf9b5ee48bf4b48d929257bb2b9839b2e7ac9913cb60118886df622765889aa84985a3ec47339e9f11196e1a09ebd0faa985061a43dacc DIST vaultwarden-web-2024.1.2b-patches.tar.gz 97946 BLAKE2B 6b43ec5949c58e88d534d24dbb1b107320a50f198979243b17c0d8c5f65989a59542196890afdc036b3114c55776d2ed6609f51ebc114935bef61323705f SHA512 5463ce39642e3d53bffe774fa5bcdfde240cd1f7eadbcef8e7db4d5795deb2bc3a601505dc091a1dd0b4aa684e6a8f59a9a8c1542251b749e9c290986dd02f7f +DIST vaultwarden-web-2024.3.0-patches.tar.gz 111779 BLAKE2B 6c40e599407a98f9acd84e28840cd46c9a9722b82ed76ea88d0cec6f99047d6afae6b8d509a147155428851c4a746af8011fb9a6c8a82e7833c28b0dcf015e3c SHA512 d6713eb4d5ebc2da26b38e6a3bd9ed9e977fcd9c18321b369f9456d7454206916e71020b7fd4d4b844d7e6598f0d2a7cafe538004f4a6d000521a999b25b85f1 +DIST vaultwarden-web-2024.3.0.tar.gz 20547395 BLAKE2B 1c0bec79f88bd44a26ba2d1d75f4a82cf13839c86bd3d1feb31f0f326fff4bbd908890ae11be2eb3ad31c591bde286d050afdb5942930b193201959174fb01c6 SHA512 f9326b8f8b334a8a9eb376cba66411d2890f265f810f3a444283ec8da229b4a4516593010e00b00d96f4d85c1f07a90ac19094ad70c9fbad8f3ba2c92d714348 diff --git a/www-apps/vaultwarden-web/vaultwarden-web-2024.3.0.ebuild b/www-apps/vaultwarden-web/vaultwarden-web-2024.3.0.ebuild new file mode 100644 index 00..c5e2bb8610 --- /dev/null +++ b/www-apps/vaultwarden-web/vaultwarden-web-2024.3.0.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..12} ) + +inherit check-reqs python-any-r1 + +DESCRIPTION="Bitwarden web vault patched to make it work with Vaultwarden" +HOMEPAGE="https://github.com/dani-garcia/bw_web_builds; + +BW_CLIENTS_COMMIT="dbf0f1e" +SRC_URI=" + https://github.com/bitwarden/clients/archive/refs/tags/web-v${PV%b}.tar.gz -> ${PN}-${PV%b}.tar.gz + https://github.com/rahilarious/gentoo-distfiles/releases/download/bitwarden-clients-${BW_CLIENTS_COMMIT}/deps.tar.xz -> bitwarden-clients-${BW_CLIENTS_COMMIT}.tar.xz + https://github.com/dani-garcia/bw_web_builds/archive/refs/tags/v${PV}.tar.gz -> ${P}-patches.tar.gz +" + +S="${WORKDIR}/clients-web-v${PV%b}" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="!www-apps/vaultwarden-web-bin" +BDEPEND=" + ${PYTHON_DEPS} + net-libs/nodejs[npm] +" + +CHECKREQS_MEMORY=3G +CHECKREQS_DISK_BUILD=2G + +pkg_pretend() { + einfo "" + einfo "#" + einfo "Prebuilt alternative to this package is available:" + einfo "${CATEGORY}/${PN}-bin" + einfo "#" + einfo "" + check-reqs_pkg_pretend +} + +pkg_setup() { + python-any-r1_pkg_setup +} + +src_prepare() { + default + + # mimicking the behaviour of https://github.com/dani-garcia/bw_web_builds/blob/master/scripts/apply_patches.sh + function replace_embedded_svg_icon() { + if [ ! -f $1 ]; then echo "$1 does not exist"; exit -1; fi + if [ ! -f $2 ]; then echo "$2 does not exist"; exit -1; fi + + echo "'$1'
[gentoo-commits] repo/proj/guru:dev commit in: net-dns/AdGuardHome/
commit: 742ee61180552eb76f30327ea8e3ec7a02ab114a Author: Rahil Bhimjiani rahil rocks> AuthorDate: Tue Apr 9 08:38:55 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Tue Apr 9 08:38:55 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=742ee611 net-dns/AdGuardHome: update to 0.107.48, xz->zstd, build frontend * Instead of using prebuilt frontend, build it from source Signed-off-by: Rahil Bhimjiani rahil.rocks> net-dns/AdGuardHome/AdGuardHome-0.107.48.ebuild | 153 net-dns/AdGuardHome/Manifest| 3 + 2 files changed, 156 insertions(+) diff --git a/net-dns/AdGuardHome/AdGuardHome-0.107.48.ebuild b/net-dns/AdGuardHome/AdGuardHome-0.107.48.ebuild new file mode 100644 index 00..65f97c53fb --- /dev/null +++ b/net-dns/AdGuardHome/AdGuardHome-0.107.48.ebuild @@ -0,0 +1,153 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit fcaps go-module readme.gentoo-r1 systemd unpacker + +DESCRIPTION="Network-wide ads & trackers blocking DNS server like Pi-Hole with web ui" +HOMEPAGE="https://github.com/AdguardTeam/AdGuardHome/; + +WIKI_COMMIT="7964837" +SRC_URI=" + https://github.com/AdguardTeam/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.zst -> ${P}-deps.tar.zst + https://github.com/rahilarious/gentoo-distfiles/releases/download/${PN}-0.107.46/wiki.tar.xz -> ${PN}-wiki-${WIKI_COMMIT}.tar.xz + web? ( https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/npm-deps.tar.zst -> ${P}-npm-deps.tar.zst ) +" + +# main +LICENSE="GPL-3" +# deps +LICENSE+=" Apache-2.0 BSD BSD-2 MIT ZLIB" + +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +IUSE="+web" +# RESTRICT="test" + +BDEPEND=" + $(unpacker_src_uri_depends) + >=dev-lang/go-1.22.2 + web? ( net-libs/nodejs[npm] ) +" + +FILECAPS=( + -m 755 'cap_net_bind_service=+eip cap_net_raw=+eip' usr/bin/${PN} +) + +PATCHES=( + "${FILESDIR}"/disable-update-cmd-opt.patch +) + +DOCS=" + ../${PN,,}.wiki/* +" + +DOC_CONTENTS="\n +User is advised to not run binary directly instead use systemd service\n\n +Defaults for systemd service:\n +Web UI: 0.0.0.0:3000\n +Data directory: /var/lib/${PN}\n +Default config: /var/lib/${PN}/${PN}.yaml +" +src_unpack() { + # because we're using vendor/ so we don't need go-module_src_unpack + unpacker_src_unpack +} + +src_prepare() { + ln -sv ../vendor ./ || die + + default + + if use web; then + # mimicking `make js-deps` + export npm_config_cache="${WORKDIR}/npm-cache" NODE_OPTIONS=--openssl-legacy-provider || die + npm --verbose --offline --prefix client/ --no-progress --ignore-engines --ignore-optional --ignore-platform --ignore-scripts ci || die + fi +} + +src_compile() { + # mimicking `make js-build` + use web && npm --verbose --offline --prefix client run build-prod || die + + # mimicking https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-build.sh + + local MY_LDFLAGS="-s -w" + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.version=${PV}" + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.channel=release" + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.committime=$(date +%s)" + if [ "$(go env GOARM)" != '' ] + then + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.goarm=$(go env GOARM)" + elif [ "$(go env GOMIPS)" != '' ] + then + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.gomips=$(go env GOMIPS)" + fi + + ego build -ldflags "${MY_LDFLAGS}" -trimpath -v=1 -x=1 +} + +src_test() { + + # mimicking https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-test.sh + count_flags='--count=1' + cover_flags='--coverprofile=./coverage.txt' + shuffle_flags='--shuffle=on' + timeout_flags="--timeout=30s" + fuzztime_flags="--fuzztime=20s" + readonly count_flags cover_flags shuffle_flags timeout_flags fuzztime_flags + + # race only works when pie is disabled + export GOFLAGS="${GOFLAGS/-buildmode=pie/}" + + # following test is failing without giving any reason. Tried disabling internal/updater internal/whois tests toggling race, but still failing. + # ego test\ + # "$count_flags&quo
[gentoo-commits] repo/proj/guru:dev commit in: www-apps/vaultwarden-web/
commit: 82dfcfc9e6c144376b01d7b4d08448363652a42e Author: Rahil Bhimjiani rahil rocks> AuthorDate: Tue Apr 9 08:56:41 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Tue Apr 9 08:56:41 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=82dfcfc9 www-apps/vaultwarden-web: add bdeps for unpacking *.zst Signed-off-by: Rahil Bhimjiani rahil.rocks> www-apps/vaultwarden-web/vaultwarden-web-2024.3.1.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/www-apps/vaultwarden-web/vaultwarden-web-2024.3.1.ebuild b/www-apps/vaultwarden-web/vaultwarden-web-2024.3.1.ebuild index ecff10e558..09f0947ed9 100644 --- a/www-apps/vaultwarden-web/vaultwarden-web-2024.3.1.ebuild +++ b/www-apps/vaultwarden-web/vaultwarden-web-2024.3.1.ebuild @@ -25,6 +25,7 @@ KEYWORDS="~amd64" RDEPEND="!www-apps/vaultwarden-web-bin" BDEPEND=" ${PYTHON_DEPS} + $(unpacker_src_uri_depends) net-libs/nodejs[npm] "
[gentoo-commits] repo/proj/guru:dev commit in: net-wireless/bluetuith/
commit: 8911600e07200bd5b27619c0f0bd11d5d318eb74 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Tue Apr 9 08:55:49 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Tue Apr 9 08:55:49 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8911600e net-wireless/bluetuith: add bdeps for unpacking *.zst Signed-off-by: Rahil Bhimjiani rahil.rocks> net-wireless/bluetuith/bluetuith-0.2.2.ebuild | 3 +++ net-wireless/bluetuith/bluetuith-.ebuild | 3 +++ 2 files changed, 6 insertions(+) diff --git a/net-wireless/bluetuith/bluetuith-0.2.2.ebuild b/net-wireless/bluetuith/bluetuith-0.2.2.ebuild index 98aec6b46f..dd3edb4c49 100644 --- a/net-wireless/bluetuith/bluetuith-0.2.2.ebuild +++ b/net-wireless/bluetuith/bluetuith-0.2.2.ebuild @@ -34,6 +34,9 @@ RESTRICT="test" RDEPEND=" net-wireless/bluez " +BDEPEND=" + $(unpacker_src_uri_depends) +" src_unpack() { if [[ ${PV} == * ]]; then diff --git a/net-wireless/bluetuith/bluetuith-.ebuild b/net-wireless/bluetuith/bluetuith-.ebuild index 98aec6b46f..dd3edb4c49 100644 --- a/net-wireless/bluetuith/bluetuith-.ebuild +++ b/net-wireless/bluetuith/bluetuith-.ebuild @@ -34,6 +34,9 @@ RESTRICT="test" RDEPEND=" net-wireless/bluez " +BDEPEND=" + $(unpacker_src_uri_depends) +" src_unpack() { if [[ ${PV} == * ]]; then
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/bitwarden-cli-bin/
commit: 51f1f546afc00bf202f6a44da309dd035dc9b998 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Mon Apr 8 13:32:12 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Tue Apr 9 06:57:52 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=51f1f546 app-admin/bitwarden-cli-bin: update to 2024.3.1 Signed-off-by: Rahil Bhimjiani rahil.rocks> app-admin/bitwarden-cli-bin/Manifest | 1 + .../bitwarden-cli-bin-2024.3.1.ebuild | 35 ++ 2 files changed, 36 insertions(+) diff --git a/app-admin/bitwarden-cli-bin/Manifest b/app-admin/bitwarden-cli-bin/Manifest index 9d172f4c92..51e87d9e3b 100644 --- a/app-admin/bitwarden-cli-bin/Manifest +++ b/app-admin/bitwarden-cli-bin/Manifest @@ -1,2 +1,3 @@ DIST bw-linux-2024.2.0.zip 32968695 BLAKE2B 808dbd4965cc26b3880bd541bc4c3627ed6b07233bb3eb62c76c5034ba734c6211c1fc907309f71d8dcfd993a61ba0bcdd049dc052c477cb43e7d4452929fe31 SHA512 80fa0ab96bf291ed5008d5c01d00eebf950e72b8c21184be3df1018ba33d33bac038b4410e17123096113642372b8013bdde0605473449cec5c69c418fa2e3c5 DIST bw-linux-2024.2.1.zip 33060347 BLAKE2B fdfeec07f9c9a0c70741461ff4969b8909fb04d6aa0411a936b8a10165d7e2a31ad02228cbb6e1aea6f375436be8dd5d2dc560a440d1db9877c056ed1e870719 SHA512 67222301f62371129eccd7847a642e7ac13191d9e8d5033774f888cb6eb989e1427ce2c02a05121a259e7c217214d31d793474827b315479b410bb780f858f0d +DIST bw-linux-2024.3.1.zip 33190371 BLAKE2B e0440980ef22083b53cf3032b9fb600fc9fefe06afd64431475871d2f64af1fb5620096aada09ff3a7b7fd89992abefa410e8bbf289230aae2515e118d36ad77 SHA512 4406a118b4815eab950f8bfdba5623f8097acf0d4018726985e4614a3deb6a52d3a0323deac35ba270c7974649da9f4a70ccdf049ce88ee0528c6980935366a0 diff --git a/app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.3.1.ebuild b/app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.3.1.ebuild new file mode 100644 index 00..d30d477c53 --- /dev/null +++ b/app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.3.1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit shell-completion + +DESCRIPTION="Precompiled CLI frontend which connects to Bitwarden comapatible servers" +HOMEPAGE="https://github.com/bitwarden/clients/tree/main/apps/cli; + +SRC_URI=" + https://github.com/bitwarden/clients/releases/download/cli-v${PV}/bw-linux-${PV}.zip +" + +S="${WORKDIR}" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +# non-stripped binary is of 99M but works +# stripped bianry is of 44M but doesnt work +RESTRICT='strip' + +RDEPEND="!app-admin/bitwarden-cli" +BDEPEND="app-arch/unzip" +QA_PREBUILT="usr/bin/bw" + +src_compile() { + ./bw completion --shell zsh > bw.zsh 2> /dev/null || die +} + +src_install() { + dobin bw + newzshcomp bw.zsh _bw +}
[gentoo-commits] repo/proj/guru:dev commit in: www-apps/vaultwarden-web/
commit: b1d67fc89b160f748a2e3ec706a96b83853fccde Author: Rahil Bhimjiani rahil rocks> AuthorDate: Wed Mar 27 12:19:22 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Wed Mar 27 12:19:53 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b1d67fc8 www-apps/vaultwarden-web: add dies and popds Signed-off-by: Rahil Bhimjiani rahil.rocks> www-apps/vaultwarden-web/vaultwarden-web-2024.1.2b.ebuild | 3 ++- www-apps/vaultwarden-web/vaultwarden-web-2024.3.0.ebuild | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/www-apps/vaultwarden-web/vaultwarden-web-2024.1.2b.ebuild b/www-apps/vaultwarden-web/vaultwarden-web-2024.1.2b.ebuild index 60158ed172..2bf9f2b95d 100644 --- a/www-apps/vaultwarden-web/vaultwarden-web-2024.1.2b.ebuild +++ b/www-apps/vaultwarden-web/vaultwarden-web-2024.1.2b.ebuild @@ -59,11 +59,12 @@ src_prepare() { src_compile() { # mimicking the behaviour of https://github.com/dani-garcia/bw_web_builds/blob/master/scripts/build_web_vault.sh - pushd apps/web + pushd apps/web || die npm --verbose --offline run dist:oss:selfhost && printf '{"version":"%s"}' "${PV}" | tee build/vw-version.json \ || die "Build failed! Try prebuilt from upstream ${CATEGORY}/${PN}-bin" # although following is optional in upstream's build process, it reduced build dir size from 44M to 25M find build -name "*.map" -delete || die + popd || die } src_install() { diff --git a/www-apps/vaultwarden-web/vaultwarden-web-2024.3.0.ebuild b/www-apps/vaultwarden-web/vaultwarden-web-2024.3.0.ebuild index c5e2bb8610..20f1cd608e 100644 --- a/www-apps/vaultwarden-web/vaultwarden-web-2024.3.0.ebuild +++ b/www-apps/vaultwarden-web/vaultwarden-web-2024.3.0.ebuild @@ -92,11 +92,12 @@ src_compile() { npm --verbose --offline clean-install || die # mimicking the behaviour of https://github.com/dani-garcia/bw_web_builds/blob/master/scripts/build_web_vault.sh - pushd apps/web + pushd apps/web || die npm --verbose --offline run dist:oss:selfhost && printf '{"version":"%s"}' "${PV}" | tee build/vw-version.json \ || die "Build failed! Try prebuilt from upstream ${CATEGORY}/${PN}-bin" # although following is optional in upstream's build process, it reduced build dir size from 44M to 25M find build -name "*.map" -delete || die + popd || die } src_install() {
[gentoo-commits] repo/proj/guru:dev commit in: www-apps/vaultwarden-web/
commit: 638aa63f895a3f289412214da02cb6c9c86d1f4c Author: Rahil Bhimjiani rahil rocks> AuthorDate: Mon Apr 8 09:30:42 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Mon Apr 8 11:53:43 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=638aa63f www-apps/vaultwarden-web: update to 2024.3.1 Signed-off-by: Rahil Bhimjiani rahil.rocks> www-apps/vaultwarden-web/Manifest | 3 + .../vaultwarden-web-2024.3.1.ebuild| 106 + 2 files changed, 109 insertions(+) diff --git a/www-apps/vaultwarden-web/Manifest b/www-apps/vaultwarden-web/Manifest index cdf195ef42..38a131daa6 100644 --- a/www-apps/vaultwarden-web/Manifest +++ b/www-apps/vaultwarden-web/Manifest @@ -1,6 +1,9 @@ +DIST bitwarden-clients-60e47af.tar.zst 248520786 BLAKE2B 1c3f98805c199d7a4391611402a5401d164773aeb22d29d6c95eb22c4d048416d890b805ca72fe74c46958ac1dc1218cd6ef51f1b8cc5d855528f89846119d04 SHA512 baca3e3db98e9e5f12455d6a9f2b4e0d79e4d0d53f414eccadf26e765b058087bb290b17d5885a7ea9bf5880d0a916283ea97bff2dd41cd8d0825b56d7e8d790 DIST bitwarden-clients-a1a5c4b.tar.xz 204680568 BLAKE2B dd7ae09792831dacf9e7c110a508315e8d57c3231c6c32014e7b842ffc01a046fec03f375c48afd40379ba2853159e594a54b3f8ec229c1568ba3d1b8c054335 SHA512 5644d0b53c525164c2af14036dd7d432be9a943b55df2aef9922329326b164b31336bd53e2f9f2eb35a858f974d8fc0a3bd3aac6e42b821d5d4634ca714a51c3 DIST bitwarden-clients-dbf0f1e.tar.xz 246354040 BLAKE2B 88ff3b2ac9d1f255313086f16f89af469b595ae95476adc7cc5a119770569dd661cd83d2b946d548902d43b68717129f9d4e8db730d5155732c76fc8d40b1f9d SHA512 1ca13c13293dca613af36f111fc74a1beb489cd7686f80800af82a5767aa41dc0420775607353e3c44e6d543b700135dec2fc63fb95436f14790168574d9aaa6 DIST vaultwarden-web-2024.1.2.tar.gz 20199824 BLAKE2B da8f8f87a88a7baaa05985f5f8ec46ad2eae14953b1bec03fa22eb490f5d86a752d270fd76681dba23543e1d51ec02dad2c24aab60a47751300c539f9859bd46 SHA512 eea08dc128495b157ebf9b5ee48bf4b48d929257bb2b9839b2e7ac9913cb60118886df622765889aa84985a3ec47339e9f11196e1a09ebd0faa985061a43dacc DIST vaultwarden-web-2024.1.2b-patches.tar.gz 97946 BLAKE2B 6b43ec5949c58e88d534d24dbb1b107320a50f198979243b17c0d8c5f65989a59542196890afdc036b3114c55776d2ed6609f51ebc114935bef61323705f SHA512 5463ce39642e3d53bffe774fa5bcdfde240cd1f7eadbcef8e7db4d5795deb2bc3a601505dc091a1dd0b4aa684e6a8f59a9a8c1542251b749e9c290986dd02f7f DIST vaultwarden-web-2024.3.0-patches.tar.gz 111779 BLAKE2B 6c40e599407a98f9acd84e28840cd46c9a9722b82ed76ea88d0cec6f99047d6afae6b8d509a147155428851c4a746af8011fb9a6c8a82e7833c28b0dcf015e3c SHA512 d6713eb4d5ebc2da26b38e6a3bd9ed9e977fcd9c18321b369f9456d7454206916e71020b7fd4d4b844d7e6598f0d2a7cafe538004f4a6d000521a999b25b85f1 DIST vaultwarden-web-2024.3.0.tar.gz 20547395 BLAKE2B 1c0bec79f88bd44a26ba2d1d75f4a82cf13839c86bd3d1feb31f0f326fff4bbd908890ae11be2eb3ad31c591bde286d050afdb5942930b193201959174fb01c6 SHA512 f9326b8f8b334a8a9eb376cba66411d2890f265f810f3a444283ec8da229b4a4516593010e00b00d96f4d85c1f07a90ac19094ad70c9fbad8f3ba2c92d714348 +DIST vaultwarden-web-2024.3.1-patches.tar.gz 119554 BLAKE2B afd4620dbae0d050c38537c7cce13c7596e66e1615425a31bee0c9f4652470d1e4964cbea0a33fb8172371dbc4f21a01c489888f8fc28a412cc3fee0a223aa58 SHA512 f3cd1b3fe95b602777d27cded7415459a6d1ec739e50ddf9ea211ccdbb52e66e2e004182509526748ef2562cd6007c63f0a1ee5cdcc671df1a6b1f02bcab2e2b +DIST vaultwarden-web-2024.3.1.tar.gz 20649053 BLAKE2B 374a52ded74eafea33460175fd74b174230f9111a9a89e2aecdb52cd15a626bf62eb29b6312d369a0c87ed5ddccf9324fadec10192fd2727f510df92c0682d9e SHA512 30133b2ecaaffb2ed68af7e12fcd023902ee81fecd39de4a005a565d716cfac5a67f2ea41e31c49bd242278e8a0502e6147de302ef8b5228e913027d64b01ac9 diff --git a/www-apps/vaultwarden-web/vaultwarden-web-2024.3.1.ebuild b/www-apps/vaultwarden-web/vaultwarden-web-2024.3.1.ebuild new file mode 100644 index 00..ecff10e558 --- /dev/null +++ b/www-apps/vaultwarden-web/vaultwarden-web-2024.3.1.ebuild @@ -0,0 +1,106 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..12} ) + +inherit check-reqs python-any-r1 unpacker + +DESCRIPTION="Bitwarden web vault patched to make it work with Vaultwarden" +HOMEPAGE="https://github.com/dani-garcia/bw_web_builds; + +BW_CLIENTS_COMMIT="60e47af" +SRC_URI=" + https://github.com/bitwarden/clients/archive/refs/tags/web-v${PV%b}.tar.gz -> ${PN}-${PV%b}.tar.gz + https://github.com/rahilarious/gentoo-distfiles/releases/download/bitwarden-clients-${BW_CLIENTS_COMMIT}/deps.tar.zst -> bitwarden-clients-${BW_CLIENTS_COMMIT}.tar.zst + https://github.com/dani-garcia/bw_web_builds/archive/refs/tags/v${PV}.tar.gz -> ${P}-patches.tar.gz +" + +S="${WORKDIR}/clients-web-v${PV%b}" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="!www-apps/vaultwarden
[gentoo-commits] repo/proj/guru:dev commit in: net-wireless/bluetuith/
commit: 4e0c4bac373654bcd807f3d4d3f64f5024d9e7c4 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Mon Apr 8 04:55:24 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Mon Apr 8 11:53:43 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4e0c4bac net-wireless/bluetuith: update to 0.2.2, smaller deps tar, xz->zstd Signed-off-by: Rahil Bhimjiani rahil.rocks> net-wireless/bluetuith/Manifest| 2 ++ .../{bluetuith-.ebuild => bluetuith-0.2.2.ebuild} | 14 +- net-wireless/bluetuith/bluetuith-.ebuild | 14 +- 3 files changed, 20 insertions(+), 10 deletions(-) diff --git a/net-wireless/bluetuith/Manifest b/net-wireless/bluetuith/Manifest index 582c4cefc9..3ac70d6242 100644 --- a/net-wireless/bluetuith/Manifest +++ b/net-wireless/bluetuith/Manifest @@ -4,4 +4,6 @@ DIST bluetuith-0.2.0-deps.tar.xz 24092520 BLAKE2B 3038def9cb8543aa84677be8d81d97 DIST bluetuith-0.2.0.tar.gz 1483874 BLAKE2B 03321de6478feb5cb2d740d9db4c114cdbc791b7d4f4573c0b52a22d2c6040796bef9cb211134895cfa3233a91f2193c782fdda2bb5040eaa5ac019d0c5623f4 SHA512 bc17842adddcef3beb89708f1f9505035e2a71a9a9755894ad2ecdaac5ca90c823a57b90033b369f4c759b259830710d3e5a0b84fcd9bbc79c4b2697fb0234fd DIST bluetuith-0.2.1-deps.tar.xz 24112984 BLAKE2B 2ceec0ea5962ee94eda4f30f15f33c5d7e1e226d2d6bc337201066377eeba03bc9bff9ae80e08649f4a77c5bf40d4a857e86f6a5511ca2bc1781179112e1d924 SHA512 58b6595c599cca2f116bd7f56ee2bff26fdf179e118ea8df6e0bd05d88840c362e05c3cfdb21ccf4589850a680929ccd314a1774a8d4d0f372b6e783ab1abab5 DIST bluetuith-0.2.1.tar.gz 1485063 BLAKE2B 543576faba4350682434e8bdc4b765afdf22839a8b525c782f7d4a179863a831b7bc107dd44d27c62949ae5d8c0fd447bc3a63dbd28d344ed01a83bee8212f9e SHA512 9cd40881b18a4e109e76aaaee4db375eda123e9dc8caf6b1d7ec17c4da67debfd2d1892109ae28d6483067838a168769a4caa2c9c4dd9bd4107417183021018b +DIST bluetuith-0.2.2-deps.tar.zst 3487605 BLAKE2B 02fac84e97a27471b8feadf1d48fbcc7c8f68542388f54ea744ff9b7a433675c7d2578b76032a71117b0c0c0a04705f2bd1250922c7ee315bc27a78cdb5e4db5 SHA512 f6ad7f31e1f18c886950ff1b10e9a6179468792bdc1387f8ba3e74edb1ba11a8edf7c8ac267eac0ece51318cae5487762aa80b49f6baadf97ca1c4a677754945 +DIST bluetuith-0.2.2.tar.gz 1485216 BLAKE2B e347fbea07564866144de266156ba98d4e722c8d8c216a3696c4bb938f8cbcccdb424b28c5461b94ad67cb4b20b9dd6440a614adb24a6e9acaf8862fb6087aa0 SHA512 5b943ab1a4f5cac1b3da0ac64bea18013f4ba7fe2246c6e33011d18e7a0f384363c9e06558b25131b6ccc4ea3910961178821d24fb21f38c551b18a6500830d4 DIST bluetuith-docs-3b2ebf5a6bc8a9ed2dc48e1fa7f0df5851ddb84b.tar.gz 2382735 BLAKE2B a1cf408cda2b115efdac1a1ab650d2564df5ac4b1f9e037a1c43bbe898b2e6b452b06c4dc634d3c1b124bd5c8e543d6a128a8e35eae89d7f87fb5cac929128f2 SHA512 a8b25e68936dbab717232d159669933d8055182193c4427d1a28fb0ed31a22cd1a80df8ea04824d2d9c95359f859cbd4c5bc8fac65ecac21c7ee9b5e6972d51e diff --git a/net-wireless/bluetuith/bluetuith-.ebuild b/net-wireless/bluetuith/bluetuith-0.2.2.ebuild similarity index 86% copy from net-wireless/bluetuith/bluetuith-.ebuild copy to net-wireless/bluetuith/bluetuith-0.2.2.ebuild index 4c431789d4..98aec6b46f 100644 --- a/net-wireless/bluetuith/bluetuith-.ebuild +++ b/net-wireless/bluetuith/bluetuith-0.2.2.ebuild @@ -1,16 +1,16 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit go-module +inherit go-module unpacker DESCRIPTION="A TUI bluetooth manager for Linux written in Go" HOMEPAGE="https://darkhz.github.io/bluetuith; # MAKE SURE to change these on every update [[ ${PV} != * ]] && \ -GIT_COMMIT="ffe8681" +GIT_COMMIT="dd21a9c" GIT_DOCUMENTATION_COMMIT="3b2ebf5a6bc8a9ed2dc48e1fa7f0df5851ddb84b" if [[ ${PV} == * ]]; then @@ -18,7 +18,7 @@ if [[ ${PV} == * ]]; then EGIT_REPO_URI="https://github.com/darkhz/bluetuith.git; else SRC_URI="https://github.com/darkhz/bluetuith/archive/v${PV}.tar.gz -> ${P}.tar.gz" - SRC_URI+=" https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz" + SRC_URI+=" https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.zst -> ${P}-deps.tar.zst" SRC_URI+=" https://github.com/darkhz/bluetuith/archive/${GIT_DOCUMENTATION_COMMIT}.tar.gz -> ${PN}-docs-${GIT_DOCUMENTATION_COMMIT}.tar.gz" KEYWORDS="~amd64 ~arm64" fi @@ -48,10 +48,14 @@ src_unpack() { go-module_live_vendor else - go-module_src_unpack + unpacker_src_unpack fi } +src_prepare() { + [[ ${PV} != * ]] && { ln -sv ../vendor ./ || die ; } + default +} src_compile() { # mimicking behavior from https://github.com/d
[gentoo-commits] repo/proj/guru:dev commit in: www-apps/vaultwarden-web-bin/
commit: 2718ef9250fd7d44fdf372ede08eff1d177a9eb9 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Mon Apr 8 06:48:47 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Mon Apr 8 11:53:43 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2718ef92 www-apps/vaultwarden-web-bin: update to 2024.3.1 Signed-off-by: Rahil Bhimjiani rahil.rocks> www-apps/vaultwarden-web-bin/Manifest | 1 + .../vaultwarden-web-bin-2024.3.1.ebuild| 29 ++ 2 files changed, 30 insertions(+) diff --git a/www-apps/vaultwarden-web-bin/Manifest b/www-apps/vaultwarden-web-bin/Manifest index 5b96dd85cf..c962bd2ec4 100644 --- a/www-apps/vaultwarden-web-bin/Manifest +++ b/www-apps/vaultwarden-web-bin/Manifest @@ -1,2 +1,3 @@ DIST vaultwarden-web-bin-2024.1.2b.tar.gz 11259948 BLAKE2B 6d899b53972df56ca76c63f84375a95629c8da43026b16f0ffd09b70ab46b8db530163976f6854325cd70513d0be31c394256153b7a9cfec4c3f627fd3d3b80c SHA512 0157c751f5869de261c93624a1fa168a96e86ad1a169727bee428bb9d804b8bfac3d7b8e4b993e2e5d2414ee99a016702eb750d81c3cc71c9e4c659a5ff7b37f DIST vaultwarden-web-bin-2024.3.0.tar.gz 11600867 BLAKE2B 2dfd4181800f613d57721c176763a6f609dba9bdf09f660042b31b07ae3d6ea33c879f24b2ce6ce33e4dcb9eeffbabfcf7aab7f9f3e8213fdc5dac2ff8be3071 SHA512 e17b956082f4788beaf8b7ef4aa73b16b35f264a568fc3d6593b69cf87c817c7ac8c5ff19336795cab3600b7f00de52b129242c84953fab996bc3f8cc94c249b +DIST vaultwarden-web-bin-2024.3.1.tar.gz 11663162 BLAKE2B e29669ca0ea4ef3a3edc4039ecfbae054d984c3e0268a031aa1687af422eb44c3714cc74f667275d71d8df383da34581ef8992d07d1f6b151962bd73a3f0cba7 SHA512 7c0b55a513a52ba6c84940fed5b4e67c2370d5b38b97510ff657ff2dcae6598470cbf04f4ad80f2f644c7f62a0b68a3a4a7a372ddf3972b5e9db234b932b8b0f diff --git a/www-apps/vaultwarden-web-bin/vaultwarden-web-bin-2024.3.1.ebuild b/www-apps/vaultwarden-web-bin/vaultwarden-web-bin-2024.3.1.ebuild new file mode 100644 index 00..a750806584 --- /dev/null +++ b/www-apps/vaultwarden-web-bin/vaultwarden-web-bin-2024.3.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Prebuilt Vaultwarden web from upstream" +HOMEPAGE="https://github.com/dani-garcia/bw_web_builds; + +SRC_URI=" + https://github.com/dani-garcia/bw_web_builds/releases/download/v${PV}/bw_web_v${PV}.tar.gz -> ${P}.tar.gz +" + +S="${WORKDIR}/web-vault" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="!www-apps/vaultwarden-web" + +src_prepare() { + default + # although following is optional in upstream's build process, it reduced build dir size from 44M to 25M + find -name "*.map" -delete || die +} + +src_install() { + insinto /usr/share/webapps/"${PN%-bin}" + doins -r * +}
[gentoo-commits] repo/proj/guru:dev commit in: net-irc/thelounge/
commit: 2f1ee8ef523605b182a8d49954564fae15966a1e Author: Rahil Bhimjiani rahil rocks> AuthorDate: Mon Apr 8 11:37:06 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Mon Apr 8 11:53:43 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2f1ee8ef net-irc/thelounge: update to 4.4.3 Signed-off-by: Rahil Bhimjiani rahil.rocks> net-irc/thelounge/Manifest | 1 + net-irc/thelounge/thelounge-4.4.3.ebuild | 113 +++ 2 files changed, 114 insertions(+) diff --git a/net-irc/thelounge/Manifest b/net-irc/thelounge/Manifest index bd5029c276..7c713eec60 100644 --- a/net-irc/thelounge/Manifest +++ b/net-irc/thelounge/Manifest @@ -4,3 +4,4 @@ DIST thelounge-4.4.1.tar.gz 577766 BLAKE2B f5ce4b381445e7d8d33e83431e4222b3fdc7a DIST thelounge-4.4.2_rc1-deps.tar.xz 82563560 BLAKE2B 4511199d37825a2627f1865386da988047d33471b3b12ef8e84b3b3aca14d4bf50180a54436ba13487ddd21583abe2db2fdb830cde38c4872479b485117f5763 SHA512 3358b07fd9a27f8e4f16cdcff00c13b7a08850db4629f28320e485a9ad35a081174245715c3089fdf95307317cf2e198c959611a291070cfc1bdb0f0e4b567ca DIST thelounge-4.4.2_rc1-sqlite.tar.xz 57426856 BLAKE2B ebcb9f1b6bc256125fe1b93d764a3cd6032615ccf5b45c6b1ac9549c6b3cab1c06155a9bfa00b13e44f86dfa31572be103277ff0023a6381ddff47c684e89b90 SHA512 dfab9ff0537b633f5d1361cefa2ae6047988d74c9e3599365adc6139e4b434e0b9abc1b8e47d0a2c00e57b37fe8bb7feb99aca9312a311cd4e0444b10decd919 DIST thelounge-4.4.2_rc1.tar.gz 588927 BLAKE2B 24e1b47e124ac1654cfeb967ceffc0d72e54691b59a0c71bfd00fe9a4ef68b8e0279561cb52f56bd281876af1d04a995481602f8a0e647bf30af3fa9a7ce5ef7 SHA512 24c8304566aca12fa0264e175e8340687f8488afbb1cb49430323c7d5c6a5fdc6e0ad14f1bd0e327e4284d3b7477cd61a18677a63836a2c49a1f4c7f785a8e33 +DIST thelounge-4.4.3.tar.gz 593273 BLAKE2B 665a813090cf61084b5edede88669923dc36d387b4641fb96b9f921523b803f89c57e70f31f5e55168ce3855733f7fbb45d0b3b8255f023daf2d9cba65d02142 SHA512 d1a873b15b5ac003c59257c591030ebeb8810609ea646477cc319ddb82fa2842b0b71f3edfe60eb5b54749ed90d55074d5b82ab6312b55cccee8281057b425f2 diff --git a/net-irc/thelounge/thelounge-4.4.3.ebuild b/net-irc/thelounge/thelounge-4.4.3.ebuild new file mode 100644 index 00..cee63295e7 --- /dev/null +++ b/net-irc/thelounge/thelounge-4.4.3.ebuild @@ -0,0 +1,113 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..11} ) + +inherit python-any-r1 readme.gentoo-r1 systemd tmpfiles + +DESCRIPTION="‎Modern, responsive, cross-platform, self-hosted web IRC client" +HOMEPAGE="https://thelounge.chat/; + +SRC_URI=" + https://github.com/thelounge/thelounge/archive/refs/tags/v${PV/_rc/-rc.}.tar.gz -> ${P}.tar.gz + https://github.com/rahilarious/gentoo-distfiles/releases/download/${PN}-4.4.2_rc1/deps.tar.xz -> ${PN}-4.4.2_rc1-deps.tar.xz + sqlite? ( https://github.com/rahilarious/gentoo-distfiles/releases/download/${PN}-4.4.2_rc1/sqlite.tar.xz -> ${PN}-4.4.2_rc1-sqlite.tar.xz ) +" + +S="${WORKDIR}/${PN}-${PV/_rc/-rc.}" +LICENSE="BSD MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+sqlite" + +RDEPEND=" + acct-user/${PN} + acct-group/${PN} + >=net-libs/nodejs-18 + sqlite? ( dev-db/sqlite:3= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + sqlite? ( ${PYTHON_DEPS} ) + >=net-libs/nodejs-18[npm] + sys-apps/yarn +" + +DOC_CONTENTS="\n +# Defaults #\n +Data directory: /var/lib/${PN}\n +Listens on: 0.0.0.0:9000\n +Log file (openrc): /var/log/${PN}.log\n +Config file: /var/lib/${PN}/config.js\n +\n +# Initialization #\n +Run \`THELOUNGE_HOME=/var/lib/${PN} ${PN} add \` +" + +mooyarn() { + use !sqlite && local YARN_OPTS="--ignore-optional" + yarn --verbose --non-interactive --frozen-lockfile --cache-folder "${WORKDIR}"/yarn-cache --offline \ +--ignore-scripts ${YARN_OPTS} "${@}" || die +} + +pkg_setup() { + use sqlite && python-any-r1_pkg_setup +} + +src_prepare() { + default + use !sqlite && { sed -i -e 's|\["sqlite", |\[|g;' defaults/config.js || die ; } + +} +src_compile() { + # thelounge build + mooyarn install + NODE_ENV=production mooyarn build + local BUILT_TAR=$(realpath $(npm pack || die)) + # thelounge install + mkdir -v moobuild && cp -v {package.json,yarn.lock} moobuild/ || die + pushd moobuild || die + NODE_ENV=production mooyarn add file:${BUILT_TAR:?} + + if use sqlite; then + # sqlite3 build + pushd node_modules/sqlite3 || die + export \ + npm_config_cache="${WORKDIR}"/npm-cache \ + npm_config_nodedir="${EPREFIX}"/u
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/bitwarden-cli/
commit: c4def3f6f4b0ee781566975b1fc7a31e44337086 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Mon Feb 26 21:41:09 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Mon Feb 26 21:41:09 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c4def3f6 app-admin/bitwarden-cli: die multiple times Clauses - https://github.com/gentoo/guru/commit/1e15d68eb375d7e1ceb3796314ca69aa8b4a596d#r139080432 Signed-off-by: Rahil Bhimjiani rahil.rocks> app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild b/app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild index d6eb78d6ef..14a95f9cc5 100644 --- a/app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild +++ b/app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild @@ -50,11 +50,11 @@ src_prepare() { } src_compile() { - pushd apps/cli + pushd apps/cli || die PKG_CACHE_PATH="${WORKDIR}"/.pkg-cache npm --verbose --offline run dist:lin \ || die "Build failed! Try prebuilt from upstream ${CATEGORY}/${PN}-bin" - ./dist/linux/bw completion --shell zsh > bw.zsh - popd + ./dist/linux/bw completion --shell zsh > bw.zsh || die + popd || die } src_install() {
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/bitwarden-cli/
commit: 1e15d68eb375d7e1ceb3796314ca69aa8b4a596d Author: Rahil Bhimjiani rahil rocks> AuthorDate: Mon Feb 26 17:46:22 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Mon Feb 26 20:24:45 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1e15d68e app-admin/bitwarden-cli: what is pushd must be popd Signed-off-by: Rahil Bhimjiani rahil.rocks> app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild b/app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild index 7d6bf1c2a0..d6eb78d6ef 100644 --- a/app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild +++ b/app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild @@ -54,6 +54,7 @@ src_compile() { PKG_CACHE_PATH="${WORKDIR}"/.pkg-cache npm --verbose --offline run dist:lin \ || die "Build failed! Try prebuilt from upstream ${CATEGORY}/${PN}-bin" ./dist/linux/bw completion --shell zsh > bw.zsh + popd } src_install() {
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/vaultwarden/
commit: 56075f81a712bef841dd47d2b48d44a8e0e143b6 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Mon Feb 26 17:40:15 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Mon Feb 26 20:24:45 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=56075f81 app-admin/vaultwarden: print instructions only on first install also add symlink /etc/conf.d/vaultwarden -> ../vaultwarden.env for openrc users to find config at usual location Signed-off-by: Rahil Bhimjiani rahil.rocks> app-admin/vaultwarden/vaultwarden-1.30.3.ebuild | 20 ++-- app-admin/vaultwarden/vaultwarden-.ebuild | 20 ++-- 2 files changed, 28 insertions(+), 12 deletions(-) diff --git a/app-admin/vaultwarden/vaultwarden-1.30.3.ebuild b/app-admin/vaultwarden/vaultwarden-1.30.3.ebuild index 4cf733e1aa..27fdd5ac6d 100644 --- a/app-admin/vaultwarden/vaultwarden-1.30.3.ebuild +++ b/app-admin/vaultwarden/vaultwarden-1.30.3.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cargo check-reqs systemd tmpfiles +inherit cargo check-reqs readme.gentoo-r1 systemd tmpfiles DESCRIPTION="Unofficial Bitwarden compatible password manager server written in Rust" HOMEPAGE="https://github.com/dani-garcia/vaultwarden; @@ -53,6 +53,16 @@ PATCHES=( CHECKREQS_MEMORY=3G CHECKREQS_DISK_BUILD=2G +DOC_CONTENTS="\n + Configuration file: /etc/${PN}.env\n + Data directory: /var/lib/${PN}\n + \n + MySQL & PostgreSQL users must set DATABASE_URL in config\n + \n + Default server: http://0.0.0.0:8000\n + Admin interface: http://0.0.0.0:8000/admin +" + src_unpack() { if [[ ${PV} == * ]]; then # clone vaultwarden @@ -96,17 +106,15 @@ src_install() { newtmpfiles "${FILESDIR}"/vaultwarden-tmpfiles-1.30.3.conf "${PN}".conf insinto /etc newins .env.template "${PN}".env + dosym -r /etc/"${PN}".env /etc/conf.d/"${PN}" keepdir /var/lib/"${PN}" + readme.gentoo_create_doc einstalldocs dodoc -r ../"${PN}".wiki/* } pkg_postinst() { tmpfiles_process "${PN}".conf - elog "Configuration file: /etc/${PN}.env" - elog "Data directory: /var/lib/${PN}" - use mysql || use postgres && elog "User must set DATABASE_URL in config " - elog "Default server: http://127.0.0.1:8000; - elog "Admin interface: http://127.0.0.1:8000/admin; + readme.gentoo_print_elog } diff --git a/app-admin/vaultwarden/vaultwarden-.ebuild b/app-admin/vaultwarden/vaultwarden-.ebuild index 4cf733e1aa..27fdd5ac6d 100644 --- a/app-admin/vaultwarden/vaultwarden-.ebuild +++ b/app-admin/vaultwarden/vaultwarden-.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cargo check-reqs systemd tmpfiles +inherit cargo check-reqs readme.gentoo-r1 systemd tmpfiles DESCRIPTION="Unofficial Bitwarden compatible password manager server written in Rust" HOMEPAGE="https://github.com/dani-garcia/vaultwarden; @@ -53,6 +53,16 @@ PATCHES=( CHECKREQS_MEMORY=3G CHECKREQS_DISK_BUILD=2G +DOC_CONTENTS="\n + Configuration file: /etc/${PN}.env\n + Data directory: /var/lib/${PN}\n + \n + MySQL & PostgreSQL users must set DATABASE_URL in config\n + \n + Default server: http://0.0.0.0:8000\n + Admin interface: http://0.0.0.0:8000/admin +" + src_unpack() { if [[ ${PV} == * ]]; then # clone vaultwarden @@ -96,17 +106,15 @@ src_install() { newtmpfiles "${FILESDIR}"/vaultwarden-tmpfiles-1.30.3.conf "${PN}".conf insinto /etc newins .env.template "${PN}".env + dosym -r /etc/"${PN}".env /etc/conf.d/"${PN}" keepdir /var/lib/"${PN}" + readme.gentoo_create_doc einstalldocs dodoc -r ../"${PN}".wiki/* } pkg_postinst() { tmpfiles_process "${PN}".conf - elog "Configuration file: /etc/${PN}.env" - elog "Data directory: /var/lib/${PN}" - use mysql || use postgres && elog "User must set DATABASE_URL in config " - elog "Default server: http://127.0.0.1:8000; - elog "Admin interface: http://127.0.0.1:8000/admin; + readme.gentoo_print_elog }
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/bitwarden-cli-bin/
commit: fce95fc0d604c28c18001cd7353f83eb75b3e997 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Tue Feb 27 09:40:50 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Tue Feb 27 09:49:03 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fce95fc0 app-admin/bitwarden-cli-bin: fix QA warning about CFLAG ignored Closes: https://bugs.gentoo.org/925575 Closes: https://bugs.gentoo.org/925574 Signed-off-by: Rahil Bhimjiani rahil.rocks> app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.2.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.2.0.ebuild b/app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.2.0.ebuild index fd41561b7b..767f167a69 100644 --- a/app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.2.0.ebuild +++ b/app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.2.0.ebuild @@ -23,7 +23,7 @@ RESTRICT='strip' RDEPEND="!app-admin/bitwarden-cli" BDEPEND="app-arch/unzip" -QA_PRESTRIPPED="usr/bin/bw" +QA_PREBUILT="usr/bin/bw" src_compile() { ./bw completion --shell zsh > bw.zsh
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/bitwarden-cli-bin/
commit: 3d251eb4cf224b518e8de6d83bd35463e40034b3 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Mon Feb 26 06:16:36 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Mon Feb 26 06:16:36 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3d251eb4 app-admin/bitwarden-cli-bin: add missing BDEPEND, fix metadata.xml I always forget about running pkgcheck prior to pushing Signed-off-by: Rahil Bhimjiani rahil.rocks> app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.2.0.ebuild | 1 + app-admin/bitwarden-cli-bin/metadata.xml | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.2.0.ebuild b/app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.2.0.ebuild index 1469b0215f..fd41561b7b 100644 --- a/app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.2.0.ebuild +++ b/app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.2.0.ebuild @@ -22,6 +22,7 @@ KEYWORDS="~amd64" RESTRICT='strip' RDEPEND="!app-admin/bitwarden-cli" +BDEPEND="app-arch/unzip" QA_PRESTRIPPED="usr/bin/bw" src_compile() { diff --git a/app-admin/bitwarden-cli-bin/metadata.xml b/app-admin/bitwarden-cli-bin/metadata.xml index 120e3e571a..32c863c574 100644 --- a/app-admin/bitwarden-cli-bin/metadata.xml +++ b/app-admin/bitwarden-cli-bin/metadata.xml @@ -9,7 +9,5 @@ bitwarden/clients https://github.com/bitwarden/clients/issues https://github.com/bitwarden/clients/tree/main/apps/cli - https://contributing.bitwarden.com/getting-started/clients/cli/ - https://bitwarden.com/help/cli/
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/bitwarden-cli/
commit: 53c5090f8e9afbef708796f16c8ddd08ebd70c59 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Mon Feb 26 06:18:04 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Mon Feb 26 06:18:04 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=53c5090f app-admin/bitwarden-cli: line break, fix metadata.xml I always forget about running pkgcheck prior to pushing Signed-off-by: Rahil Bhimjiani rahil.rocks> app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild | 3 ++- app-admin/bitwarden-cli/metadata.xml | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild b/app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild index 8258f2c576..7d6bf1c2a0 100644 --- a/app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild +++ b/app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild @@ -51,7 +51,8 @@ src_prepare() { src_compile() { pushd apps/cli - PKG_CACHE_PATH="${WORKDIR}"/.pkg-cache npm --verbose --offline run dist:lin || die "Build failed! Try prebuilt from upstream ${CATEGORY}/${PN}-bin" + PKG_CACHE_PATH="${WORKDIR}"/.pkg-cache npm --verbose --offline run dist:lin \ + || die "Build failed! Try prebuilt from upstream ${CATEGORY}/${PN}-bin" ./dist/linux/bw completion --shell zsh > bw.zsh } diff --git a/app-admin/bitwarden-cli/metadata.xml b/app-admin/bitwarden-cli/metadata.xml index 120e3e571a..32c863c574 100644 --- a/app-admin/bitwarden-cli/metadata.xml +++ b/app-admin/bitwarden-cli/metadata.xml @@ -9,7 +9,5 @@ bitwarden/clients https://github.com/bitwarden/clients/issues https://github.com/bitwarden/clients/tree/main/apps/cli - https://contributing.bitwarden.com/getting-started/clients/cli/ - https://bitwarden.com/help/cli/
[gentoo-commits] repo/proj/guru:dev commit in: www-apps/vaultwarden-web/
commit: 9f11b6737165df85e241da9c56494d610983c335 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Mon Feb 26 06:18:55 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Mon Feb 26 06:18:55 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9f11b673 www-apps/vaultwarden-web/vaultwarden-web: add line break I always forget about running pkgcheck prior to pushing Signed-off-by: Rahil Bhimjiani rahil.rocks> www-apps/vaultwarden-web/vaultwarden-web-2024.1.2b.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www-apps/vaultwarden-web/vaultwarden-web-2024.1.2b.ebuild b/www-apps/vaultwarden-web/vaultwarden-web-2024.1.2b.ebuild index e39f3cfb3b..60158ed172 100644 --- a/www-apps/vaultwarden-web/vaultwarden-web-2024.1.2b.ebuild +++ b/www-apps/vaultwarden-web/vaultwarden-web-2024.1.2b.ebuild @@ -60,7 +60,8 @@ src_prepare() { src_compile() { # mimicking the behaviour of https://github.com/dani-garcia/bw_web_builds/blob/master/scripts/build_web_vault.sh pushd apps/web - npm --verbose --offline run dist:oss:selfhost && printf '{"version":"%s"}' "${PV}" | tee build/vw-version.json || die "Build failed! Try prebuilt from upstream ${CATEGORY}/${PN}-bin" + npm --verbose --offline run dist:oss:selfhost && printf '{"version":"%s"}' "${PV}" | tee build/vw-version.json \ + || die "Build failed! Try prebuilt from upstream ${CATEGORY}/${PN}-bin" # although following is optional in upstream's build process, it reduced build dir size from 44M to 25M find build -name "*.map" -delete || die }
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/vaultwarden/files/, app-admin/vaultwarden/
commit: 4d887c0531663bdd3e0e68802a864848bbe47885 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Wed Feb 21 10:14:28 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Mon Feb 26 05:47:12 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4d887c05 app-admin/vaultwarden: Bitwarden compatible password manager in Rust Initial 1.30.3 Signed-off-by: Rahil Bhimjiani rahil.rocks> app-admin/vaultwarden/Manifest | 3 + .../vaultwarden/files/vaultwarden-1.30.3.initd | 20 .../vaultwarden/files/vaultwarden-1.30.3.service | 53 ++ .../files/vaultwarden-envfile-1.30.3.patch | 54 ++ .../files/vaultwarden-tmpfiles-1.30.3.conf | 5 + app-admin/vaultwarden/metadata.xml | 21 app-admin/vaultwarden/vaultwarden-1.30.3.ebuild| 112 + app-admin/vaultwarden/vaultwarden-.ebuild | 112 + 8 files changed, 380 insertions(+) diff --git a/app-admin/vaultwarden/Manifest b/app-admin/vaultwarden/Manifest new file mode 100644 index 00..341d6c7c3a --- /dev/null +++ b/app-admin/vaultwarden/Manifest @@ -0,0 +1,3 @@ +DIST vaultwarden-1.30.3-deps.tar.xz 46123852 BLAKE2B 3a72fb6b30cbaee9ecbafb1c2411c116f25cd4637ca060db604e33e0d27c8a837a045655388fef15f145049b99a4d946dde15c08bb57b002cb2d8e6325826a54 SHA512 fbe0c456f1f298f8588e22afc8b5fcdc4aec94c10a6474362555929940d35086906d703ba9474751e9bcb54ea56e807277975788eb2e1cf0bae4be323ac7886b +DIST vaultwarden-1.30.3-docs.tar.xz 73696 BLAKE2B c78252c8ba6fc5efd1fc528e32bc608695f4d83749a85952f7b5daa6b8b874666f2dcfe5a9086f178ab27a806ac10070905eb7e4acb27890bc865873c0db7d3f SHA512 5144a79dfc2a8ec3ea2f62accb4635aa556bd7ec3f2b33b7943fd4443332ade44902550c4ea9c8bafa19ec7c0feed92754e3540b0696853dd7e7cee5971d8dc1 +DIST vaultwarden-1.30.3.tar.gz 608049 BLAKE2B f8d8a80c8dc7b6c710b0fbea19a14c7a73b150fb344173302e00395da5b6d0035f8c4b5c2cd80f2b573127a21ad4d5c440862fe2ab221ba733f85cb109387459 SHA512 2e1163300cc4e3bb2a66566fdfa65cc439920316615efd89d113121407f5456fed127dfa55be2a8cf77543083ace1ea56b6e15bc8a9678aa53e71435d6293642 diff --git a/app-admin/vaultwarden/files/vaultwarden-1.30.3.initd b/app-admin/vaultwarden/files/vaultwarden-1.30.3.initd new file mode 100644 index 00..f468d76ead --- /dev/null +++ b/app-admin/vaultwarden/files/vaultwarden-1.30.3.initd @@ -0,0 +1,20 @@ +#!/sbin/openrc-run +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +set -a && source ../"${RC_SVCNAME}".env && set +a + +name="Vaultwarden" +description="Unofficial Bitwarden compatible password manager server in Rust" +command="/usr/bin/${RC_SVCNAME}" +command_user="${RC_SVCNAME}:${RC_SVCNAME}" +command_background="true" +pidfile="/run/${RC_SVCNAME}.pid" +output_log="/var/log/${RC_SVCNAME}.log" +error_log="/var/log/${RC_SVCNAME}.log" +directory="${DATA_FOLDER:-/var/lib/${RC_SVCNAME}}" +umask=0027 + +depend() { + after net +} diff --git a/app-admin/vaultwarden/files/vaultwarden-1.30.3.service b/app-admin/vaultwarden/files/vaultwarden-1.30.3.service new file mode 100644 index 00..1d68bc0924 --- /dev/null +++ b/app-admin/vaultwarden/files/vaultwarden-1.30.3.service @@ -0,0 +1,53 @@ +[Unit] +Description=Vaultwarden, password manager server writen in Rust +Documentation=https://github.com/dani-garcia/vaultwarden + +After=network.target +Wants=network.target + +After=mariadb.service +Wants=mariadb.service + +After=mysqld.service +Wants=mysqld.service + +After=postgresql-12.service postgresql-13.service postgresql-14.service postgresql-15.service postgresql-16.service +Wants=postgresql-12.service postgresql-13.service postgresql-14.service postgresql-15.service postgresql-16.service + +[Service] +EnvironmentFile=/etc/%N.env +ExecStart=/usr/bin/%N +WorkingDirectory=/var/lib/%N + +User=%N +Group=%N +UMask=0027 + +# Sandboxing and hardening systemd.exec(5) +PrivateUsers=yes +ProtectClock=yes +ProtectHostname=yes +ProtectKernelTunables=yes +ProtectKernelModules=yes +ProtectKernelLogs=yes +ProtectControlGroups=yes +RestrictNamespaces=yes +LockPersonality=yes +MemoryDenyWriteExecute=yes +RestrictSUIDSGID=yes +RemoveIPC=yes +RestrictRealtime=yes +PrivateTmp=true +PrivateDevices=true +ProtectHome=true + +# set entire file system to read only except following ReadWritePaths +ProtectSystem=strict +ReadWritePaths=/var/lib/%N /var/log/%N.log + +# Set reasonable connection and process limits +LimitNOFILE=1048576 +LimitNPROC=64 + +[Install] +WantedBy=multi-user.target diff --git a/app-admin/vaultwarden/files/vaultwarden-envfile-1.30.3.patch b/app-admin/vaultwarden/files/vaultwarden-envfile-1.30.3.patch new file mode 100644 index 00..a97b338be0 --- /dev/null +++ b/app-admin/vaultwarden/files/vaultwarden-envfile-1.30.3.patch @@
[gentoo-commits] repo/proj/guru:dev commit in: acct-user/vaultwarden/
commit: 64c45346883f5446d8fd965bc15708a1c962357a Author: Rahil Bhimjiani rahil rocks> AuthorDate: Thu Feb 22 10:36:06 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Mon Feb 26 05:47:11 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=64c45346 acct-user/vaultwarden: add user for vaultwarden Signed-off-by: Rahil Bhimjiani rahil.rocks> acct-user/vaultwarden/metadata.xml | 8 acct-user/vaultwarden/vaultwarden-0.ebuild | 13 + 2 files changed, 21 insertions(+) diff --git a/acct-user/vaultwarden/metadata.xml b/acct-user/vaultwarden/metadata.xml new file mode 100644 index 00..3e6b5d8ad4 --- /dev/null +++ b/acct-user/vaultwarden/metadata.xml @@ -0,0 +1,8 @@ + +https://www.gentoo.org/dtd/metadata.dtd;> + + + me@rahil.rocks + Rahil Bhimjiani + + diff --git a/acct-user/vaultwarden/vaultwarden-0.ebuild b/acct-user/vaultwarden/vaultwarden-0.ebuild new file mode 100644 index 00..1758c1ee47 --- /dev/null +++ b/acct-user/vaultwarden/vaultwarden-0.ebuild @@ -0,0 +1,13 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit acct-user + +DESCRIPTION="A user for app-admin/vaultwarden" + +ACCT_USER_ID=-1 +ACCT_USER_GROUPS=( ${PN} ) + +acct-user_add_deps
[gentoo-commits] repo/proj/guru:dev commit in: acct-group/vaultwarden/
commit: 635550c3c865d9bbb9e9f6bebe293d1fbbd9223d Author: Rahil Bhimjiani rahil rocks> AuthorDate: Thu Feb 22 10:36:46 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Mon Feb 26 05:47:11 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=635550c3 acct-group/vaultwarden: add group for vaultwarden Signed-off-by: Rahil Bhimjiani rahil.rocks> acct-group/vaultwarden/metadata.xml | 8 acct-group/vaultwarden/vaultwarden-0.ebuild | 10 ++ 2 files changed, 18 insertions(+) diff --git a/acct-group/vaultwarden/metadata.xml b/acct-group/vaultwarden/metadata.xml new file mode 100644 index 00..3e6b5d8ad4 --- /dev/null +++ b/acct-group/vaultwarden/metadata.xml @@ -0,0 +1,8 @@ + +https://www.gentoo.org/dtd/metadata.dtd;> + + + me@rahil.rocks + Rahil Bhimjiani + + diff --git a/acct-group/vaultwarden/vaultwarden-0.ebuild b/acct-group/vaultwarden/vaultwarden-0.ebuild new file mode 100644 index 00..fe6d9637e9 --- /dev/null +++ b/acct-group/vaultwarden/vaultwarden-0.ebuild @@ -0,0 +1,10 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit acct-group + +DESCRIPTION="A group for app-admin/vaultwarden" + +ACCT_GROUP_ID=-1
[gentoo-commits] repo/proj/guru:dev commit in: www-apps/vaultwarden-web/
commit: cd2faf0f2155d01d90c9140031bdc1d0f6cdc0d4 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Sat Feb 24 14:06:32 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Mon Feb 26 05:47:11 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cd2faf0f www-apps/vaultwarden-web: Web UI for Vaultwarden add 2024.1.2b Signed-off-by: Rahil Bhimjiani rahil.rocks> www-apps/vaultwarden-web/Manifest | 3 + www-apps/vaultwarden-web/metadata.xml | 13 .../vaultwarden-web-2024.1.2b.ebuild | 71 ++ 3 files changed, 87 insertions(+) diff --git a/www-apps/vaultwarden-web/Manifest b/www-apps/vaultwarden-web/Manifest new file mode 100644 index 00..d0df5d97e9 --- /dev/null +++ b/www-apps/vaultwarden-web/Manifest @@ -0,0 +1,3 @@ +DIST bitwarden-clients-a1a5c4b.tar.xz 204680568 BLAKE2B dd7ae09792831dacf9e7c110a508315e8d57c3231c6c32014e7b842ffc01a046fec03f375c48afd40379ba2853159e594a54b3f8ec229c1568ba3d1b8c054335 SHA512 5644d0b53c525164c2af14036dd7d432be9a943b55df2aef9922329326b164b31336bd53e2f9f2eb35a858f974d8fc0a3bd3aac6e42b821d5d4634ca714a51c3 +DIST vaultwarden-web-2024.1.2.tar.gz 20199824 BLAKE2B da8f8f87a88a7baaa05985f5f8ec46ad2eae14953b1bec03fa22eb490f5d86a752d270fd76681dba23543e1d51ec02dad2c24aab60a47751300c539f9859bd46 SHA512 eea08dc128495b157ebf9b5ee48bf4b48d929257bb2b9839b2e7ac9913cb60118886df622765889aa84985a3ec47339e9f11196e1a09ebd0faa985061a43dacc +DIST vaultwarden-web-2024.1.2b-patches.tar.gz 97946 BLAKE2B 6b43ec5949c58e88d534d24dbb1b107320a50f198979243b17c0d8c5f65989a59542196890afdc036b3114c55776d2ed6609f51ebc114935bef61323705f SHA512 5463ce39642e3d53bffe774fa5bcdfde240cd1f7eadbcef8e7db4d5795deb2bc3a601505dc091a1dd0b4aa684e6a8f59a9a8c1542251b749e9c290986dd02f7f diff --git a/www-apps/vaultwarden-web/metadata.xml b/www-apps/vaultwarden-web/metadata.xml new file mode 100644 index 00..889a71396a --- /dev/null +++ b/www-apps/vaultwarden-web/metadata.xml @@ -0,0 +1,13 @@ + +https://www.gentoo.org/dtd/metadata.dtd;> + + + me@rahil.rocks + Rahil Bhimjiani + + + dani-garcia/bw_web_builds + https://github.com/dani-garcia/bw_web_builds/issues + https://github.com/dani-garcia/bw_web_builds/blob/master/README.md + + diff --git a/www-apps/vaultwarden-web/vaultwarden-web-2024.1.2b.ebuild b/www-apps/vaultwarden-web/vaultwarden-web-2024.1.2b.ebuild new file mode 100644 index 00..e39f3cfb3b --- /dev/null +++ b/www-apps/vaultwarden-web/vaultwarden-web-2024.1.2b.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit check-reqs + +DESCRIPTION="Bitwarden web vault patched to make it work with Vaultwarden" +HOMEPAGE="https://github.com/dani-garcia/bw_web_builds; + +BW_CLIENTS_COMMIT="a1a5c4b" +SRC_URI=" + https://github.com/bitwarden/clients/archive/refs/tags/web-v${PV%b}.tar.gz -> ${PN}-${PV%b}.tar.gz + https://github.com/rahilarious/gentoo-distfiles/releases/download/bitwarden-clients-${BW_CLIENTS_COMMIT}/deps.tar.xz -> bitwarden-clients-${BW_CLIENTS_COMMIT}.tar.xz + https://github.com/dani-garcia/bw_web_builds/archive/refs/tags/v${PV}.tar.gz -> ${P}-patches.tar.gz +" + +S="${WORKDIR}/clients-web-v${PV%b}" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="!www-apps/vaultwarden-web-bin" +BDEPEND=" + net-libs/nodejs[npm] +" + +CHECKREQS_MEMORY=3G +CHECKREQS_DISK_BUILD=2G + +pkg_pretend() { + einfo "" + einfo "#" + einfo "Prebuilt alternative to this package is available:" + einfo "${CATEGORY}/${PN}-bin" + einfo "#" + einfo "" + check-reqs_pkg_pretend +} + +src_prepare() { + default + + # mimicking the behaviour of https://github.com/dani-garcia/bw_web_builds/blob/master/scripts/apply_patches.sh + local PATCH_FILE + if [[ -f "../bw_web_builds-${PV}/patches/v${PV%b}.patch" ]]; then + einfo "Exact patch file found, using that" + PATCH_FILE="../bw_web_builds-${PV}/patches/v${PV%b}.patch" + else + einfo "No exact patch file not found, using latest" + PATCH_FILE="../bw_web_builds-${PV}/patches/$(find ../bw_web_builds-${PV}/patches -type f -print0 | xargs -0 basename -a | sort -V | tail -n1)" || die + fi + + cp -vfR ../bw_web_builds*/resources/src/* ./apps/web/src/ || die + eapply "${PATCH_FILE}" + + mv -v ../node_modules ./ || die +} + +src_compile() { +
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/bitwarden-cli-bin/
commit: 5f7bddeb202efe247732b216b76b43046cd8d168 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Sun Feb 25 01:30:45 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Mon Feb 26 05:47:12 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5f7bddeb app-admin/bitwarden-cli-bin: prebuilt CLI binary for Bit/Vaultwarden initial 2024.2.0 Signed-off-by: Rahil Bhimjiani rahil.rocks> app-admin/bitwarden-cli-bin/Manifest | 1 + .../bitwarden-cli-bin-2024.2.0.ebuild | 34 ++ app-admin/bitwarden-cli-bin/metadata.xml | 15 ++ 3 files changed, 50 insertions(+) diff --git a/app-admin/bitwarden-cli-bin/Manifest b/app-admin/bitwarden-cli-bin/Manifest new file mode 100644 index 00..19b13d6396 --- /dev/null +++ b/app-admin/bitwarden-cli-bin/Manifest @@ -0,0 +1 @@ +DIST bw-linux-2024.2.0.zip 32968695 BLAKE2B 808dbd4965cc26b3880bd541bc4c3627ed6b07233bb3eb62c76c5034ba734c6211c1fc907309f71d8dcfd993a61ba0bcdd049dc052c477cb43e7d4452929fe31 SHA512 80fa0ab96bf291ed5008d5c01d00eebf950e72b8c21184be3df1018ba33d33bac038b4410e17123096113642372b8013bdde0605473449cec5c69c418fa2e3c5 diff --git a/app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.2.0.ebuild b/app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.2.0.ebuild new file mode 100644 index 00..1469b0215f --- /dev/null +++ b/app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.2.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit shell-completion + +DESCRIPTION="Precompiled CLI frontend which connects to Bitwarden comapatible servers" +HOMEPAGE="https://github.com/bitwarden/clients/tree/main/apps/cli; + +SRC_URI=" + https://github.com/bitwarden/clients/releases/download/cli-v${PV}/bw-linux-${PV}.zip +" + +S="${WORKDIR}" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +# non-stripped binary is of 99M but works +# stripped bianry is of 44M but doesnt work +RESTRICT='strip' + +RDEPEND="!app-admin/bitwarden-cli" +QA_PRESTRIPPED="usr/bin/bw" + +src_compile() { + ./bw completion --shell zsh > bw.zsh +} + +src_install() { + dobin bw + newzshcomp bw.zsh _bw +} diff --git a/app-admin/bitwarden-cli-bin/metadata.xml b/app-admin/bitwarden-cli-bin/metadata.xml new file mode 100644 index 00..120e3e571a --- /dev/null +++ b/app-admin/bitwarden-cli-bin/metadata.xml @@ -0,0 +1,15 @@ + +https://www.gentoo.org/dtd/metadata.dtd;> + + + me@rahil.rocks + Rahil Bhimjiani + + + bitwarden/clients + https://github.com/bitwarden/clients/issues + https://github.com/bitwarden/clients/tree/main/apps/cli + https://contributing.bitwarden.com/getting-started/clients/cli/ + https://bitwarden.com/help/cli/ + +
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/bitwarden-cli/
commit: c7737650e9b4faaa9069cf70a62d4816a16e4238 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Sun Feb 25 01:06:24 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Mon Feb 26 05:47:12 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c7737650 app-admin/bitwarden-cli: frontend to Bitwarden compatible servers Initial 2024.2.0 Signed-off-by: Rahil Bhimjiani rahil.rocks> app-admin/bitwarden-cli/Manifest | 3 ++ .../bitwarden-cli/bitwarden-cli-2024.2.0.ebuild| 61 ++ app-admin/bitwarden-cli/metadata.xml | 15 ++ 3 files changed, 79 insertions(+) diff --git a/app-admin/bitwarden-cli/Manifest b/app-admin/bitwarden-cli/Manifest new file mode 100644 index 00..c7b8232019 --- /dev/null +++ b/app-admin/bitwarden-cli/Manifest @@ -0,0 +1,3 @@ +DIST bitwarden-cli-2024.2.0-pkg-cache.tar.xz 13081348 BLAKE2B c0f56169752a8659f4a42b36a1fb48604d968a82853f8a860fb03455b499be03ba6cdacc643188b86c3673ffa26ab8ed2a825bdf6a37996189f851ad5e638b5b SHA512 f1de3477537b9f95dc38353ce1bf1d22e7cf8b92b0012befe2c0db4c62dd1f7fc419ba06518318fed90deb9a8627e35422daee8ba70f07e02f3c8eb43678a7c1 +DIST bitwarden-cli-2024.2.0.tar.gz 20328706 BLAKE2B 0f8120b7ddbf74a6e5c3d7a63ad72dd3ecea3f32c46b488b21bfa2ca877724841a5dd9318854a0204dc7015ea104ffed0783a8301bf57a53f9a5d4b9d1ff18e1 SHA512 8a9f69242a945b17c944c699649b9f2524d5ae3b07f97d296ae01bde44b9081b9262fa80028c28a1f876ce789d4daac103d2c15c01a9af07e5c7159f43d427b6 +DIST bitwarden-clients-a1a5c4b.tar.xz 204680568 BLAKE2B dd7ae09792831dacf9e7c110a508315e8d57c3231c6c32014e7b842ffc01a046fec03f375c48afd40379ba2853159e594a54b3f8ec229c1568ba3d1b8c054335 SHA512 5644d0b53c525164c2af14036dd7d432be9a943b55df2aef9922329326b164b31336bd53e2f9f2eb35a858f974d8fc0a3bd3aac6e42b821d5d4634ca714a51c3 diff --git a/app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild b/app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild new file mode 100644 index 00..8258f2c576 --- /dev/null +++ b/app-admin/bitwarden-cli/bitwarden-cli-2024.2.0.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit check-reqs shell-completion + +DESCRIPTION="CLI frontend client connects to Bitwarden comapatible password manager server" +HOMEPAGE="https://github.com/bitwarden/clients/tree/main/apps/cli; + +BW_CLIENTS_COMMIT="a1a5c4b" +SRC_URI=" + https://github.com/bitwarden/clients/archive/refs/tags/cli-v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/rahilarious/gentoo-distfiles/releases/download/bitwarden-clients-${BW_CLIENTS_COMMIT}/deps.tar.xz -> bitwarden-clients-${BW_CLIENTS_COMMIT}.tar.xz + https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/pkg-cache.tar.xz -> ${P}-pkg-cache.tar.xz +" + +S="${WORKDIR}/clients-cli-v${PV}" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +# non-stripped binary is of 99M but works +# stripped bianry is of 44M but doesnt work +RESTRICT='strip' + +RDEPEND="!app-admin/bitwarden-cli-bin" +BDEPEND=" + net-libs/nodejs:0/18[npm] +" + +QA_PRESTRIPPED="usr/bin/bw" + +CHECKREQS_MEMORY=2G +CHECKREQS_DISK_BUILD=2G + +pkg_pretend() { + einfo "" + einfo "#" + einfo "Precompiled alternative to this package is available:" + einfo "${CATEGORY}/${PN}-bin" + einfo "#" + einfo "" + check-reqs_pkg_pretend +} + +src_prepare() { + default + mv -v ../node_modules ./ || die +} + +src_compile() { + pushd apps/cli + PKG_CACHE_PATH="${WORKDIR}"/.pkg-cache npm --verbose --offline run dist:lin || die "Build failed! Try prebuilt from upstream ${CATEGORY}/${PN}-bin" + ./dist/linux/bw completion --shell zsh > bw.zsh +} + +src_install() { + dobin apps/cli/dist/linux/bw + newzshcomp apps/cli/bw.zsh _bw +} diff --git a/app-admin/bitwarden-cli/metadata.xml b/app-admin/bitwarden-cli/metadata.xml new file mode 100644 index 00..120e3e571a --- /dev/null +++ b/app-admin/bitwarden-cli/metadata.xml @@ -0,0 +1,15 @@ + +https://www.gentoo.org/dtd/metadata.dtd;> + + + me@rahil.rocks + Rahil Bhimjiani + + + bitwarden/clients + https://github.com/bitwarden/clients/issues + https://github.com/bitwarden/clients/tree/main/apps/cli + https://contributing.bitwarden.com/getting-started/clients/cli/ + https://bitwarden.com/help/cli/ + +
[gentoo-commits] repo/proj/guru:dev commit in: www-apps/vaultwarden-web-bin/
commit: 45ed00a6a0aff02fb7fd745017385efacbf172c2 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Wed Feb 21 15:35:37 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Mon Feb 26 05:47:12 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=45ed00a6 www-apps/vaultwarden-web-bin: precompiled Web UI for Vaultwarden initial release 2024.1.2b Signed-off-by: Rahil Bhimjiani rahil.rocks> www-apps/vaultwarden-web-bin/Manifest | 1 + www-apps/vaultwarden-web-bin/metadata.xml | 13 ++ .../vaultwarden-web-bin-2024.1.2b.ebuild | 29 ++ 3 files changed, 43 insertions(+) diff --git a/www-apps/vaultwarden-web-bin/Manifest b/www-apps/vaultwarden-web-bin/Manifest new file mode 100644 index 00..41fc04069d --- /dev/null +++ b/www-apps/vaultwarden-web-bin/Manifest @@ -0,0 +1 @@ +DIST vaultwarden-web-bin-2024.1.2b.tar.gz 11259948 BLAKE2B 6d899b53972df56ca76c63f84375a95629c8da43026b16f0ffd09b70ab46b8db530163976f6854325cd70513d0be31c394256153b7a9cfec4c3f627fd3d3b80c SHA512 0157c751f5869de261c93624a1fa168a96e86ad1a169727bee428bb9d804b8bfac3d7b8e4b993e2e5d2414ee99a016702eb750d81c3cc71c9e4c659a5ff7b37f diff --git a/www-apps/vaultwarden-web-bin/metadata.xml b/www-apps/vaultwarden-web-bin/metadata.xml new file mode 100644 index 00..889a71396a --- /dev/null +++ b/www-apps/vaultwarden-web-bin/metadata.xml @@ -0,0 +1,13 @@ + +https://www.gentoo.org/dtd/metadata.dtd;> + + + me@rahil.rocks + Rahil Bhimjiani + + + dani-garcia/bw_web_builds + https://github.com/dani-garcia/bw_web_builds/issues + https://github.com/dani-garcia/bw_web_builds/blob/master/README.md + + diff --git a/www-apps/vaultwarden-web-bin/vaultwarden-web-bin-2024.1.2b.ebuild b/www-apps/vaultwarden-web-bin/vaultwarden-web-bin-2024.1.2b.ebuild new file mode 100644 index 00..a750806584 --- /dev/null +++ b/www-apps/vaultwarden-web-bin/vaultwarden-web-bin-2024.1.2b.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Prebuilt Vaultwarden web from upstream" +HOMEPAGE="https://github.com/dani-garcia/bw_web_builds; + +SRC_URI=" + https://github.com/dani-garcia/bw_web_builds/releases/download/v${PV}/bw_web_v${PV}.tar.gz -> ${P}.tar.gz +" + +S="${WORKDIR}/web-vault" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="!www-apps/vaultwarden-web" + +src_prepare() { + default + # although following is optional in upstream's build process, it reduced build dir size from 44M to 25M + find -name "*.map" -delete || die +} + +src_install() { + insinto /usr/share/webapps/"${PN%-bin}" + doins -r * +}
[gentoo-commits] repo/proj/guru:dev commit in: net-dns/AdGuardHome/
commit: 58db96417a265556ad38bd9c34434b9f1e6f5ba4 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Sat Mar 2 11:43:22 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Sat Mar 2 11:43:22 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=58db9641 net-dns/AdGuardHome: provide binary in lower case as well by symlink Signed-off-by: Rahil Bhimjiani rahil.rocks> net-dns/AdGuardHome/AdGuardHome-0.107.44.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/net-dns/AdGuardHome/AdGuardHome-0.107.44.ebuild b/net-dns/AdGuardHome/AdGuardHome-0.107.44.ebuild index f1d2096380..9d30c74d4d 100644 --- a/net-dns/AdGuardHome/AdGuardHome-0.107.44.ebuild +++ b/net-dns/AdGuardHome/AdGuardHome-0.107.44.ebuild @@ -113,6 +113,8 @@ src_test() { src_install() { dobin "${PN}" + dosym -r /usr/bin/"${PN}" /usr/bin/adguardhome + einstalldocs systemd_newunit "${FILESDIR}"/AdGuardHome-0.107.43.service "${PN}".service
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/vaultwarden/
commit: 3e180e4fea8599a8326834beed01ae2c8752d2d1 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Sat Mar 2 16:22:13 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Sat Mar 2 17:05:19 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3e180e4f app-admin/vaultwarden: add 1.30.4 Signed-off-by: Rahil Bhimjiani rahil.rocks> app-admin/vaultwarden/Manifest | 3 + app-admin/vaultwarden/vaultwarden-1.30.4.ebuild | 120 2 files changed, 123 insertions(+) diff --git a/app-admin/vaultwarden/Manifest b/app-admin/vaultwarden/Manifest index 341d6c7c3a..480588fe8d 100644 --- a/app-admin/vaultwarden/Manifest +++ b/app-admin/vaultwarden/Manifest @@ -1,3 +1,6 @@ DIST vaultwarden-1.30.3-deps.tar.xz 46123852 BLAKE2B 3a72fb6b30cbaee9ecbafb1c2411c116f25cd4637ca060db604e33e0d27c8a837a045655388fef15f145049b99a4d946dde15c08bb57b002cb2d8e6325826a54 SHA512 fbe0c456f1f298f8588e22afc8b5fcdc4aec94c10a6474362555929940d35086906d703ba9474751e9bcb54ea56e807277975788eb2e1cf0bae4be323ac7886b DIST vaultwarden-1.30.3-docs.tar.xz 73696 BLAKE2B c78252c8ba6fc5efd1fc528e32bc608695f4d83749a85952f7b5daa6b8b874666f2dcfe5a9086f178ab27a806ac10070905eb7e4acb27890bc865873c0db7d3f SHA512 5144a79dfc2a8ec3ea2f62accb4635aa556bd7ec3f2b33b7943fd4443332ade44902550c4ea9c8bafa19ec7c0feed92754e3540b0696853dd7e7cee5971d8dc1 DIST vaultwarden-1.30.3.tar.gz 608049 BLAKE2B f8d8a80c8dc7b6c710b0fbea19a14c7a73b150fb344173302e00395da5b6d0035f8c4b5c2cd80f2b573127a21ad4d5c440862fe2ab221ba733f85cb109387459 SHA512 2e1163300cc4e3bb2a66566fdfa65cc439920316615efd89d113121407f5456fed127dfa55be2a8cf77543083ace1ea56b6e15bc8a9678aa53e71435d6293642 +DIST vaultwarden-1.30.4-deps.tar.xz 46442248 BLAKE2B 2d6f81583fe16855073f7bf6bcd3e6ca62bdb794617592f0a0a58acd64fd47563fd99ad0c1c0d5ad0bebb5130954a21a79899faa5d536cf0e5df5d7af6b0cda5 SHA512 ea9cb986521646433a129627f5e9ce69de682a229dd553d5a555be1df766757b67f6779ab39f21b47f9aa224221e3d8b48ea0eefa959052b85f87711a6c13047 +DIST vaultwarden-1.30.4-docs.tar.xz 73864 BLAKE2B 5a7d71d639b19dedf997a3ab418be228795a03761b3d08cf4e2368ce72548d09dea3fb06b6f485d8b35240161982f1e74d3b4fb7a178714b0de3733ef7db17a4 SHA512 17917c8a365c5d32f1d83aaacdd0a9faac95241cc187d0237e584c34bbadeb1b11948fbcc5def104a091968b3845edcde57900f8f4d1536728664ef9d99467ae +DIST vaultwarden-1.30.4.tar.gz 597933 BLAKE2B 24f9517173a4832cbd6b002831d4b09fe5b52531772e8f2aa1cca2517c50d39dc830ebb4f13d14851a52638891be2f9144d7ce38ca79813adcd3d62687812f6b SHA512 a84899ebe30129a62971d4391f4801d3a6eb63b22075a11e676a07f73d8ff0f431a4b8868bac37dc344678ff7de70959ed062c2c7fea4c254fe4f5286d56647e diff --git a/app-admin/vaultwarden/vaultwarden-1.30.4.ebuild b/app-admin/vaultwarden/vaultwarden-1.30.4.ebuild new file mode 100644 index 00..27fdd5ac6d --- /dev/null +++ b/app-admin/vaultwarden/vaultwarden-1.30.4.ebuild @@ -0,0 +1,120 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cargo check-reqs readme.gentoo-r1 systemd tmpfiles + +DESCRIPTION="Unofficial Bitwarden compatible password manager server written in Rust" +HOMEPAGE="https://github.com/dani-garcia/vaultwarden; + +if [[ ${PV} == * ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/dani-garcia/vaultwarden.git; +else + SRC_URI=" + https://github.com/dani-garcia/vaultwarden/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz + https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz + https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/wiki.tar.xz -> ${P}-docs.tar.xz +" + KEYWORDS="~amd64" +fi + +# main +LICENSE="AGPL-3" +# deps +LICENSE+=" 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC MIT MPL-2.0 Unicode-DFS-2016" + +SLOT="0" +IUSE="cli mysql postgres sqlite web" +REQUIRED_USE="|| ( mysql postgres sqlite )" + +RDEPEND=" + acct-user/vaultwarden + acct-group/vaultwarden + cli? ( || ( app-admin/bitwarden-cli app-admin/bitwarden-cli-bin ) ) + mysql? ( dev-db/mysql-connector-c:= ) + postgres? ( dev-db/postgresql:* ) + sqlite? ( dev-db/sqlite:3 ) + web? ( || ( www-apps/vaultwarden-web www-apps/vaultwarden-web-bin ) ) +" + +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +QA_FLAGS_IGNORED="usr/bin/${PN}" +QA_PRESTRIPPED="usr/bin/${PN}" +ECARGO_VENDOR="${WORKDIR}/vendor" + +PATCHES=( + "${FILESDIR}"/vaultwarden-envfile-1.30.3.patch +) + +CHECKREQS_MEMORY=3G +CHECKREQS_DISK_BUILD=2G + +DOC_CONTENTS="\n + Configuration file: /etc/${PN}.env\n + Data directory: /var/lib/${PN}\n + \n + MySQL & PostgreSQL users must set DATABASE_URL in config\n +
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/vaultwarden/
commit: ee4baf9d322294fb5bc885c44d2bb496736c29a6 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Sun Mar 3 03:39:47 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Sun Mar 3 03:41:00 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ee4baf9d app-admin/vaultwarden: add hotfix 1.30.5 Signed-off-by: Rahil Bhimjiani rahil.rocks> app-admin/vaultwarden/Manifest | 1 + app-admin/vaultwarden/vaultwarden-1.30.5.ebuild | 120 2 files changed, 121 insertions(+) diff --git a/app-admin/vaultwarden/Manifest b/app-admin/vaultwarden/Manifest index 480588fe8d..e116fec631 100644 --- a/app-admin/vaultwarden/Manifest +++ b/app-admin/vaultwarden/Manifest @@ -4,3 +4,4 @@ DIST vaultwarden-1.30.3.tar.gz 608049 BLAKE2B f8d8a80c8dc7b6c710b0fbea19a14c7a73 DIST vaultwarden-1.30.4-deps.tar.xz 46442248 BLAKE2B 2d6f81583fe16855073f7bf6bcd3e6ca62bdb794617592f0a0a58acd64fd47563fd99ad0c1c0d5ad0bebb5130954a21a79899faa5d536cf0e5df5d7af6b0cda5 SHA512 ea9cb986521646433a129627f5e9ce69de682a229dd553d5a555be1df766757b67f6779ab39f21b47f9aa224221e3d8b48ea0eefa959052b85f87711a6c13047 DIST vaultwarden-1.30.4-docs.tar.xz 73864 BLAKE2B 5a7d71d639b19dedf997a3ab418be228795a03761b3d08cf4e2368ce72548d09dea3fb06b6f485d8b35240161982f1e74d3b4fb7a178714b0de3733ef7db17a4 SHA512 17917c8a365c5d32f1d83aaacdd0a9faac95241cc187d0237e584c34bbadeb1b11948fbcc5def104a091968b3845edcde57900f8f4d1536728664ef9d99467ae DIST vaultwarden-1.30.4.tar.gz 597933 BLAKE2B 24f9517173a4832cbd6b002831d4b09fe5b52531772e8f2aa1cca2517c50d39dc830ebb4f13d14851a52638891be2f9144d7ce38ca79813adcd3d62687812f6b SHA512 a84899ebe30129a62971d4391f4801d3a6eb63b22075a11e676a07f73d8ff0f431a4b8868bac37dc344678ff7de70959ed062c2c7fea4c254fe4f5286d56647e +DIST vaultwarden-1.30.5.tar.gz 597882 BLAKE2B 8b7a8135cd4b454a7cd7016ee1b0efed09d4507ec28ff712b3d935ca006c524dc27e9de65c930a82e6cb0911cb9629ae1d5a9ee95531d3e5a171abae8ba99f72 SHA512 acf7c344840f9b19e3aa366dae794ca6daca9dfad10d2bfdfa08d195d00f553643b46f2f7fe9344d0949306f9dc892722af7aeb7a047986edc98b51ec0c143bb diff --git a/app-admin/vaultwarden/vaultwarden-1.30.5.ebuild b/app-admin/vaultwarden/vaultwarden-1.30.5.ebuild new file mode 100644 index 00..4f7e0d4b4b --- /dev/null +++ b/app-admin/vaultwarden/vaultwarden-1.30.5.ebuild @@ -0,0 +1,120 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cargo check-reqs readme.gentoo-r1 systemd tmpfiles + +DESCRIPTION="Unofficial Bitwarden compatible password manager server written in Rust" +HOMEPAGE="https://github.com/dani-garcia/vaultwarden; + +if [[ ${PV} == * ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/dani-garcia/vaultwarden.git; +else + SRC_URI=" + https://github.com/dani-garcia/vaultwarden/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz + https://github.com/rahilarious/gentoo-distfiles/releases/download/${PN}-1.30.4/deps.tar.xz -> ${PN}-1.30.4-deps.tar.xz + https://github.com/rahilarious/gentoo-distfiles/releases/download/${PN}-1.30.4/wiki.tar.xz -> ${PN}-1.30.4-docs.tar.xz +" + KEYWORDS="~amd64" +fi + +# main +LICENSE="AGPL-3" +# deps +LICENSE+=" 0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD-2 BSD ISC MIT MPL-2.0 Unicode-DFS-2016" + +SLOT="0" +IUSE="cli mysql postgres sqlite web" +REQUIRED_USE="|| ( mysql postgres sqlite )" + +RDEPEND=" + acct-user/vaultwarden + acct-group/vaultwarden + cli? ( || ( app-admin/bitwarden-cli app-admin/bitwarden-cli-bin ) ) + mysql? ( dev-db/mysql-connector-c:= ) + postgres? ( dev-db/postgresql:* ) + sqlite? ( dev-db/sqlite:3 ) + web? ( || ( www-apps/vaultwarden-web www-apps/vaultwarden-web-bin ) ) +" + +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +QA_FLAGS_IGNORED="usr/bin/${PN}" +QA_PRESTRIPPED="usr/bin/${PN}" +ECARGO_VENDOR="${WORKDIR}/vendor" + +PATCHES=( + "${FILESDIR}"/vaultwarden-envfile-1.30.3.patch +) + +CHECKREQS_MEMORY=3G +CHECKREQS_DISK_BUILD=2G + +DOC_CONTENTS="\n + Configuration file: /etc/${PN}.env\n + Data directory: /var/lib/${PN}\n + \n + MySQL & PostgreSQL users must set DATABASE_URL in config\n + \n + Default server: http://0.0.0.0:8000\n + Admin interface: http://0.0.0.0:8000/admin +" + +src_unpack() { + if [[ ${PV} == * ]]; then + # clone vaultwarden + git-r3_src_unpack + + # clone vaultwarden.wiki + EGIT_REPO_URI="https://github.com/dani-garcia/vaultwarden.wiki.git; + EGIT_CHECKOUT_DIR="${WORKDIR}/${PN}.wiki" + git-r3_src_unpack + + cargo_live_src_un
[gentoo-commits] repo/proj/guru:dev commit in: net-dns/AdGuardHome/
commit: 7a315e74ee13630384a042bd6b1a4d47b32baa20 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Thu May 23 17:00:59 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Thu May 23 17:02:17 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7a315e74 net-dns/AdGuardHome: update to 0.107.49 Signed-off-by: Rahil Bhimjiani rahil.rocks> net-dns/AdGuardHome/AdGuardHome-0.107.49.ebuild | 151 net-dns/AdGuardHome/Manifest| 4 + 2 files changed, 155 insertions(+) diff --git a/net-dns/AdGuardHome/AdGuardHome-0.107.49.ebuild b/net-dns/AdGuardHome/AdGuardHome-0.107.49.ebuild new file mode 100644 index 0..698ff424f --- /dev/null +++ b/net-dns/AdGuardHome/AdGuardHome-0.107.49.ebuild @@ -0,0 +1,151 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit fcaps go-module readme.gentoo-r1 systemd + +DESCRIPTION="Network-wide ads & trackers blocking DNS server like Pi-Hole with web ui" +HOMEPAGE="https://github.com/AdguardTeam/AdGuardHome/; + +WIKI_COMMIT="3b27176" +SRC_URI=" + https://github.com/AdguardTeam/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz + https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/wiki.tar.xz -> ${PN}-wiki-${WIKI_COMMIT}.tar.xz + web? ( https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/npm-deps.tar.xz -> ${P}-npm-deps.tar.xz ) +" + +# main +LICENSE="GPL-3" +# deps +LICENSE+=" Apache-2.0 BSD BSD-2 MIT ZLIB" + +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +IUSE="+web" +# RESTRICT="test" + +BDEPEND=" + web? ( net-libs/nodejs[npm] ) +" + +FILECAPS=( + -m 755 'cap_net_bind_service=+eip cap_net_raw=+eip' usr/bin/${PN} +) + +PATCHES=( + "${FILESDIR}"/disable-update-cmd-opt.patch +) + +DOCS=" + ../${PN}.wiki/* +" + +DOC_CONTENTS="\n +User is advised to not run binary directly instead use systemd service\n\n +Defaults for systemd service:\n +Web UI: 0.0.0.0:3000\n +Data directory: /var/lib/${PN}\n +Default config: /var/lib/${PN}/${PN}.yaml +" +src_unpack() { + # because we're using vendor/ so we don't need go-module_src_unpack + default +} + +src_prepare() { + ln -sv ../vendor ./ || die + + default + + if use web; then + # mimicking `make js-deps` + export npm_config_cache="${WORKDIR}/npm-cache" NODE_OPTIONS=--openssl-legacy-provider || die + npm --verbose --offline --prefix client/ --no-progress --ignore-engines --ignore-optional --ignore-platform --ignore-scripts ci || die + fi +} + +src_compile() { + # mimicking `make js-build` + use web && npm --verbose --offline --prefix client run build-prod || die + + # mimicking https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-build.sh + + local MY_LDFLAGS="-s -w" + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.version=${PV}" + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.channel=release" + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.committime=$(date +%s)" + if [ "$(go env GOARM)" != '' ] + then + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.goarm=$(go env GOARM)" + elif [ "$(go env GOMIPS)" != '' ] + then + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.gomips=$(go env GOMIPS)" + fi + + ego build -ldflags "${MY_LDFLAGS}" -trimpath -v=1 -x=1 +} + +src_test() { + + # mimicking https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-test.sh + count_flags='--count=1' + cover_flags='--coverprofile=./coverage.txt' + shuffle_flags='--shuffle=on' + timeout_flags="--timeout=30s" + fuzztime_flags="--fuzztime=20s" + readonly count_flags cover_flags shuffle_flags timeout_flags fuzztime_flags + + # race only works when pie is disabled + export GOFLAGS="${GOFLAGS/-buildmode=pie/}" + + # following test is failing without giving any reason. Tried disabling internal/updater internal/whois tests toggling race, but still failing. + # ego test\ + # "$count_flags"\ + # "$cover_flags"\ + # "$shuffle_flags"\ + # --race=1\ + # "$timeout_flags"\ + # ./... + +
[gentoo-commits] repo/proj/guru:dev commit in: net-dns/AdGuardHome/
commit: 96119fdfcca87e7caf097e111470feb00312ff5a Author: Rahil Bhimjiani rahil rocks> AuthorDate: Thu May 23 17:51:40 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Thu May 23 18:08:49 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=96119fdf net-dns/AdGuardHome: update to 0.107.50 hotfix Signed-off-by: Rahil Bhimjiani rahil.rocks> net-dns/AdGuardHome/AdGuardHome-0.107.50.ebuild | 151 net-dns/AdGuardHome/Manifest| 2 + 2 files changed, 153 insertions(+) diff --git a/net-dns/AdGuardHome/AdGuardHome-0.107.50.ebuild b/net-dns/AdGuardHome/AdGuardHome-0.107.50.ebuild new file mode 100644 index 0..5ab998498 --- /dev/null +++ b/net-dns/AdGuardHome/AdGuardHome-0.107.50.ebuild @@ -0,0 +1,151 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit fcaps go-module readme.gentoo-r1 systemd + +DESCRIPTION="Network-wide ads & trackers blocking DNS server like Pi-Hole with web ui" +HOMEPAGE="https://github.com/AdguardTeam/AdGuardHome/; + +WIKI_COMMIT="3b27176" +SRC_URI=" + https://github.com/AdguardTeam/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz + https://github.com/rahilarious/gentoo-distfiles/releases/download/${PN}-0.107.49/wiki.tar.xz -> ${PN}-wiki-${WIKI_COMMIT}.tar.xz + web? ( https://github.com/rahilarious/gentoo-distfiles/releases/download/${PN}-0.107.49/npm-deps.tar.xz -> ${PN}-0.107.49-npm-deps.tar.xz ) +" + +# main +LICENSE="GPL-3" +# deps +LICENSE+=" Apache-2.0 BSD BSD-2 MIT ZLIB" + +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +IUSE="+web" +# RESTRICT="test" + +BDEPEND=" + web? ( net-libs/nodejs[npm] ) +" + +FILECAPS=( + -m 755 'cap_net_bind_service=+eip cap_net_raw=+eip' usr/bin/${PN} +) + +PATCHES=( + "${FILESDIR}"/disable-update-cmd-opt.patch +) + +DOCS=" + ../${PN}.wiki/* +" + +DOC_CONTENTS="\n +User is advised to not run binary directly instead use systemd service\n\n +Defaults for systemd service:\n +Web UI: 0.0.0.0:3000\n +Data directory: /var/lib/${PN}\n +Default config: /var/lib/${PN}/${PN}.yaml +" +src_unpack() { + # because we're using vendor/ so we don't need go-module_src_unpack + default +} + +src_prepare() { + ln -sv ../vendor ./ || die + + default + + if use web; then + # mimicking `make js-deps` + export npm_config_cache="${WORKDIR}/npm-cache" NODE_OPTIONS=--openssl-legacy-provider || die + npm --verbose --offline --prefix client/ --no-progress --ignore-engines --ignore-optional --ignore-platform --ignore-scripts ci || die + fi +} + +src_compile() { + # mimicking `make js-build` + use web && npm --verbose --offline --prefix client run build-prod || die + + # mimicking https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-build.sh + + local MY_LDFLAGS="-s -w" + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.version=${PV}" + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.channel=release" + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.committime=$(date +%s)" + if [ "$(go env GOARM)" != '' ] + then + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.goarm=$(go env GOARM)" + elif [ "$(go env GOMIPS)" != '' ] + then + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.gomips=$(go env GOMIPS)" + fi + + ego build -ldflags "${MY_LDFLAGS}" -trimpath -v=1 -x=1 +} + +src_test() { + + # mimicking https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-test.sh + count_flags='--count=1' + cover_flags='--coverprofile=./coverage.txt' + shuffle_flags='--shuffle=on' + timeout_flags="--timeout=30s" + fuzztime_flags="--fuzztime=20s" + readonly count_flags cover_flags shuffle_flags timeout_flags fuzztime_flags + + # race only works when pie is disabled + export GOFLAGS="${GOFLAGS/-buildmode=pie/}" + + # following test is failing without giving any reason. Tried disabling internal/updater internal/whois tests toggling race, but still failing. + # ego test\ + # "$count_flags"\ + # "$cover_flags"\ + # "$shuffle_flags"\ + # --race=1\ + # "$timeout_flags"\
[gentoo-commits] repo/proj/guru:dev commit in: net-dns/blocky/
commit: 4feaeefdb5c32f7544405027228cf511d9be94ad Author: Rahil Bhimjiani rahil rocks> AuthorDate: Sat Jun 15 06:18:35 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Sat Jun 15 06:20:31 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4feaeefd net-dns/blocky: update to 0.24 * significantly reduce deps tarball size 183 MiB -> 5.7 MiB by using `go mod vendor` Signed-off-by: Rahil Bhimjiani rahil.rocks> net-dns/blocky/Manifest | 3 +++ net-dns/blocky/{blocky-.ebuild => blocky-0.24.ebuild} | 6 +++--- net-dns/blocky/blocky-.ebuild | 6 +++--- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/net-dns/blocky/Manifest b/net-dns/blocky/Manifest index 6b49aa54e..4cc0315b3 100644 --- a/net-dns/blocky/Manifest +++ b/net-dns/blocky/Manifest @@ -4,3 +4,6 @@ DIST blocky-0.22.tar.gz 712644 BLAKE2B d74881026421337a0fc32a6af2cf6bff736e0130a DIST blocky-0.23-deps.tar.xz 191529448 BLAKE2B fbad27f70b73832e0862b32267be0e9956c39c570f4e8d16be6a1b7eaa8ea779df52d1da533486d2b0d3e5b163602b62283ac006de4adc0861ec208fd9f50bd8 SHA512 89441e8082260b7c8a850b91029540554fc8af4bdba1996adb07ff57781c0e92ee439b915cd1473d16fba9bd31612b6c267c2fe6f96096a4f9ed4fa23d46165d DIST blocky-0.23-docs.tar.gz 6773940 BLAKE2B 8114e49c8c8b7c01a1376dd0ef15b5eee966fc18c84d8645aa91c3524876167de810a17d63f2e287a3fe4c56906076783e135cf0c209886870588f40190e9d78 SHA512 aec00c88ea97f7f2d145020e666f77f992b53cd8867d4d4c5bc5a094b06889c35d7019d0e491fe02fb1dd803912613ec7f874f4d7a9f0d06e41c7bb8c609d956 DIST blocky-0.23.tar.gz 7236537 BLAKE2B 4dd8b4a9587ed2b768ff2cf8809e14242032d7e8be3d3c422eb5518df33c32c0f767ba8e7490f353e81ede8c150cf3175621ea35ad3aa682f62c7d169c511b63 SHA512 22431da4c2f259411b7eb790e8f05a7264d0aa96fe4774722bbe71cf9459a3ed7f434b4b295c95b80f2efc6de55ff645f860443838fe793bc413d74b77e395be +DIST blocky-0.24-deps.tar.xz 5931984 BLAKE2B 834f637649051cd84950bfa2cf80e2e41972e746900dc86a5ca933a17eb4e15d75ab3813e3ddc02ec53945b1114a4ac2624535ca80210df479e254e1483122c0 SHA512 ac5b371a037429b5e51ced17434ac168895cb33e41f876ba286a3fd4d0ec779f68355603c0eeaa6f09c55eb552922257f8d27c409e661b5f9ebbe240c7a6ea57 +DIST blocky-0.24-docs.tar.gz 7335085 BLAKE2B 094686354b65b8b95391c5381790c6ee6198475155dc80099d3adcb7e3ee6598d0ec4a191a15d1c3a745d9ac6e4290bc048747ef551c9d07c5cf740dee3a922b SHA512 c4151e1903945d9396c341927178e6cd4e0a82be5899f610be1746a14e1c3b4c315850cc2f6e00ec248e3a8ba2428e2f8ec0e7ddcaf936af177cb064c4edbaf4 +DIST blocky-0.24.tar.gz 7246810 BLAKE2B ec6ddbdab6f77f039e5b79e4092239ae17b003659e02bcf4d81a6371be5e5f3c9f5cc071b3a2b8ad6d0a5cc11834da5ef618445288ba1f3ae8306f8629931cbf SHA512 d89e417157a2f45232f264eed597849bf38e4ad7407d215e5ebe9b2bd84e2b31f1c434b9df915c295272214a3398fb73302814503bca5ca41b748363ecc656e6 diff --git a/net-dns/blocky/blocky-.ebuild b/net-dns/blocky/blocky-0.24.ebuild similarity index 93% copy from net-dns/blocky/blocky-.ebuild copy to net-dns/blocky/blocky-0.24.ebuild index 0852ebf83..804021e66 100644 --- a/net-dns/blocky/blocky-.ebuild +++ b/net-dns/blocky/blocky-0.24.ebuild @@ -8,7 +8,7 @@ inherit fcaps go-module systemd shell-completion DESCRIPTION="Fast and lightweight DNS proxy as ad-blocker with many features written in Go" HOMEPAGE="https://github.com/0xERR0R/blocky/; -DOCUMENTATION_COMMIT=e9d4e51690f700d20b2cd478eef5987653bd4cc0 +DOCUMENTATION_COMMIT=8c38c181ca6600328847f3c9856df99b0c3ad04b if [[ ${PV} == * ]]; then inherit git-r3 @@ -54,12 +54,12 @@ src_unpack() { git-r3_src_unpack fi else - go-module_src_unpack + default fi } src_compile() { - [[ ${PV} != * ]] && export VERSION="${PV}" + [[ ${PV} != * ]] && { export VERSION="${PV}" && ln -sv ../vendor ./ || die ; } # mimicking project's Dockerfile emake GO_SKIP_GENERATE=yes GO_BUILD_FLAGS="-tags static -v " build diff --git a/net-dns/blocky/blocky-.ebuild b/net-dns/blocky/blocky-.ebuild index 0852ebf83..804021e66 100644 --- a/net-dns/blocky/blocky-.ebuild +++ b/net-dns/blocky/blocky-.ebuild @@ -8,7 +8,7 @@ inherit fcaps go-module systemd shell-completion DESCRIPTION="Fast and lightweight DNS proxy as ad-blocker with many features written in Go" HOMEPAGE="https://github.com/0xERR0R/blocky/; -DOCUMENTATION_COMMIT=e9d4e51690f700d20b2cd478eef5987653bd4cc0 +DOCUMENTATION_COMMIT=8c38c181ca6600328847f3c9856df99b0c3ad04b if [[ ${PV} == * ]]; then inherit git-r3 @@ -54,12 +54,12 @@ src_unpack() { git-r3_src_unpack fi else - go-module_src_unpack + default fi } src_compile() { - [[ ${PV} != * ]] && export VERSION="${PV}" +
[gentoo-commits] repo/proj/guru:dev commit in: net-dns/AdGuardHome/
commit: 31c238ba9e39470bd1b96ec9b3139b4f3ebf8530 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Sat Jun 15 07:10:31 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Sat Jun 15 07:10:31 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=31c238ba net-dns/AdGuardHome: cleanup Signed-off-by: Rahil Bhimjiani rahil.rocks> net-dns/AdGuardHome/AdGuardHome-0.107.45.ebuild | 124 --- net-dns/AdGuardHome/AdGuardHome-0.107.46.ebuild | 142 -- net-dns/AdGuardHome/AdGuardHome-0.107.48.ebuild | 153 net-dns/AdGuardHome/Manifest| 10 -- 4 files changed, 429 deletions(-) diff --git a/net-dns/AdGuardHome/AdGuardHome-0.107.45.ebuild b/net-dns/AdGuardHome/AdGuardHome-0.107.45.ebuild deleted file mode 100644 index e2dc7851a..0 --- a/net-dns/AdGuardHome/AdGuardHome-0.107.45.ebuild +++ /dev/null @@ -1,124 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit fcaps go-module systemd - -DESCRIPTION="Network-wide ads & trackers blocking DNS server like Pi-Hole with web ui" -HOMEPAGE="https://github.com/AdguardTeam/AdGuardHome/; - -WIKI_COMMIT="7964837" -SRC_URI=" - https://github.com/AdguardTeam/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz - https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz - https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/wiki.tar.xz -> ${PN}-wiki-${WIKI_COMMIT}.tar.xz - web? ( https://github.com/AdguardTeam/${PN}/releases/download/v${PV}/AdGuardHome_frontend.tar.gz -> ${P}-frontend.tar.gz ) -" - -# main -LICENSE="GPL-3" -# deps -LICENSE+=" Apache-2.0 BSD BSD-2 MIT ZLIB" - -SLOT="0" -KEYWORDS="~amd64 ~arm64" - -IUSE="+web" -# RESTRICT="test" - -# so that pkgcheck doesn't complain -BDEPEND="app-arch/unzip" - -FILECAPS=( - -m 755 'cap_net_bind_service=+eip cap_net_raw=+eip' usr/bin/${PN} -) - -PATCHES=( - "${FILESDIR}"/disable-update-cmd-opt.patch -) - -DOCS=" - ../${PN,,}.wiki/* -" - -src_prepare() { - default - # move frontend to project directory - use web && { rm -v build/gitkeep && mv -v ../build ./ || die ; } -} - -src_compile() { - # mimicking https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-build.sh - - local MY_LDFLAGS="-s -w" - MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.version=${PV}" - MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.channel=release" - MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.committime=$(date +%s)" - if [ "$(go env GOARM)" != '' ] - then - MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.goarm=$(go env GOARM)" - elif [ "$(go env GOMIPS)" != '' ] - then - MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.gomips=$(go env GOMIPS)" - fi - - ego build -ldflags "${MY_LDFLAGS}" -trimpath -v=1 -x=1 -} - -src_test() { - - # mimicking https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-test.sh - count_flags='--count=1' - cover_flags='--coverprofile=./coverage.txt' - shuffle_flags='--shuffle=on' - timeout_flags="--timeout=30s" - fuzztime_flags="--fuzztime=20s" - readonly count_flags cover_flags shuffle_flags timeout_flags fuzztime_flags - - # race only works when pie is disabled - export GOFLAGS="${GOFLAGS/-buildmode=pie/}" - - # following test is failing without giving any reason. Tried disabling internal/updater internal/whois tests toggling race, but still failing. - # ego test\ - # "$count_flags"\ - # "$cover_flags"\ - # "$shuffle_flags"\ - # --race=1\ - # "$timeout_flags"\ - # ./... - - # mimicking https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-bench.sh - ego test\ - "$count_flags"\ - "$shuffle_flags"\ - --race=0\ - "$timeout_flags"\ - --bench='.'\ - --benchmem\ - --benchtime=1s\ - --run='^$'\ - ./... - - # mimicking https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-fuzz.sh - ego test\ - "$count_flags"\ - &quo
[gentoo-commits] repo/proj/guru:dev commit in: net-dns/AdGuardHome/
commit: a6957ff6585ef72d6eec7971f910320a57efc1d7 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Sat Jun 15 07:10:05 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Sat Jun 15 07:10:05 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a6957ff6 net-dns/AdGuardHome: update to 0.107.51 Signed-off-by: Rahil Bhimjiani rahil.rocks> net-dns/AdGuardHome/AdGuardHome-0.107.51.ebuild | 151 net-dns/AdGuardHome/Manifest| 2 + 2 files changed, 153 insertions(+) diff --git a/net-dns/AdGuardHome/AdGuardHome-0.107.51.ebuild b/net-dns/AdGuardHome/AdGuardHome-0.107.51.ebuild new file mode 100644 index 0..5ab998498 --- /dev/null +++ b/net-dns/AdGuardHome/AdGuardHome-0.107.51.ebuild @@ -0,0 +1,151 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit fcaps go-module readme.gentoo-r1 systemd + +DESCRIPTION="Network-wide ads & trackers blocking DNS server like Pi-Hole with web ui" +HOMEPAGE="https://github.com/AdguardTeam/AdGuardHome/; + +WIKI_COMMIT="3b27176" +SRC_URI=" + https://github.com/AdguardTeam/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz + https://github.com/rahilarious/gentoo-distfiles/releases/download/${P}/deps.tar.xz -> ${P}-deps.tar.xz + https://github.com/rahilarious/gentoo-distfiles/releases/download/${PN}-0.107.49/wiki.tar.xz -> ${PN}-wiki-${WIKI_COMMIT}.tar.xz + web? ( https://github.com/rahilarious/gentoo-distfiles/releases/download/${PN}-0.107.49/npm-deps.tar.xz -> ${PN}-0.107.49-npm-deps.tar.xz ) +" + +# main +LICENSE="GPL-3" +# deps +LICENSE+=" Apache-2.0 BSD BSD-2 MIT ZLIB" + +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +IUSE="+web" +# RESTRICT="test" + +BDEPEND=" + web? ( net-libs/nodejs[npm] ) +" + +FILECAPS=( + -m 755 'cap_net_bind_service=+eip cap_net_raw=+eip' usr/bin/${PN} +) + +PATCHES=( + "${FILESDIR}"/disable-update-cmd-opt.patch +) + +DOCS=" + ../${PN}.wiki/* +" + +DOC_CONTENTS="\n +User is advised to not run binary directly instead use systemd service\n\n +Defaults for systemd service:\n +Web UI: 0.0.0.0:3000\n +Data directory: /var/lib/${PN}\n +Default config: /var/lib/${PN}/${PN}.yaml +" +src_unpack() { + # because we're using vendor/ so we don't need go-module_src_unpack + default +} + +src_prepare() { + ln -sv ../vendor ./ || die + + default + + if use web; then + # mimicking `make js-deps` + export npm_config_cache="${WORKDIR}/npm-cache" NODE_OPTIONS=--openssl-legacy-provider || die + npm --verbose --offline --prefix client/ --no-progress --ignore-engines --ignore-optional --ignore-platform --ignore-scripts ci || die + fi +} + +src_compile() { + # mimicking `make js-build` + use web && npm --verbose --offline --prefix client run build-prod || die + + # mimicking https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-build.sh + + local MY_LDFLAGS="-s -w" + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.version=${PV}" + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.channel=release" + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.committime=$(date +%s)" + if [ "$(go env GOARM)" != '' ] + then + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.goarm=$(go env GOARM)" + elif [ "$(go env GOMIPS)" != '' ] + then + MY_LDFLAGS+=" -X github.com/AdguardTeam/AdGuardHome/internal/version.gomips=$(go env GOMIPS)" + fi + + ego build -ldflags "${MY_LDFLAGS}" -trimpath -v=1 -x=1 +} + +src_test() { + + # mimicking https://github.com/AdguardTeam/AdGuardHome/blob/master/scripts/make/go-test.sh + count_flags='--count=1' + cover_flags='--coverprofile=./coverage.txt' + shuffle_flags='--shuffle=on' + timeout_flags="--timeout=30s" + fuzztime_flags="--fuzztime=20s" + readonly count_flags cover_flags shuffle_flags timeout_flags fuzztime_flags + + # race only works when pie is disabled + export GOFLAGS="${GOFLAGS/-buildmode=pie/}" + + # following test is failing without giving any reason. Tried disabling internal/updater internal/whois tests toggling race, but still failing. + # ego test\ + # "$count_flags"\ + # "$cover_flags"\ + # "$shuffle_flags"\ + # --race=1\ + # "$timeout_flags"\
[gentoo-commits] repo/proj/guru:dev commit in: app-crypt/lego/
commit: cbb8d17758903776d4b7fe494b932fddde224a6e Author: Rahil Bhimjiani rahil rocks> AuthorDate: Sat Jun 15 06:54:59 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Sat Jun 15 06:54:59 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cbb8d177 app-crypt/lego: update to 4.17.4 * significantly reduce deps tarball size 202 MiB -> 6.4 MiB using `go mod vendor` Signed-off-by: Rahil Bhimjiani rahil.rocks> app-crypt/lego/Manifest | 3 +++ app-crypt/lego/{lego-.ebuild => lego-4.17.4.ebuild} | 5 +++-- app-crypt/lego/lego-.ebuild | 5 +++-- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/app-crypt/lego/Manifest b/app-crypt/lego/Manifest index 0cc3a5acf..7495cddf7 100644 --- a/app-crypt/lego/Manifest +++ b/app-crypt/lego/Manifest @@ -9,3 +9,6 @@ DIST lego-4.16.0-docs.tar.gz 3681408 BLAKE2B 3be8f0a8d9aaa13e4ff3bf0bd8b928bc7be DIST lego-4.16.0.tar.gz 698821 BLAKE2B 9058f856a477c70c12352df4786e18dadf444df60ed462411367a8aa18ce1e98ede4358e6aad8032d5d3230341fd7e544343bda27fd92c46c494e0a5eb683f35 SHA512 ba40fdcd94cb1f12d609104d1af5c8e398f3a3d70e4d2a0b65365b401b6928149749778de9acb138e9548d634ea210641c07d2218135f2e4c903a39947f206e5 DIST lego-4.16.1-docs.tar.gz 3681606 BLAKE2B 9f80ba3f132eb08b06a960c8a9bdcf372a7925bdc931a078385ff1b6b9f01981d76758c15cc3f8c35f48e461bdc84f5a4d6a7b9a6b1aadbda249ca4d27459bc3 SHA512 1c953edd93b6d56b0b1bd48519b745d7ebfce9df76d6c92cccde88e4aff814de19d9a68e3d949f517530acaf738def97550d1a866e156a8d03e9ff644766df35 DIST lego-4.16.1.tar.gz 698801 BLAKE2B 005be7bf3462d941de99c46b659776f2b69b9298819a23009060fbf0f7532c62eae3512c10619f034916eaa3c20b9607d78786cf5ec023df139cc6c186b0df20 SHA512 a65c661fc003cc26c13ed6b38719a0ab49a8fe8e2a18c59c84e5c974b918aaf0c55c92015d2794a17b4fe5ac31c3557a4d5e1971527441b8bdf80907fe4b90e9 +DIST lego-4.17.4-deps.tar.xz 6737692 BLAKE2B 3c5ed3ed9eb2cd6ce75c26d822cd75f1e20ac0802f77811f68cab79631ab69d5e0d1493bf037280d6d422c1acefa900858e41387fea8c0f32c55aab80f243a8e SHA512 84bfd2b1deccea61f98f4fed41920622272ca6786877c74879a6f556d911c5a7bfd2147cde8eae87ae1c58549a3e78fa8544af030d2bff29c19139237389a045 +DIST lego-4.17.4-docs.tar.gz 3694481 BLAKE2B bccfa16f8bdd4fea165ef5fa1051b5d3b6d39ad55438791d997376015568215fb5ec0485bdef5246bcc725622f7ff412446eca48d60ec906f75d253532a3d556 SHA512 e4d910e68a312e7d193f5e2953956232f00b24a01ab47cb0bc8e5c7002143ea1e3d708af932a762c3a3abeca692f92d6ab62da172eea28a1ffe28e7b8ff4cad5 +DIST lego-4.17.4.tar.gz 710264 BLAKE2B 822cfbbf084477ea34cf263b66a54a9ab6b1307a99b463cb4da8488321e9da3d8e7260664a5261444e8d9a8c0508da8f60ab0887875846e040187a214eb13a42 SHA512 28118b6a7677dcca9b1476cbba4eb9d1ef0eda68ddc8b3db83b50a77bc8721fbe77ab5da9d66b1e7c4b75097f3a1aa64b60d0f58ebb36bbfdfc284ae5dabcfc1 diff --git a/app-crypt/lego/lego-.ebuild b/app-crypt/lego/lego-4.17.4.ebuild similarity index 95% copy from app-crypt/lego/lego-.ebuild copy to app-crypt/lego/lego-4.17.4.ebuild index c4ae98059..0a162fb3a 100644 --- a/app-crypt/lego/lego-.ebuild +++ b/app-crypt/lego/lego-4.17.4.ebuild @@ -8,7 +8,7 @@ inherit go-module DESCRIPTION="Let's Encrypt/ACME client (like certbot or acme.sh) and library written in Go" HOMEPAGE="https://github.com/go-acme/lego/; -DOCUMENTATION_COMMIT=14be9e1e1c33a1e370b7fc76ebe3e6fba938c87d +DOCUMENTATION_COMMIT=5b9931c1cf7c95b3e6bd5bf37126701d0327a08f if [[ ${PV} == * ]]; then inherit git-r3 @@ -45,7 +45,7 @@ src_unpack() { git-r3_src_unpack fi else - go-module_src_unpack + default fi } @@ -65,6 +65,7 @@ src_compile() { VERSION="$(git rev-parse HEAD)" || die else VERSION="${PV}" + ln -sv ../vendor ./ || die fi ego build -trimpath -ldflags "-X main.version=${VERSION}" -o dist/"${PN}" ./cmd/lego/ diff --git a/app-crypt/lego/lego-.ebuild b/app-crypt/lego/lego-.ebuild index c4ae98059..0a162fb3a 100644 --- a/app-crypt/lego/lego-.ebuild +++ b/app-crypt/lego/lego-.ebuild @@ -8,7 +8,7 @@ inherit go-module DESCRIPTION="Let's Encrypt/ACME client (like certbot or acme.sh) and library written in Go" HOMEPAGE="https://github.com/go-acme/lego/; -DOCUMENTATION_COMMIT=14be9e1e1c33a1e370b7fc76ebe3e6fba938c87d +DOCUMENTATION_COMMIT=5b9931c1cf7c95b3e6bd5bf37126701d0327a08f if [[ ${PV} == * ]]; then inherit git-r3 @@ -45,7 +45,7 @@ src_unpack() { git-r3_src_unpack fi else - go-module_src_unpack + default fi } @@ -65,6 +65,7 @@ src_compile() { VERSION="$(git rev-parse HEAD)" || die else VERSION="${PV}" + ln -sv ../vendor ./ || die fi ego build -trimpath -ldflags "-X main.version=${VERSION}" -o dist/"${PN}" ./cmd/lego/
[gentoo-commits] repo/proj/guru:dev commit in: www-apps/vaultwarden-web-bin/
commit: f2bc227e3f0790552e66fa208dfa47d8a4c010c5 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Sat Jun 15 10:18:31 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Sat Jun 15 11:41:24 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f2bc227e www-apps/vaultwarden-web-bin: update to 2024.5.0 Signed-off-by: Rahil Bhimjiani rahil.rocks> www-apps/vaultwarden-web-bin/Manifest | 1 + .../vaultwarden-web-bin-2024.5.0.ebuild| 29 ++ 2 files changed, 30 insertions(+) diff --git a/www-apps/vaultwarden-web-bin/Manifest b/www-apps/vaultwarden-web-bin/Manifest index c962bd2ec..eb1e3e386 100644 --- a/www-apps/vaultwarden-web-bin/Manifest +++ b/www-apps/vaultwarden-web-bin/Manifest @@ -1,3 +1,4 @@ DIST vaultwarden-web-bin-2024.1.2b.tar.gz 11259948 BLAKE2B 6d899b53972df56ca76c63f84375a95629c8da43026b16f0ffd09b70ab46b8db530163976f6854325cd70513d0be31c394256153b7a9cfec4c3f627fd3d3b80c SHA512 0157c751f5869de261c93624a1fa168a96e86ad1a169727bee428bb9d804b8bfac3d7b8e4b993e2e5d2414ee99a016702eb750d81c3cc71c9e4c659a5ff7b37f DIST vaultwarden-web-bin-2024.3.0.tar.gz 11600867 BLAKE2B 2dfd4181800f613d57721c176763a6f609dba9bdf09f660042b31b07ae3d6ea33c879f24b2ce6ce33e4dcb9eeffbabfcf7aab7f9f3e8213fdc5dac2ff8be3071 SHA512 e17b956082f4788beaf8b7ef4aa73b16b35f264a568fc3d6593b69cf87c817c7ac8c5ff19336795cab3600b7f00de52b129242c84953fab996bc3f8cc94c249b DIST vaultwarden-web-bin-2024.3.1.tar.gz 11663162 BLAKE2B e29669ca0ea4ef3a3edc4039ecfbae054d984c3e0268a031aa1687af422eb44c3714cc74f667275d71d8df383da34581ef8992d07d1f6b151962bd73a3f0cba7 SHA512 7c0b55a513a52ba6c84940fed5b4e67c2370d5b38b97510ff657ff2dcae6598470cbf04f4ad80f2f644c7f62a0b68a3a4a7a372ddf3972b5e9db234b932b8b0f +DIST vaultwarden-web-bin-2024.5.0.tar.gz 11917485 BLAKE2B 00f33e236b3f17347e5abd1b53d85c3c46642cc78089f80e55627235c08654409923e7e0e23f95c34189ed06da589a8a82b80186293f1d367bc9415253b4652e SHA512 09222dd4760f0e60b2d92bb0cfcb52810c3eb9cbf4a7b220e42707a43e47d571f7adc1502c43495850f008576989b42352c687cf656c07e7ebbee48d9e701232 diff --git a/www-apps/vaultwarden-web-bin/vaultwarden-web-bin-2024.5.0.ebuild b/www-apps/vaultwarden-web-bin/vaultwarden-web-bin-2024.5.0.ebuild new file mode 100644 index 0..a75080658 --- /dev/null +++ b/www-apps/vaultwarden-web-bin/vaultwarden-web-bin-2024.5.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Prebuilt Vaultwarden web from upstream" +HOMEPAGE="https://github.com/dani-garcia/bw_web_builds; + +SRC_URI=" + https://github.com/dani-garcia/bw_web_builds/releases/download/v${PV}/bw_web_v${PV}.tar.gz -> ${P}.tar.gz +" + +S="${WORKDIR}/web-vault" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="!www-apps/vaultwarden-web" + +src_prepare() { + default + # although following is optional in upstream's build process, it reduced build dir size from 44M to 25M + find -name "*.map" -delete || die +} + +src_install() { + insinto /usr/share/webapps/"${PN%-bin}" + doins -r * +}
[gentoo-commits] repo/proj/guru:dev commit in: app-admin/bitwarden-cli-bin/
commit: 39121376eaf7e859d63b87dee3bb930be0869ff3 Author: Rahil Bhimjiani rahil rocks> AuthorDate: Mon Jun 17 08:59:35 2024 + Commit: Rahil Bhimjiani gmail com> CommitDate: Mon Jun 17 08:59:35 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=39121376 app-admin/bitwarden-cli-bin: update to 2024.6.0 Signed-off-by: Rahil Bhimjiani rahil.rocks> app-admin/bitwarden-cli-bin/Manifest | 1 + .../bitwarden-cli-bin-2024.6.0.ebuild | 35 ++ 2 files changed, 36 insertions(+) diff --git a/app-admin/bitwarden-cli-bin/Manifest b/app-admin/bitwarden-cli-bin/Manifest index ba9451f7e..8cee2ae79 100644 --- a/app-admin/bitwarden-cli-bin/Manifest +++ b/app-admin/bitwarden-cli-bin/Manifest @@ -1,3 +1,4 @@ DIST bw-linux-2024.2.1.zip 33060347 BLAKE2B fdfeec07f9c9a0c70741461ff4969b8909fb04d6aa0411a936b8a10165d7e2a31ad02228cbb6e1aea6f375436be8dd5d2dc560a440d1db9877c056ed1e870719 SHA512 67222301f62371129eccd7847a642e7ac13191d9e8d5033774f888cb6eb989e1427ce2c02a05121a259e7c217214d31d793474827b315479b410bb780f858f0d DIST bw-linux-2024.3.1.zip 33190371 BLAKE2B e0440980ef22083b53cf3032b9fb600fc9fefe06afd64431475871d2f64af1fb5620096aada09ff3a7b7fd89992abefa410e8bbf289230aae2515e118d36ad77 SHA512 4406a118b4815eab950f8bfdba5623f8097acf0d4018726985e4614a3deb6a52d3a0323deac35ba270c7974649da9f4a70ccdf049ce88ee0528c6980935366a0 DIST bw-linux-2024.4.0.zip 33268198 BLAKE2B 672e2bc0b123320fa1118d1043c4314905203cd890c49d4c5c5ab524a9b12d3f966863dce9b4a1c5921816564fb94e908b099a94f44d033db7da3ac805de529b SHA512 07c5b153025e3303ee6f563b9e7a88908d5f7f8877594b42f94fceb3daddb77c718cf01d1546a80618c288a38a8872dbbda8faf1bc2d58af7cf74b0347e95e51 +DIST bw-linux-2024.6.0.zip 35438206 BLAKE2B 59a464240a0940a28d5bb57d087efc68f1b714ca7c7711a4a42bb40ccd3b682255537d053f8d573c57ef50a5b547d5c05946e3e262e0b01c6a25fbc98543fe17 SHA512 6ffb7ab7bd405f49cd620c4110136d656362f1b57d6051da4066f60c3e3d562baa0aebc2d0d9e47967da4cbbba2e06cbfab2d3aefc48fd3620551caf8e4c05a7 diff --git a/app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.6.0.ebuild b/app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.6.0.ebuild new file mode 100644 index 0..d30d477c5 --- /dev/null +++ b/app-admin/bitwarden-cli-bin/bitwarden-cli-bin-2024.6.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit shell-completion + +DESCRIPTION="Precompiled CLI frontend which connects to Bitwarden comapatible servers" +HOMEPAGE="https://github.com/bitwarden/clients/tree/main/apps/cli; + +SRC_URI=" + https://github.com/bitwarden/clients/releases/download/cli-v${PV}/bw-linux-${PV}.zip +" + +S="${WORKDIR}" +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64" + +# non-stripped binary is of 99M but works +# stripped bianry is of 44M but doesnt work +RESTRICT='strip' + +RDEPEND="!app-admin/bitwarden-cli" +BDEPEND="app-arch/unzip" +QA_PREBUILT="usr/bin/bw" + +src_compile() { + ./bw completion --shell zsh > bw.zsh 2> /dev/null || die +} + +src_install() { + dobin bw + newzshcomp bw.zsh _bw +}