From aec4ad76b023b657fe9d64f40e001134d499a28c Mon Sep 17 00:00:00 2001 From: Takuya Wakazono Date: Tue, 11 Mar 2025 22:38:32 +0900 Subject: [PATCH 01/25] sys-apps/dnf5: add 5.2.11.0 Signed-off-by: Takuya Wakazono --- sys-apps/dnf5/Manifest | 1 + sys-apps/dnf5/dnf5-5.2.11.0.ebuild | 79 ++++++++++++++++++++++++++++++ 2 files changed, 80 insertions(+) create mode 100644 sys-apps/dnf5/dnf5-5.2.11.0.ebuild diff --git a/sys-apps/dnf5/Manifest b/sys-apps/dnf5/Manifest index 8fc0df67eb..0cb6e3ffdf 100644 --- a/sys-apps/dnf5/Manifest +++ b/sys-apps/dnf5/Manifest @@ -1 +1,2 @@ DIST dnf5-5.2.10.0.tar.gz 1684363 BLAKE2B bcdac38c8a9dcf31673b44b7aff89e4c638e25508830b62e65d752eb54349e553f0fef2b613e678dfb058a892845f80ae38e9f49ed0ebb248599a3fa35f45ed6 SHA512 968d974c4da4fc5f6d19696dc679cdee0031cdacc46b1a25567c21617c30ef1808ff9b2f52d5abfcfe88a3feab2d28d1cc38b4507501c19d6a029f4fc18c23c4 +DIST dnf5-5.2.11.0.tar.gz 1729306 BLAKE2B fd089677d313991b325c5e8286ab5f14e5a9835775fd9e6d8b1c9d3767c9f7602c18c62c425eb7d0469072fcb9ae2f1c4eec4459e4d8d531bf1a7176ec818e5d SHA512 be97cbead8f083916bfe6b38abc980aabb4ba3534aef836334b901194679b47ba38c122109b880e4d1c07db189896226c0be83c985e07a0c5443c475b9f6c8cf diff --git a/sys-apps/dnf5/dnf5-5.2.11.0.ebuild b/sys-apps/dnf5/dnf5-5.2.11.0.ebuild new file mode 100644 index 0000000000..b7e6cd0c32 --- /dev/null +++ b/sys-apps/dnf5/dnf5-5.2.11.0.ebuild @@ -0,0 +1,79 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Command-line package manager" +HOMEPAGE="https://github.com/rpm-software-management/dnf5" +SRC_URI="https://github.com/rpm-software-management/dnf5/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+ LGPL-2.1+" +SLOT="0" +KEYWORDS="~amd64" +IUSE="appstream nls systemd test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=app-arch/rpm-4.17.0 + dev-cpp/sdbus-c++:0/2 + dev-cpp/toml11 + >=dev-db/sqlite-3.35.0:3 + >=dev-libs/glib-2.46.0:2 + dev-libs/json-c:= + dev-libs/libfmt:= + >=dev-libs/librepo-1.17.1 + >=dev-libs/libsolv-0.7.25 + dev-libs/libxml2 + sys-apps/util-linux + >=sys-libs/libmodulemd-2.11.2 + sys-libs/zlib + appstream? ( >=dev-libs/appstream-0.16:= ) + systemd? ( sys-apps/systemd:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-python/sphinx + virtual/pkgconfig + test? ( + app-arch/rpm + app-arch/createrepo_c + dev-util/cppunit + ) +" + +PATCHES=( + # Prevent test suite from writing to system files. + "${FILESDIR}/${PN}-5.2.5.0-sandbox-test.patch" +) + +src_prepare() { + cmake_src_prepare + # Replace hardcoded TMPDIR. + sed -i "s|/tmp/|${T}/|" test/libdnf5/utils/test_fs.cpp || die + # remove -Werror{,=unused-result}; bug 936870 + sed -i 's/-Werror[^[:space:])]*//' CMakeLists.txt || die + # breathe is only needed for api doc + sed -i "/'breathe',/d" doc/conf.py.in || die +} + +src_configure() { + local mycmakeargs=( + -DWITH_HTML=OFF + -DWITH_PERL5=OFF + -DWITH_PYTHON3=OFF + -DWITH_RUBY=OFF + -DWITH_ZCHUNK=OFF + -DWITH_PLUGIN_APPSTREAM=$(usex appstream) + -DWITH_SYSTEMD=$(usex systemd) + -DWITH_TESTS=$(usex test) + -DWITH_TRANSLATIONS=$(usex nls) + ) + cmake_src_configure +} + +src_compile() { + cmake_src_compile + cmake_src_compile doc-man +} From e27e88a9fd2e4f072c06ee584404aa0ae73f5141 Mon Sep 17 00:00:00 2001 From: Takuya Wakazono Date: Tue, 11 Mar 2025 22:46:40 +0900 Subject: [PATCH 02/25] gui-libs/libcprime: add 5.0.0 Signed-off-by: Takuya Wakazono --- gui-libs/libcprime/Manifest | 1 + gui-libs/libcprime/libcprime-5.0.0.ebuild | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 gui-libs/libcprime/libcprime-5.0.0.ebuild diff --git a/gui-libs/libcprime/Manifest b/gui-libs/libcprime/Manifest index af8549e3bb..3f86e34a92 100644 --- a/gui-libs/libcprime/Manifest +++ b/gui-libs/libcprime/Manifest @@ -1,2 +1,3 @@ DIST libcprime-5.0.0_pre20240921.tar.bz2 45302 BLAKE2B 1943f160f01cda7bb4fca010fee8cc5e3e182d4a9afc4d57a291427ec48fec38a401c4cb268699beba2b7e2b4972f5c6d1320cbd3d03ec6bef1628cbbfdba93e SHA512 8e1f343f8b8df0d2809d1b0e05eaebc6e304018aa174bc19efa3eadda1804982ac8f6885c29cc943b93e265cb1c5d4fedd3b1d98f70b8e8b3fa72a58bb2c7572 DIST libcprime-v4.5.0.tar.bz2 45669 BLAKE2B 172188a9706fb12ef54984bd81a328a637bcb69e3bca79c2677186412a10406e9f89b0c56b70241685389b78452a0d16c59ef753aa40c3cc088fb5d36168a386 SHA512 67f2395a380b1d9b3a1aa13d78a5386af40748505cbc2330e05e2d5e60cd82a17e3aa7653bff25c73991a42853eeaa45d98322aa758ae7096d6a3005cc85b8e1 +DIST libcprime-v5.0.0.tar.bz2 45255 BLAKE2B 9630e24963459c6373001f0c070fc5569af0762c3d5ed33235dd18f39286d6fa4f76a6c09a4dcf2b0481f5da864e7918e4358236427cd6751332a889649fd492 SHA512 28e4c6909843a7029d1b89fa72265f1a34bc0ef7c01eab7c3e4c38e300f424110e118965b0385e70ba60eb8f0df626b3410cd6ac73e7aae7eeadb12a9c6fee74 diff --git a/gui-libs/libcprime/libcprime-5.0.0.ebuild b/gui-libs/libcprime/libcprime-5.0.0.ebuild new file mode 100644 index 0000000000..10dc7d2c51 --- /dev/null +++ b/gui-libs/libcprime/libcprime-5.0.0.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Library for managing settings of CoreApps" +HOMEPAGE="https://gitlab.com/cubocore/libcprime" +SRC_URI="https://gitlab.com/cubocore/libcprime/-/archive/v${PV}/${PN}-v${PV}.tar.bz2" +S="${WORKDIR}/${PN}-v${PV}" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="dev-qt/qtbase:6[dbus,gui,network,widgets]" +RDEPEND="${DEPEND}" From b94e4899f3dfd234e05a110367bb25c982f9ae1d Mon Sep 17 00:00:00 2001 From: Takuya Wakazono Date: Tue, 11 Mar 2025 23:09:35 +0900 Subject: [PATCH 03/25] gui-libs/libcprime: drop 5.0.0_pre20240921, 9999 Signed-off-by: Takuya Wakazono --- gui-libs/libcprime/Manifest | 1 - .../libcprime-5.0.0_pre20240921.ebuild | 25 ------------------- gui-libs/libcprime/libcprime-9999.ebuild | 24 ------------------ 3 files changed, 50 deletions(-) delete mode 100644 gui-libs/libcprime/libcprime-5.0.0_pre20240921.ebuild delete mode 100644 gui-libs/libcprime/libcprime-9999.ebuild diff --git a/gui-libs/libcprime/Manifest b/gui-libs/libcprime/Manifest index 3f86e34a92..bc10e7b47c 100644 --- a/gui-libs/libcprime/Manifest +++ b/gui-libs/libcprime/Manifest @@ -1,3 +1,2 @@ -DIST libcprime-5.0.0_pre20240921.tar.bz2 45302 BLAKE2B 1943f160f01cda7bb4fca010fee8cc5e3e182d4a9afc4d57a291427ec48fec38a401c4cb268699beba2b7e2b4972f5c6d1320cbd3d03ec6bef1628cbbfdba93e SHA512 8e1f343f8b8df0d2809d1b0e05eaebc6e304018aa174bc19efa3eadda1804982ac8f6885c29cc943b93e265cb1c5d4fedd3b1d98f70b8e8b3fa72a58bb2c7572 DIST libcprime-v4.5.0.tar.bz2 45669 BLAKE2B 172188a9706fb12ef54984bd81a328a637bcb69e3bca79c2677186412a10406e9f89b0c56b70241685389b78452a0d16c59ef753aa40c3cc088fb5d36168a386 SHA512 67f2395a380b1d9b3a1aa13d78a5386af40748505cbc2330e05e2d5e60cd82a17e3aa7653bff25c73991a42853eeaa45d98322aa758ae7096d6a3005cc85b8e1 DIST libcprime-v5.0.0.tar.bz2 45255 BLAKE2B 9630e24963459c6373001f0c070fc5569af0762c3d5ed33235dd18f39286d6fa4f76a6c09a4dcf2b0481f5da864e7918e4358236427cd6751332a889649fd492 SHA512 28e4c6909843a7029d1b89fa72265f1a34bc0ef7c01eab7c3e4c38e300f424110e118965b0385e70ba60eb8f0df626b3410cd6ac73e7aae7eeadb12a9c6fee74 diff --git a/gui-libs/libcprime/libcprime-5.0.0_pre20240921.ebuild b/gui-libs/libcprime/libcprime-5.0.0_pre20240921.ebuild deleted file mode 100644 index 8d7538e157..0000000000 --- a/gui-libs/libcprime/libcprime-5.0.0_pre20240921.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Library for managing settings of CoreApps" -HOMEPAGE="https://gitlab.com/cubocore/libcprime" - -if [[ "${PV}" == *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://gitlab.com/cubocore/libcprime.git" -else - COMMIT="eff16e1d89bd98d8a4fd22c6decbdc1c573ecca1" - SRC_URI="https://gitlab.com/cubocore/libcprime/-/archive/${COMMIT}.tar.bz2 -> ${P}.tar.bz2" - KEYWORDS="~amd64" - S="${WORKDIR}/${PN}-${COMMIT}" -fi - -LICENSE="GPL-3+" -SLOT="0" - -DEPEND="dev-qt/qtbase:6[dbus,gui,network,widgets]" -RDEPEND="${DEPEND}" diff --git a/gui-libs/libcprime/libcprime-9999.ebuild b/gui-libs/libcprime/libcprime-9999.ebuild deleted file mode 100644 index 8c74eb8c52..0000000000 --- a/gui-libs/libcprime/libcprime-9999.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Library for managing settings of CoreApps" -HOMEPAGE="https://gitlab.com/cubocore/libcprime" - -if [[ "${PV}" == *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://gitlab.com/cubocore/libcprime.git" -else - SRC_URI="https://gitlab.com/cubocore/libcprime/-/archive/v${PV}/${PN}-v${PV}.tar.bz2" - KEYWORDS="~amd64" - S="${WORKDIR}/${PN}-v${PV}" -fi - -LICENSE="GPL-3+" -SLOT="0" - -DEPEND="dev-qt/qtbase:6[dbus,gui,network,widgets]" -RDEPEND="${DEPEND}" From 5c0e080c8a02c10221f36d0c96de8eed8560a2c3 Mon Sep 17 00:00:00 2001 From: Takuya Wakazono Date: Tue, 11 Mar 2025 23:07:44 +0900 Subject: [PATCH 04/25] gui-libs/libcsys: add 5.0.0 Signed-off-by: Takuya Wakazono --- gui-libs/libcsys/Manifest | 1 + gui-libs/libcsys/libcsys-5.0.0.ebuild | 24 ++++++++++++++++++++++++ gui-libs/libcsys/metadata.xml | 2 +- 3 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 gui-libs/libcsys/libcsys-5.0.0.ebuild diff --git a/gui-libs/libcsys/Manifest b/gui-libs/libcsys/Manifest index 2c3776785c..eb090bd2a4 100644 --- a/gui-libs/libcsys/Manifest +++ b/gui-libs/libcsys/Manifest @@ -1 +1,2 @@ DIST libcsys-v4.5.0.tar.bz2 25696 BLAKE2B 9512d0ff4d94abe3f96f2a8b6a8ff2eedc28cfbc00572a6ebea5a3ffe52d9dc7802b9728be403d79823e27ba66c2a9e3345ad50e749e6b30861d51133cd41bde SHA512 c6e9e331e07fdccceea4eab8b7b5182f86a565a03eb77fa586489633a80ae9f14515d61e04d1ec8f55e88a42f425153d1e7ff995db347860daeeee2c63fb98c9 +DIST libcsys-v5.0.0.tar.bz2 26550 BLAKE2B 7d6c54be3a4f0a1128abbe399da4042738c5564be9819b40b7388d087f7c596b45009edf5a9bbc2be3e7be377034467861453d8941e05ea25188ad8876d550ec SHA512 dc49a7e45fde61d30e8c376cb7a8d8d24955cae78289fea02fa818c6a51958aafdb5cf354fede95d43fba02b60dd18e17a579532c2dd2f0ee3dabd860c087d4b diff --git a/gui-libs/libcsys/libcsys-5.0.0.ebuild b/gui-libs/libcsys/libcsys-5.0.0.ebuild new file mode 100644 index 0000000000..b7b57b5f32 --- /dev/null +++ b/gui-libs/libcsys/libcsys-5.0.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake optfeature + +DESCRIPTION="Library for managing the device" +HOMEPAGE="https://gitlab.com/cubocore/libcsys" +SRC_URI="https://gitlab.com/cubocore/libcsys/-/archive/v${PV}/${PN}-v${PV}.tar.bz2" +S="${WORKDIR}/${PN}-v${PV}" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + dev-qt/qtbase:6[dbus,network] +" +RDEPEND="${DEPEND}" + +pkg_postinst() { + optfeature "storage management support" sys-fs/udisks:2 +} diff --git a/gui-libs/libcsys/metadata.xml b/gui-libs/libcsys/metadata.xml index 79ecb11353..6e26bec78d 100644 --- a/gui-libs/libcsys/metadata.xml +++ b/gui-libs/libcsys/metadata.xml @@ -3,6 +3,6 @@ - cubocore/coreapps/libcsys + cubocore/libcsys From d9534a10c4ea6a41fc68e719c38ec90362823e1c Mon Sep 17 00:00:00 2001 From: Takuya Wakazono Date: Tue, 11 Mar 2025 23:08:01 +0900 Subject: [PATCH 05/25] gui-libs/libcsys: drop 9999 Signed-off-by: Takuya Wakazono --- gui-libs/libcsys/libcsys-9999.ebuild | 34 ---------------------------- 1 file changed, 34 deletions(-) delete mode 100644 gui-libs/libcsys/libcsys-9999.ebuild diff --git a/gui-libs/libcsys/libcsys-9999.ebuild b/gui-libs/libcsys/libcsys-9999.ebuild deleted file mode 100644 index 86a3c19ad6..0000000000 --- a/gui-libs/libcsys/libcsys-9999.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Library for managing the device" -HOMEPAGE="https://gitlab.com/cubocore/libcsys" - -if [[ "${PV}" == *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://gitlab.com/cubocore/libcsys.git" -else - SRC_URI="https://gitlab.com/cubocore/libcsys/-/archive/v${PV}/${PN}-v${PV}.tar.bz2" - KEYWORDS="~amd64" - S="${WORKDIR}/${PN}-v${PV}" -fi - -LICENSE="GPL-3" -SLOT="0" -IUSE="udisks" - -DEPEND=" - dev-qt/qtcore:5 - dev-qt/qtdbus:5 - dev-qt/qtnetwork:5 -" -RDEPEND=" - ${DEPEND} - udisks? ( - sys-fs/udisks:2 - ) -" From b4015ed7390da444d6b72ed75d68e806ebaa99da Mon Sep 17 00:00:00 2001 From: Takuya Wakazono Date: Tue, 11 Mar 2025 23:13:48 +0900 Subject: [PATCH 06/25] gui-apps/coreaction: add 5.0.0 Signed-off-by: Takuya Wakazono --- gui-apps/coreaction/Manifest | 1 + gui-apps/coreaction/coreaction-5.0.0.ebuild | 23 +++++++++++++++++++++ 2 files changed, 24 insertions(+) create mode 100644 gui-apps/coreaction/coreaction-5.0.0.ebuild diff --git a/gui-apps/coreaction/Manifest b/gui-apps/coreaction/Manifest index 3084a2860a..c36395aff4 100644 --- a/gui-apps/coreaction/Manifest +++ b/gui-apps/coreaction/Manifest @@ -1 +1,2 @@ DIST coreaction-v4.5.0.tar.bz2 792795 BLAKE2B 17d21c3b1dd4b80fb84c70efaadc9b9bbde0d36edd39b4f60db07d06233b192a430dae761a79ab2b9002e2181fb28ba14d6fbfb183ab8fe0afe1247bfd6db7bf SHA512 94de8182af9500f66eeb28f929833d4948a46be2a4f32b3dfe0ecbe311f150c16cb10b2f1650489ab8d316cb47b7dff96ddc986c67f40832172aef62b4547b33 +DIST coreaction-v5.0.0.tar.bz2 792872 BLAKE2B 715410aa935d1475387fdf3b800b670a51690e83a32319a1c0456ee988ecfd44f710a254629a4e89da8912831e638d74c0e70f67693b93edb8c89acf085e4225 SHA512 8af51a90ff281801d73c480395ce07de9576539fd8f75a3b14a9fd8f7dae4f8ce849bb4802ac396ccf5ab7d89efd555bde9d8387c14e1a01413bb8081cda75ba diff --git a/gui-apps/coreaction/coreaction-5.0.0.ebuild b/gui-apps/coreaction/coreaction-5.0.0.ebuild new file mode 100644 index 0000000000..a4664769ef --- /dev/null +++ b/gui-apps/coreaction/coreaction-5.0.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake xdg + +DESCRIPTION="A side bar for showing widgets for C Suite" +HOMEPAGE="https://gitlab.com/cubocore/coreapps/coreaction" +SRC_URI="https://gitlab.com/cubocore/coreapps/coreaction/-/archive/v${PV}/${PN}-v${PV}.tar.bz2" +S="${WORKDIR}/${PN}-v${PV}" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND=" + dev-qt/qtbase:6[gui,network,widgets] + dev-qt/qtsvg:6 + >=gui-libs/libcprime-5.0.0 + >=gui-libs/libcsys-5.0.0 +" +RDEPEND="${DEPEND}" From 8c8e9034009ecc61e7cf9042469d97b1a01e4d32 Mon Sep 17 00:00:00 2001 From: Takuya Wakazono Date: Tue, 11 Mar 2025 23:13:58 +0900 Subject: [PATCH 07/25] gui-apps/coreaction: drop 9999 Signed-off-by: Takuya Wakazono --- gui-apps/coreaction/coreaction-9999.ebuild | 32 ---------------------- 1 file changed, 32 deletions(-) delete mode 100644 gui-apps/coreaction/coreaction-9999.ebuild diff --git a/gui-apps/coreaction/coreaction-9999.ebuild b/gui-apps/coreaction/coreaction-9999.ebuild deleted file mode 100644 index d4675d7b78..0000000000 --- a/gui-apps/coreaction/coreaction-9999.ebuild +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit xdg cmake - -DESCRIPTION="A side bar for showing widgets for C Suite" -HOMEPAGE="https://gitlab.com/cubocore/coreapps/coreaction" - -if [[ "${PV}" == *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="https://gitlab.com/cubocore/coreapps/coreaction.git" -else - SRC_URI="https://gitlab.com/cubocore/coreapps/coreaction/-/archive/v${PV}/${PN}-v${PV}.tar.bz2" - KEYWORDS="~amd64" - S="${WORKDIR}/${PN}-v${PV}" -fi - -LICENSE="GPL-3" -SLOT="0" - -DEPEND=" - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtnetwork:5 - dev-qt/qtsvg:5 - dev-qt/qtwidgets:5 - gui-libs/libcprime - gui-libs/libcsys -" -RDEPEND="${DEPEND}" From 9180e9f2b65c6b8c3927fa781430417da481d51e Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Tue, 11 Mar 2025 20:45:01 +0100 Subject: [PATCH 08/25] www-apps/pleroma: add 2.9.1, drop 2.9.0 Signed-off-by: Haelwenn (lanodan) Monnier --- www-apps/pleroma/Manifest | 2 +- www-apps/pleroma/{pleroma-2.9.0.ebuild => pleroma-2.9.1.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) rename www-apps/pleroma/{pleroma-2.9.0.ebuild => pleroma-2.9.1.ebuild} (100%) diff --git a/www-apps/pleroma/Manifest b/www-apps/pleroma/Manifest index b4805ed225..afe7cd6856 100644 --- a/www-apps/pleroma/Manifest +++ b/www-apps/pleroma/Manifest @@ -1 +1 @@ -DIST pleroma-v2.9.0.tar.gz 29572221 BLAKE2B 033b1f9223a9942f4acd93a0e15e4f1a63bae937f4e1b4e1ce0ece2d908a8d0b05857900733862c65bb4796ac4a118728cf9316a9b6c79320a8714dc0701bdde SHA512 fd4607eeacdb25236bad9577f96c47c389a1fa7145954b7f5c3c6f664e1bf54c5fd7501eb0105c0c3a1288b62d26db02511a161a7caae020eee446dec29c8023 +DIST pleroma-v2.9.1.tar.gz 29576541 BLAKE2B 4bfa088f80a9e634948f910a20c73e88195184ead438140000ff9700142f48eb1bcc455a792f1afaa6011c2f9de351fa78b7f3bd3d862a411cf8ebf6b1afdd98 SHA512 1f64b8fc861dd371c354521433e13c8ad5a12456328bfd1e82f4b74323282b052573cc06cb95ec0515cad20af9d041a8d68deebe7af1a68e606e4d0a27ae8b78 diff --git a/www-apps/pleroma/pleroma-2.9.0.ebuild b/www-apps/pleroma/pleroma-2.9.1.ebuild similarity index 100% rename from www-apps/pleroma/pleroma-2.9.0.ebuild rename to www-apps/pleroma/pleroma-2.9.1.ebuild From 8e9506c7d9f0cb3f32bbc227c2412fe764cd1672 Mon Sep 17 00:00:00 2001 From: Milan Bartos Date: Wed, 12 Mar 2025 09:23:19 +0200 Subject: [PATCH 09/25] app-misc/infnoise: new package, add 0.3.3 Signed-off-by: Milan Bartos --- app-misc/infnoise/Manifest | 1 + app-misc/infnoise/files/infnoise.initd | 9 +++++ app-misc/infnoise/infnoise-0.3.3.ebuild | 53 +++++++++++++++++++++++++ app-misc/infnoise/metadata.xml | 11 +++++ 4 files changed, 74 insertions(+) create mode 100644 app-misc/infnoise/Manifest create mode 100644 app-misc/infnoise/files/infnoise.initd create mode 100644 app-misc/infnoise/infnoise-0.3.3.ebuild create mode 100644 app-misc/infnoise/metadata.xml diff --git a/app-misc/infnoise/Manifest b/app-misc/infnoise/Manifest new file mode 100644 index 0000000000..dc1af8c6a6 --- /dev/null +++ b/app-misc/infnoise/Manifest @@ -0,0 +1 @@ +DIST infnoise-0.3.3.tar.gz 25531663 BLAKE2B f0d72df3dfd53f1f13f4a5c3f96cb911f4dad6268e3c6faf7772294019ab9f959edcbe2d30be387afdc41087e83a201df5aa8c6d0558c8d75dbd8a8f08c530a1 SHA512 dd3cdaa122c494b6fd26439c490dca47e431926ea52b5d2b302d345fb53fce5ed4ea4d54b4b8b0487b244e6673cbd22cafaa9b37b97733b90b86b8aa949fa6d3 diff --git a/app-misc/infnoise/files/infnoise.initd b/app-misc/infnoise/files/infnoise.initd new file mode 100644 index 0000000000..5c5d451373 --- /dev/null +++ b/app-misc/infnoise/files/infnoise.initd @@ -0,0 +1,9 @@ +#!/sbin/openrc-run + +description="infinite noise TRNG program daemon" +pidfile="/run/infnoise.pid" +command="/sbin/infnoise" +command_args="-R -d -p /run/infnoise.pid" +supervisor="supervise-daemon" + + diff --git a/app-misc/infnoise/infnoise-0.3.3.ebuild b/app-misc/infnoise/infnoise-0.3.3.ebuild new file mode 100644 index 0000000000..ac026f7d52 --- /dev/null +++ b/app-misc/infnoise/infnoise-0.3.3.ebuild @@ -0,0 +1,53 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="infinite noise TRNG program" +HOMEPAGE="https://github.com/leetronics/infnoise" +SRC_URI="https://github.com/leetronics/infnoise/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="CC0-1.0" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="dev-embedded/libftdi" +RDEPEND="${DEPEND}" + +inherit udev + +src_prepare() { + default + sed -i 's|PREFIX = $(DESTDIR)/usr/local|PREFIX=${DESTDIR}|' "${S}/software/Makefile.linux" + sed -i '/^GIT_/d' "${S}/software/Makefile.linux" +} + +src_compile() { + local ftdi_cflags + local ftdi_ldflags + + ftdi_cflags=$(pkg-config --cflags libftdi1) + ftdi_ldflags=$(pkg-config --libs libftdi1) + + origCFLAGS="-fPIC -std=c99 -DLINUX -I Keccak -DGIT_VERSION=\\\"\\\" -DGIT_COMMIT=\\\"\\\" -DGIT_DATE=\\\"\\\"" + + cd "${S}"/software + emake -f Makefile.linux CFLAGS="${CFLAGS} ${origCFLAGS} ${ftdi_cflags}" LDFLAGS="${LDFLAGS}\ + ${ftdi_ldflags}" -j$(nproc) +} + +src_install() { + newinitd "${FILESDIR}"/infnoise.initd infnoise + + cd "${S}"/software + export DESTDIR="${D}" + emake -f Makefile.linux install DESTDIR="${D}" +} + +pkg_postinst() { + udev_reload +} + +pkg_postrm() { + udev_reload +} diff --git a/app-misc/infnoise/metadata.xml b/app-misc/infnoise/metadata.xml new file mode 100644 index 0000000000..a7d363e448 --- /dev/null +++ b/app-misc/infnoise/metadata.xml @@ -0,0 +1,11 @@ + + + + + Milan Bartos + gentoo@bartos.fi + + + leetronics/infnoise + + From 36d3b1a3053aa6501a7e282e3af743bb80518184 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Skyler=20M=C3=A4ntysaari?= Date: Wed, 12 Mar 2025 11:16:29 +0200 Subject: [PATCH 10/25] www-apps/gotosocial: treeclean MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Skyler Mäntysaari --- www-apps/gotosocial/Manifest | 4 - www-apps/gotosocial/files/gotosocial.confd | 2 - www-apps/gotosocial/files/gotosocial.initd | 42 --------- www-apps/gotosocial/files/gotosocial.service | 45 --------- www-apps/gotosocial/files/gotosocial.tmpfiles | 1 - www-apps/gotosocial/gotosocial-0.10.0.ebuild | 88 ------------------ www-apps/gotosocial/gotosocial-0.9.0.ebuild | 91 ------------------- www-apps/gotosocial/metadata.xml | 9 -- 8 files changed, 282 deletions(-) delete mode 100644 www-apps/gotosocial/Manifest delete mode 100644 www-apps/gotosocial/files/gotosocial.confd delete mode 100644 www-apps/gotosocial/files/gotosocial.initd delete mode 100644 www-apps/gotosocial/files/gotosocial.service delete mode 100644 www-apps/gotosocial/files/gotosocial.tmpfiles delete mode 100644 www-apps/gotosocial/gotosocial-0.10.0.ebuild delete mode 100644 www-apps/gotosocial/gotosocial-0.9.0.ebuild delete mode 100644 www-apps/gotosocial/metadata.xml diff --git a/www-apps/gotosocial/Manifest b/www-apps/gotosocial/Manifest deleted file mode 100644 index 0153a5c1a0..0000000000 --- a/www-apps/gotosocial/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -DIST gotosocial-0.10.0-source-code.tar.gz 55714610 BLAKE2B 5db1bb11d799cc85e7667c205a19df88b901598dfa64cb2b10c58ee6ea327cf5d2e74cba58312d5b7444200ca8a6866b6305008e41775f2906db8faddb078b92 SHA512 fc647e6fb35ef8a9969014d4e785f868e5c85fb2305f7ac204ba830d0774cf4fa7cbb25b7a47fed0b8f592e45299cb2bdbbf5f4a6ae45915a540e9c3ab92f3c4 -DIST gotosocial-0.9.0-source-code.tar.gz 55117728 BLAKE2B e9a02e3d6b27d242db3a239e95653973a498b67e606824d8a2ff141498b8bbf6be0f434d96abad2129e7ca4dab379b815ac04749e036caf0963d6160508768bd SHA512 7638a069a47d615264baa74d838052f913b6c71497396c2d2b877a870a5ad1639d218dd9877fb6b37c347d4e243524527260f48f983a68bb29c4b76ec3ce8c7c -DIST gotosocial_0.10.0_web-assets.tar.gz 1362405 BLAKE2B 78168bcffbc5081cfb81ddcba314d3aa58e41fd115303997306495ad79c5d6fa3d2540b1d4da87e43cf7c4f62e737a859c5bdf2959d60371e25125dd21567f9e SHA512 4a6b2248969e9e254764e4b03fa6d7d884d74da8b25665feebca117eeeeae3aa3dc8fca995ca7c939f6437aa35b7d09dbd824727c7d0a7a4745db29916ab74be -DIST gotosocial_0.9.0_web-assets.tar.gz 1357671 BLAKE2B aeab657eb72db5178287afd75b6c1d06238f8c769f3bfc21cf6249b8eed468b7009b2401c64aca22964ebd7a6554066a2c38d9d441a39789c731faa6e9c17c29 SHA512 0d83b093ab8f45ae8ed3eebcf1aed66b27a5d996e5c0dc30e16cc99a881b7e2b333ba4cf4fd78486c42b3bef9245d1ba89743a87ae0f969e8be6a756cf1dcfc6 diff --git a/www-apps/gotosocial/files/gotosocial.confd b/www-apps/gotosocial/files/gotosocial.confd deleted file mode 100644 index 9ea7d8fdd3..0000000000 --- a/www-apps/gotosocial/files/gotosocial.confd +++ /dev/null @@ -1,2 +0,0 @@ -# GoToSocial configuration file -#GOTOSOCIAL_CONFIG="/etc/gotosocial/config.yaml" diff --git a/www-apps/gotosocial/files/gotosocial.initd b/www-apps/gotosocial/files/gotosocial.initd deleted file mode 100644 index 91ed760c70..0000000000 --- a/www-apps/gotosocial/files/gotosocial.initd +++ /dev/null @@ -1,42 +0,0 @@ -#!/sbin/openrc-run -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 -# shellcheck shell=sh disable=SC2034 - -: ${GOTOSOCIAL_CONFIG:=/etc/gotosocial/config.yaml} - -extra_commands="adduser" -description_adduser="create a user" - -description="GoToSocial Server" -command="/usr/bin/gotosocial" -command_args="--config-path ${GOTOSOCIAL_CONFIG} server start" -command_user="gotosocial:gotosocial" -command_background=yes -pidfile="/run/gotosocial.pid" - -depend() { - need net - after postgresql -} - -adduser() { - # handle Ctrl+C - trap "stty echo" INT - - printf "Enter username: " - read username - - printf "Enter email: " - read email - - stty -echo - printf "Enter password: " - read password - stty echo - - start-stop-daemon --exec "${command}" --user "${command_user}" -- \ - --config-path "${GOTOSOCIAL_CONFIG}" admin account create \ - --username "${username}" --email "${email}" --password "${password}" - return $? -} diff --git a/www-apps/gotosocial/files/gotosocial.service b/www-apps/gotosocial/files/gotosocial.service deleted file mode 100644 index de29ca6d29..0000000000 --- a/www-apps/gotosocial/files/gotosocial.service +++ /dev/null @@ -1,45 +0,0 @@ -[Unit] -Description=GoToSocial Server - -[Service] -User=gotosocial -Group=gotosocial - -Type=exec -Restart=on-failure - -ExecStart=/usr/bin/gotosocial --config-path /etc/gotosocial/config.yaml server start - -StandardOutput=append:/var/log/gotosocial/gotosocial.log -StandardError=inherit - -# Sandboxing options to harden security -NoNewPrivileges=yes -PrivateTmp=yes -PrivateDevices=yes -RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 -RestrictNamespaces=yes -RestrictRealtime=yes -DevicePolicy=closed -ProtectSystem=full -ProtectControlGroups=yes -ProtectKernelModules=yes -ProtectKernelTunables=yes -LockPersonality=yes -SystemCallFilter=~@clock @debug @module @mount @obsolete @reboot @setuid @swap - -# Denying access to capabilities that should not be relevant -CapabilityBoundingSet=~CAP_RAWIO CAP_MKNOD -CapabilityBoundingSet=~CAP_AUDIT_CONTROL CAP_AUDIT_READ CAP_AUDIT_WRITE -CapabilityBoundingSet=~CAP_SYS_BOOT CAP_SYS_TIME CAP_SYS_MODULE CAP_SYS_PACCT -CapabilityBoundingSet=~CAP_LEASE CAP_LINUX_IMMUTABLE CAP_IPC_LOCK -CapabilityBoundingSet=~CAP_BLOCK_SUSPEND CAP_WAKE_ALARM -CapabilityBoundingSet=~CAP_SYS_TTY_CONFIG -CapabilityBoundingSet=~CAP_MAC_ADMIN CAP_MAC_OVERRIDE -CapabilityBoundingSet=~CAP_NET_ADMIN CAP_NET_BROADCAST CAP_NET_RAW -CapabilityBoundingSet=~CAP_SYS_ADMIN CAP_SYS_PTRACE CAP_SYSLOG -# You might need this if you are running as non-root on a privileged port (below 1024) -#AmbientCapabilities=CAP_NET_BIND_SERVICE - -[Install] -WantedBy=default.target diff --git a/www-apps/gotosocial/files/gotosocial.tmpfiles b/www-apps/gotosocial/files/gotosocial.tmpfiles deleted file mode 100644 index c044628399..0000000000 --- a/www-apps/gotosocial/files/gotosocial.tmpfiles +++ /dev/null @@ -1 +0,0 @@ -d /var/lib/gotosocial 0755 gotosocial gotosocial - diff --git a/www-apps/gotosocial/gotosocial-0.10.0.ebuild b/www-apps/gotosocial/gotosocial-0.10.0.ebuild deleted file mode 100644 index 6318d2cc0f..0000000000 --- a/www-apps/gotosocial/gotosocial-0.10.0.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module systemd tmpfiles - -DESCRIPTION="Fast, fun, ActivityPub server, powered by Go" -HOMEPAGE=" - https://gotosocial.org/ - https://github.com/superseriousbusiness/gotosocial -" -GH_RELEASE="https://github.com/superseriousbusiness/${PN}/releases/download/v${PV}" -SRC_URI=" - ${GH_RELEASE}/${P}-source-code.tar.gz - ${GH_RELEASE}/${PN}_${PV}_web-assets.tar.gz -" -S="${WORKDIR}" - -LICENSE="|| ( WTFPL-2 CC0-1.0 ) AGPL-3 Apache-2.0 BSD BSD-2 CC0-1.0 GPL-3 MIT MPL-2.0" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND="acct-user/gotosocial" - -DOCS=( archive {CONTRIBUTING,README,ROADMAP}.md ) - -src_unpack() { - # source code - unpack ${P}-source-code.tar.gz - rm -r web || die - - # prebuilt web assets - unpack ${PN}_${PV}_web-assets.tar.gz -} - -src_prepare() { - default - - sed -i example/config.yaml \ - -e "s|./web/template/|${EPREFIX}/usr/share/gotosocial/web/template/|g" \ - -e "s|./web/assets/|${EPREFIX}/usr/share/gotosocial/web/assets/|g" \ - -e "s|/gotosocial/storage|${EPREFIX}/var/lib/gotosocial/storage|g" \ - || die -} - -src_configure() { - GOFLAGS+=" -tags=netgo,osusergo,static_build,kvformat" -} - -src_compile() { - local myargs=( - -trimpath - -ldflags "-X main.Version=${PV}" - ) - - ego build "${myargs[@]}" ./cmd/gotosocial -} - -src_test() { - local -x GTS_DB_TYPE="sqlite" - local -x GTS_DB_ADDRESS=":memory:" - - local -x GOFLAGS - GOFLAGS="${GOFLAGS//-v/}" - GOFLAGS="${GOFLAGS//-x/}" - - ego test -vet off ./... -} - -src_install() { - dobin gotosocial - - newinitd "${FILESDIR}"/gotosocial.initd ${PN} - newconfd "${FILESDIR}"/gotosocial.confd ${PN} - systemd_dounit "${FILESDIR}"/gotosocial.service - newtmpfiles "${FILESDIR}"/gotosocial.tmpfiles ${PN}.conf - - insinto /usr/share/gotosocial - doins -r web - - insinto /etc/gotosocial - doins example/config.yaml -} - -pkg_postinst() { - tmpfiles_process ${PN}.conf -} diff --git a/www-apps/gotosocial/gotosocial-0.9.0.ebuild b/www-apps/gotosocial/gotosocial-0.9.0.ebuild deleted file mode 100644 index 902fcc9add..0000000000 --- a/www-apps/gotosocial/gotosocial-0.9.0.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module systemd tmpfiles - -DESCRIPTION="Fast, fun, ActivityPub server, powered by Go" -HOMEPAGE=" - https://gotosocial.org/ - https://github.com/superseriousbusiness/gotosocial -" -GH_RELEASE="https://github.com/superseriousbusiness/${PN}/releases/download/v${PV}" -SRC_URI=" - ${GH_RELEASE}/${P}-source-code.tar.gz - ${GH_RELEASE}/${PN}_${PV}_web-assets.tar.gz -" -S="${WORKDIR}" - -LICENSE="|| ( WTFPL-2 CC0-1.0 ) AGPL-3 Apache-2.0 BSD BSD-2 CC0-1.0 GPL-3 MIT MPL-2.0" -SLOT="0" -KEYWORDS="~amd64" - -# Flaky tests -RESTRICT="test" - -RDEPEND="acct-user/gotosocial" - -DOCS=( archive {CONTRIBUTING,README,ROADMAP}.md ) - -src_unpack() { - # source code - unpack ${P}-source-code.tar.gz - rm -r web || die - - # prebuilt web assets - unpack ${PN}_${PV}_web-assets.tar.gz -} - -src_prepare() { - default - - sed -i example/config.yaml \ - -e "s|./web/template/|${EPREFIX}/usr/share/gotosocial/web/template/|g" \ - -e "s|./web/assets/|${EPREFIX}/usr/share/gotosocial/web/assets/|g" \ - -e "s|/gotosocial/storage|${EPREFIX}/var/lib/gotosocial/storage|g" \ - || die -} - -src_configure() { - GOFLAGS+=" -tags=netgo,osusergo,static_build,kvformat" -} - -src_compile() { - local myargs=( - -trimpath - -ldflags "-X main.Version=${PV}" - ) - - ego build "${myargs[@]}" ./cmd/gotosocial -} - -src_test() { - local -x GTS_DB_TYPE="sqlite" - local -x GTS_DB_ADDRESS=":memory:" - - local -x GOFLAGS - GOFLAGS="${GOFLAGS//-v/}" - GOFLAGS="${GOFLAGS//-x/}" - - ego test -vet off ./... -} - -src_install() { - dobin gotosocial - - newinitd "${FILESDIR}"/gotosocial.initd ${PN} - newconfd "${FILESDIR}"/gotosocial.confd ${PN} - systemd_dounit "${FILESDIR}"/gotosocial.service - newtmpfiles "${FILESDIR}"/gotosocial.tmpfiles ${PN}.conf - - insinto /usr/share/gotosocial - doins -r web - - insinto /etc/gotosocial - doins example/config.yaml -} - -pkg_postinst() { - tmpfiles_process ${PN}.conf -} diff --git a/www-apps/gotosocial/metadata.xml b/www-apps/gotosocial/metadata.xml deleted file mode 100644 index ced5ba1d3c..0000000000 --- a/www-apps/gotosocial/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - https://docs.gotosocial.org/ - superseriousbusiness/gotosocial - - From 0813388ce866aac093f300ef0de9e30b019e0374 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Skyler=20M=C3=A4ntysaari?= Date: Wed, 12 Mar 2025 11:16:51 +0200 Subject: [PATCH 11/25] www-apps/castopod: treeclean MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Skyler Mäntysaari --- www-apps/castopod/Manifest | 2 -- www-apps/castopod/castopod-1.4.3.ebuild | 40 ------------------------- www-apps/castopod/castopod-1.4.5.ebuild | 40 ------------------------- www-apps/castopod/metadata.xml | 5 ---- 4 files changed, 87 deletions(-) delete mode 100644 www-apps/castopod/Manifest delete mode 100644 www-apps/castopod/castopod-1.4.3.ebuild delete mode 100644 www-apps/castopod/castopod-1.4.5.ebuild delete mode 100644 www-apps/castopod/metadata.xml diff --git a/www-apps/castopod/Manifest b/www-apps/castopod/Manifest deleted file mode 100644 index 258fdce6b9..0000000000 --- a/www-apps/castopod/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST castopod-1.4.3.tar.gz 52273984 BLAKE2B 2bd30d98b05172f851573b71c8503900805db20028554a67d11a0b8f8f9415421aaf018f7c872bac9c04d939197025432b1b06ff827d53705101138da6c6773e SHA512 f30feb71001d29dd14a96e51a06999356d7691f44da0eb0c96a28a14f4113d966e86ad1fde7583b5f2400bb764a2bc961c59b6b2ca233f15cb17edc805ea91e9 -DIST castopod-1.4.5.tar.gz 51626589 BLAKE2B 3340a77a109cf6c9665342af2bbc67b70520d8261d3adcd816d1335a545d96441a19dd83a68b58ee3ef0e58d1c7915475a70fbc72094f1aa94f7d7104835c00e SHA512 58c4f0da2b93f6e0b68cf93686fb280af9292c5c3e72d5672ebfd70b14ac545fb9d6be9266a74c08b12b0f0ccdacff42e6b96f163df925e1020373af9966e5db diff --git a/www-apps/castopod/castopod-1.4.3.ebuild b/www-apps/castopod/castopod-1.4.3.ebuild deleted file mode 100644 index 8505a433db..0000000000 --- a/www-apps/castopod/castopod-1.4.3.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit optfeature webapp - -UPLOAD_HASH="192f3a3fb2abba24fee6990c46ff0e2b" -DESCRIPTION="Open-source hosting platform made for podcasters" -HOMEPAGE=" - https://castopod.org - https://code.castopod.org/adaures/castopod -" -SRC_URI="https://code.castopod.org/adaures/${PN}/uploads/${UPLOAD_HASH}/${P}.tar.gz" -S="${WORKDIR}/${PN}" - -LICENSE="AGPL-3+ Apache-2.0 BSD-2 BSD GPL-1+ GPL-2 GPL-2+ GPL-3 LGPL-3 MIT MPL-2.0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-lang/php-8.1[curl,exif,gd,intl,mysqli,unicode,webp,xml] - virtual/httpd-php -" - -src_install() { - webapp_src_preinst - - insinto "${MY_HTDOCSDIR}" - doins -r . - - webapp_serverowned -R "${MY_HTDOCSDIR}"/writable - webapp_src_install -} - -pkg_postinst() { - webapp_pkg_postinst - - optfeature "better cache perfomance" dev-db/redis - optfeature "video clips support" media-video/ffmpeg -} diff --git a/www-apps/castopod/castopod-1.4.5.ebuild b/www-apps/castopod/castopod-1.4.5.ebuild deleted file mode 100644 index da3aac29f1..0000000000 --- a/www-apps/castopod/castopod-1.4.5.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit optfeature webapp - -UPLOAD_HASH="50c9b05f5267aa48c562539182d9ffd1" -DESCRIPTION="Open-source hosting platform made for podcasters" -HOMEPAGE=" - https://castopod.org - https://code.castopod.org/adaures/castopod -" -SRC_URI="https://code.castopod.org/adaures/${PN}/uploads/${UPLOAD_HASH}/${P}.tar.gz" -S="${WORKDIR}/${PN}" - -LICENSE="AGPL-3+ Apache-2.0 BSD-2 BSD GPL-1+ GPL-2 GPL-2+ GPL-3 LGPL-3 MIT MPL-2.0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-lang/php-8.1[curl,exif,gd,intl,mysqli,unicode,webp,xml] - virtual/httpd-php -" - -src_install() { - webapp_src_preinst - - insinto "${MY_HTDOCSDIR}" - doins -r . - - webapp_serverowned -R "${MY_HTDOCSDIR}"/writable - webapp_src_install -} - -pkg_postinst() { - webapp_pkg_postinst - - optfeature "better cache perfomance" dev-db/redis - optfeature "video clips support" media-video/ffmpeg -} diff --git a/www-apps/castopod/metadata.xml b/www-apps/castopod/metadata.xml deleted file mode 100644 index 115e9d64a6..0000000000 --- a/www-apps/castopod/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - From dec9e3e1e9c6db3deb3dba1eb7446023e4abfbd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Skyler=20M=C3=A4ntysaari?= Date: Wed, 12 Mar 2025 11:17:29 +0200 Subject: [PATCH 12/25] www-apps/honk: treeclean MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Skyler Mäntysaari --- www-apps/honk/Manifest | 2 -- www-apps/honk/files/honk | 56 -------------------------------- www-apps/honk/files/honk.service | 20 ------------ www-apps/honk/honk-0.9.8.ebuild | 47 --------------------------- www-apps/honk/honk-0.9.91.ebuild | 47 --------------------------- www-apps/honk/metadata.xml | 12 ------- 6 files changed, 184 deletions(-) delete mode 100644 www-apps/honk/Manifest delete mode 100644 www-apps/honk/files/honk delete mode 100644 www-apps/honk/files/honk.service delete mode 100644 www-apps/honk/honk-0.9.8.ebuild delete mode 100644 www-apps/honk/honk-0.9.91.ebuild delete mode 100644 www-apps/honk/metadata.xml diff --git a/www-apps/honk/Manifest b/www-apps/honk/Manifest deleted file mode 100644 index ead2a3f834..0000000000 --- a/www-apps/honk/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST honk-0.9.8.tgz 511957 BLAKE2B c07e4141be790d58170da6eb759486889b6c74d70b946e89b1598b2c1868175df1cb9f41649a34067f2ca6f3bddc77d4cc22a241761460b2487bf866b7d40650 SHA512 f32be393698eb3b3ae72d223814eee2a15af3e892ab4b9140314da3ce96d4b4582a8b73c3fa5adede34a4d9d9b2cfc8d7dbb933d516eba8e3820d125c217a354 -DIST honk-0.9.91.tgz 516396 BLAKE2B 416ffa5920115b57b69450e07ea6fc5fe68707900d2c6607ce6a99043e32735f7d73624671d1dcee5c9a2962a7242a008ad248156385439d94ed4ca8f55e3328 SHA512 bad8a328d666943d6007f1fe856dc9bfdc6b625d50cebce551c27aeb03de159e106d63d73d567026116b8bd92ec906f1774bad5c7f175726f338c6c1537eb071 diff --git a/www-apps/honk/files/honk b/www-apps/honk/files/honk deleted file mode 100644 index c542d10674..0000000000 --- a/www-apps/honk/files/honk +++ /dev/null @@ -1,56 +0,0 @@ -#!/sbin/openrc-run -# shellcheck shell=sh -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -extra_stopped_commands="init" -extra_started_commands="upgrade" -description_init="Create the database" -description_upgrade="Upgrade the server" - -name="Honk ActivityPub server" -command="/usr/bin/honk" -command_args="-datadir /var/lib/honk -viewdir /usr/share/honk -log /var/log/honk.log" -command_user="honk:honk" -command_background=yes -pidfile="/run/honk.pid" - -depend() { - need net -} - -fix_log_perms() { - checkpath -fo honk:honk /var/log/honk.log -} - -check_db() { - if [ ! -f /var/lib/honk/honk.db ]; then - eerror "Please run 'rc-service honk init' before the first start" - return 1 - fi - - return 0 -} - -start_pre() { - fix_log_perms || return 1 - check_db || return 1 - - start-stop-daemon --exec "${command}" --user "${command_user}" \ - -- ${command_args} cleanup -} - -init() { - fix_log_perms || return 1 - - start-stop-daemon --exec "${command}" --user "${command_user}" \ - -- ${command_args} init -} - -upgrade() { - fix_log_perms || return 1 - check_db || return 1 - - start-stop-daemon --exec "${command}" --user "${command_user}" \ - -- ${command_args} upgrade -} diff --git a/www-apps/honk/files/honk.service b/www-apps/honk/files/honk.service deleted file mode 100644 index 897d8f3b47..0000000000 --- a/www-apps/honk/files/honk.service +++ /dev/null @@ -1,20 +0,0 @@ -[Unit] -Description="Honk ActivityPub server" -After=syslog.target network.target -Requires=network.target - -[Service] -Restart=always -RestartSec=30 -ExecStart=/usr/bin/honk -datadir /var/lib/honk -viewdir /usr/share/honk -NoNewPrivileges=yes -ProtectKernelLogs=true -ProtectKernelModules=true -ProtectKernelTunables=true -ProtectControlGroups=true -ReadWritePaths=/var/lib/honk -User=honk -Group=honk - -[Install] -WantedBy=default.target diff --git a/www-apps/honk/honk-0.9.8.ebuild b/www-apps/honk/honk-0.9.8.ebuild deleted file mode 100644 index db8476cdef..0000000000 --- a/www-apps/honk/honk-0.9.8.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module systemd - -DESCRIPTION="ActivityPub server with minimal setup and support costs" -HOMEPAGE="https://humungus.tedunangst.com/r/honk" -SRC_URI="https://humungus.tedunangst.com/r/${PN}/d/${P}.tgz" - -LICENSE="BSD BSD-2 ISC MIT" -SLOT="0" -KEYWORDS="~amd64" - -DEPEND="dev-db/sqlite:3" -RDEPEND=" - ${DEPEND} - acct-user/honk -" - -DOCS=( README docs/{changelog,ping}.txt docs/{intro.1,vim.3} ) - -src_install() { - dobin honk - doman docs/activitypub.7 docs/hfcs.1 docs/honk.{1,3,5,8} - einstalldocs - - doinitd "${FILESDIR}"/honk - systemd_dounit "${FILESDIR}"/honk.service - - insinto /usr/share/honk - doins -r views - - diropts --owner honk --group honk - keepdir /var/lib/honk -} - -pkg_postinst() { - if [[ -z ${REPLACING_VERSIONS} ]]; then - einfo "To finish the installation, please run:" - einfo " # rc-service honk init" - else - einfo "To finish the upgrade, please run:" - einfo " # rc-service honk upgrade" - fi -} diff --git a/www-apps/honk/honk-0.9.91.ebuild b/www-apps/honk/honk-0.9.91.ebuild deleted file mode 100644 index 17d162dc4d..0000000000 --- a/www-apps/honk/honk-0.9.91.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module systemd - -DESCRIPTION="ActivityPub server with minimal setup and support costs" -HOMEPAGE="https://humungus.tedunangst.com/r/honk" -SRC_URI="https://humungus.tedunangst.com/r/${PN}/d/${P}.tgz" - -LICENSE="BSD BSD-2 ISC MIT" -SLOT="0" -KEYWORDS="~amd64" - -DEPEND="dev-db/sqlite:3" -RDEPEND=" - ${DEPEND} - acct-user/honk -" - -DOCS=( README docs/{changelog,ping}.txt docs/{intro.1,vim.3} ) - -src_install() { - dobin honk - doman docs/activitypub.7 docs/hfcs.1 docs/honk.{1,3,5,8} - einstalldocs - - doinitd "${FILESDIR}"/honk - systemd_dounit "${FILESDIR}"/honk.service - - insinto /usr/share/honk - doins -r views - - diropts --owner honk --group honk - keepdir /var/lib/honk -} - -pkg_postinst() { - if [[ -z ${REPLACING_VERSIONS} ]]; then - einfo "To finish the installation, please run:" - einfo " # rc-service honk init" - else - einfo "To finish the upgrade, please run:" - einfo " # rc-service honk upgrade" - fi -} diff --git a/www-apps/honk/metadata.xml b/www-apps/honk/metadata.xml deleted file mode 100644 index b20b97e8e3..0000000000 --- a/www-apps/honk/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - https://humungus.tedunangst.com/r/honk/m - - Ted Unangst - tedu@tedunangst.com - - - From a97b845b8d7c51c85f447eac0f9a9ffd76288b9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Skyler=20M=C3=A4ntysaari?= Date: Wed, 12 Mar 2025 11:20:49 +0200 Subject: [PATCH 13/25] Revert "www-apps/gotosocial: treeclean" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 36d3b1a3053aa6501a7e282e3af743bb80518184. Signed-off-by: Skyler Mäntysaari --- www-apps/gotosocial/Manifest | 4 + www-apps/gotosocial/files/gotosocial.confd | 2 + www-apps/gotosocial/files/gotosocial.initd | 42 +++++++++ www-apps/gotosocial/files/gotosocial.service | 45 +++++++++ www-apps/gotosocial/files/gotosocial.tmpfiles | 1 + www-apps/gotosocial/gotosocial-0.10.0.ebuild | 88 ++++++++++++++++++ www-apps/gotosocial/gotosocial-0.9.0.ebuild | 91 +++++++++++++++++++ www-apps/gotosocial/metadata.xml | 9 ++ 8 files changed, 282 insertions(+) create mode 100644 www-apps/gotosocial/Manifest create mode 100644 www-apps/gotosocial/files/gotosocial.confd create mode 100644 www-apps/gotosocial/files/gotosocial.initd create mode 100644 www-apps/gotosocial/files/gotosocial.service create mode 100644 www-apps/gotosocial/files/gotosocial.tmpfiles create mode 100644 www-apps/gotosocial/gotosocial-0.10.0.ebuild create mode 100644 www-apps/gotosocial/gotosocial-0.9.0.ebuild create mode 100644 www-apps/gotosocial/metadata.xml diff --git a/www-apps/gotosocial/Manifest b/www-apps/gotosocial/Manifest new file mode 100644 index 0000000000..0153a5c1a0 --- /dev/null +++ b/www-apps/gotosocial/Manifest @@ -0,0 +1,4 @@ +DIST gotosocial-0.10.0-source-code.tar.gz 55714610 BLAKE2B 5db1bb11d799cc85e7667c205a19df88b901598dfa64cb2b10c58ee6ea327cf5d2e74cba58312d5b7444200ca8a6866b6305008e41775f2906db8faddb078b92 SHA512 fc647e6fb35ef8a9969014d4e785f868e5c85fb2305f7ac204ba830d0774cf4fa7cbb25b7a47fed0b8f592e45299cb2bdbbf5f4a6ae45915a540e9c3ab92f3c4 +DIST gotosocial-0.9.0-source-code.tar.gz 55117728 BLAKE2B e9a02e3d6b27d242db3a239e95653973a498b67e606824d8a2ff141498b8bbf6be0f434d96abad2129e7ca4dab379b815ac04749e036caf0963d6160508768bd SHA512 7638a069a47d615264baa74d838052f913b6c71497396c2d2b877a870a5ad1639d218dd9877fb6b37c347d4e243524527260f48f983a68bb29c4b76ec3ce8c7c +DIST gotosocial_0.10.0_web-assets.tar.gz 1362405 BLAKE2B 78168bcffbc5081cfb81ddcba314d3aa58e41fd115303997306495ad79c5d6fa3d2540b1d4da87e43cf7c4f62e737a859c5bdf2959d60371e25125dd21567f9e SHA512 4a6b2248969e9e254764e4b03fa6d7d884d74da8b25665feebca117eeeeae3aa3dc8fca995ca7c939f6437aa35b7d09dbd824727c7d0a7a4745db29916ab74be +DIST gotosocial_0.9.0_web-assets.tar.gz 1357671 BLAKE2B aeab657eb72db5178287afd75b6c1d06238f8c769f3bfc21cf6249b8eed468b7009b2401c64aca22964ebd7a6554066a2c38d9d441a39789c731faa6e9c17c29 SHA512 0d83b093ab8f45ae8ed3eebcf1aed66b27a5d996e5c0dc30e16cc99a881b7e2b333ba4cf4fd78486c42b3bef9245d1ba89743a87ae0f969e8be6a756cf1dcfc6 diff --git a/www-apps/gotosocial/files/gotosocial.confd b/www-apps/gotosocial/files/gotosocial.confd new file mode 100644 index 0000000000..9ea7d8fdd3 --- /dev/null +++ b/www-apps/gotosocial/files/gotosocial.confd @@ -0,0 +1,2 @@ +# GoToSocial configuration file +#GOTOSOCIAL_CONFIG="/etc/gotosocial/config.yaml" diff --git a/www-apps/gotosocial/files/gotosocial.initd b/www-apps/gotosocial/files/gotosocial.initd new file mode 100644 index 0000000000..91ed760c70 --- /dev/null +++ b/www-apps/gotosocial/files/gotosocial.initd @@ -0,0 +1,42 @@ +#!/sbin/openrc-run +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 +# shellcheck shell=sh disable=SC2034 + +: ${GOTOSOCIAL_CONFIG:=/etc/gotosocial/config.yaml} + +extra_commands="adduser" +description_adduser="create a user" + +description="GoToSocial Server" +command="/usr/bin/gotosocial" +command_args="--config-path ${GOTOSOCIAL_CONFIG} server start" +command_user="gotosocial:gotosocial" +command_background=yes +pidfile="/run/gotosocial.pid" + +depend() { + need net + after postgresql +} + +adduser() { + # handle Ctrl+C + trap "stty echo" INT + + printf "Enter username: " + read username + + printf "Enter email: " + read email + + stty -echo + printf "Enter password: " + read password + stty echo + + start-stop-daemon --exec "${command}" --user "${command_user}" -- \ + --config-path "${GOTOSOCIAL_CONFIG}" admin account create \ + --username "${username}" --email "${email}" --password "${password}" + return $? +} diff --git a/www-apps/gotosocial/files/gotosocial.service b/www-apps/gotosocial/files/gotosocial.service new file mode 100644 index 0000000000..de29ca6d29 --- /dev/null +++ b/www-apps/gotosocial/files/gotosocial.service @@ -0,0 +1,45 @@ +[Unit] +Description=GoToSocial Server + +[Service] +User=gotosocial +Group=gotosocial + +Type=exec +Restart=on-failure + +ExecStart=/usr/bin/gotosocial --config-path /etc/gotosocial/config.yaml server start + +StandardOutput=append:/var/log/gotosocial/gotosocial.log +StandardError=inherit + +# Sandboxing options to harden security +NoNewPrivileges=yes +PrivateTmp=yes +PrivateDevices=yes +RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 +RestrictNamespaces=yes +RestrictRealtime=yes +DevicePolicy=closed +ProtectSystem=full +ProtectControlGroups=yes +ProtectKernelModules=yes +ProtectKernelTunables=yes +LockPersonality=yes +SystemCallFilter=~@clock @debug @module @mount @obsolete @reboot @setuid @swap + +# Denying access to capabilities that should not be relevant +CapabilityBoundingSet=~CAP_RAWIO CAP_MKNOD +CapabilityBoundingSet=~CAP_AUDIT_CONTROL CAP_AUDIT_READ CAP_AUDIT_WRITE +CapabilityBoundingSet=~CAP_SYS_BOOT CAP_SYS_TIME CAP_SYS_MODULE CAP_SYS_PACCT +CapabilityBoundingSet=~CAP_LEASE CAP_LINUX_IMMUTABLE CAP_IPC_LOCK +CapabilityBoundingSet=~CAP_BLOCK_SUSPEND CAP_WAKE_ALARM +CapabilityBoundingSet=~CAP_SYS_TTY_CONFIG +CapabilityBoundingSet=~CAP_MAC_ADMIN CAP_MAC_OVERRIDE +CapabilityBoundingSet=~CAP_NET_ADMIN CAP_NET_BROADCAST CAP_NET_RAW +CapabilityBoundingSet=~CAP_SYS_ADMIN CAP_SYS_PTRACE CAP_SYSLOG +# You might need this if you are running as non-root on a privileged port (below 1024) +#AmbientCapabilities=CAP_NET_BIND_SERVICE + +[Install] +WantedBy=default.target diff --git a/www-apps/gotosocial/files/gotosocial.tmpfiles b/www-apps/gotosocial/files/gotosocial.tmpfiles new file mode 100644 index 0000000000..c044628399 --- /dev/null +++ b/www-apps/gotosocial/files/gotosocial.tmpfiles @@ -0,0 +1 @@ +d /var/lib/gotosocial 0755 gotosocial gotosocial - diff --git a/www-apps/gotosocial/gotosocial-0.10.0.ebuild b/www-apps/gotosocial/gotosocial-0.10.0.ebuild new file mode 100644 index 0000000000..6318d2cc0f --- /dev/null +++ b/www-apps/gotosocial/gotosocial-0.10.0.ebuild @@ -0,0 +1,88 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module systemd tmpfiles + +DESCRIPTION="Fast, fun, ActivityPub server, powered by Go" +HOMEPAGE=" + https://gotosocial.org/ + https://github.com/superseriousbusiness/gotosocial +" +GH_RELEASE="https://github.com/superseriousbusiness/${PN}/releases/download/v${PV}" +SRC_URI=" + ${GH_RELEASE}/${P}-source-code.tar.gz + ${GH_RELEASE}/${PN}_${PV}_web-assets.tar.gz +" +S="${WORKDIR}" + +LICENSE="|| ( WTFPL-2 CC0-1.0 ) AGPL-3 Apache-2.0 BSD BSD-2 CC0-1.0 GPL-3 MIT MPL-2.0" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="acct-user/gotosocial" + +DOCS=( archive {CONTRIBUTING,README,ROADMAP}.md ) + +src_unpack() { + # source code + unpack ${P}-source-code.tar.gz + rm -r web || die + + # prebuilt web assets + unpack ${PN}_${PV}_web-assets.tar.gz +} + +src_prepare() { + default + + sed -i example/config.yaml \ + -e "s|./web/template/|${EPREFIX}/usr/share/gotosocial/web/template/|g" \ + -e "s|./web/assets/|${EPREFIX}/usr/share/gotosocial/web/assets/|g" \ + -e "s|/gotosocial/storage|${EPREFIX}/var/lib/gotosocial/storage|g" \ + || die +} + +src_configure() { + GOFLAGS+=" -tags=netgo,osusergo,static_build,kvformat" +} + +src_compile() { + local myargs=( + -trimpath + -ldflags "-X main.Version=${PV}" + ) + + ego build "${myargs[@]}" ./cmd/gotosocial +} + +src_test() { + local -x GTS_DB_TYPE="sqlite" + local -x GTS_DB_ADDRESS=":memory:" + + local -x GOFLAGS + GOFLAGS="${GOFLAGS//-v/}" + GOFLAGS="${GOFLAGS//-x/}" + + ego test -vet off ./... +} + +src_install() { + dobin gotosocial + + newinitd "${FILESDIR}"/gotosocial.initd ${PN} + newconfd "${FILESDIR}"/gotosocial.confd ${PN} + systemd_dounit "${FILESDIR}"/gotosocial.service + newtmpfiles "${FILESDIR}"/gotosocial.tmpfiles ${PN}.conf + + insinto /usr/share/gotosocial + doins -r web + + insinto /etc/gotosocial + doins example/config.yaml +} + +pkg_postinst() { + tmpfiles_process ${PN}.conf +} diff --git a/www-apps/gotosocial/gotosocial-0.9.0.ebuild b/www-apps/gotosocial/gotosocial-0.9.0.ebuild new file mode 100644 index 0000000000..902fcc9add --- /dev/null +++ b/www-apps/gotosocial/gotosocial-0.9.0.ebuild @@ -0,0 +1,91 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module systemd tmpfiles + +DESCRIPTION="Fast, fun, ActivityPub server, powered by Go" +HOMEPAGE=" + https://gotosocial.org/ + https://github.com/superseriousbusiness/gotosocial +" +GH_RELEASE="https://github.com/superseriousbusiness/${PN}/releases/download/v${PV}" +SRC_URI=" + ${GH_RELEASE}/${P}-source-code.tar.gz + ${GH_RELEASE}/${PN}_${PV}_web-assets.tar.gz +" +S="${WORKDIR}" + +LICENSE="|| ( WTFPL-2 CC0-1.0 ) AGPL-3 Apache-2.0 BSD BSD-2 CC0-1.0 GPL-3 MIT MPL-2.0" +SLOT="0" +KEYWORDS="~amd64" + +# Flaky tests +RESTRICT="test" + +RDEPEND="acct-user/gotosocial" + +DOCS=( archive {CONTRIBUTING,README,ROADMAP}.md ) + +src_unpack() { + # source code + unpack ${P}-source-code.tar.gz + rm -r web || die + + # prebuilt web assets + unpack ${PN}_${PV}_web-assets.tar.gz +} + +src_prepare() { + default + + sed -i example/config.yaml \ + -e "s|./web/template/|${EPREFIX}/usr/share/gotosocial/web/template/|g" \ + -e "s|./web/assets/|${EPREFIX}/usr/share/gotosocial/web/assets/|g" \ + -e "s|/gotosocial/storage|${EPREFIX}/var/lib/gotosocial/storage|g" \ + || die +} + +src_configure() { + GOFLAGS+=" -tags=netgo,osusergo,static_build,kvformat" +} + +src_compile() { + local myargs=( + -trimpath + -ldflags "-X main.Version=${PV}" + ) + + ego build "${myargs[@]}" ./cmd/gotosocial +} + +src_test() { + local -x GTS_DB_TYPE="sqlite" + local -x GTS_DB_ADDRESS=":memory:" + + local -x GOFLAGS + GOFLAGS="${GOFLAGS//-v/}" + GOFLAGS="${GOFLAGS//-x/}" + + ego test -vet off ./... +} + +src_install() { + dobin gotosocial + + newinitd "${FILESDIR}"/gotosocial.initd ${PN} + newconfd "${FILESDIR}"/gotosocial.confd ${PN} + systemd_dounit "${FILESDIR}"/gotosocial.service + newtmpfiles "${FILESDIR}"/gotosocial.tmpfiles ${PN}.conf + + insinto /usr/share/gotosocial + doins -r web + + insinto /etc/gotosocial + doins example/config.yaml +} + +pkg_postinst() { + tmpfiles_process ${PN}.conf +} diff --git a/www-apps/gotosocial/metadata.xml b/www-apps/gotosocial/metadata.xml new file mode 100644 index 0000000000..ced5ba1d3c --- /dev/null +++ b/www-apps/gotosocial/metadata.xml @@ -0,0 +1,9 @@ + + + + + + https://docs.gotosocial.org/ + superseriousbusiness/gotosocial + + From 6c9e944a9d4af3b046e364c0aac439340194fde4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Skyler=20M=C3=A4ntysaari?= Date: Wed, 12 Mar 2025 11:21:22 +0200 Subject: [PATCH 14/25] Revert "www-apps/castopod: treeclean" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 0813388ce866aac093f300ef0de9e30b019e0374. Signed-off-by: Skyler Mäntysaari --- www-apps/castopod/Manifest | 2 ++ www-apps/castopod/castopod-1.4.3.ebuild | 40 +++++++++++++++++++++++++ www-apps/castopod/castopod-1.4.5.ebuild | 40 +++++++++++++++++++++++++ www-apps/castopod/metadata.xml | 5 ++++ 4 files changed, 87 insertions(+) create mode 100644 www-apps/castopod/Manifest create mode 100644 www-apps/castopod/castopod-1.4.3.ebuild create mode 100644 www-apps/castopod/castopod-1.4.5.ebuild create mode 100644 www-apps/castopod/metadata.xml diff --git a/www-apps/castopod/Manifest b/www-apps/castopod/Manifest new file mode 100644 index 0000000000..258fdce6b9 --- /dev/null +++ b/www-apps/castopod/Manifest @@ -0,0 +1,2 @@ +DIST castopod-1.4.3.tar.gz 52273984 BLAKE2B 2bd30d98b05172f851573b71c8503900805db20028554a67d11a0b8f8f9415421aaf018f7c872bac9c04d939197025432b1b06ff827d53705101138da6c6773e SHA512 f30feb71001d29dd14a96e51a06999356d7691f44da0eb0c96a28a14f4113d966e86ad1fde7583b5f2400bb764a2bc961c59b6b2ca233f15cb17edc805ea91e9 +DIST castopod-1.4.5.tar.gz 51626589 BLAKE2B 3340a77a109cf6c9665342af2bbc67b70520d8261d3adcd816d1335a545d96441a19dd83a68b58ee3ef0e58d1c7915475a70fbc72094f1aa94f7d7104835c00e SHA512 58c4f0da2b93f6e0b68cf93686fb280af9292c5c3e72d5672ebfd70b14ac545fb9d6be9266a74c08b12b0f0ccdacff42e6b96f163df925e1020373af9966e5db diff --git a/www-apps/castopod/castopod-1.4.3.ebuild b/www-apps/castopod/castopod-1.4.3.ebuild new file mode 100644 index 0000000000..8505a433db --- /dev/null +++ b/www-apps/castopod/castopod-1.4.3.ebuild @@ -0,0 +1,40 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit optfeature webapp + +UPLOAD_HASH="192f3a3fb2abba24fee6990c46ff0e2b" +DESCRIPTION="Open-source hosting platform made for podcasters" +HOMEPAGE=" + https://castopod.org + https://code.castopod.org/adaures/castopod +" +SRC_URI="https://code.castopod.org/adaures/${PN}/uploads/${UPLOAD_HASH}/${P}.tar.gz" +S="${WORKDIR}/${PN}" + +LICENSE="AGPL-3+ Apache-2.0 BSD-2 BSD GPL-1+ GPL-2 GPL-2+ GPL-3 LGPL-3 MIT MPL-2.0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-lang/php-8.1[curl,exif,gd,intl,mysqli,unicode,webp,xml] + virtual/httpd-php +" + +src_install() { + webapp_src_preinst + + insinto "${MY_HTDOCSDIR}" + doins -r . + + webapp_serverowned -R "${MY_HTDOCSDIR}"/writable + webapp_src_install +} + +pkg_postinst() { + webapp_pkg_postinst + + optfeature "better cache perfomance" dev-db/redis + optfeature "video clips support" media-video/ffmpeg +} diff --git a/www-apps/castopod/castopod-1.4.5.ebuild b/www-apps/castopod/castopod-1.4.5.ebuild new file mode 100644 index 0000000000..da3aac29f1 --- /dev/null +++ b/www-apps/castopod/castopod-1.4.5.ebuild @@ -0,0 +1,40 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit optfeature webapp + +UPLOAD_HASH="50c9b05f5267aa48c562539182d9ffd1" +DESCRIPTION="Open-source hosting platform made for podcasters" +HOMEPAGE=" + https://castopod.org + https://code.castopod.org/adaures/castopod +" +SRC_URI="https://code.castopod.org/adaures/${PN}/uploads/${UPLOAD_HASH}/${P}.tar.gz" +S="${WORKDIR}/${PN}" + +LICENSE="AGPL-3+ Apache-2.0 BSD-2 BSD GPL-1+ GPL-2 GPL-2+ GPL-3 LGPL-3 MIT MPL-2.0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-lang/php-8.1[curl,exif,gd,intl,mysqli,unicode,webp,xml] + virtual/httpd-php +" + +src_install() { + webapp_src_preinst + + insinto "${MY_HTDOCSDIR}" + doins -r . + + webapp_serverowned -R "${MY_HTDOCSDIR}"/writable + webapp_src_install +} + +pkg_postinst() { + webapp_pkg_postinst + + optfeature "better cache perfomance" dev-db/redis + optfeature "video clips support" media-video/ffmpeg +} diff --git a/www-apps/castopod/metadata.xml b/www-apps/castopod/metadata.xml new file mode 100644 index 0000000000..115e9d64a6 --- /dev/null +++ b/www-apps/castopod/metadata.xml @@ -0,0 +1,5 @@ + + + + + From cd1141e13674c4ee47b7283a896ac75397a65300 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Skyler=20M=C3=A4ntysaari?= Date: Wed, 12 Mar 2025 11:21:36 +0200 Subject: [PATCH 15/25] Revert "www-apps/honk: treeclean" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit dec9e3e1e9c6db3deb3dba1eb7446023e4abfbd4. Signed-off-by: Skyler Mäntysaari --- www-apps/honk/Manifest | 2 ++ www-apps/honk/files/honk | 56 ++++++++++++++++++++++++++++++++ www-apps/honk/files/honk.service | 20 ++++++++++++ www-apps/honk/honk-0.9.8.ebuild | 47 +++++++++++++++++++++++++++ www-apps/honk/honk-0.9.91.ebuild | 47 +++++++++++++++++++++++++++ www-apps/honk/metadata.xml | 12 +++++++ 6 files changed, 184 insertions(+) create mode 100644 www-apps/honk/Manifest create mode 100644 www-apps/honk/files/honk create mode 100644 www-apps/honk/files/honk.service create mode 100644 www-apps/honk/honk-0.9.8.ebuild create mode 100644 www-apps/honk/honk-0.9.91.ebuild create mode 100644 www-apps/honk/metadata.xml diff --git a/www-apps/honk/Manifest b/www-apps/honk/Manifest new file mode 100644 index 0000000000..ead2a3f834 --- /dev/null +++ b/www-apps/honk/Manifest @@ -0,0 +1,2 @@ +DIST honk-0.9.8.tgz 511957 BLAKE2B c07e4141be790d58170da6eb759486889b6c74d70b946e89b1598b2c1868175df1cb9f41649a34067f2ca6f3bddc77d4cc22a241761460b2487bf866b7d40650 SHA512 f32be393698eb3b3ae72d223814eee2a15af3e892ab4b9140314da3ce96d4b4582a8b73c3fa5adede34a4d9d9b2cfc8d7dbb933d516eba8e3820d125c217a354 +DIST honk-0.9.91.tgz 516396 BLAKE2B 416ffa5920115b57b69450e07ea6fc5fe68707900d2c6607ce6a99043e32735f7d73624671d1dcee5c9a2962a7242a008ad248156385439d94ed4ca8f55e3328 SHA512 bad8a328d666943d6007f1fe856dc9bfdc6b625d50cebce551c27aeb03de159e106d63d73d567026116b8bd92ec906f1774bad5c7f175726f338c6c1537eb071 diff --git a/www-apps/honk/files/honk b/www-apps/honk/files/honk new file mode 100644 index 0000000000..c542d10674 --- /dev/null +++ b/www-apps/honk/files/honk @@ -0,0 +1,56 @@ +#!/sbin/openrc-run +# shellcheck shell=sh +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +extra_stopped_commands="init" +extra_started_commands="upgrade" +description_init="Create the database" +description_upgrade="Upgrade the server" + +name="Honk ActivityPub server" +command="/usr/bin/honk" +command_args="-datadir /var/lib/honk -viewdir /usr/share/honk -log /var/log/honk.log" +command_user="honk:honk" +command_background=yes +pidfile="/run/honk.pid" + +depend() { + need net +} + +fix_log_perms() { + checkpath -fo honk:honk /var/log/honk.log +} + +check_db() { + if [ ! -f /var/lib/honk/honk.db ]; then + eerror "Please run 'rc-service honk init' before the first start" + return 1 + fi + + return 0 +} + +start_pre() { + fix_log_perms || return 1 + check_db || return 1 + + start-stop-daemon --exec "${command}" --user "${command_user}" \ + -- ${command_args} cleanup +} + +init() { + fix_log_perms || return 1 + + start-stop-daemon --exec "${command}" --user "${command_user}" \ + -- ${command_args} init +} + +upgrade() { + fix_log_perms || return 1 + check_db || return 1 + + start-stop-daemon --exec "${command}" --user "${command_user}" \ + -- ${command_args} upgrade +} diff --git a/www-apps/honk/files/honk.service b/www-apps/honk/files/honk.service new file mode 100644 index 0000000000..897d8f3b47 --- /dev/null +++ b/www-apps/honk/files/honk.service @@ -0,0 +1,20 @@ +[Unit] +Description="Honk ActivityPub server" +After=syslog.target network.target +Requires=network.target + +[Service] +Restart=always +RestartSec=30 +ExecStart=/usr/bin/honk -datadir /var/lib/honk -viewdir /usr/share/honk +NoNewPrivileges=yes +ProtectKernelLogs=true +ProtectKernelModules=true +ProtectKernelTunables=true +ProtectControlGroups=true +ReadWritePaths=/var/lib/honk +User=honk +Group=honk + +[Install] +WantedBy=default.target diff --git a/www-apps/honk/honk-0.9.8.ebuild b/www-apps/honk/honk-0.9.8.ebuild new file mode 100644 index 0000000000..db8476cdef --- /dev/null +++ b/www-apps/honk/honk-0.9.8.ebuild @@ -0,0 +1,47 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module systemd + +DESCRIPTION="ActivityPub server with minimal setup and support costs" +HOMEPAGE="https://humungus.tedunangst.com/r/honk" +SRC_URI="https://humungus.tedunangst.com/r/${PN}/d/${P}.tgz" + +LICENSE="BSD BSD-2 ISC MIT" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="dev-db/sqlite:3" +RDEPEND=" + ${DEPEND} + acct-user/honk +" + +DOCS=( README docs/{changelog,ping}.txt docs/{intro.1,vim.3} ) + +src_install() { + dobin honk + doman docs/activitypub.7 docs/hfcs.1 docs/honk.{1,3,5,8} + einstalldocs + + doinitd "${FILESDIR}"/honk + systemd_dounit "${FILESDIR}"/honk.service + + insinto /usr/share/honk + doins -r views + + diropts --owner honk --group honk + keepdir /var/lib/honk +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + einfo "To finish the installation, please run:" + einfo " # rc-service honk init" + else + einfo "To finish the upgrade, please run:" + einfo " # rc-service honk upgrade" + fi +} diff --git a/www-apps/honk/honk-0.9.91.ebuild b/www-apps/honk/honk-0.9.91.ebuild new file mode 100644 index 0000000000..17d162dc4d --- /dev/null +++ b/www-apps/honk/honk-0.9.91.ebuild @@ -0,0 +1,47 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit go-module systemd + +DESCRIPTION="ActivityPub server with minimal setup and support costs" +HOMEPAGE="https://humungus.tedunangst.com/r/honk" +SRC_URI="https://humungus.tedunangst.com/r/${PN}/d/${P}.tgz" + +LICENSE="BSD BSD-2 ISC MIT" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="dev-db/sqlite:3" +RDEPEND=" + ${DEPEND} + acct-user/honk +" + +DOCS=( README docs/{changelog,ping}.txt docs/{intro.1,vim.3} ) + +src_install() { + dobin honk + doman docs/activitypub.7 docs/hfcs.1 docs/honk.{1,3,5,8} + einstalldocs + + doinitd "${FILESDIR}"/honk + systemd_dounit "${FILESDIR}"/honk.service + + insinto /usr/share/honk + doins -r views + + diropts --owner honk --group honk + keepdir /var/lib/honk +} + +pkg_postinst() { + if [[ -z ${REPLACING_VERSIONS} ]]; then + einfo "To finish the installation, please run:" + einfo " # rc-service honk init" + else + einfo "To finish the upgrade, please run:" + einfo " # rc-service honk upgrade" + fi +} diff --git a/www-apps/honk/metadata.xml b/www-apps/honk/metadata.xml new file mode 100644 index 0000000000..b20b97e8e3 --- /dev/null +++ b/www-apps/honk/metadata.xml @@ -0,0 +1,12 @@ + + + + + + https://humungus.tedunangst.com/r/honk/m + + Ted Unangst + tedu@tedunangst.com + + + From ea80e629731b4608439433721a806f6092822dc4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Skyler=20M=C3=A4ntysaari?= Date: Wed, 12 Mar 2025 11:23:28 +0200 Subject: [PATCH 16/25] www-apps/gotosocial: treeclean MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/945712 Closes: https://bugs.gentoo.org/928370 Signed-off-by: Skyler Mäntysaari --- www-apps/gotosocial/Manifest | 4 - www-apps/gotosocial/files/gotosocial.confd | 2 - www-apps/gotosocial/files/gotosocial.initd | 42 --------- www-apps/gotosocial/files/gotosocial.service | 45 --------- www-apps/gotosocial/files/gotosocial.tmpfiles | 1 - www-apps/gotosocial/gotosocial-0.10.0.ebuild | 88 ------------------ www-apps/gotosocial/gotosocial-0.9.0.ebuild | 91 ------------------- www-apps/gotosocial/metadata.xml | 9 -- 8 files changed, 282 deletions(-) delete mode 100644 www-apps/gotosocial/Manifest delete mode 100644 www-apps/gotosocial/files/gotosocial.confd delete mode 100644 www-apps/gotosocial/files/gotosocial.initd delete mode 100644 www-apps/gotosocial/files/gotosocial.service delete mode 100644 www-apps/gotosocial/files/gotosocial.tmpfiles delete mode 100644 www-apps/gotosocial/gotosocial-0.10.0.ebuild delete mode 100644 www-apps/gotosocial/gotosocial-0.9.0.ebuild delete mode 100644 www-apps/gotosocial/metadata.xml diff --git a/www-apps/gotosocial/Manifest b/www-apps/gotosocial/Manifest deleted file mode 100644 index 0153a5c1a0..0000000000 --- a/www-apps/gotosocial/Manifest +++ /dev/null @@ -1,4 +0,0 @@ -DIST gotosocial-0.10.0-source-code.tar.gz 55714610 BLAKE2B 5db1bb11d799cc85e7667c205a19df88b901598dfa64cb2b10c58ee6ea327cf5d2e74cba58312d5b7444200ca8a6866b6305008e41775f2906db8faddb078b92 SHA512 fc647e6fb35ef8a9969014d4e785f868e5c85fb2305f7ac204ba830d0774cf4fa7cbb25b7a47fed0b8f592e45299cb2bdbbf5f4a6ae45915a540e9c3ab92f3c4 -DIST gotosocial-0.9.0-source-code.tar.gz 55117728 BLAKE2B e9a02e3d6b27d242db3a239e95653973a498b67e606824d8a2ff141498b8bbf6be0f434d96abad2129e7ca4dab379b815ac04749e036caf0963d6160508768bd SHA512 7638a069a47d615264baa74d838052f913b6c71497396c2d2b877a870a5ad1639d218dd9877fb6b37c347d4e243524527260f48f983a68bb29c4b76ec3ce8c7c -DIST gotosocial_0.10.0_web-assets.tar.gz 1362405 BLAKE2B 78168bcffbc5081cfb81ddcba314d3aa58e41fd115303997306495ad79c5d6fa3d2540b1d4da87e43cf7c4f62e737a859c5bdf2959d60371e25125dd21567f9e SHA512 4a6b2248969e9e254764e4b03fa6d7d884d74da8b25665feebca117eeeeae3aa3dc8fca995ca7c939f6437aa35b7d09dbd824727c7d0a7a4745db29916ab74be -DIST gotosocial_0.9.0_web-assets.tar.gz 1357671 BLAKE2B aeab657eb72db5178287afd75b6c1d06238f8c769f3bfc21cf6249b8eed468b7009b2401c64aca22964ebd7a6554066a2c38d9d441a39789c731faa6e9c17c29 SHA512 0d83b093ab8f45ae8ed3eebcf1aed66b27a5d996e5c0dc30e16cc99a881b7e2b333ba4cf4fd78486c42b3bef9245d1ba89743a87ae0f969e8be6a756cf1dcfc6 diff --git a/www-apps/gotosocial/files/gotosocial.confd b/www-apps/gotosocial/files/gotosocial.confd deleted file mode 100644 index 9ea7d8fdd3..0000000000 --- a/www-apps/gotosocial/files/gotosocial.confd +++ /dev/null @@ -1,2 +0,0 @@ -# GoToSocial configuration file -#GOTOSOCIAL_CONFIG="/etc/gotosocial/config.yaml" diff --git a/www-apps/gotosocial/files/gotosocial.initd b/www-apps/gotosocial/files/gotosocial.initd deleted file mode 100644 index 91ed760c70..0000000000 --- a/www-apps/gotosocial/files/gotosocial.initd +++ /dev/null @@ -1,42 +0,0 @@ -#!/sbin/openrc-run -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 -# shellcheck shell=sh disable=SC2034 - -: ${GOTOSOCIAL_CONFIG:=/etc/gotosocial/config.yaml} - -extra_commands="adduser" -description_adduser="create a user" - -description="GoToSocial Server" -command="/usr/bin/gotosocial" -command_args="--config-path ${GOTOSOCIAL_CONFIG} server start" -command_user="gotosocial:gotosocial" -command_background=yes -pidfile="/run/gotosocial.pid" - -depend() { - need net - after postgresql -} - -adduser() { - # handle Ctrl+C - trap "stty echo" INT - - printf "Enter username: " - read username - - printf "Enter email: " - read email - - stty -echo - printf "Enter password: " - read password - stty echo - - start-stop-daemon --exec "${command}" --user "${command_user}" -- \ - --config-path "${GOTOSOCIAL_CONFIG}" admin account create \ - --username "${username}" --email "${email}" --password "${password}" - return $? -} diff --git a/www-apps/gotosocial/files/gotosocial.service b/www-apps/gotosocial/files/gotosocial.service deleted file mode 100644 index de29ca6d29..0000000000 --- a/www-apps/gotosocial/files/gotosocial.service +++ /dev/null @@ -1,45 +0,0 @@ -[Unit] -Description=GoToSocial Server - -[Service] -User=gotosocial -Group=gotosocial - -Type=exec -Restart=on-failure - -ExecStart=/usr/bin/gotosocial --config-path /etc/gotosocial/config.yaml server start - -StandardOutput=append:/var/log/gotosocial/gotosocial.log -StandardError=inherit - -# Sandboxing options to harden security -NoNewPrivileges=yes -PrivateTmp=yes -PrivateDevices=yes -RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 -RestrictNamespaces=yes -RestrictRealtime=yes -DevicePolicy=closed -ProtectSystem=full -ProtectControlGroups=yes -ProtectKernelModules=yes -ProtectKernelTunables=yes -LockPersonality=yes -SystemCallFilter=~@clock @debug @module @mount @obsolete @reboot @setuid @swap - -# Denying access to capabilities that should not be relevant -CapabilityBoundingSet=~CAP_RAWIO CAP_MKNOD -CapabilityBoundingSet=~CAP_AUDIT_CONTROL CAP_AUDIT_READ CAP_AUDIT_WRITE -CapabilityBoundingSet=~CAP_SYS_BOOT CAP_SYS_TIME CAP_SYS_MODULE CAP_SYS_PACCT -CapabilityBoundingSet=~CAP_LEASE CAP_LINUX_IMMUTABLE CAP_IPC_LOCK -CapabilityBoundingSet=~CAP_BLOCK_SUSPEND CAP_WAKE_ALARM -CapabilityBoundingSet=~CAP_SYS_TTY_CONFIG -CapabilityBoundingSet=~CAP_MAC_ADMIN CAP_MAC_OVERRIDE -CapabilityBoundingSet=~CAP_NET_ADMIN CAP_NET_BROADCAST CAP_NET_RAW -CapabilityBoundingSet=~CAP_SYS_ADMIN CAP_SYS_PTRACE CAP_SYSLOG -# You might need this if you are running as non-root on a privileged port (below 1024) -#AmbientCapabilities=CAP_NET_BIND_SERVICE - -[Install] -WantedBy=default.target diff --git a/www-apps/gotosocial/files/gotosocial.tmpfiles b/www-apps/gotosocial/files/gotosocial.tmpfiles deleted file mode 100644 index c044628399..0000000000 --- a/www-apps/gotosocial/files/gotosocial.tmpfiles +++ /dev/null @@ -1 +0,0 @@ -d /var/lib/gotosocial 0755 gotosocial gotosocial - diff --git a/www-apps/gotosocial/gotosocial-0.10.0.ebuild b/www-apps/gotosocial/gotosocial-0.10.0.ebuild deleted file mode 100644 index 6318d2cc0f..0000000000 --- a/www-apps/gotosocial/gotosocial-0.10.0.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module systemd tmpfiles - -DESCRIPTION="Fast, fun, ActivityPub server, powered by Go" -HOMEPAGE=" - https://gotosocial.org/ - https://github.com/superseriousbusiness/gotosocial -" -GH_RELEASE="https://github.com/superseriousbusiness/${PN}/releases/download/v${PV}" -SRC_URI=" - ${GH_RELEASE}/${P}-source-code.tar.gz - ${GH_RELEASE}/${PN}_${PV}_web-assets.tar.gz -" -S="${WORKDIR}" - -LICENSE="|| ( WTFPL-2 CC0-1.0 ) AGPL-3 Apache-2.0 BSD BSD-2 CC0-1.0 GPL-3 MIT MPL-2.0" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND="acct-user/gotosocial" - -DOCS=( archive {CONTRIBUTING,README,ROADMAP}.md ) - -src_unpack() { - # source code - unpack ${P}-source-code.tar.gz - rm -r web || die - - # prebuilt web assets - unpack ${PN}_${PV}_web-assets.tar.gz -} - -src_prepare() { - default - - sed -i example/config.yaml \ - -e "s|./web/template/|${EPREFIX}/usr/share/gotosocial/web/template/|g" \ - -e "s|./web/assets/|${EPREFIX}/usr/share/gotosocial/web/assets/|g" \ - -e "s|/gotosocial/storage|${EPREFIX}/var/lib/gotosocial/storage|g" \ - || die -} - -src_configure() { - GOFLAGS+=" -tags=netgo,osusergo,static_build,kvformat" -} - -src_compile() { - local myargs=( - -trimpath - -ldflags "-X main.Version=${PV}" - ) - - ego build "${myargs[@]}" ./cmd/gotosocial -} - -src_test() { - local -x GTS_DB_TYPE="sqlite" - local -x GTS_DB_ADDRESS=":memory:" - - local -x GOFLAGS - GOFLAGS="${GOFLAGS//-v/}" - GOFLAGS="${GOFLAGS//-x/}" - - ego test -vet off ./... -} - -src_install() { - dobin gotosocial - - newinitd "${FILESDIR}"/gotosocial.initd ${PN} - newconfd "${FILESDIR}"/gotosocial.confd ${PN} - systemd_dounit "${FILESDIR}"/gotosocial.service - newtmpfiles "${FILESDIR}"/gotosocial.tmpfiles ${PN}.conf - - insinto /usr/share/gotosocial - doins -r web - - insinto /etc/gotosocial - doins example/config.yaml -} - -pkg_postinst() { - tmpfiles_process ${PN}.conf -} diff --git a/www-apps/gotosocial/gotosocial-0.9.0.ebuild b/www-apps/gotosocial/gotosocial-0.9.0.ebuild deleted file mode 100644 index 902fcc9add..0000000000 --- a/www-apps/gotosocial/gotosocial-0.9.0.ebuild +++ /dev/null @@ -1,91 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module systemd tmpfiles - -DESCRIPTION="Fast, fun, ActivityPub server, powered by Go" -HOMEPAGE=" - https://gotosocial.org/ - https://github.com/superseriousbusiness/gotosocial -" -GH_RELEASE="https://github.com/superseriousbusiness/${PN}/releases/download/v${PV}" -SRC_URI=" - ${GH_RELEASE}/${P}-source-code.tar.gz - ${GH_RELEASE}/${PN}_${PV}_web-assets.tar.gz -" -S="${WORKDIR}" - -LICENSE="|| ( WTFPL-2 CC0-1.0 ) AGPL-3 Apache-2.0 BSD BSD-2 CC0-1.0 GPL-3 MIT MPL-2.0" -SLOT="0" -KEYWORDS="~amd64" - -# Flaky tests -RESTRICT="test" - -RDEPEND="acct-user/gotosocial" - -DOCS=( archive {CONTRIBUTING,README,ROADMAP}.md ) - -src_unpack() { - # source code - unpack ${P}-source-code.tar.gz - rm -r web || die - - # prebuilt web assets - unpack ${PN}_${PV}_web-assets.tar.gz -} - -src_prepare() { - default - - sed -i example/config.yaml \ - -e "s|./web/template/|${EPREFIX}/usr/share/gotosocial/web/template/|g" \ - -e "s|./web/assets/|${EPREFIX}/usr/share/gotosocial/web/assets/|g" \ - -e "s|/gotosocial/storage|${EPREFIX}/var/lib/gotosocial/storage|g" \ - || die -} - -src_configure() { - GOFLAGS+=" -tags=netgo,osusergo,static_build,kvformat" -} - -src_compile() { - local myargs=( - -trimpath - -ldflags "-X main.Version=${PV}" - ) - - ego build "${myargs[@]}" ./cmd/gotosocial -} - -src_test() { - local -x GTS_DB_TYPE="sqlite" - local -x GTS_DB_ADDRESS=":memory:" - - local -x GOFLAGS - GOFLAGS="${GOFLAGS//-v/}" - GOFLAGS="${GOFLAGS//-x/}" - - ego test -vet off ./... -} - -src_install() { - dobin gotosocial - - newinitd "${FILESDIR}"/gotosocial.initd ${PN} - newconfd "${FILESDIR}"/gotosocial.confd ${PN} - systemd_dounit "${FILESDIR}"/gotosocial.service - newtmpfiles "${FILESDIR}"/gotosocial.tmpfiles ${PN}.conf - - insinto /usr/share/gotosocial - doins -r web - - insinto /etc/gotosocial - doins example/config.yaml -} - -pkg_postinst() { - tmpfiles_process ${PN}.conf -} diff --git a/www-apps/gotosocial/metadata.xml b/www-apps/gotosocial/metadata.xml deleted file mode 100644 index ced5ba1d3c..0000000000 --- a/www-apps/gotosocial/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - https://docs.gotosocial.org/ - superseriousbusiness/gotosocial - - From 36f82ea04b00ae334ffb85ea9c90c583fdf01ca9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Skyler=20M=C3=A4ntysaari?= Date: Wed, 12 Mar 2025 11:24:22 +0200 Subject: [PATCH 17/25] www-apps/honk: treeclean MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Skyler Mäntysaari --- www-apps/honk/Manifest | 2 -- www-apps/honk/files/honk | 56 -------------------------------- www-apps/honk/files/honk.service | 20 ------------ www-apps/honk/honk-0.9.8.ebuild | 47 --------------------------- www-apps/honk/honk-0.9.91.ebuild | 47 --------------------------- www-apps/honk/metadata.xml | 12 ------- 6 files changed, 184 deletions(-) delete mode 100644 www-apps/honk/Manifest delete mode 100644 www-apps/honk/files/honk delete mode 100644 www-apps/honk/files/honk.service delete mode 100644 www-apps/honk/honk-0.9.8.ebuild delete mode 100644 www-apps/honk/honk-0.9.91.ebuild delete mode 100644 www-apps/honk/metadata.xml diff --git a/www-apps/honk/Manifest b/www-apps/honk/Manifest deleted file mode 100644 index ead2a3f834..0000000000 --- a/www-apps/honk/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST honk-0.9.8.tgz 511957 BLAKE2B c07e4141be790d58170da6eb759486889b6c74d70b946e89b1598b2c1868175df1cb9f41649a34067f2ca6f3bddc77d4cc22a241761460b2487bf866b7d40650 SHA512 f32be393698eb3b3ae72d223814eee2a15af3e892ab4b9140314da3ce96d4b4582a8b73c3fa5adede34a4d9d9b2cfc8d7dbb933d516eba8e3820d125c217a354 -DIST honk-0.9.91.tgz 516396 BLAKE2B 416ffa5920115b57b69450e07ea6fc5fe68707900d2c6607ce6a99043e32735f7d73624671d1dcee5c9a2962a7242a008ad248156385439d94ed4ca8f55e3328 SHA512 bad8a328d666943d6007f1fe856dc9bfdc6b625d50cebce551c27aeb03de159e106d63d73d567026116b8bd92ec906f1774bad5c7f175726f338c6c1537eb071 diff --git a/www-apps/honk/files/honk b/www-apps/honk/files/honk deleted file mode 100644 index c542d10674..0000000000 --- a/www-apps/honk/files/honk +++ /dev/null @@ -1,56 +0,0 @@ -#!/sbin/openrc-run -# shellcheck shell=sh -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -extra_stopped_commands="init" -extra_started_commands="upgrade" -description_init="Create the database" -description_upgrade="Upgrade the server" - -name="Honk ActivityPub server" -command="/usr/bin/honk" -command_args="-datadir /var/lib/honk -viewdir /usr/share/honk -log /var/log/honk.log" -command_user="honk:honk" -command_background=yes -pidfile="/run/honk.pid" - -depend() { - need net -} - -fix_log_perms() { - checkpath -fo honk:honk /var/log/honk.log -} - -check_db() { - if [ ! -f /var/lib/honk/honk.db ]; then - eerror "Please run 'rc-service honk init' before the first start" - return 1 - fi - - return 0 -} - -start_pre() { - fix_log_perms || return 1 - check_db || return 1 - - start-stop-daemon --exec "${command}" --user "${command_user}" \ - -- ${command_args} cleanup -} - -init() { - fix_log_perms || return 1 - - start-stop-daemon --exec "${command}" --user "${command_user}" \ - -- ${command_args} init -} - -upgrade() { - fix_log_perms || return 1 - check_db || return 1 - - start-stop-daemon --exec "${command}" --user "${command_user}" \ - -- ${command_args} upgrade -} diff --git a/www-apps/honk/files/honk.service b/www-apps/honk/files/honk.service deleted file mode 100644 index 897d8f3b47..0000000000 --- a/www-apps/honk/files/honk.service +++ /dev/null @@ -1,20 +0,0 @@ -[Unit] -Description="Honk ActivityPub server" -After=syslog.target network.target -Requires=network.target - -[Service] -Restart=always -RestartSec=30 -ExecStart=/usr/bin/honk -datadir /var/lib/honk -viewdir /usr/share/honk -NoNewPrivileges=yes -ProtectKernelLogs=true -ProtectKernelModules=true -ProtectKernelTunables=true -ProtectControlGroups=true -ReadWritePaths=/var/lib/honk -User=honk -Group=honk - -[Install] -WantedBy=default.target diff --git a/www-apps/honk/honk-0.9.8.ebuild b/www-apps/honk/honk-0.9.8.ebuild deleted file mode 100644 index db8476cdef..0000000000 --- a/www-apps/honk/honk-0.9.8.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module systemd - -DESCRIPTION="ActivityPub server with minimal setup and support costs" -HOMEPAGE="https://humungus.tedunangst.com/r/honk" -SRC_URI="https://humungus.tedunangst.com/r/${PN}/d/${P}.tgz" - -LICENSE="BSD BSD-2 ISC MIT" -SLOT="0" -KEYWORDS="~amd64" - -DEPEND="dev-db/sqlite:3" -RDEPEND=" - ${DEPEND} - acct-user/honk -" - -DOCS=( README docs/{changelog,ping}.txt docs/{intro.1,vim.3} ) - -src_install() { - dobin honk - doman docs/activitypub.7 docs/hfcs.1 docs/honk.{1,3,5,8} - einstalldocs - - doinitd "${FILESDIR}"/honk - systemd_dounit "${FILESDIR}"/honk.service - - insinto /usr/share/honk - doins -r views - - diropts --owner honk --group honk - keepdir /var/lib/honk -} - -pkg_postinst() { - if [[ -z ${REPLACING_VERSIONS} ]]; then - einfo "To finish the installation, please run:" - einfo " # rc-service honk init" - else - einfo "To finish the upgrade, please run:" - einfo " # rc-service honk upgrade" - fi -} diff --git a/www-apps/honk/honk-0.9.91.ebuild b/www-apps/honk/honk-0.9.91.ebuild deleted file mode 100644 index 17d162dc4d..0000000000 --- a/www-apps/honk/honk-0.9.91.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit go-module systemd - -DESCRIPTION="ActivityPub server with minimal setup and support costs" -HOMEPAGE="https://humungus.tedunangst.com/r/honk" -SRC_URI="https://humungus.tedunangst.com/r/${PN}/d/${P}.tgz" - -LICENSE="BSD BSD-2 ISC MIT" -SLOT="0" -KEYWORDS="~amd64" - -DEPEND="dev-db/sqlite:3" -RDEPEND=" - ${DEPEND} - acct-user/honk -" - -DOCS=( README docs/{changelog,ping}.txt docs/{intro.1,vim.3} ) - -src_install() { - dobin honk - doman docs/activitypub.7 docs/hfcs.1 docs/honk.{1,3,5,8} - einstalldocs - - doinitd "${FILESDIR}"/honk - systemd_dounit "${FILESDIR}"/honk.service - - insinto /usr/share/honk - doins -r views - - diropts --owner honk --group honk - keepdir /var/lib/honk -} - -pkg_postinst() { - if [[ -z ${REPLACING_VERSIONS} ]]; then - einfo "To finish the installation, please run:" - einfo " # rc-service honk init" - else - einfo "To finish the upgrade, please run:" - einfo " # rc-service honk upgrade" - fi -} diff --git a/www-apps/honk/metadata.xml b/www-apps/honk/metadata.xml deleted file mode 100644 index b20b97e8e3..0000000000 --- a/www-apps/honk/metadata.xml +++ /dev/null @@ -1,12 +0,0 @@ - - - - - - https://humungus.tedunangst.com/r/honk/m - - Ted Unangst - tedu@tedunangst.com - - - From f9b1b38b12cd8a53e7ebde24757c5138fa704e41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Skyler=20M=C3=A4ntysaari?= Date: Wed, 12 Mar 2025 11:24:41 +0200 Subject: [PATCH 18/25] www-apps/castopod: treeclean MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Skyler Mäntysaari --- www-apps/castopod/Manifest | 2 -- www-apps/castopod/castopod-1.4.3.ebuild | 40 ------------------------- www-apps/castopod/castopod-1.4.5.ebuild | 40 ------------------------- www-apps/castopod/metadata.xml | 5 ---- 4 files changed, 87 deletions(-) delete mode 100644 www-apps/castopod/Manifest delete mode 100644 www-apps/castopod/castopod-1.4.3.ebuild delete mode 100644 www-apps/castopod/castopod-1.4.5.ebuild delete mode 100644 www-apps/castopod/metadata.xml diff --git a/www-apps/castopod/Manifest b/www-apps/castopod/Manifest deleted file mode 100644 index 258fdce6b9..0000000000 --- a/www-apps/castopod/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST castopod-1.4.3.tar.gz 52273984 BLAKE2B 2bd30d98b05172f851573b71c8503900805db20028554a67d11a0b8f8f9415421aaf018f7c872bac9c04d939197025432b1b06ff827d53705101138da6c6773e SHA512 f30feb71001d29dd14a96e51a06999356d7691f44da0eb0c96a28a14f4113d966e86ad1fde7583b5f2400bb764a2bc961c59b6b2ca233f15cb17edc805ea91e9 -DIST castopod-1.4.5.tar.gz 51626589 BLAKE2B 3340a77a109cf6c9665342af2bbc67b70520d8261d3adcd816d1335a545d96441a19dd83a68b58ee3ef0e58d1c7915475a70fbc72094f1aa94f7d7104835c00e SHA512 58c4f0da2b93f6e0b68cf93686fb280af9292c5c3e72d5672ebfd70b14ac545fb9d6be9266a74c08b12b0f0ccdacff42e6b96f163df925e1020373af9966e5db diff --git a/www-apps/castopod/castopod-1.4.3.ebuild b/www-apps/castopod/castopod-1.4.3.ebuild deleted file mode 100644 index 8505a433db..0000000000 --- a/www-apps/castopod/castopod-1.4.3.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit optfeature webapp - -UPLOAD_HASH="192f3a3fb2abba24fee6990c46ff0e2b" -DESCRIPTION="Open-source hosting platform made for podcasters" -HOMEPAGE=" - https://castopod.org - https://code.castopod.org/adaures/castopod -" -SRC_URI="https://code.castopod.org/adaures/${PN}/uploads/${UPLOAD_HASH}/${P}.tar.gz" -S="${WORKDIR}/${PN}" - -LICENSE="AGPL-3+ Apache-2.0 BSD-2 BSD GPL-1+ GPL-2 GPL-2+ GPL-3 LGPL-3 MIT MPL-2.0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-lang/php-8.1[curl,exif,gd,intl,mysqli,unicode,webp,xml] - virtual/httpd-php -" - -src_install() { - webapp_src_preinst - - insinto "${MY_HTDOCSDIR}" - doins -r . - - webapp_serverowned -R "${MY_HTDOCSDIR}"/writable - webapp_src_install -} - -pkg_postinst() { - webapp_pkg_postinst - - optfeature "better cache perfomance" dev-db/redis - optfeature "video clips support" media-video/ffmpeg -} diff --git a/www-apps/castopod/castopod-1.4.5.ebuild b/www-apps/castopod/castopod-1.4.5.ebuild deleted file mode 100644 index da3aac29f1..0000000000 --- a/www-apps/castopod/castopod-1.4.5.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit optfeature webapp - -UPLOAD_HASH="50c9b05f5267aa48c562539182d9ffd1" -DESCRIPTION="Open-source hosting platform made for podcasters" -HOMEPAGE=" - https://castopod.org - https://code.castopod.org/adaures/castopod -" -SRC_URI="https://code.castopod.org/adaures/${PN}/uploads/${UPLOAD_HASH}/${P}.tar.gz" -S="${WORKDIR}/${PN}" - -LICENSE="AGPL-3+ Apache-2.0 BSD-2 BSD GPL-1+ GPL-2 GPL-2+ GPL-3 LGPL-3 MIT MPL-2.0" -KEYWORDS="~amd64" - -RDEPEND=" - >=dev-lang/php-8.1[curl,exif,gd,intl,mysqli,unicode,webp,xml] - virtual/httpd-php -" - -src_install() { - webapp_src_preinst - - insinto "${MY_HTDOCSDIR}" - doins -r . - - webapp_serverowned -R "${MY_HTDOCSDIR}"/writable - webapp_src_install -} - -pkg_postinst() { - webapp_pkg_postinst - - optfeature "better cache perfomance" dev-db/redis - optfeature "video clips support" media-video/ffmpeg -} diff --git a/www-apps/castopod/metadata.xml b/www-apps/castopod/metadata.xml deleted file mode 100644 index 115e9d64a6..0000000000 --- a/www-apps/castopod/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ - - - - - From 3d76cf35fc3fafe67bc5ce805fc3899e6387c6c9 Mon Sep 17 00:00:00 2001 From: David Roman Date: Wed, 12 Mar 2025 10:41:49 +0100 Subject: [PATCH 19/25] profiles: treeclean www-apps/{gotosocial,honk,castopod} www-apps/castopod removed in f9b1b38b12cd8a53e7ebde24757c5138fa704e41 www-apps/honk removed in 36f82ea04b00ae334ffb85ea9c90c583fdf01ca9 www-apps/gotosocial removed in ea80e629731b4608439433721a806f6092822dc4 Signed-off-by: David Roman --- profiles/package.mask | 8 -------- 1 file changed, 8 deletions(-) diff --git a/profiles/package.mask b/profiles/package.mask index 8e18e43cc3..7c94785e1c 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -128,14 +128,6 @@ dev-python/pymemcache # Removal on 2025-03-24 app-misc/brightness-control -# Skyler Mäntysaari (2025-02-11) -# No maintainer -# Bugs: 945712, 928370 -# Removal on 2025-03-11 -www-apps/gotosocial -www-apps/castopod -www-apps/honk - # Julien Roy (2024-03-21) # sys-libs/libucontext is masked in ::gentoo sys-libs/gcompat From fd8376453a88c797fd996c25bf93496dbd42d628 Mon Sep 17 00:00:00 2001 From: David Roman Date: Wed, 12 Mar 2025 14:58:59 +0100 Subject: [PATCH 20/25] profiles: mask www-misc/gorss for removal Signed-off-by: David Roman --- profiles/package.mask | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/profiles/package.mask b/profiles/package.mask index 7c94785e1c..c35aa3f988 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -18,6 +18,11 @@ # New entries go on top. +# David Roman (2025-03-12) +# Uses deprecated EGO_SUM. Last release in 2023. +# Removal on 2025-05-12 +www-misc/gorss + # Eric Joldasov (2025-03-05) # Unbuildable now. Required Zig version diverged a lot, now seems like # it requires so called "Mach-nominated" version (somewhere between From c128ce63fac85d7b8b332df86c053d07c806a81f Mon Sep 17 00:00:00 2001 From: David Roman Date: Wed, 12 Mar 2025 15:03:10 +0100 Subject: [PATCH 21/25] sys-fs/jefferson: enable py3.13 Signed-off-by: David Roman --- sys-fs/jefferson/jefferson-0.4.6.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-fs/jefferson/jefferson-0.4.6.ebuild b/sys-fs/jefferson/jefferson-0.4.6.ebuild index c27af60780..3244a104e8 100644 --- a/sys-fs/jefferson/jefferson-0.4.6.ebuild +++ b/sys-fs/jefferson/jefferson-0.4.6.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{11..12} ) +PYTHON_COMPAT=( python3_{11..13} ) DISTUTILS_USE_PEP517=poetry inherit distutils-r1 From f7cab7b228e67e3af22b3ea839693a4f29c817c0 Mon Sep 17 00:00:00 2001 From: David Roman Date: Wed, 12 Mar 2025 15:03:33 +0100 Subject: [PATCH 22/25] sys-fs/jefferson: drop 0.4.5 Signed-off-by: David Roman --- sys-fs/jefferson/Manifest | 1 - sys-fs/jefferson/jefferson-0.4.5.ebuild | 25 ------------------------- 2 files changed, 26 deletions(-) delete mode 100644 sys-fs/jefferson/jefferson-0.4.5.ebuild diff --git a/sys-fs/jefferson/Manifest b/sys-fs/jefferson/Manifest index a888f6e243..837bb1d5df 100644 --- a/sys-fs/jefferson/Manifest +++ b/sys-fs/jefferson/Manifest @@ -1,2 +1 @@ -DIST jefferson-0.4.5.gh.tar.gz 9439 BLAKE2B cf40fa975bd4441f311bbb933ec9386565018d0e3a8b1ab8a79dee5542f683d437c01caff11933a78733f3feb631fb7086639f1d5dd864bf2e158837dfc6a0c4 SHA512 d4b44138bd36b94f43e4e09e3ab7a0b24044c93c69953b32aadaf544d297eb6e91b951b94754806bbef59f2357e6c8e6d01fda13bc78013341d852c5b8ed0422 DIST jefferson-0.4.6.gh.tar.gz 9922 BLAKE2B ca366ba1fdc99c3c6db0ec90701020d5948040d1897a6ae3a8e27de5bf4d4ab7821bbbb6c27bcf3a5d475fe972b3ef320a67a745255836bc96e6bb9ab03c71df SHA512 6082e2b7502cfd0a9395c303dc8339213151ef1b11db3e458c390299fc2d8b655fbeb4f9660504fa558927547376c87585f56bb147f80fd847474a123dde7e9c diff --git a/sys-fs/jefferson/jefferson-0.4.5.ebuild b/sys-fs/jefferson/jefferson-0.4.5.ebuild deleted file mode 100644 index 49b7b258f2..0000000000 --- a/sys-fs/jefferson/jefferson-0.4.5.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{11..12} ) -DISTUTILS_USE_PEP517=poetry - -inherit distutils-r1 - -DESCRIPTION=" JFFS2 filesystem extraction tool " -HOMEPAGE="https://github.com/onekey-sec/jefferson" -SRC_URI="https://github.com/onekey-sec/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND=" - dev-python/cstruct[${PYTHON_USEDEP}] - dev-python/click[${PYTHON_USEDEP}] - dev-python/python-lzo[${PYTHON_USEDEP}] -" - -PATCHES=( "${FILESDIR}/${PN}-use-python-lzo.patch" ) From b927a2030de48b3aea574573f8633f18626d64e5 Mon Sep 17 00:00:00 2001 From: David Roman Date: Wed, 12 Mar 2025 15:08:20 +0100 Subject: [PATCH 23/25] profiles: mask sys-apps/sampler{,-bin} for removal Signed-off-by: David Roman --- profiles/package.mask | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/profiles/package.mask b/profiles/package.mask index c35aa3f988..023ce6f95b 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -18,6 +18,14 @@ # New entries go on top. +# David Roman (2025-03-12) +# Uses deprecated EGO_SUM. Last release in 2019. +# Unmaintained upstream + security vulnerabilities: +# - https://github.com/sqshq/sampler/issues/128 +# Removal on 2025-04-12 +sys-apps/sampler +sys-apps/sampler-bin + # David Roman (2025-03-12) # Uses deprecated EGO_SUM. Last release in 2023. # Removal on 2025-05-12 From e09929972b794a6b694582afa26547c7bc5212c1 Mon Sep 17 00:00:00 2001 From: David Roman Date: Wed, 12 Mar 2025 15:16:56 +0100 Subject: [PATCH 24/25] profiles: mask games-strategy/swine for removal Signed-off-by: David Roman --- profiles/package.mask | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/profiles/package.mask b/profiles/package.mask index 023ce6f95b..a69db5ed16 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -18,6 +18,11 @@ # New entries go on top. +# David Roman (2025-03-12) +# It's just a Windows .exe with a wine wrapper +# Removal on 2025-04-12 +games-strategy/swine + # David Roman (2025-03-12) # Uses deprecated EGO_SUM. Last release in 2019. # Unmaintained upstream + security vulnerabilities: From a0169003975e316ca09206232dfc90a0fc92626c Mon Sep 17 00:00:00 2001 From: David Roman Date: Wed, 12 Mar 2025 15:20:52 +0100 Subject: [PATCH 25/25] profiles: mask games-strategy/ground-control and games-rpg/sacred-demo Mask for removal due to same reasons: - being only a wine wrapper of a Windows exe - HOMEPAGE is only a wikipedia page - Upstream is dead - Maintainance downstream is unfeasible Signed-off-by: David Roman --- profiles/package.mask | 3 +++ 1 file changed, 3 insertions(+) diff --git a/profiles/package.mask b/profiles/package.mask index a69db5ed16..4916c28a30 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -20,8 +20,11 @@ # David Roman (2025-03-12) # It's just a Windows .exe with a wine wrapper +# HOMEPAGE just points to a Wikipedia article # Removal on 2025-04-12 games-strategy/swine +games-strategy/ground-control +games-rpg/sacred-demo # David Roman (2025-03-12) # Uses deprecated EGO_SUM. Last release in 2019.