Sync with portage [Fri Feb 14 10:40:06 MSK 2025].

This commit is contained in:
root 2025-02-14 10:40:07 +03:00
parent e7a6a4db40
commit cad825a875
7214 changed files with 118981 additions and 126326 deletions

View file

@ -1,23 +1,23 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
MANIFEST Manifest.files.gz 30162 BLAKE2B 75505553b68c340c311b6ee63e9a509c1c42b19cef9d6f6b5bb920d1cfbe5afed2613ac97711d0c6d6d55f85103b408844354f99a09e3c6b1c33022400291eaf SHA512 8569a2df8d48ab50a524ebd57f7fd197a8affb6a3f9e743673e88c7aa2319b07a95541cacf0453abc2f34979016e6d72d7bf39d0cb98b83dd506b5861279d2b1
TIMESTAMP 2025-02-07T23:40:35Z
MANIFEST Manifest.files.gz 30112 BLAKE2B 96bebbecfbbc29ea536078a6a2f1308aed22a4129ab13d06dd044d2e64455c99dd65907ce6512e5eded644dee98c7244b7f520423c9270876a096a0cc66538d1 SHA512 4d3378b9c95bf12c7c191807e28c809559f7d8d29fe862ef485eccca1c490f9d0d34eaa008d8726227adfd06a9a76872bafbfcb0ff4c2d2e55fb55edd932bbd7
TIMESTAMP 2025-02-14T07:10:12Z
-----BEGIN PGP SIGNATURE-----
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmemmfNfFIAAAAAALgAo
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmeu7FRfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
klDJVg//fw3rPU15OIT5Y4ln+8SDMdQmH5FBldL8l+dNvsxD20SaZNgeYJZCNGWT
7GRly8PWpANzh1hD14hdot/LmWcjgHfQ66goO3BnmBMYteaO0nJfb4VOSV7E7a3Q
JwN/xTom1bWD2NKqAL4XAEyZC9HoPqc3Ka8fs23c74dRdiz63HCqPJCJG9BVVSX3
uqn8xBL5qoe1oNFJazZGIXxUXXiE8sQDUiLkANLkcDeT8N5HR9jBUWft0ommdwOx
GMSMuI1ZWCNJ0HBCGTZfVHnzjbggmDxbnDYBZOM5iCTRBck/Hf/1IaYHo0LgIhUE
9jaw6kpbN27TQVKSmUCdIE9EoSNBcxDuWUWHE9g+GOTSfy2NwEj8ig8TWD9v2ViX
dGkA2SifEylvnTdJ9FNKq9Ccn0LIoggGsP+8634c5II8Bw1RrrIPY2v83q5HENq3
gSxdY/9p9JDZV2H6GAV79q53XwKw2tiWYFeF5oB8LGnp1UMFM7fkKhJ7TAWHoLUm
mf364AqIMN96QDpJZHxnmStOvU83jWcv0jdwJv3lEJ+w0CFmZfpqUn9tMpAERty1
tKAszMkKudEGntPDNLjow6t/p4hZYQw0DKQ8KNSQB9978V5iYlUUpdIhIR4c9ez4
jT84Jofx0WM87q/kkhCo4iAznZPi5VThiYXoV5ZUDA7u+2Lj9RM=
=vew+
klBSNw/+JZGq4myziYf60zyObfFA/QOZYyw3vO3d3TGNce6UlJlWnDcUZV1vI/8N
BaVvYNSW7gLTztzuYShxm2fiqbun7z83ZuTicOmUxL0QZ3jxaW+P6yfJtMxtrZPS
kcG6kafRZS9rZ/TwfEjrSOJyDYKG/mS5+t84Ipl3TXhENiVJftWo2tnHVgvSin0O
+9DDYzyhjhPEGOrqVZ54dRiNLAF14xfA7siEyJgRas+qVSciNzJBxpMHQThn2YOB
xzZeKEUnUdEg2mb+Xn4wceGA4t42EThfoW6n6MsM+C5TZFIfOG/C/AEG3y8jlZnK
xv5D2SmQsghq4TSm0G0fS9EZQMhR4ba067xGdle19Ah8TeuOjNetwaLtGIs74RxA
hyC5IrJyccc4jwOlgSxC+Ua3EJSU60Sxd+Ho7yHZQeoaa1K7FWafEOhn7hcCqbyQ
j13pa5N9mp+/5ww921J/uvHwXGCJNktghgkNYi/rpDU81Y1uTuGbGnopjuo6D43g
XHfRaVhXBhqppl4852Af76B4XqCJDKqGeib7EHyH8IHTxP+jWUpe4kLs7XteIbwS
Nm06KfPF/oQk/jDE3Fa/+SGxGGo7JVR0sLhvWOqOzzVshm8C1JzxCjQBkicZdI3V
k/xi/2b+QW1wgibbSYhVfkNg37K09ijCJmD2bIjTYLDoySKLlO8=
=bblx
-----END PGP SIGNATURE-----

Binary file not shown.

Binary file not shown.

View file

@ -1,4 +1,6 @@
AUX emacspeak-ss-1.9.1-missing-includes.patch 388 BLAKE2B de8349b6ed90aa11d6472b0de1fdbba93f702c5012956262356c2ca0a62c7a79f01fbc5d8d054b0abe3fa2428126eb7d012a5708e3114bda166e01c3cc5e3af4 SHA512 45d0b7f1b0338a1c1598668b77af0b2e13bea25294cbaa3def6a7d833c82c40eae76eb866b8b6ac2b236ad224f39bc6d486623993bdef7ad4d87010d7f7231e9
AUX gentoo-apollo-fix.patch 633 BLAKE2B 79b528111af975c2b1c226d4df21f4982705546e025c0a85b7f720c0d15bf2592d9b12ddbee8238ec0ab891cc8096b57570f19826b03139f5c5f35bbf0238c45 SHA512 08c0ec7e0755efefbbecfc7efd376102b9333e4b2589bf9b97649481e0bf16d6b32caf917b229de15938d73beeae4d882fbe9d8bef7038f039b8924eba1af592
DIST emacspeak-ss-1.9.1.tar.gz 49077 BLAKE2B 601e46d1d9160dfed6c90523dbf6bdd8ba8254de4246ba33c34d8afef842624c0c57886655e2ebf70dbc9a768e5eebdaccfd75fe11316742a0f3b506dce3aef0 SHA512 a95505a1eaa0b45732d6d8e7322fb75bebc59b876233ae07c5912f1582f0be29d3258dfd5659993ce4b03f72eb316469de95688dcefb7ec61b4ef328f2f50335
EBUILD emacspeak-ss-1.9.1-r1.ebuild 670 BLAKE2B a5d1d163f215112e87242f8a60c29941b936fbd809777e61fecf7d54ec975bbd433b52c85a373f742af6c55d9859f48f6b65f10feef9af4a93af9e56012c23ed SHA512 1bfac679d435d6b75946fdbc727529fdd05f28395081ef5baf8a2a1a4650674fa2d9c9ad3eb14a2940996427836ae000de71d68b5320a80e2b226c36f2dbca2a
EBUILD emacspeak-ss-1.9.1-r2.ebuild 718 BLAKE2B 34672931f2f7ddec5f01ab543f0ef239d03391809e49367e5d42cdd893466376259cfef640107041bb8c4579f39ef73b1100c3ec2b9b8fb0dcfcf4061c9f7964 SHA512 04227eeb1e503b660cc229f0e1a619be84fdc37b7f629f6e28df7c4e1d7bc83d801df21189524b6aadc780cb5f58a855f59cc9bdcfdea99631f6502105ee7037
MISC metadata.xml 936 BLAKE2B d308185cc63e3d09003c83e3ed8845e8d9249ae1d90a3270c15040c0477194cce09d1e2ab3160b9517c3e04f9ff72c0c4218a668e1e1286d9f3221a96d66fac1 SHA512 f945f30015946029f7161c4f10e09e5395f00d48f80134af7212577869411929be7f094b8b09cfa9dccc6eccbf6993419eb72316a7418dee9d59f11a0e21f557

View file

@ -0,0 +1,34 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="Adds support for several speech synthesizers to emacspeak"
HOMEPAGE="http://leb.net/blinux/"
SRC_URI="http://leb.net/pub/blinux/emacspeak/blinux/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
RDEPEND=">=app-accessibility/emacspeak-18"
PATCHES=(
"${FILESDIR}"/gentoo-apollo-fix.patch
"${FILESDIR}"/"${P}"-missing-includes.patch
)
src_prepare() {
default
tc-export CC
}
src_install() {
emake \
prefix="${ED}"/usr \
man1dir="${ED}"/usr/share/man/man1 \
install
dodoc CREDITS ChangeLog OtherSynthesizers TODO TROUBLESHOOTING README*
}

View file

@ -0,0 +1,13 @@
Add missing includes for implicitly declared functions
https://bugs.gentoo.org/875479
--- a/ping-apollo.c 2025-02-14 00:18:28.905559670 +0400
+++ b/ping-apollo.c 2025-02-14 00:19:59.617012294 +0400
@@ -9,6 +9,8 @@
#include <sys/time.h>
#include <unistd.h>
#include <linux/serial.h>
+#include <stdlib.h>
+#include <string.h>
#define DEFAULT_DEVICE "/dev/ttyS0"
#define MAXCHARS 128

View file

@ -1,7 +1,5 @@
DIST kontrast-24.08.3.tar.xz 216192 BLAKE2B a645d18ad35da68078e811719aef0891274b711f1c6b7e4243fce28c3b3387a3583f441c50a9350525e5dc975ae392f7561de776dbbb7f3020fc2f6f384347fa SHA512 739dbcdaac77642eb3cf1b70fc163802ebf89071c10db5d2fd5ee7ce170a0648146634b5fde1570d760be92c13f7b727ae6d84b66b512ac1d2b94437ab3c1c4e
DIST kontrast-24.12.1.tar.xz 217316 BLAKE2B 6e402cb7f7061f14dc07670213ec1c166c8050b04af499b28ae7567f5a2ce606dff750ac31869c1b864cf9b39d997c94d455045b782518fb2ed5454c63d3e4d8 SHA512 88221c514c28c4055e7c7bd6edf230dfffae8f43a624417dccb7ad62a03db861cb2c310085071963b883b55c5f3bb23085d477fbb6aa152604b2e9453fa36a62
DIST kontrast-24.12.2.tar.xz 217324 BLAKE2B 4ec9743ab06931867606d88731e1781a5a6ae4f8be0ea121c36f07a399dad18b7e2924dce6afa9e15499672049de294c000eec90e0feafd8a7b150f50be3ae63 SHA512 56cc0bacc57936156347d61235e35032715b3425fb2170265077b1370e78ed88c6d378e1370db4760f41b65e6c8f0a96174f988254f36434cb159e6d20c74a3e
EBUILD kontrast-24.08.3.ebuild 722 BLAKE2B 99252bcebb7d642bf05fb9f0087212568f0e6cb4e92c3be6df8e88df7acec50ab02d02873c3573c0ed2b8657c95f5d6de6ae93ccb835da9e3efe10a37ed40081 SHA512 d625eaf5e3b6d5a46577fb318757423ad22f29eede9fd2c5b4603594d8303f74a7b559da39534b3b450aba21baa62ce1ec18e7a06ddb972af1af0053e240d4d0
EBUILD kontrast-24.12.1.ebuild 767 BLAKE2B fa9ba1f2316bd760b37f71a772b6e8a1d105ac53685bd1571d88acd86a5fb544c1f1b0e1e07ddf7f8bcc375852f00cbdb402b6c70476fa3e5c98e24d7575ab0d SHA512 19b066c2482b763356424e7fd562d76baa0af426919d200f048d8978e0ea723a2d1764107744a742c156437b343bb2c2a9657b79d278bb55ec3c79c0aec0ae72
EBUILD kontrast-24.12.2.ebuild 767 BLAKE2B fa9ba1f2316bd760b37f71a772b6e8a1d105ac53685bd1571d88acd86a5fb544c1f1b0e1e07ddf7f8bcc375852f00cbdb402b6c70476fa3e5c98e24d7575ab0d SHA512 19b066c2482b763356424e7fd562d76baa0af426919d200f048d8978e0ea723a2d1764107744a742c156437b343bb2c2a9657b79d278bb55ec3c79c0aec0ae72
MISC metadata.xml 384 BLAKE2B 769505c8a869e842511bb7202a31c4ac5d89dbf378199f669bfe7038d27aa63febbf2eedf8ea767545e1ab99be1718c9d67ff506842e2b624f512a98efcb0de4 SHA512 52a7f09822301efe07ad292d16d6625a22da14febe2236e69dfe7e7088750d2d2095d765a65466d80285d3b87ef8979ed0e75956f3cb9cd52127994b23de3c75

View file

@ -1,32 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
ECM_HANDBOOK="forceoptional"
KFMIN=6.7.0
QTMIN=6.7.2
inherit ecm gear.kde.org
DESCRIPTION="Tool to check contrast for colors to verify they are correctly accessible"
HOMEPAGE="https://apps.kde.org/kontrast/"
LICENSE="GPL-3+"
SLOT="6"
KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86"
IUSE=""
DEPEND="
dev-db/futuresql
dev-libs/qcoro
>=dev-qt/qtbase-${QTMIN}:6[dbus,gui,sql,widgets]
>=dev-qt/qtdeclarative-${QTMIN}:6
>=dev-qt/qtsvg-${QTMIN}:6
>=kde-frameworks/kcoreaddons-${KFMIN}:6
>=kde-frameworks/kcrash-${KFMIN}:6
>=kde-frameworks/ki18n-${KFMIN}:6
>=kde-frameworks/kirigami-${KFMIN}:6
"
RDEPEND="${DEPEND}
kde-plasma/xdg-desktop-portal-kde:*
"

View file

@ -1,4 +1,6 @@
AUX sphinx2-0.6-as-needed.patch 776 BLAKE2B 831ae9cc8e1ed018eecb03f29c6dbe349b09d2ecaa6cdcd879613d372f437629d8e352b140c934a9f42c0192f34d29ebb81a2d74eb9b61948f926d510c9410f0 SHA512 2e4e48041e7eb79acd84a384943ebfbb0be17faab404b7d05b09d95ee5313730e6bd3026443ebe01bb79edb0c3bbcee3ec0b207978a1f0a30df4e0af54c11187
AUX sphinx2-0.6-c99.patch 15430 BLAKE2B 9351b580babd2fc6e27468e46c5b0803cd9f72a7b2346db0c2bfd6fe10f7a4c685adaf529fa1927dda7fc3a26959521a1726fba47057748cbca3d427602fa0de SHA512 240e9191ed4faedb780549f061df5b0439bce59c0968c22b950c1ef1773e146a0ab0fd238078c6dcd9789847ffb7aa224a78d31277399ff365fdd03903deb183
DIST sphinx2-0.6.tar.gz 6883359 BLAKE2B 7e5da2f05d2ff92fd2c21a64c76954ff00104adcb81548ccfc19da4fc4995c59a494461f4343ae3b6799526d3f3f3a3c0051a6030af4cc9873d5cd5258fe30a6 SHA512 98e66cedf8a147aee7871df85ee45f58ab76637d26163cbb30ee9554638b503f52c9b14f4f3b64bbb49bb84282e399451a0f9a8622b6e7e545889773d72ba5d4
EBUILD sphinx2-0.6-r1.ebuild 753 BLAKE2B cd8502f483c63464c424fbef7cf0ca3573dbb3965e61e0cc71e3cc3dc23c900ef5a9b4b626a4ff909464e4f6943639f430bc4f37eca1003165c46e5d6384e947 SHA512 32f65d2a17b7317c76ccd1d278bc93c4ed590869a05d7f916c285a3834e1173309db7cd5b2cc697c1e2ffa9e13daea903936921fb22f8ff79d55bcbde90ee925
EBUILD sphinx2-0.6-r2.ebuild 784 BLAKE2B 8d6ef2531f3449be07e28fa88e73d7659cc98da9249322e9c09b1fad3ad8299ff4ec17f020d57e705d2dcfad1ee31e13cde8412405f3cb05c1831f0d4752bf51 SHA512 f040348dfcd5d53ccedf90a3e50cba39c6ff0189cb098de980f01984149cafb88d6b3124835038468bf320116b37cc8f5f9cd3d1a648afa2e6a2bc49dccda79b
MISC metadata.xml 463 BLAKE2B 609aa2916fccaea3a342fdd48ccb1f98b263100501a9b6be3202118f0f2b08e171588d0f943be6b4debc1673e5b2014c0be5aa6f1bc7537b8b53518700679e90 SHA512 f7e5925996715ddc26a8918c2bf1e48f125162f8a7ce606525e7b5e25e19cb12ecfbe9f9554129bfea5f55fa7bb67e7d5a56d0087f7e3d86a37dde532c76ab9b

View file

@ -0,0 +1,500 @@
bug https://bugs.gentoo.org/943765
bug https://bugs.gentoo.org/919360
bug https://bugs.gentoo.org/880537
Port to C23 (and, accidentally, to C99) of codebase, plus one mistype in define guard
--- a/configure.in 2024-12-29 18:59:29.315644986 +0400
+++ b/configure.in 2024-12-29 18:59:49.600524367 +0400
@@ -12,6 +12,7 @@
AC_HEADER_STDC
AC_WORDS_BIGENDIAN
AC_TYPE_SIGNAL
+AC_USE_SYSTEM_EXTENSIONS
hmmdata=`ls -1 $srcdir/model/hmm/6k | egrep -v '(Makefile|CVS)'`
hmmdata=`echo $hmmdata`
diff -ur a/src/examples/clicore.c b/src/examples/clicore.c
--- a/src/examples/clicore.c 2024-12-29 17:02:47.003099554 +0400
+++ b/src/examples/clicore.c 2024-12-29 17:16:06.292289840 +0400
@@ -323,7 +323,7 @@
memcpy (&addr.sin_addr, hp->h_addr, hp->h_length);
addr.sin_port = htons((u_short) port);
- if (connect (conn_sd, &addr, sizeof(addr)) == 0)
+ if (connect (conn_sd, (struct sockaddr *)(&addr), sizeof(addr)) == 0)
break;
print_errno ("connect");
cli_close (conn_sd);
diff -ur a/src/examples/srvcore.c b/src/examples/srvcore.c
--- a/src/examples/srvcore.c 2024-12-29 17:02:47.003099554 +0400
+++ b/src/examples/srvcore.c 2024-12-29 17:16:22.164194331 +0400
@@ -381,7 +381,7 @@
ERRLOG((stderr, "%s(%d): Listening at port %d\n", __FILE__, __LINE__, bindport));
- if ((conn_sd = accept (listen_sd, &address, &address_len)) == INVALID_SOCKET) {
+ if ((conn_sd = accept (listen_sd, (struct sockaddr *)(&address), &address_len)) == INVALID_SOCKET) {
print_errno ("conn_accept");
return INVALID_SOCKET;
}
diff -ur a/src/libsphinx2/include/c.h b/src/libsphinx2/include/c.h
--- a/src/libsphinx2/include/c.h 2024-12-29 17:22:38.269931119 +0400
+++ b/src/libsphinx2/include/c.h 2001-12-11 04:24:48.000000000 +0400
@@ -85,7 +85,7 @@
#define CERROR (-1)
#ifndef bool
-typedef enum { false = 0, true = 1 } bool;
+#include <stdbool.h>
#endif /* bool */
#define sizeofS(string) (sizeof(string) - 1)
diff -ur a/src/libsphinx2ad/ad_oss.c b/src/libsphinx2ad/ad_oss.c
--- a/src/libsphinx2ad/ad_oss.c 2024-12-29 17:02:47.002099560 +0400
+++ b/src/libsphinx2ad/ad_oss.c 2024-12-29 17:05:05.392266798 +0400
@@ -230,7 +230,7 @@
}
if ((handle = (ad_rec_t *) calloc (1, sizeof(ad_rec_t))) == NULL) {
- fprintf(stderr, "calloc(%d) failed\n", sizeof(ad_rec_t));
+ fprintf(stderr, "calloc(%ld) failed\n", sizeof(ad_rec_t));
abort();
}
diff -ur a/src/libsphinx2/get_a_word.c b/src/libsphinx2/get_a_word.c
--- a/src/libsphinx2/get_a_word.c 2024-12-29 17:37:40.712568800 +0400
+++ b/src/libsphinx2/get_a_word.c 2024-12-29 17:40:42.677508705 +0400
@@ -46,8 +46,7 @@
#include <ctype.h>
/* default: more_separator = ' ' */
-char *get_a_word (line, word, more_separator)
-char *line, *word, more_separator;
+char *get_a_word (char *line, char* word, char more_separator)
{
register int i;
diff -ur a/src/libsphinx2/resfft.c b/src/libsphinx2/resfft.c
--- a/src/libsphinx2/resfft.c 2024-12-29 17:37:40.712568800 +0400
+++ b/src/libsphinx2/resfft.c 2024-12-29 17:39:14.910020022 +0400
@@ -36,6 +36,9 @@
#include <math.h>
#include <stdlib.h>
+//declaring before defining
+void rsfft (float *x, int n, int m);
+
/************************************************************************
*
* This work was supported in part by funding from the Defense Advanced
diff -ur a/src/libsphinx2/list.c b/src/libsphinx2/list.c
--- a/src/libsphinx2/list.c 2024-12-29 17:43:46.365438572 +0400
+++ b/src/libsphinx2/list.c 2024-12-29 18:04:59.159919708 +0400
@@ -50,7 +50,7 @@
#define ERR_ARG 1
#define ERR_MALLOC 2
-static int32 exception();
+static int32 exception(char *rname, char *s, int32 exc);
/* NEW_LIST
*-----------------------------------------------------------*
diff -ur a/src/libsphinx2/lm_3g.c b/src/libsphinx2/lm_3g.c
--- a/src/libsphinx2/lm_3g.c 2024-12-29 17:43:46.365438572 +0400
+++ b/src/libsphinx2/lm_3g.c 2024-12-29 18:03:34.688423361 +0400
@@ -446,12 +446,7 @@
* returns a pointer to a new language model record. The size is passed in
* as a parameter.
*/
-lm_t *
-NewModel (n_ug, n_bg, n_tg, n_dict)
- int32 n_ug;
- int32 n_bg;
- int32 n_tg;
- int32 n_dict;
+lm_t *NewModel (int32 n_ug, int32 n_bg, int32 n_tg, int32 n_dict)
{
lm_t *model;
@@ -1340,8 +1335,7 @@
* dict base wid; check if present in LM.
* return TRUE if present, FALSE otherwise.
*/
-int32 dictwd_in_lm (wid)
- int32 wid;
+int32 dictwd_in_lm (int32 wid)
{
return (lmp->dictwid_map[wid] >= 0);
}
diff -ur a/src/libsphinx2/pconf.c b/src/libsphinx2/pconf.c
--- a/src/libsphinx2/pconf.c 2024-12-29 17:43:46.365438572 +0400
+++ b/src/libsphinx2/pconf.c 2024-12-29 17:44:17.791255490 +0400
@@ -201,7 +201,6 @@
static char *
env_scan(char const *str)
{
- extern char *getenv();
char buf[1024]; /* buffer for temp use */
register char *p = buf; /* holds place in the buffer */
char var[50]; /* holds the name of the env variable */
diff -ur a/src/libsphinx2/prime.c b/src/libsphinx2/prime.c
--- a/src/libsphinx2/prime.c 2024-12-29 17:43:46.365438572 +0400
+++ b/src/libsphinx2/prime.c 2024-12-29 17:45:06.343972631 +0400
@@ -39,12 +39,11 @@
#include <math.h>
#include <s2types.h>
-int32 primeNext (val)
+int32 primeNext (int32 val)
/*--------------------------------------*
* Decsription
* Return a prime number greater than or equal to val
*/
-int32 val;
{
int32 maxFactor;
int32 i;
diff -ur a/src/libsphinx2/resfft.c b/src/libsphinx2/resfft.c
--- a/src/libsphinx2/resfft.c 2024-12-29 17:43:46.367438560 +0400
+++ b/src/libsphinx2/resfft.c 2024-12-29 18:05:34.888706678 +0400
@@ -68,8 +68,6 @@
float b0, yt, *y;
double e;
- void rsfft();
-
n2 = n;
n4 = n2 / 2;
for (b0 = 0, i = 1; i < n2; i += 2)
diff -ur a/src/libsphinx2/time_align.c b/src/libsphinx2/time_align.c
--- a/src/libsphinx2/time_align.c 2024-12-29 17:43:46.365438572 +0400
+++ b/src/libsphinx2/time_align.c 2024-12-29 18:01:25.144195756 +0400
@@ -2455,7 +2455,7 @@
va_traverse_back_trace(BACK_POINTER_T *bp_table,
int bp_idx,
int *score,
- void (*segment_op)(),
+ void (*segment_op)(int id, int begin, int end, int score, va_list ap),
va_list ap)
{
int prior_end;
@@ -2491,7 +2491,7 @@
traverse_back_trace(BACK_POINTER_T *bp_table,
int bp_idx,
int *score,
- void (*segment_op)(),
+ void (*segment_op)(int id, int begin, int end, int score, va_list ap),
...)
{
int rv;
diff -ur a/src/libsphinx2/util.c b/src/libsphinx2/util.c
--- a/src/libsphinx2/util.c 2024-12-29 17:43:46.365438572 +0400
+++ b/src/libsphinx2/util.c 2024-12-29 17:46:59.345314305 +0400
@@ -41,11 +41,10 @@
#include "s2types.h"
-void swapLong(intp)
+void swapLong(int32 *intp)
/*------------------------------------------------------------*
* Swap the int32 integer at intp
*/
-int32 *intp;
{
*intp = ((*intp << 24) & 0xFF000000) |
((*intp << 8) & 0x00FF0000) |
@@ -53,9 +52,7 @@
((*intp >> 24) & 0x000000FF);
}
-void swapShortBuf (p, cnt)
-int16 *p;
-int32 cnt;
+void swapShortBuf (int16 *p, int32 cnt)
{
while (cnt-- > 0) {
*p = ((*p << 8) & 0x0FF00) |
@@ -64,9 +61,7 @@
}
}
-void swapLongBuf (p, cnt)
-int32 *p;
-int32 cnt;
+void swapLongBuf (int32 *p, int32 cnt)
{
while (cnt-- > 0) {
*p = ((*p << 24) & 0xFF000000) |
diff -ur a/src/libsphinx2/uttproc.c b/src/libsphinx2/uttproc.c
--- a/src/libsphinx2/uttproc.c 2024-12-29 17:43:46.366438566 +0400
+++ b/src/libsphinx2/uttproc.c 2024-12-29 17:49:57.818349115 +0400
@@ -2060,9 +2060,14 @@
search_hyp_t *uttproc_allphone_file (char const *utt)
{
int32 nfr;
- extern search_hyp_t *allphone_utt();
+ extern search_hyp_t *allphone_utt(int32 nfr,
+ float *cep,
+ float *dcep,
+ float *dcep_80ms,
+ float *pcep,
+ float *ddcep);
extern char *build_uttid (const char *utt); /* in fbs_main.c */
- extern int32 utt_file2feat(); /* in fbs_main.c */
+ extern int32 utt_file2feat(char *utt, int32 nosearch); /* in fbs_main.c */
search_hyp_t *hyplist, *h;
build_uttid (utt);
diff -ur a/include/err.h b/include/err.h
--- a/include/err.h 2024-12-29 18:10:58.131814449 +0400
+++ b/include/err.h 2024-12-29 18:11:05.778769777 +0400
@@ -52,7 +52,7 @@
#ifndef _LIBUTIL_ERR_H_
-#define _LIBUTIL_ERR_H
+#define _LIBUTIL_ERR_H_
#include <stdarg.h>
#include <errno.h>
diff -ur a/src/examples/lm3g2dmp.c b/src/examples/lm3g2dmp.c
--- a/src/examples/lm3g2dmp.c 2024-12-29 18:10:58.180814163 +0400
+++ b/src/examples/lm3g2dmp.c 2024-12-29 18:27:31.906999550 +0400
@@ -226,21 +226,21 @@
#define TG_PROB_F(m,t) ((m)->prob3[(m)->trigrams[t].prob3].f)
#define TG_PROB_L(m,t) ((m)->prob3[(m)->trigrams[t].prob3].l)
-extern char *salloc();
+extern char *salloc(char const *);
-extern char *listelem_alloc ();
-extern void listelem_free ();
+extern char *listelem_alloc (int32 elem_size);
+extern void listelem_free (void *elem, int32 elem_size);
static char *start_sym = "<s>";
static char *end_sym = "</s>";
static char *darpa_hdr = "Darpa Trigram LM";
-static int32 lmname_to_id ();
-static int32 lm3g_load ();
-static int32 lm3g_dump ();
-static void lm_set_param ();
-static void lm3g2dmp_lm_add ();
-static int32 lm3g2dmp_lm_delete ();
+static int32 lmname_to_id (char const * name);
+static int32 lm3g_load (char *file, lm_t *model, char *lmfile, int32 mtime);
+static int32 lm3g_dump (char *file, lm_t *model, char *lmfile, int32 mtime);
+static void lm_set_param (lm_t *model, double lw, double uw, double wip, int32 word_pair);
+static void lm3g2dmp_lm_add (char const *lmname, lm_t *model, double lw, double uw, double wip);
+static int32 lm3g2dmp_lm_delete (char const * name);
/* Structure for maintaining multiple, named LMs */
static struct lmset_s {
@@ -304,8 +304,7 @@
* Initialize sorted list with the 0-th entry = MIN_PROB_F, which may be needed
* to replace spurious values in the Darpa LM file.
*/
-static void init_sorted_list (l)
- sorted_list_t *l;
+static void init_sorted_list (sorted_list_t *l)
{
l->list =
(sorted_entry_t *) CM_calloc (MAX_SORTED_ENTRIES, sizeof (sorted_entry_t));
@@ -315,14 +314,12 @@
l->free = 1;
}
-static void free_sorted_list (l)
- sorted_list_t *l;
+static void free_sorted_list (sorted_list_t *l)
{
free (l->list);
}
-static log_t *vals_in_sorted_list (l)
- sorted_list_t *l;
+static log_t *vals_in_sorted_list (sorted_list_t *l)
{
log_t *vals;
int32 i;
@@ -333,9 +330,7 @@
return (vals);
}
-static int32 sorted_id (l, val)
- sorted_list_t *l;
- float *val;
+static int32 sorted_id (sorted_list_t *l, float *val)
{
int32 i = 0;
@@ -378,8 +373,7 @@
/*
* allocate, initialize and return pointer to an array of unigram entries.
*/
-static unigram_t *NewUnigramTable (n_ug)
- int32 n_ug;
+static unigram_t *NewUnigramTable (int32 n_ug)
{
unigram_t *table;
int32 i;
@@ -398,11 +392,7 @@
* as a parameter.
*/
static lm_t *
-lm3g2dmp_NewModel (n_ug, n_bg, n_tg, n_dict)
- int32 n_ug;
- int32 n_bg;
- int32 n_tg;
- int32 n_dict;
+lm3g2dmp_NewModel (int32 n_ug, int32 n_bg, int32 n_tg, int32 n_dict)
{
lm_t *model;
int32 i;
@@ -464,9 +454,8 @@
/*
* Read and return #unigrams, #bigrams, #trigrams as stated in input file.
*/
-static void ReadNgramCounts (fp, n_ug, n_bg, n_tg)
- FILE *fp;
- int32 *n_ug, *n_bg, *n_tg; /* return the info here */
+static void ReadNgramCounts (FILE *fp, int32 *n_ug, int32* n_bg, int32* n_tg)
+ /* return the info here */
{
char string[256];
int32 ngram, ngram_cnt;
@@ -510,9 +499,8 @@
* entry to this procedure, the file pointer is positioned just after the
* header line '\1-grams:'.
*/
-static void ReadUnigrams (fp, model)
- FILE *fp; /* input file */
- lm_t *model; /* to be filled in */
+static void ReadUnigrams (FILE *fp, lm_t *model)
+ /* to be filled in */
{
char string[256];
char name[128];
@@ -764,9 +752,7 @@
}
}
-static FILE *lm_file_open (filename, usepipe)
- char *filename;
- int32 usepipe;
+static FILE *lm_file_open (char *filename, int32 usepipe)
{
char command[1024];
FILE *fp;
@@ -1231,16 +1217,12 @@
/*
* dict base wid; check if present in LM. return TRUE if present, FALSE otherwise.
*/
-static int32 lm3g2dmp_dictwd_in_lm (wid)
- int32 wid;
+static int32 lm3g2dmp_dictwd_in_lm (int32 wid)
{
return (lmp->dictwid_map[wid] >= 0);
}
-static int32 fread_int32(fp, min, max, name)
- FILE *fp;
- int32 min, max;
- char *name;
+static int32 fread_int32(FILE *fp, int32 min, int32 max, char *name)
{
int32 k;
@@ -1252,17 +1234,13 @@
return (k);
}
-static void fwrite_int32 (fp, val)
- FILE *fp;
- int32 val;
+static void fwrite_int32 (FILE *fp, int32 val)
{
SWAP_LE_32(&val);
fwrite (&val, sizeof(int32), 1, fp);
}
-static void fwrite_ug (fp, ug)
- FILE *fp;
- unigram_t *ug;
+static void fwrite_ug (FILE *fp, unigram_t *ug)
{
unigram_t tmp_ug = *ug;
@@ -1273,9 +1251,7 @@
fwrite (&tmp_ug, sizeof(unigram_t), 1, fp);
}
-static void fwrite_bg (fp, bg)
- FILE *fp;
- bigram_t *bg;
+static void fwrite_bg (FILE *fp, bigram_t *bg)
{
bigram_t tmp_bg = *bg;
@@ -1286,9 +1262,7 @@
fwrite (&tmp_bg, sizeof(bigram_t), 1, fp);
}
-static void fwrite_tg (fp, tg)
- FILE *fp;
- trigram_t *tg;
+static void fwrite_tg (FILE *fp, trigram_t *tg)
{
trigram_t tmp_tg = *tg;
@@ -1301,11 +1275,9 @@
* Load pre-compiled trigram LM file, if it exists, into model. If file
* does not exist return 0. Otherwise, if successful, return 1.
*/
-static int32 lm3g_load (file, model, lmfile, mtime)
- char *file;
- lm_t *model;
- char *lmfile; /* the original Darpa LM filename */
- int32 mtime; /* original LM file last modification timestamp */
+static int32 lm3g_load (char *file, lm_t *model, char *lmfile, int32 mtime)
+ /* char *lmfile - the original Darpa LM filename */
+ /* int32 mtime - original LM file last modification timestamp */
{
int32 i, j, k, vn, ts, err;
FILE *fp;
@@ -1528,11 +1500,10 @@
* Dump internal LM to file. Format described above.
* Remember to swap bytes if necessary.
*/
-static int32 lm3g_dump (file, model, lmfile, mtime)
- char *file; /* output file */
- lm_t *model;
- char *lmfile; /* original Darpa LM filename */
- int32 mtime; /* lmfile last mod time */
+static int32 lm3g_dump (char *file, lm_t *model, char *lmfile, int32 mtime)
+ /* char *file output file */
+ /* char *lmfile original Darpa LM filename */
+ /*int32 mtime lmfile last mod time */
{
int32 i, k;
FILE *fp;
@@ -1685,9 +1656,7 @@
}
}
-int main (argc, argv)
- int32 argc;
- char *argv[];
+int main (int32 argc, char *argv[])
{
char *lmfile;
float64 lw, uw, wip;
@@ -1945,7 +1914,7 @@
lm3g2dmp_get_current_lmname ();
lm3g2dmp_lm_get_current ();
lm3g2dmp_get_n_lm ();
- lm3g2dmp_dictwd_in_lm ();
+ lm3g2dmp_dictwd_in_lm (0);
lm3g2dmp_lmSetStartSym ("");
lm3g2dmp_lmSetEndSym ("");
lm3g2dmp_lm3g_ug_score (0);

View file

@ -0,0 +1,39 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
MY_P=${P/_/}
DESCRIPTION="CMU Speech Recognition-engine"
HOMEPAGE="https://cmusphinx.github.io"
SRC_URI="https://downloads.sourceforge.net/cmusphinx/${P}.tar.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
DOCS=( AUTHORS ChangeLog README NEWS
doc/{README.{bin,lib},SCHMM_format,filler.dict,phoneset{,-old}} )
HTML_DOCS=( doc/{phoneset_s2,sphinx2}.html )
PATCHES=(
"${FILESDIR}"/${P}-as-needed.patch
"${FILESDIR}"/${P}-c99.patch
)
src_prepare() {
default
mv configure.{in,ac} || die
eautoreconf
}
src_install() {
default
rm -r "${ED}/usr/share/${PN}/doc" || die
find "${ED}" -name '*.la' -delete || die
}

Binary file not shown.

View file

@ -1,3 +1,3 @@
DIST aws-session-manager-plugin-1.2.694.0.tar.gz 35491825 BLAKE2B 134c4a83a5e906206bd0665509d96ed77d5f2c2ea3ca58d9ba776328a36c1eb018674d77d63719c6ba2d00006a60d8e6ccf62f828fca84fdfe7b6b3d5a2a22b9 SHA512 64372b552a7e6d534de886ea1fba26292c1ff71fdc658becbc3ea0ecf7e000de0c69a931ddcaf3d44f50ddc9c331233b169575534d3a46e2cdd9c711d2e21483
EBUILD aws-session-manager-plugin-1.2.694.0.ebuild 854 BLAKE2B cc3b63a14fa84580b4b5145081c601ca331d3ef71d0829a6280feea599273af2a680764657ce65365b1fdbd95743934bd8eaa928658954f423721b186552dc93 SHA512 8cbbf6d3972b821035e53bf12b1926372d4139ccd9cd6ebffe94c8baf92a2d9638287ce213427cb19cf2670d21f096bebd47b61425c7c4747e51025b34deef50
DIST aws-session-manager-plugin-1.2.707.0.tar.gz 35492492 BLAKE2B a494dd6fd5ab7736332579d01141510c5c011b1fb2ee6b6544b509b4ea4db8ac499b654ab0824b9d63d0c2fa07775408121449f28f73a07f4f769ca7695358df SHA512 5525315ae2f95ce0ea146d2b2b5b74a05c6be70a96e6f11aab4bf261cdd2f869697b63363d50d7d6b5eec850e4f9fca5f17379e6e6b6c44b7d9963010dd2d014
EBUILD aws-session-manager-plugin-1.2.707.0.ebuild 854 BLAKE2B cc3b63a14fa84580b4b5145081c601ca331d3ef71d0829a6280feea599273af2a680764657ce65365b1fdbd95743934bd8eaa928658954f423721b186552dc93 SHA512 8cbbf6d3972b821035e53bf12b1926372d4139ccd9cd6ebffe94c8baf92a2d9638287ce213427cb19cf2670d21f096bebd47b61425c7c4747e51025b34deef50
MISC metadata.xml 443 BLAKE2B 6eaf1028fe3289e5cac3978eeb4a0efadf105e584118c638246b36be26da551233945c67ea0b416ecad987d13d7c09ecf6f62f361c42807e81d630fb1d6ca15c SHA512 f185def4db1a8555541e195fe3cf450e3fd4f78754cb4d18379665c0137ec976c1e57e30311bd1d8f2a8db23072d72b378d2727a8008240e7d184ee78ce042e3

View file

@ -1,15 +1,15 @@
DIST aws-cli-1.37.11.gh.tar.gz 2900600 BLAKE2B eed7e50f8b481fa3f7ff1cbb4d6c953545b6d5285decd84ed75b29f89c5a182ed9db299d9cbba8ad75ef6c31da25f80559c55bc9a868d25cf6dea815bd57265e SHA512 a445764336804219cbe18a5f2b929c956c67d63958b4b01b7a4a263801061223941b92e551f223d4966a68d95c711933db0de2e6043c4c85e79376b973088c51
DIST aws-cli-1.37.12.gh.tar.gz 2902903 BLAKE2B 8e158ae2c09f62b58f56b0549ed0f183c415ad6b0b35fbe7a0c767bd221d5cb113e118778e3445ad456a74a0d8be2701cc1853f84d7bf84f4a29b7ce537dc0bd SHA512 f2ec305a52d5d232e13a5d917f6e5934f5083c39b7ca38bc506ddb02bdf6f9bcccd285710233fec1a75c34cdcbb74c98b523596563ed65dad1dd3d6cab0c0238
DIST aws-cli-1.37.13.gh.tar.gz 2903211 BLAKE2B 506a7b91bbeee488147c739d254d4a00a6e7ac6357df9c02caccfffddadc45839f47dd73c87d83814798a068efd5ad9b6c1b718bf56cd4e5f93b81d9fccde220 SHA512 8b92f600680a1f67536d27301bf6a6f8c7318c65a24d2a2af155a177ea7e68f5370a3b6ba20c46c87bcc30b58277afa69714a54d33c34cc73b67605cea909ead
DIST aws-cli-1.37.14.gh.tar.gz 2903307 BLAKE2B f599c398df4c205f49057d6232db3fb13887bcd301129767b4881dcae5f2637ff7c2b0ec20b345485adf90c1d07c93538886d116b20cd3e6acf2518f9a386604 SHA512 2bfcddb3562616e7dcd7aebb576a02a9bf73d471494ee06d9671967a4b326a7078a2874050613bcdeb26686d06c6873bb8c3df61a405144199118a67c9f237e0
DIST aws-cli-1.37.15.gh.tar.gz 2903471 BLAKE2B 27ca0f528240435ec65e8cea7b95aa8689bff42004547e94373d264e56d4fb5e441b9d2642798c573f45ebee0c17830e51edf44ff2ebb69bb604998d9d8259e6 SHA512 6cdd76fb86404746a66c89dcefbb19692517d0f090d62c900e4b32e7676be5cd299980b76276dd31279d01ce489d44f8a4949bae2d08ff172250666596bee2ed
DIST aws-cli-1.37.2.gh.tar.gz 2882709 BLAKE2B be8e03342f8c105646c7a92bd9f4716952700cb1cee883669b532851f73b896dd3f55266851db0351348ca50e3d96ec78f296327545eaac1e5d4ceba58a71eeb SHA512 492ac75a47187a5579cae3211b7e4b9df34c7fcab8903cc52a61cc9dc6238f32268a04e45eb4edead76504636a85987355d4bf71f700df7c14dc215b45e8058b
DIST aws-cli-1.37.16.gh.tar.gz 2903703 BLAKE2B 0d3333bef89222e9e84de2c469a98c6fd19177ba6c7e69278e43f459f1909d67e07cdc4150189dd3fd2ce1573ae43a22c944d172738de6102ecf7c7ea00404cf SHA512 d9916ecfedd8bd9086608b6350f95374efad96f3af6adc8b372a254021e4b9f00c43a7c5759cd74f20082f60806fc6eb13d8daf7569fad303995f6d180958cb9
DIST aws-cli-1.37.17.gh.tar.gz 2903616 BLAKE2B a3c3001dd4d4bc4051890bdeaf4012bd65ffcd2ff46d539f4898bb309b23211c6e58191ea7cd0f2887b9758a921d0217e008b5266b481ae927e183041c74bd54 SHA512 50559feb24eac2bb8c072e51b2d0540b581074b76f18268fe49e08e667b08471128edeac823143e17061a5b0e70410f9e2406b1c1f2a7f6fcb3caf3e7bd82e16
DIST aws-cli-1.37.18.gh.tar.gz 2904282 BLAKE2B 2f1f62dfe2737a42d4d1d3e969462a02bd7f619aa11a31ad723546bd780c66e8f9a17afd7b82af0b67915ba6ff326e7dc1ae396a2f8670c20e57462f137119a0 SHA512 7d4dcc0619cb215d6c49c4d2b45cc3a7919a05bcc246b70d774a960a23a1689ce201aa3be0737324d8b727acb04d39a1ea952c0214b7797bc458be47cfbfd012
DIST aws-cli-1.37.19.gh.tar.gz 2905629 BLAKE2B 0d5027985f4d9da2897a000d10ea6b75e2ae70da87c7f9e494305cc745f5146cf02ed0e35d34cd7a0ca041ab64db95e79e0fc0f8b7030598d7375dbebc43f557 SHA512 525787e13e864df51fc3b86c35dedbdea5d5cacfdc384f5c536aca44f54b83590cc7adb3a05921445a43a133c4ecf837fed341bfb841c539ad62f69f07a992f9
DIST aws-cli-1.37.20.gh.tar.gz 2906150 BLAKE2B cd934eae7267a8a7cb83bb4e79f53a78b34e2f9391973e7b9aa092b0d2e7ee882cab3cae06f93e6de9645ebf92f27944cfde0a6facb0aa92f6057d236d309f5a SHA512 b3ca3073e5c4e815e5a6c343e8cb896f96510163535b89dc171251779f5fd7cd21cbcba086f541bc721d8343c2a5271a84776a2b3f7cb1c03a84b1ee0fdbdd56
DIST aws-cli-1.37.6.gh.tar.gz 2896548 BLAKE2B c160d981fc9d2a9c3de69b6d7dfc9fc699ad9ebbd7bd81808a74371059362ee7616a00c1c4d61674f4d9e8ebb35c3047c11d43c8c4bbf4ad63e65771462cc556 SHA512 475637e353afef4177d9375f2b8f9c86732ff55040ee1dfdc307a5c7fb6392db983e75324ebabe8016fb5c8712c1433a194a0cff65eda1f930a86b9357aafe28
EBUILD awscli-1.37.11.ebuild 3169 BLAKE2B 5e19b6d6b837a3f62a7f54c25b76d2dcebbd709ada36d473cee53d0cfc2aa7b3de92cb12db09be4fafbd0b5c303761436b25bf3b4afe16cf0119481959e2b9c2 SHA512 0d30f1cd05a160c7d70f85cc5887d9333b9512421c74d394cae05799229c74c2edb307434f90b64353cd8963b85889546df20e3bf5e7a3fa8953ae2b4a6cecdb
EBUILD awscli-1.37.12.ebuild 3169 BLAKE2B 5e19b6d6b837a3f62a7f54c25b76d2dcebbd709ada36d473cee53d0cfc2aa7b3de92cb12db09be4fafbd0b5c303761436b25bf3b4afe16cf0119481959e2b9c2 SHA512 0d30f1cd05a160c7d70f85cc5887d9333b9512421c74d394cae05799229c74c2edb307434f90b64353cd8963b85889546df20e3bf5e7a3fa8953ae2b4a6cecdb
EBUILD awscli-1.37.13.ebuild 3169 BLAKE2B 5e19b6d6b837a3f62a7f54c25b76d2dcebbd709ada36d473cee53d0cfc2aa7b3de92cb12db09be4fafbd0b5c303761436b25bf3b4afe16cf0119481959e2b9c2 SHA512 0d30f1cd05a160c7d70f85cc5887d9333b9512421c74d394cae05799229c74c2edb307434f90b64353cd8963b85889546df20e3bf5e7a3fa8953ae2b4a6cecdb
EBUILD awscli-1.37.14.ebuild 3169 BLAKE2B 5e19b6d6b837a3f62a7f54c25b76d2dcebbd709ada36d473cee53d0cfc2aa7b3de92cb12db09be4fafbd0b5c303761436b25bf3b4afe16cf0119481959e2b9c2 SHA512 0d30f1cd05a160c7d70f85cc5887d9333b9512421c74d394cae05799229c74c2edb307434f90b64353cd8963b85889546df20e3bf5e7a3fa8953ae2b4a6cecdb
EBUILD awscli-1.37.15.ebuild 3169 BLAKE2B 5e19b6d6b837a3f62a7f54c25b76d2dcebbd709ada36d473cee53d0cfc2aa7b3de92cb12db09be4fafbd0b5c303761436b25bf3b4afe16cf0119481959e2b9c2 SHA512 0d30f1cd05a160c7d70f85cc5887d9333b9512421c74d394cae05799229c74c2edb307434f90b64353cd8963b85889546df20e3bf5e7a3fa8953ae2b4a6cecdb
EBUILD awscli-1.37.2.ebuild 3162 BLAKE2B 099b63681a7300c07c777d38f73edb68bb3d6421c65bf17e778a168441dcdd363e259fc399f7a83598e536bf27f534ccfdf960d1b356f180771b4774962df246 SHA512 662f08a57b1fe95a8fed4bd9c477b865526debd60be4d8164ef0a8fdeb7c4ef0cd71aef17b16717fbf189db283c13ddc13a3ee0c25f0541888f829b0449b134f
EBUILD awscli-1.37.6.ebuild 3169 BLAKE2B 5e19b6d6b837a3f62a7f54c25b76d2dcebbd709ada36d473cee53d0cfc2aa7b3de92cb12db09be4fafbd0b5c303761436b25bf3b4afe16cf0119481959e2b9c2 SHA512 0d30f1cd05a160c7d70f85cc5887d9333b9512421c74d394cae05799229c74c2edb307434f90b64353cd8963b85889546df20e3bf5e7a3fa8953ae2b4a6cecdb
EBUILD awscli-1.37.16.ebuild 3169 BLAKE2B 5e19b6d6b837a3f62a7f54c25b76d2dcebbd709ada36d473cee53d0cfc2aa7b3de92cb12db09be4fafbd0b5c303761436b25bf3b4afe16cf0119481959e2b9c2 SHA512 0d30f1cd05a160c7d70f85cc5887d9333b9512421c74d394cae05799229c74c2edb307434f90b64353cd8963b85889546df20e3bf5e7a3fa8953ae2b4a6cecdb
EBUILD awscli-1.37.17.ebuild 3169 BLAKE2B 5e19b6d6b837a3f62a7f54c25b76d2dcebbd709ada36d473cee53d0cfc2aa7b3de92cb12db09be4fafbd0b5c303761436b25bf3b4afe16cf0119481959e2b9c2 SHA512 0d30f1cd05a160c7d70f85cc5887d9333b9512421c74d394cae05799229c74c2edb307434f90b64353cd8963b85889546df20e3bf5e7a3fa8953ae2b4a6cecdb
EBUILD awscli-1.37.18.ebuild 3169 BLAKE2B 5e19b6d6b837a3f62a7f54c25b76d2dcebbd709ada36d473cee53d0cfc2aa7b3de92cb12db09be4fafbd0b5c303761436b25bf3b4afe16cf0119481959e2b9c2 SHA512 0d30f1cd05a160c7d70f85cc5887d9333b9512421c74d394cae05799229c74c2edb307434f90b64353cd8963b85889546df20e3bf5e7a3fa8953ae2b4a6cecdb
EBUILD awscli-1.37.19.ebuild 3169 BLAKE2B 5e19b6d6b837a3f62a7f54c25b76d2dcebbd709ada36d473cee53d0cfc2aa7b3de92cb12db09be4fafbd0b5c303761436b25bf3b4afe16cf0119481959e2b9c2 SHA512 0d30f1cd05a160c7d70f85cc5887d9333b9512421c74d394cae05799229c74c2edb307434f90b64353cd8963b85889546df20e3bf5e7a3fa8953ae2b4a6cecdb
EBUILD awscli-1.37.20.ebuild 3169 BLAKE2B 5e19b6d6b837a3f62a7f54c25b76d2dcebbd709ada36d473cee53d0cfc2aa7b3de92cb12db09be4fafbd0b5c303761436b25bf3b4afe16cf0119481959e2b9c2 SHA512 0d30f1cd05a160c7d70f85cc5887d9333b9512421c74d394cae05799229c74c2edb307434f90b64353cd8963b85889546df20e3bf5e7a3fa8953ae2b4a6cecdb
EBUILD awscli-1.37.6.ebuild 3162 BLAKE2B 099b63681a7300c07c777d38f73edb68bb3d6421c65bf17e778a168441dcdd363e259fc399f7a83598e536bf27f534ccfdf960d1b356f180771b4774962df246 SHA512 662f08a57b1fe95a8fed4bd9c477b865526debd60be4d8164ef0a8fdeb7c4ef0cd71aef17b16717fbf189db283c13ddc13a3ee0c25f0541888f829b0449b134f
MISC metadata.xml 385 BLAKE2B 5accfb180a91179cc6df539d42d1de06be3ebfec73f3edb719f5d59576103b9a8cb0c7c524c1042630e0cf99f068939a19f04c7b1b4a2acf9e072369df80d913 SHA512 ccb3d516326c5dbdf53068372ce25baecc137d21a04516374362212b969cc928dacbf743b4953da33f28482905798f069d09d19c88d9913f2b32648db25115ab

View file

@ -1,95 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..13} )
inherit bash-completion-r1 distutils-r1
MY_P=aws-cli-${PV}
DESCRIPTION="Universal Command Line Environment for AWS"
HOMEPAGE="
https://github.com/aws/aws-cli/
https://pypi.org/project/awscli/
"
SRC_URI="
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
-> ${MY_P}.gh.tar.gz
"
S=${WORKDIR}/${MY_P}
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86"
# botocore is x.(y-1).z
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) - 1)).$(ver_cut 3-)"
RDEPEND="
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
dev-python/colorama[${PYTHON_USEDEP}]
dev-python/docutils[${PYTHON_USEDEP}]
dev-python/rsa[${PYTHON_USEDEP}]
>=dev-python/s3transfer-0.11.0[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
!app-admin/awscli-bin
"
BDEPEND="
test? (
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/pytest-forked[${PYTHON_USEDEP}]
)
"
EPYTEST_XDIST=1
distutils_enable_tests pytest
src_prepare() {
# do not rely on bundled deps in botocore (sic!)
find -name '*.py' -exec sed -i \
-e 's:from botocore[.]vendored import:import:' \
-e 's:from botocore[.]vendored[.]:from :' \
{} + || die
# strip overzealous upper bounds on requirements
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
distutils-r1_src_prepare
}
python_test() {
local serial_tests=(
tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_{fails,success}
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_with_new_version_plugin_success
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking_windows
tests/unit/customizations/codeartifact/test_adapter_login.py::TestNuGetLogin::test_login_nuget_sources_listed_with_backtracking
tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success
tests/unit/customizations/test_sessionmanager.py
tests/unit/test_compat.py::TestIgnoreUserSignals
tests/unit/test_help.py
tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignored
)
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
EPYTEST_XDIST= epytest "${serial_tests[@]}"
local EPYTEST_DESELECT=(
"${serial_tests[@]}"
# flaky (some ordering?)
tests/functional/s3/test_cp_command.py::TestCPCommand::test_multipart_upload_with_checksum_algorithm_crc32
)
# integration tests require AWS credentials and Internet access
epytest tests/{functional,unit}
}
python_install_all() {
newbashcomp bin/aws_bash_completer aws
insinto /usr/share/zsh/site-functions
newins bin/aws_zsh_completer.sh _aws
distutils-r1_python_install_all
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
}

View file

@ -0,0 +1,95 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..13} )
inherit bash-completion-r1 distutils-r1
MY_P=aws-cli-${PV}
DESCRIPTION="Universal Command Line Environment for AWS"
HOMEPAGE="
https://github.com/aws/aws-cli/
https://pypi.org/project/awscli/
"
SRC_URI="
https://github.com/aws/aws-cli/archive/${PV}.tar.gz
-> ${MY_P}.gh.tar.gz
"
S=${WORKDIR}/${MY_P}
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
# botocore is x.(y-1).z
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) - 1)).$(ver_cut 3-)"
RDEPEND="
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
dev-python/colorama[${PYTHON_USEDEP}]
dev-python/docutils[${PYTHON_USEDEP}]
dev-python/rsa[${PYTHON_USEDEP}]
>=dev-python/s3transfer-0.11.0[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
!app-admin/awscli-bin
"
BDEPEND="
test? (
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/pytest-forked[${PYTHON_USEDEP}]
)
"
EPYTEST_XDIST=1
distutils_enable_tests pytest
src_prepare() {
# do not rely on bundled deps in botocore (sic!)
find -name '*.py' -exec sed -i \
-e 's:from botocore[.]vendored import:import:' \
-e 's:from botocore[.]vendored[.]:from :' \
{} + || die
# strip overzealous upper bounds on requirements
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
distutils-r1_src_prepare
}
python_test() {
local serial_tests=(
tests/functional/ecs/test_execute_command.py::TestExecuteCommand::test_execute_command_success
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_{fails,success}
tests/functional/ssm/test_start_session.py::TestSessionManager::test_start_session_with_new_version_plugin_success
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking
tests/unit/customizations/codeartifact/test_adapter_login.py::TestDotNetLogin::test_login_dotnet_sources_listed_with_backtracking_windows
tests/unit/customizations/codeartifact/test_adapter_login.py::TestNuGetLogin::test_login_nuget_sources_listed_with_backtracking
tests/unit/customizations/ecs/test_executecommand_startsession.py::TestExecuteCommand::test_execute_command_success
tests/unit/customizations/test_sessionmanager.py
tests/unit/test_compat.py::TestIgnoreUserSignals
tests/unit/test_help.py
tests/unit/test_utils.py::TestIgnoreCtrlC::test_ctrl_c_is_ignored
)
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
EPYTEST_XDIST= epytest "${serial_tests[@]}"
local EPYTEST_DESELECT=(
"${serial_tests[@]}"
# flaky (some ordering?)
tests/functional/s3/test_cp_command.py::TestCPCommand::test_multipart_upload_with_checksum_algorithm_crc32
)
# integration tests require AWS credentials and Internet access
epytest tests/{functional,unit}
}
python_install_all() {
newbashcomp bin/aws_bash_completer aws
insinto /usr/share/zsh/site-functions
newins bin/aws_zsh_completer.sh _aws
distutils-r1_python_install_all
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
}

View file

@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P}
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv sparc x86"
# botocore is x.(y-1).z
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) - 1)).$(ver_cut 3-)"

View file

@ -1,5 +1,7 @@
DIST Bitwarden-2024.12.0-amd64.deb 84480428 BLAKE2B 3cb771978fd2c0ded6bc79fee0beb23e187a0c2c69fe6213ea982929ffbc085155c147ff8729251f4a840bc871e33e5f7b07499d5a2cf4a16d1146e357a0d8f8 SHA512 649686f4cdd6269fabce9af8a1532ea343ac5cedf7a267818ea4ea173220d24d129019b31641bd98d61a3809a02562ce87b0738d842c53bdfa0374889ba69025
DIST Bitwarden-2025.1.1-amd64.deb 84562628 BLAKE2B 2f51e747992ff8c86f3b90fcef004b26b93cd4ae4f8d290d39d48044d2ef38f64049379f86cdbe5793af3a1267da7f3cd740f3e00ec29a799fdd18b6cc57f0d2 SHA512 ae85d71b84535196988b2a60918b04e5db0e1512c5405729664251534a3c44c34a7bb81a24548436fe78b3197bae50487fd50cf290e8da2016388f8fb0b125cc
DIST Bitwarden-2025.1.4-amd64.deb 84416978 BLAKE2B 4ded129bf6ca49142281968a3197f5e14955b783be6b7087c73e504564d267a71f5d7ecffd3902f003cbaa393396813861add7b253b8ad3b36945c65e2af24b6 SHA512 5f64aa8f36688705e7299d8d3399c80f6815a8e1133a39ec6e4b09ee908d78949e8d8a5ef09e38d6e824ae1d4356871ac3e0b997093186033ad604c1b63aca99
EBUILD bitwarden-desktop-bin-2024.12.0.ebuild 1787 BLAKE2B f29cb51f98a68d540a4008be21f1f16b605f432206cb99a798d768e08709ca135778708d35b8dbb0ca0778d594ae87c84546b3bb866cb2a953bdc32ffb64b818 SHA512 525f677a03d1602656d937612567acc043b5bff49a80a44fa74f8b759962d2d744ca32377b8905489060fcff4bcac1d4206489b14c0b96c8a7a1f03579b06b16
EBUILD bitwarden-desktop-bin-2025.1.1.ebuild 1787 BLAKE2B 978231d87de8dbae46d8af22dd4afda78b8fc08a5de4634c4b8a9de148d50cb42b0f2a3f734e4c8c264d0a8c00a8f436f52394840241a3fe29a66f520426a411 SHA512 7951b8cf0e16ae63db3e2ae64068a6de3de38145355496782c16be34d8200c30c2430b73e95d3cd62e4475b2c42b4978f94674f57366755dddbaf28e9dfddd77
EBUILD bitwarden-desktop-bin-2025.1.4.ebuild 1787 BLAKE2B 978231d87de8dbae46d8af22dd4afda78b8fc08a5de4634c4b8a9de148d50cb42b0f2a3f734e4c8c264d0a8c00a8f436f52394840241a3fe29a66f520426a411 SHA512 7951b8cf0e16ae63db3e2ae64068a6de3de38145355496782c16be34d8200c30c2430b73e95d3cd62e4475b2c42b4978f94674f57366755dddbaf28e9dfddd77
MISC metadata.xml 323 BLAKE2B 3f1affe8fb7b242a0ea072faaebcccd37bf005ee68c7519857701c37fe6a11b0dffe1692af141b54218367ee8c8361cb0e6608621453d424d52b061b569563d1 SHA512 95ab28dcb844ac6d2ba4573699e86a4c303aa46b4c2eddf1273ecf37a3bbb751b9a478b535fbdcbc12424bc4f826b4b0781cfb8079e5563ed41f12ce68b35908

View file

@ -0,0 +1,89 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit desktop unpacker xdg-utils
DESCRIPTION="Bitwarden password manager desktop client"
HOMEPAGE="https://bitwarden.com/"
SRC_URI="https://github.com/bitwarden/clients/releases/download/desktop-v${PV}/Bitwarden-${PV}-amd64.deb"
S="${WORKDIR}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
>=app-accessibility/at-spi2-core-2.46.0:2
app-crypt/libsecret
dev-libs/expat
dev-libs/glib
dev-libs/nspr
dev-libs/nss
dev-libs/wayland
media-libs/alsa-lib
media-libs/mesa
net-print/cups
sys-apps/dbus
sys-apps/util-linux
sys-libs/glibc
x11-libs/cairo
x11-libs/gdk-pixbuf:2
x11-libs/gtk+:3
x11-libs/libdrm
x11-libs/libX11
x11-libs/libxcb
x11-libs/libXcomposite
x11-libs/libXcursor
x11-libs/libXdamage
x11-libs/libXext
x11-libs/libXfixes
x11-libs/libXi
x11-libs/libxkbcommon
x11-libs/libXrandr
x11-libs/libXrender
x11-libs/libXScrnSaver
x11-libs/libxshmfence
x11-libs/libXtst
x11-libs/pango
"
IDEPEND="
dev-util/desktop-file-utils
dev-util/gtk-update-icon-cache
"
QA_PREBUILT="
opt/Bitwarden/*.so*
opt/Bitwarden/bitwarden
opt/Bitwarden/bitwarden-app
opt/Bitwarden/chrome-sandbox
opt/Bitwarden/chrome_crashpad_handler
"
src_install() {
insinto /opt
doins -r opt/Bitwarden
fperms 755 /opt/Bitwarden/bitwarden \
/opt/Bitwarden/bitwarden-app
fperms 4755 /opt/Bitwarden/chrome-sandbox
domenu usr/share/applications/bitwarden.desktop
local x
for x in 16 32 64 128 256 512; do
doicon -s ${x} usr/share/icons/hicolor/${x}*/*
done
dosym -r "/opt/Bitwarden/bitwarden" "usr/bin/${PN}"
}
pkg_postinst() {
xdg_desktop_database_update
xdg_icon_cache_update
}
pkg_postrm() {
xdg_desktop_database_update
xdg_icon_cache_update
}

View file

@ -1,7 +1,5 @@
DIST conky-1.21.7.tar.gz 1961997 BLAKE2B 80ca17e0d1065655c410d8108668b3f09df574b761d57e374a2d51c946b51bd1ce4d29d320def0a197d465401cb4a665fb84a394406611903877c0acf42b4ad3 SHA512 52b6621e3e693654610ebd1b9e1adbeaec2ae2a2aaed4b038882a6825e6573f4afdea85f9156e1ffaa5999e30b3b05170b6b101f415980f0edab5c85151e9e6c
DIST conky-1.21.9.tar.gz 1966277 BLAKE2B 90735ab5e4a42f31ccc12c27fa7a5ca35c6c6cc93d97a06d33f37ee7f1300e7c4546ed34f348338661c8efe7a598b32564977ded2f28dc48a0133696031fee69 SHA512 649b7cb2ab482bae33010239ee96deb08a5f3b6954e55e6380f45d753a7690ac446f4471682e293b25f94c3c68e7d5373f5b63a42fec69392e34c4336c6f1b96
DIST conky-1.22.0.tar.gz 2030830 BLAKE2B b262b76fac24d74db0fe099e6e1c54be463d9453c5e9bcb9de33beeccda9e7b063287c189018f673bf0fc1d46029de9ac4f6c333c579b3f7fc86e2a7866e761e SHA512 df110bbec225127b6b9e2cb8998a21d99beb00225c7df6a6d35d6758135c8882d3e06c796f5c94eec7653da73af32f7a87ae631755b0e715306799f89de63cdd
EBUILD conky-1.21.7.ebuild 6191 BLAKE2B 73e7886b22f926d38e91a5df4963f6a516fd79cd01dcd7dc88b432e9b4301d00b49f3448200c14ee03420bffcee24b966cdf54fbcabd013917a44ad56174e9f6 SHA512 db3bca80c15821fc298092144e2898a2d048a18281d780df6c9f5c7d2a387af5db295da7cc406fdffd7acfde38ceb8d4a89191bd3ed7c6112c52981c1eff4fd7
EBUILD conky-1.21.9.ebuild 6195 BLAKE2B 1699bcadd7599c8a344a3ad12b329abbfd099cb3e1a47616b3639ff3f44f0430c77055bc6b49b05b110f563af1e7a4cd7973c00f69a4125bc4d5df5cee7b3456 SHA512 770140c4808a1ec0031c4278340606dd03a1d7cd60cb84f6c152b177509d5e0a57b0fab1b69679303b9a9ea1c3210bac59086fdb4bbc275cdd32abaf327a0a7d
EBUILD conky-1.22.0.ebuild 6193 BLAKE2B 121e23a4eb7ba66f96f23526a965c9cb7f8b6c7734aa6c0b742903e1c8be2661e7bc2d7149c32e5e9841a2ff0a556a7d15f4134232a98bd34e918f13d12c635f SHA512 854c19d40d17d9fc4949cb448ffc7e321a0e751e0e0e660dee7533cd2c7e20fde39e5f95df217dc35161d667043f8e68adcf2e6ce8695f5f4e24b573ffbc15e4
EBUILD conky-1.22.0.ebuild 6190 BLAKE2B 406bb475ed1a912d5bad442e21b8b6b00a8ddd4aed931d00227201e281fa700bcf3b40a735bacd3de047b6848761ea6ff67a94df16e85ca5268d2cf3cc1854f7 SHA512 dfcb5a294ed706d892cfb96de56920bbbf0ed30df968777f11423728f7742ce327c938e347cc92f53564fc8810e545c5fae53433c178d72349c7a1059ad9e5f6
MISC metadata.xml 2706 BLAKE2B ccd856ef7d804a1d4cea72124dc575dc3b94b6cad0b98b4bff8248f70f84b1705d862a58b0c98d1a67ea17c412e7d967a32d31678e8b51d5234c215d54389a57 SHA512 65bd968350ff45ed491a2cc36bb7d5640e38f3a4b4a0e0e3fe22d4e74563c2bf2a3d9f3cd9f3c67a0e9f8b756c387f72fcf8581c6876941112470f7f04e47ddf

View file

@ -1,251 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
LUA_COMPAT=( lua5-4 )
PYTHON_COMPAT=( python3_{10,11,12} )
inherit cmake linux-info lua-single python-any-r1 readme.gentoo-r1 xdg
DESCRIPTION="An advanced, highly configurable system monitor for X"
HOMEPAGE="https://github.com/brndnmtthws/conky"
SRC_URI="https://github.com/brndnmtthws/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3 BSD LGPL-2.1 MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
IUSE="apcupsd bundled-toluapp cmus colour-name-map curl doc extras hddtemp ical
iconv imlib intel-backlight iostats irc lua-cairo lua-cairo-xlib
lua-imlib lua-rsvg math moc mouse-events mpd mysql ncurses nvidia
+portmon pulseaudio rss systemd test thinkpad truetype wayland webserver
wifi X xinerama xinput xmms2"
RESTRICT="!test? ( test )"
# Note: toluapp is bundled in conky since 1.11.2
# Note: maintainer mode "-DMAINTAINER_MODE=yes" sets CMAKE_BUILD_TYPE Debug
# which creates debug symbols and enables "-DBUILD_TESTS" which also
# results in conky_core debug library getting installed
COMMON_DEPEND="
curl? ( net-misc/curl )
ical? ( dev-libs/libical:= )
iconv? ( virtual/libiconv )
imlib? ( >=media-libs/imlib2-1.11.0[X] )
irc? ( net-libs/libircclient )
lua-cairo? ( x11-libs/cairo[X?] )
lua-cairo-xlib? ( x11-libs/cairo[X] )
lua-imlib? ( >=media-libs/imlib2-1.11.0[X] )
lua-rsvg? ( gnome-base/librsvg )
mysql? ( dev-db/mysql-connector-c )
ncurses? ( sys-libs/ncurses:= )
nvidia? ( x11-drivers/nvidia-drivers[tools,static-libs] )
pulseaudio? ( media-libs/libpulse )
rss? (
dev-libs/libxml2
dev-libs/glib:2
)
systemd? ( sys-apps/systemd )
truetype? (
x11-libs/libXft
>=media-libs/freetype-2
)
wayland? (
dev-libs/wayland
x11-libs/pango
)
wifi? ( net-wireless/wireless-tools )
webserver? ( net-libs/libmicrohttpd:= )
X? (
x11-libs/libXdamage
x11-libs/libXfixes
x11-libs/libXext
x11-libs/libXi
x11-libs/libX11
)
xinerama? ( x11-libs/libXinerama )
xmms2? ( media-sound/xmms2 )
${LUA_DEPS}
"
RDEPEND="
${COMMON_DEPEND}
apcupsd? ( sys-power/apcupsd )
cmus? ( media-sound/cmus )
hddtemp? ( app-admin/hddtemp )
moc? ( media-sound/moc )
"
DEPEND="
${COMMON_DEPEND}
test? (
dev-cpp/catch
)
wayland? (
dev-libs/wayland-protocols
)
"
BDEPEND="
colour-name-map? (
dev-util/gperf
)
doc? (
virtual/pandoc
$(python_gen_any_dep '
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/jinja2[${PYTHON_USEDEP}]
')
)
extras? (
$(python_gen_any_dep '
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/jinja2[${PYTHON_USEDEP}]
')
)
wayland? ( dev-util/wayland-scanner )
"
python_check_deps() {
use doc || use extras || return 0
python_has_version -b "dev-python/pyyaml[${PYTHON_USEDEP}]" &&
python_has_version -b "dev-python/jinja2[${PYTHON_USEDEP}]"
}
REQUIRED_USE="
${LUA_REQUIRED_USE}
imlib? ( X )
lua-cairo? ( || ( X wayland ) bundled-toluapp )
lua-cairo-xlib? ( X bundled-toluapp )
lua-imlib? ( X bundled-toluapp )
lua-rsvg? ( || ( X wayland ) bundled-toluapp )
mouse-events? ( X wayland )
nvidia? ( X )
rss? ( curl )
truetype? ( X )
xinerama? ( X )
xinput? ( X )
"
CONFIG_CHECK="~IPV6"
DOCS=( README.md AUTHORS )
DISABLE_AUTOFORMATTING="yes"
DOC_CONTENTS="You can find sample configurations at /usr/share/doc/${PF}.
To customize, copy to \${XDG_CONFIG_HOME}/conky/conky.conf and edit it to your liking.
There are pretty html docs available at https://conky.cc/.
Also see https://github.com/brndnmtthws/conky/wiki or https://wiki.gentoo.org/wiki/Conky"
pkg_setup() {
linux-info_pkg_setup
lua-single_pkg_setup
if use doc || use extras; then
python-any-r1_pkg_setup
fi
}
src_prepare() {
# pin lua 5.4
sed -i -e 's|Lua "5.3" REQUIRED|Lua "5.4" EXACT|g' \
cmake/ConkyPlatformChecks.cmake || die "ConkyPlatformChecks.cmake"
cmake_src_prepare
xdg_environment_reset
}
src_configure() {
local mycmakeargs=()
if use X; then
mycmakeargs+=(
-DOWN_WINDOW=yes
-DBUILD_XDAMAGE=yes
-DBUILD_XFIXES=yes
-DBUILD_ARGB=yes
-DBUILD_XDBE=yes
-DBUILD_XSHAPE=yes
-DBUILD_X11=yes
)
else
mycmakeargs+=(
-DBUILD_X11=no
)
fi
mycmakeargs+=(
-DBUILD_APCUPSD=$(usex apcupsd)
-DBUILD_AUDACIOUS=no
-DBUILD_BUILTIN_CONFIG=yes
-DBUILD_CMUS=$(usex cmus)
-DBUILD_COLOUR_NAME_MAP=$(usex colour-name-map)
-DBUILD_CURL=$(usex curl)
-DBUILD_DOCS=$(usex doc)
-DBUILD_EXTRAS=$(usex extras)
-DBUILD_HDDTEMP=$(usex hddtemp)
-DBUILD_HTTP=$(usex webserver)
-DBUILD_I18N=yes
-DBUILD_IBM=$(usex thinkpad)
-DBUILD_ICAL=$(usex ical)
-DBUILD_ICONV=$(usex iconv)
-DBUILD_IMLIB2=$(usex imlib)
-DBUILD_INTEL_BACKLIGHT=$(usex intel-backlight)
-DBUILD_IOSTATS=$(usex iostats)
-DBUILD_IPV6=yes
-DBUILD_IRC=$(usex irc)
-DBUILD_JOURNAL=$(usex systemd)
-DBUILD_LUA_CAIRO=$(usex lua-cairo)
-DBUILD_LUA_CAIRO_XLIB=$(usex lua-cairo-xlib)
-DBUILD_LUA_IMLIB2=$(usex lua-imlib)
-DBUILD_LUA_RSVG=$(usex lua-rsvg)
-DBUILD_MATH=$(usex math)
-DBUILD_MOC=$(usex moc)
-DBUILD_MOUSE_EVENTS=$(usex mouse-events)
-DBUILD_MPD=$(usex mpd)
-DBUILD_MYSQL=$(usex mysql)
-DBUILD_NCURSES=$(usex ncurses)
-DBUILD_NVIDIA=$(usex nvidia)
-DBUILD_OLD_CONFIG=yes
-DBUILD_PORT_MONITORS=$(usex portmon)
-DBUILD_PULSEAUDIO=$(usex pulseaudio)
-DBUILD_RSS=$(usex rss)
-DBUILD_TESTS=$(usex test)
-DBUILD_WAYLAND=$(usex wayland)
-DBUILD_WLAN=$(usex wifi)
-DBUILD_XFT=$(usex truetype)
-DBUILD_XINERAMA=$(usex xinerama)
-DBUILD_XINPUT=$(usex xinput)
-DBUILD_XMMS2=$(usex xmms2)
-DDOC_PATH=/usr/share/doc/${PF}
-DMAINTAINER_MODE=no
-DRELEASE=yes
)
if use doc || use extras; then
mycmakeargs+=( -DPython3_EXECUTABLE="${PYTHON}" )
fi
cmake_src_configure
}
src_install() {
cmake_src_install
if use extras; then
insinto /usr/share/vim/vimfiles/ftdetect
doins "${S}"/extras/vim/ftdetect/conkyrc.vim
insinto /usr/share/vim/vimfiles/syntax
doins "${BUILD_DIR}"/extras/vim/syntax/conkyrc.vim
insinto /usr/share/nano/
doins "${BUILD_DIR}"/extras/nano/conky.nanorc
fi
readme.gentoo_create_doc
}
pkg_postinst() {
readme.gentoo_print_elog
xdg_pkg_postinst
}

View file

@ -14,7 +14,7 @@ SRC_URI="https://github.com/brndnmtthws/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.
LICENSE="GPL-3 BSD LGPL-2.1 MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~ppc ppc64 ~riscv ~sparc x86"
IUSE="apcupsd bundled-toluapp cmus colour-name-map curl doc extras hddtemp ical
iconv imlib intel-backlight iostats irc lua-cairo lua-cairo-xlib
lua-imlib lua-rsvg math moc mouse-events mpd mysql ncurses nvidia

View file

@ -1,3 +1,5 @@
DIST entr-5.6.tar.gz 23370 BLAKE2B 52b2e2d49d550c7ba82199cc70500598c50809136bc9bed881174ab59806802ac09cf7ff32f0476eeb66ee9fdb87bef72dbf28bfd4495f0301ee80809800dbfa SHA512 9c65449b6fd7e172fde23a6d4d776b6fdbcec210ef54234db0af056e481acd11f53f9b25432a278435943bd998be734fcd997b5debdcace58112ac99d103f653
DIST entr-5.7.tar.gz 23587 BLAKE2B 497ac54042fd6d54f7c0f4401e2038d1f0f8e55277efb54389cd9c9635d2caf77e80d042456ac06cfe937ec88111cdebaaf8f6133cdddadcdb65d11442b9fe82 SHA512 a267fdc3a9aeb84823e14167a7aed32d682d200e72409f896e95aea3cb22e5185e1ee1c49726435d66953baae6444d49111e0c6a0af66895bdef0fccd3320446
EBUILD entr-5.6.ebuild 711 BLAKE2B 78753c2decd36ba0eac8f1f479c1cd357c929dfba1e02f26b4e7efe1b10b30a1067fbb84076968a4668e745d0f83c45ec5dfc48b1d125266adcd9ce64113eeb7 SHA512 e29ea3a0a3d949e35350905f1008ab1314ed69ba654dce1da9871be14dba5a646a0b0ae089c43c1dc9055f11b677752552da4efddb29c2ff6ac250cb7c8ff26b
EBUILD entr-5.7.ebuild 717 BLAKE2B c943fa308c023ee30288efc55f06e9af80b9c5060235c7a3e3426cdbb575f95e2a04fe4b229179da6770f0a69f3b69a6f778734ebc7354da83134d715a85d5f4 SHA512 9c84baf02a91fec8aa4612f7dc20b2f0001beb4a30023b1c1cd8468cbfac3435edba45038597b9609e4a6077b5af8029da881a46dc6bc1a2db2dea6e1774870a
MISC metadata.xml 449 BLAKE2B 5a03f1f771985a3877ad95b143ae9959ed2850170880fe4af3b4319e50248faa99e11b8fdc9d59e608f398b8c93efcd2b7a15612df5a516256e8e6dfb61452c8 SHA512 4b6d9eb9a9bb61185b3da9ec12cf9584a26daa3cab3bcfaabcad057dd08cace027f348e4e2600dc306eae23be71c894bec7426ca872b1f7a0d341664bcb53721

View file

@ -0,0 +1,38 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit edo toolchain-funcs
DESCRIPTION="Run arbitrary commands when files change"
HOMEPAGE="
https://eradman.com/entrproject/
https://github.com/eradman/entr
"
SRC_URI="https://eradman.com/entrproject/code/${P}.tar.gz"
LICENSE="ISC"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
BDEPEND="
test? (
app-alternatives/awk[gawk]
app-editors/vim
app-misc/tmux
dev-vcs/git
sys-apps/file
)
"
src_configure() {
tc-export CC
export PREFIX="${EPREFIX}/usr"
export SHELL="${BROOT}/bin/bash"
export TMUX_TMPDIR="${T}"
edo ./configure
}

View file

@ -1,7 +1,5 @@
DIST kio-admin-24.08.3.tar.xz 38688 BLAKE2B ededa0da867c76e45efec80d60e8f4c720fe7fa663d574dd910a35d5f7b77e8b8b5d23f0322b2f635dc34f7318351400e9c9f9e032f014a68ec3ecbf86f4054b SHA512 d357ce492798cbcc1f91933c0ded5c3d1c80c9fdb9d53a7e9c98038cf87825ccc10608c763e66b46410508d9afb52a9f93623e4dcad647657d0c5237395dc1b1
DIST kio-admin-24.12.1.tar.xz 39084 BLAKE2B 1c3339c46a49781ed4d315121e8b9523f219b423159cd11be22161da92689d3d49e6176e270bb8aeaa13ac1dc9d76cb35849ddd5366ca28189259764d92772dc SHA512 dcae417fe3befff12ac575d5830c3c8944ba3cfe84042c4e8dd60c7936e496f83cade3e718651b955d507f9a9e5e9466918d406db179a236e742d4749d7e8fdd
DIST kio-admin-24.12.2.tar.xz 39088 BLAKE2B 1020d07b5e4934b704c956cc3e0d2b8f6a0b46aec517b7ceb030f467c6ca6933c01c66b90f711e73f1c9e42c11e106208cda226f407a5676381bcc771d0be86d SHA512 010ffe6bb88fc12d53fcdc0720a77ac2fe83565a3696992cce5bfce35b6f76deac3dca31e396ce7ca6ec6d7873033eaf79e1eb83dc03b124f76c0f13bc850643
EBUILD kio-admin-24.08.3.ebuild 631 BLAKE2B bad00771285e4dcdf8cfca569aff1aacdcf4a9fdfdb9b070cb81c844b38139013928409f07f669357b84d3a68365defe372bd00f87b8f8a2b20eda073b39c2ec SHA512 aeafb9a9a1f29a07142018fb785d7cbc945df6cc311784529a1871836bd2ecb94c5b9a82960850710fea601742e6c8932698625c919f5c1152677863ad3b5387
EBUILD kio-admin-24.12.1.ebuild 640 BLAKE2B 91e6df318042493471265de28c1f153c08f0af50cbdbe008dce9274f0fecb6f4d8be4cec39424ba36e0c7137fcf95233f283381fafb45956e1ae94d7b971712b SHA512 e66923f94be9def9acc94c3d8955f2864720c43a1d2ed396072dd07c19e53cfed9f61f41dd931bc74d17fbb2fa51e66004e9c71f7817080eac10b6448bc2ba7c
EBUILD kio-admin-24.12.2.ebuild 640 BLAKE2B 91e6df318042493471265de28c1f153c08f0af50cbdbe008dce9274f0fecb6f4d8be4cec39424ba36e0c7137fcf95233f283381fafb45956e1ae94d7b971712b SHA512 e66923f94be9def9acc94c3d8955f2864720c43a1d2ed396072dd07c19e53cfed9f61f41dd931bc74d17fbb2fa51e66004e9c71f7817080eac10b6448bc2ba7c
MISC metadata.xml 409 BLAKE2B 806cca01eabcbaa961a219c8df865253d5eb4aac6f2d80a08715606ec9ac883990b8ce2ace14b53c47a81f4b061cdc489490c6d8bf8cf2dc53e16027675b1f12 SHA512 d3f45492aab35f8938f1ad59bb40a49a554e0da3fd530ff2d478911f323ad92badeabccae3c32f7256cd140cb3caac9d2bdb3e762becc2be1d0bb012e735c5a8

View file

@ -1,25 +0,0 @@
# Copyright 2024-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
KDE_ORG_CATEGORY="system"
KFMIN=6.7.0
QTMIN=6.7.2
inherit ecm gear.kde.org
DESCRIPTION="Manage files as administrator using the admin:// KIO protocol"
HOMEPAGE="https://invent.kde.org/system/kio-admin"
LICENSE="BSD CC0-1.0 FSFAP GPL-2 GPL-3"
SLOT="6"
KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86"
DEPEND="
>=dev-qt/qtbase-${QTMIN}:6[dbus,gui,widgets]
>=kde-frameworks/kcoreaddons-${KFMIN}:6
>=kde-frameworks/ki18n-${KFMIN}:6
>=kde-frameworks/kio-${KFMIN}:6
>=sys-auth/polkit-qt-0.175[qt6(+)]
"
RDEPEND="${DEPEND}"

View file

@ -1,9 +1,5 @@
DIST linode_cli-5.54.0.tar.gz 153961 BLAKE2B ae147c7c29532d53e8230e8374acb5727791f07f3177720637d7b23d1169821b2a65975b6e22f45bb53f69d241525ecb081a18f854d3d904da9de406f27f146f SHA512 7cad0e899ebced5c27923f4b8ea6fc4c854f90f7925ff5e8e010565ec51f20c75976a0efacfebceb78c4befa0e64ea0a2c896bb82f541903413fe96c8b0c68e1
DIST linode_cli-5.55.0.tar.gz 159746 BLAKE2B 1ef914ec316bebb40961f075c528d8311c21030bcc643e45e18e187cce8d52f2a79629be7482778e5f0061c3db143685b5899e7e0c563f0565bbad3390dc3783 SHA512 37b88fbdbc66a6057a3b50379928d7f0547136aa8d068109b2dd3d2c6969698598a26c84b1f7494952795dc52a7ab05e2240680d86e88c85007df1e53445052d
DIST linode_cli-5.56.0.tar.gz 160792 BLAKE2B 25d2099d0363e699444245a939ede518530f1dda63a063db74b34650f7f7d76cf1f0d630cc01ca6dbeaed659a10f1429792d06615db4f773669234267f608d24 SHA512 5f3b075479a00b3d8c210c98040029bf44b10dc505a711e373bab49b53556a4ae4d26799a998c0354b562bfa1bbdbfa6d4b965c52d8c9bd57fae8d3c1eb27e72
DIST linode_cli-5.56.1.tar.gz 161059 BLAKE2B 20c0f3de96dd40745265a42b0c9736b6aa59915247170e84624eb21c097306e33c592b730687b11e7e5cdf795f0b313aadc45fd72af72d1e5f76256cea79d4dd SHA512 f711ca0756d4ca0d84c769c4ab5cad747efb3e3e256f484ebb9a44686218fd912d3df7538d03c3e447b16a215c8ca304ec2060562a66a2744128f85e6a1fa2a2
EBUILD linode-cli-5.54.0.ebuild 1338 BLAKE2B 8cdcd6d7ad933ac3ee00ad19a9f900961de75404b4e9b36f8043cca9e76e6db846c1ec4a9490901edd15cba501fcf9671a808444f144962b63574c60281343cd SHA512 396a0108dfddab2e2c5ba57caec6d599d3723807cce301a2545415f0e0c625e6f0c0e846b2b243bba459695928c360c35ed04ea027ac236c450530458c6893d9
EBUILD linode-cli-5.55.0.ebuild 1338 BLAKE2B 8cdcd6d7ad933ac3ee00ad19a9f900961de75404b4e9b36f8043cca9e76e6db846c1ec4a9490901edd15cba501fcf9671a808444f144962b63574c60281343cd SHA512 396a0108dfddab2e2c5ba57caec6d599d3723807cce301a2545415f0e0c625e6f0c0e846b2b243bba459695928c360c35ed04ea027ac236c450530458c6893d9
EBUILD linode-cli-5.56.0.ebuild 1338 BLAKE2B be1fab9cdec25c42418e83f0247f5fb926486643e78cf6cb3c2e4c2ad3030fac672ebeb7bce3bfc6b86ad8d08aa9b1deb597ce166390953c56cb07b8ae3e1f2a SHA512 65b66bfe07cf7f17711a8c29dd3dc91fab6b3af3b4b7219200e7dbc6f0030feabd7afc21d12f5f37824b2dfd72538fb4499e677380a04f6ed3c3ed7cad23c32e
DIST linode_cli-5.56.2.tar.gz 161397 BLAKE2B 0cb43fdb4a9d722466d97b093495879ef114542ce39f4dd93be086ff4b1436ce354a01ffe5c6e865a8ffea564b60767e54a960a42fcb639384e61f21b5e11b4a SHA512 1e5234eb4ac962d5255d3b3809dbe00d3803e374b16cd1c590668c985ef032b96745f361172e96ad8b4e434ad2963174ec702497e753ba0a346074966df6f510
EBUILD linode-cli-5.56.1.ebuild 1338 BLAKE2B be1fab9cdec25c42418e83f0247f5fb926486643e78cf6cb3c2e4c2ad3030fac672ebeb7bce3bfc6b86ad8d08aa9b1deb597ce166390953c56cb07b8ae3e1f2a SHA512 65b66bfe07cf7f17711a8c29dd3dc91fab6b3af3b4b7219200e7dbc6f0030feabd7afc21d12f5f37824b2dfd72538fb4499e677380a04f6ed3c3ed7cad23c32e
EBUILD linode-cli-5.56.2.ebuild 1345 BLAKE2B 82595a8b6352f8045f8cc6cc3470c9a03be52cb4555c390ad813398b12d2d198925594e6500fdfbbf23e6eb0e6b04e2fef5569ec1e3192f6d2f8393b1915b273 SHA512 bc3c2f4051fd3b62c4de2622e52c9773d63e0db621c3dbe11172f185b4a218b2af10ba0459261e99850eb9fca5783d10b02540fa969d9a0b33e1d91f1b67511e
MISC metadata.xml 483 BLAKE2B 7b3a4b824e16ba32424777359d0daf09d17cc498a06f9ce5acfd7baec80ffea26220145676f37edfe46302257fd0a2bc5071d60f955dc19cda582419b2027f5c SHA512 33c8fae2235a7a6d2653a4db3341b2d69e390ed6dfa33868dd7e6b3a384f78013ae3c42a91d8eddd25929086f7705ce0869a34e28eedadb497e286ae59570be4

View file

@ -1,45 +0,0 @@
# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi shell-completion
DESCRIPTION="Official command-line interface for interacting with the Linode API"
HOMEPAGE="https://github.com/linode/linode-cli https://www.linode.com/"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
# Tests require network, a linode account and an API key.
# WARNING: tests will incur costs and will wipe the account.
RESTRICT="test"
RDEPEND="
dev-python/boto3[${PYTHON_USEDEP}]
>=dev-python/linode-metadata-0.3[${PYTHON_USEDEP}]
dev-python/openapi3[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/rich[${PYTHON_USEDEP}]
<dev-python/urllib3-3[${PYTHON_USEDEP}]
"
python_install_all() {
distutils-r1_python_install_all
PYTHONPATH=. ${EPYTHON} linodecli completion bash > "${T}/${PN}".bash || die
PYTHONPATH=. ${EPYTHON} linodecli completion fish > "${T}/${PN}".fish || die
newbashcomp "${T}/${PN}".bash ${PN}
newfishcomp "${T}/${PN}".fish ${PN}
dosym ${PN} "$(get_bashcompdir)"/linode
dosym ${PN} "$(get_bashcompdir)"/lin
dosym ${PN} "$(get_fishcompdir)"/linode
dosym ${PN} "$(get_fishcompdir)"/lin
}

View file

@ -1,45 +0,0 @@
# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi shell-completion
DESCRIPTION="Official command-line interface for interacting with the Linode API"
HOMEPAGE="https://github.com/linode/linode-cli https://www.linode.com/"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
# Tests require network, a linode account and an API key.
# WARNING: tests will incur costs and will wipe the account.
RESTRICT="test"
RDEPEND="
dev-python/boto3[${PYTHON_USEDEP}]
>=dev-python/linode-metadata-0.3[${PYTHON_USEDEP}]
dev-python/openapi3[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/rich[${PYTHON_USEDEP}]
<dev-python/urllib3-3[${PYTHON_USEDEP}]
"
python_install_all() {
distutils-r1_python_install_all
PYTHONPATH=. ${EPYTHON} linodecli completion bash > "${T}/${PN}".bash || die
PYTHONPATH=. ${EPYTHON} linodecli completion fish > "${T}/${PN}".fish || die
newbashcomp "${T}/${PN}".bash ${PN}
newfishcomp "${T}/${PN}".fish ${PN}
dosym ${PN} "$(get_bashcompdir)"/linode
dosym ${PN} "$(get_bashcompdir)"/lin
dosym ${PN} "$(get_fishcompdir)"/linode
dosym ${PN} "$(get_fishcompdir)"/lin
}

View file

@ -1,45 +0,0 @@
# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..13} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi shell-completion
DESCRIPTION="Official command-line interface for interacting with the Linode API"
HOMEPAGE="https://github.com/linode/linode-cli https://www.linode.com/"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
# Tests require network, a linode account and an API key.
# WARNING: tests will incur costs and will wipe the account.
RESTRICT="test"
RDEPEND="
dev-python/boto3[${PYTHON_USEDEP}]
>=dev-python/linode-metadata-0.3[${PYTHON_USEDEP}]
dev-python/openapi3[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/rich[${PYTHON_USEDEP}]
<dev-python/urllib3-3[${PYTHON_USEDEP}]
"
python_install_all() {
distutils-r1_python_install_all
PYTHONPATH=. ${EPYTHON} linodecli completion bash > "${T}/${PN}".bash || die
PYTHONPATH=. ${EPYTHON} linodecli completion fish > "${T}/${PN}".fish || die
newbashcomp "${T}/${PN}".bash ${PN}
newfishcomp "${T}/${PN}".fish ${PN}
dosym ${PN} "$(get_bashcompdir)"/linode
dosym ${PN} "$(get_bashcompdir)"/lin
dosym ${PN} "$(get_fishcompdir)"/linode
dosym ${PN} "$(get_fishcompdir)"/lin
}

View file

@ -0,0 +1,45 @@
# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..13} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi shell-completion
DESCRIPTION="Official command-line interface for interacting with the Linode API"
HOMEPAGE="https://github.com/linode/linode-cli https://www.linode.com/"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
# Tests require network, a linode account and an API key.
# WARNING: tests will incur costs and will wipe the account.
RESTRICT="test"
RDEPEND="
>=dev-python/boto3-1.36[${PYTHON_USEDEP}]
>=dev-python/linode-metadata-0.3[${PYTHON_USEDEP}]
dev-python/openapi3[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/pyyaml[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/rich[${PYTHON_USEDEP}]
<dev-python/urllib3-3[${PYTHON_USEDEP}]
"
python_install_all() {
distutils-r1_python_install_all
PYTHONPATH=. ${EPYTHON} linodecli completion bash > "${T}/${PN}".bash || die
PYTHONPATH=. ${EPYTHON} linodecli completion fish > "${T}/${PN}".fish || die
newbashcomp "${T}/${PN}".bash ${PN}
newfishcomp "${T}/${PN}".fish ${PN}
dosym ${PN} "$(get_bashcompdir)"/linode
dosym ${PN} "$(get_bashcompdir)"/lin
dosym ${PN} "$(get_fishcompdir)"/linode
dosym ${PN} "$(get_fishcompdir)"/lin
}

View file

@ -1,6 +1,8 @@
AUX logsurfer+-1.8-C23.patch 10569 BLAKE2B cb4393f699445396dbe8aeae0ac87f67ed2aa04e65fbf96e857cb6d79a28d5aee9c719d6f1dc510514186e38578bdfccbfe6857d3a749ba060b537f803a791e6 SHA512 47b25effdd8ddfddb4afa11a5f8b9b8e59e0ac0ef4db62c93e6d84dd0caca82a121627d3e637c173e1f5df7057865dae2036f0098b8386ace8c4b7863cbc47e0
AUX logsurfer+-1.8-fix-declaration-of-check_context_linelimit.patch 857 BLAKE2B e9840db3760acd7602dd77f187c2d13627f6083bf2a2cb37fbe9224115ec6a37c38dfce490ef4c1b1560645d92c8feeb6234a5b79b545bf9f5f9bfca3ca66853 SHA512 122b2932a4d48077b51271c012d43977d344e26c2c607c70df7c720edee2a186e4c5480e6b0d258e5874d9a797991c04bbe2186a622076e09958f87b81b8c704
AUX logsurfer-1.8.initd-r1 785 BLAKE2B c221acc6d565c6bef69e2b0e107d1d7e5b2fd03d7a645cbcf72b04ec903d3dd4fd031f3ba1f310b8cb0b6f1f8c936a1d3c605602a65682d09a3c4b86ced98f22 SHA512 dc02f6f317437adfe216992a0095912e73f9ad5abcbd2912bb4cdf0d71c4e0653eaeb14f3ff7164d20f1dee168c7b5352a3db96b9520a711e5f7ef04eca9e800
AUX logsurfer.confd 106 BLAKE2B 3b43cc5e0782c3b34dca3ae607cf38db2128d09a11770efc013501368483134a4e6741c14533dfd59b05cce06e5498ba3a1321c330fe43915f588c5fef4bd3d1 SHA512 872004ae1aedc3adb550da30ebc544ccbf11af5ad399bb9788a4db336138c3f5ec03c3704eaaa2cecb0559de6a2bcab9e96da062e6af9a6daa22afdec709a43a
DIST logsurfer-1.8.tar.gz 197507 BLAKE2B caa824ef486d8f48f39e6e1309d2dbccace4e91910b94267d50ab9dc022371bade87c251d87c4818d900ce2a72141f2ac4d0b4cccf4b2850e594951c77df2c0e SHA512 975b1353d067cee3a47fb555013ad86cf404863bcd044a46a7b8314670613b89720e4c21ac9c1389f930be964e4694ee6863ce72e289054ffacf9c62565ffa30
EBUILD logsurfer+-1.8-r5.ebuild 905 BLAKE2B ff291253c74d5b573fcd066cae7d71b27ce966ed2de6d311fb8ec01b9689f5f51e75f52b733141077eb6b7195ac26d739e6706ce1202429d7264bbd29761b847 SHA512 68c1d5dfd07e4dc4951995f39660307badc96e6569698b68b3bc0252034085aeac0e8495c89d87d956a4d6a56aed904f80bb3f56e0ad4617b68f0866c5264514
EBUILD logsurfer+-1.8-r6.ebuild 1023 BLAKE2B 0d21ee057e48e68d61f5748ea751ab626eab5a8bf6cc16bac07d61143d4a50abdd6481f929831b6f389d5efc27040a67e4e4bbf8163eff171af22bd69a615303 SHA512 55917465d02d194a0113486364b218edd1b8836127a1c9c5e55856f4b3f86662eb05475200e00d45f784d33dd52d99ba9365c7e0d7bbb3b1e078e946052126d5
MISC metadata.xml 247 BLAKE2B 227b2440b4cdea7b4d0363eb97d6a8c758713c69bbc7f9cf3a2b77bc42186357947aa93de72ac0243b9372e0d32c95542b111bc474cba1c81db6221855253220 SHA512 a3263cfc76fd2c6b8eafa54741e2d9baf3bbd492812588e1fdb1cd1277baeaf2136e1e291c2a7248699ec76c046f9074a45fab2515bb010532b6510bb56274f4

View file

@ -0,0 +1,346 @@
https://bugs.gentoo.org/905941
Deal with consequences of autoreconf, let errors propagate
--- a/Makefile.in
+++ b/Makefile.in
@@ -92,28 +92,28 @@
all install: Makefile config.h
for subdir in $(SUBDIRS); do \
echo making $@ in $$subdir ; \
- (cd $$subdir; $(MAKE) $(MDEFINES) $@); \
+ $(MAKE) -C $$subdir $(MDEFINES) $@; \
done
clean:
for subdir in $(SUBDIRS); do \
echo making $@ in $$subdir ; \
- (cd $$subdir; $(MAKE) $@); \
+ $(MAKE) -C $$subdir $@; \
done
distclean:
$(RM) Makefile config.h config.cache config.log config.status stamp-h
for subdir in $(SUBDIRS); do \
echo making $@ in $$subdir ; \
- (cd $$subdir; $(MAKE) $@); \
+ $(MAKE) -C $$subdir $@; \
done
-${srcdir}/configure: configure.in
+${srcdir}/configure: configure.ac
cd ${srcdir} && autoconf
# autoheader might not change config.h.in, so touch a stamp file.
${srcdir}/config.h.in: stamp-h.in
-${srcdir}/stamp-h.in: configure.in
+${srcdir}/stamp-h.in: configure.ac
cd ${srcdir} && autoheader
echo timestamp > ${srcdir}/stamp-h.in
Fix all implicit declarations by filling them and reordering
type definitions. Ought to be a header.
https://bugs.gentoo.org/943896
--- a/exit.c
+++ b/src/exit.c
@@ -243,7 +243,7 @@
* catch the dump signal, write a message and dump the state
*/
void
-dump_data()
+dump_data(int)
{
(void) fprintf(stderr, "dumping state to %s\n", dumpfile_name);
real_dump_data();
@@ -307,8 +307,7 @@
* exit the program...
*/
void
-logsurfer_exit(sig)
- int sig;
+logsurfer_exit(int sig)
/* ARGSUSED */
{
struct context *this_context, *next_context;
@@ -322,7 +321,7 @@
if (exit_silent)
real_dump_data();
else
- dump_data();
+ dump_data(sig);
/* check for timeouts */
if (!exit_silent)
--- a/exit.h
+++ b/src/exit.h
@@ -6,7 +6,7 @@
#if __STDC__
-void dump_data();
+void dump_data(int);
void real_dump_data();
void cleanup_memory();
void logsurfer_exit(int);
--- a/regex.c
+++ b/src/regex.c
@@ -837,13 +837,46 @@
"Unmatched ) or \\)", /* REG_ERPAREN */
};
+
+/* Since we have one byte reserved for the register number argument to
+ {start,stop}_memory, the maximum number of groups we can report
+ things about is what fits in that byte. */
+#define MAX_REGNUM 255
+
+/* But patterns can have more than `MAX_REGNUM' registers. We just
+ ignore the excess. */
+typedef unsigned regnum_t;
+
+/* Since offsets can go either forwards or backwards, this type needs to
+ be able to hold values from -(MAX_BUF_SIZE - 1) to MAX_BUF_SIZE - 1. */
+typedef int pattern_offset_t;
+
+typedef struct
+{
+ pattern_offset_t begalt_offset;
+ pattern_offset_t fixup_alt_jump;
+ pattern_offset_t inner_group_offset;
+ pattern_offset_t laststart_offset;
+ regnum_t regnum;
+} compile_stack_elt_t;
+
+typedef struct
+{
+ compile_stack_elt_t *stack;
+ unsigned size;
+ unsigned avail; /* Offset of next open position. */
+} compile_stack_type;
+
/* Subroutine declarations and macros for regex_compile. */
-static void store_op1 (), store_op2 ();
-static void insert_op1 (), insert_op2 ();
-static boolean at_begline_loc_p (), at_endline_loc_p ();
-static boolean group_in_compile_stack ();
-static reg_errcode_t compile_range ();
+static void store_op1 (re_opcode_t op, unsigned char *loc, int arg);
+static void store_op2 (re_opcode_t op, unsigned char *loc, int arg1, int arg2);
+static void insert_op1 (re_opcode_t op, unsigned char *loc, int arg, unsigned char *end);
+static void insert_op2 (re_opcode_t op, unsigned char *loc, int arg1, int arg2, unsigned char *end);
+static boolean at_begline_loc_p (const char *pattern, const char *p, reg_syntax_t syntax);
+static boolean at_endline_loc_p (const char *p, const char *pend, int syntax);
+static boolean group_in_compile_stack (compile_stack_type compile_stack, regnum_t regnum);
+static reg_errcode_t compile_range (const char **p_ptr, const char *pend, char *translate, reg_syntax_t syntax, unsigned char *b);
/* Fetch the next character in the uncompiled pattern---translating it
if necessary. Also cast from a signed character in the constant
@@ -964,40 +997,8 @@
} while (0)
-/* Since we have one byte reserved for the register number argument to
- {start,stop}_memory, the maximum number of groups we can report
- things about is what fits in that byte. */
-#define MAX_REGNUM 255
-
-/* But patterns can have more than `MAX_REGNUM' registers. We just
- ignore the excess. */
-typedef unsigned regnum_t;
-
-
/* Macros for the compile stack. */
-/* Since offsets can go either forwards or backwards, this type needs to
- be able to hold values from -(MAX_BUF_SIZE - 1) to MAX_BUF_SIZE - 1. */
-typedef int pattern_offset_t;
-
-typedef struct
-{
- pattern_offset_t begalt_offset;
- pattern_offset_t fixup_alt_jump;
- pattern_offset_t inner_group_offset;
- pattern_offset_t laststart_offset;
- regnum_t regnum;
-} compile_stack_elt_t;
-
-
-typedef struct
-{
- compile_stack_elt_t *stack;
- unsigned size;
- unsigned avail; /* Offset of next open position. */
-} compile_stack_type;
-
-
#define INIT_COMPILE_STACK_SIZE 32
#define COMPILE_STACK_EMPTY (compile_stack.avail == 0)
@@ -2060,10 +2061,7 @@
/* Store OP at LOC followed by two-byte integer parameter ARG. */
static void
-store_op1 (op, loc, arg)
- re_opcode_t op;
- unsigned char *loc;
- int arg;
+store_op1 (re_opcode_t op, unsigned char *loc, int arg)
{
*loc = (unsigned char) op;
STORE_NUMBER (loc + 1, arg);
@@ -2073,10 +2071,7 @@
/* Like `store_op1', but for two two-byte parameters ARG1 and ARG2. */
static void
-store_op2 (op, loc, arg1, arg2)
- re_opcode_t op;
- unsigned char *loc;
- int arg1, arg2;
+store_op2 (re_opcode_t op, unsigned char *loc, int arg1, int arg2)
{
*loc = (unsigned char) op;
STORE_NUMBER (loc + 1, arg1);
@@ -2088,11 +2083,7 @@
for OP followed by two-byte integer parameter ARG. */
static void
-insert_op1 (op, loc, arg, end)
- re_opcode_t op;
- unsigned char *loc;
- int arg;
- unsigned char *end;
+insert_op1 (re_opcode_t op, unsigned char *loc, int arg, unsigned char *end)
{
register unsigned char *pfrom = end;
register unsigned char *pto = end + 3;
@@ -2107,11 +2098,7 @@
/* Like `insert_op1', but for two two-byte parameters ARG1 and ARG2. */
static void
-insert_op2 (op, loc, arg1, arg2, end)
- re_opcode_t op;
- unsigned char *loc;
- int arg1, arg2;
- unsigned char *end;
+insert_op2 (re_opcode_t op, unsigned char *loc, int arg1, int arg2, unsigned char *end)
{
register unsigned char *pfrom = end;
register unsigned char *pto = end + 5;
@@ -2128,9 +2115,7 @@
least one character before the ^. */
static boolean
-at_begline_loc_p (pattern, p, syntax)
- const char *pattern, *p;
- reg_syntax_t syntax;
+at_begline_loc_p (const char *pattern, const char *p, reg_syntax_t syntax)
{
const char *prev = p - 2;
boolean prev_prev_backslash = prev > pattern && prev[-1] == '\\';
@@ -2147,9 +2132,7 @@
at least one character after the $, i.e., `P < PEND'. */
static boolean
-at_endline_loc_p (p, pend, syntax)
- const char *p, *pend;
- int syntax;
+at_endline_loc_p (const char *p, const char *pend, int syntax)
{
const char *next = p;
boolean next_backslash = *next == '\\';
@@ -2169,9 +2152,7 @@
false if it's not. */
static boolean
-group_in_compile_stack (compile_stack, regnum)
- compile_stack_type compile_stack;
- regnum_t regnum;
+group_in_compile_stack (compile_stack_type compile_stack, regnum_t regnum)
{
int this_element;
@@ -2197,11 +2178,7 @@
`regex_compile' itself. */
static reg_errcode_t
-compile_range (p_ptr, pend, translate, syntax, b)
- const char **p_ptr, *pend;
- char *translate;
- reg_syntax_t syntax;
- unsigned char *b;
+compile_range (const char **p_ptr, const char *pend, char *translate, reg_syntax_t syntax, unsigned char *b)
{
unsigned this_char;
@@ -2989,13 +2966,6 @@
return -1;
} /* re_search_2 */
-/* Declarations and macros for re_match_2. */
-
-static int bcmp_translate ();
-static boolean alt_match_null_string_p (),
- common_op_match_null_string_p (),
- group_match_null_string_p ();
-
/* Structure for per-register (a.k.a. per-group) information.
This must not be longer than one word, because we push this value
onto the failure stack. Other register information, such as the
@@ -3022,6 +2992,13 @@
} bits;
} register_info_type;
+/* Declarations and macros for re_match_2. */
+
+static int bcmp_translate (unsigned char *s1, unsigned char *s2, int len, char *translate);
+static boolean alt_match_null_string_p (unsigned char *p, unsigned char *end, register_info_type *reg_info);
+static boolean common_op_match_null_string_p (unsigned char **p, unsigned char *end, register_info_type *reg_info);
+static boolean group_match_null_string_p (unsigned char **p, unsigned char *end, register_info_type *reg_info);
+
#define REG_MATCH_NULL_STRING_P(R) ((R).bits.match_null_string_p)
#define IS_ACTIVE(R) ((R).bits.is_active)
#define MATCHED_SOMETHING(R) ((R).bits.matched_something)
@@ -4354,9 +4331,7 @@
We don't handle duplicates properly (yet). */
static boolean
-group_match_null_string_p (p, end, reg_info)
- unsigned char **p, *end;
- register_info_type *reg_info;
+group_match_null_string_p (unsigned char **p, unsigned char *end, register_info_type *reg_info)
{
int mcnt;
/* Point to after the args to the start_memory. */
@@ -4463,9 +4438,7 @@
byte past the last. The alternative can contain groups. */
static boolean
-alt_match_null_string_p (p, end, reg_info)
- unsigned char *p, *end;
- register_info_type *reg_info;
+alt_match_null_string_p (unsigned char *p, unsigned char *end, register_info_type *reg_info)
{
int mcnt;
unsigned char *p1 = p;
@@ -4500,9 +4473,7 @@
Sets P to one after the op and its arguments, if any. */
static boolean
-common_op_match_null_string_p (p, end, reg_info)
- unsigned char **p, *end;
- register_info_type *reg_info;
+common_op_match_null_string_p (unsigned char **p, unsigned char *end, register_info_type *reg_info)
{
int mcnt;
boolean ret;
@@ -4588,10 +4559,7 @@
bytes; nonzero otherwise. */
static int
-bcmp_translate (s1, s2, len, translate)
- unsigned char *s1, *s2;
- register int len;
- char *translate;
+bcmp_translate (unsigned char *s1, unsigned char *s2, int len, char *translate)
{
register unsigned char *p1 = s1, *p2 = s2;
while (len)

View file

@ -0,0 +1,58 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
MY_P="${P/+/}"
inherit toolchain-funcs autotools
DESCRIPTION="Real Time Log Monitoring and Alerting"
HOMEPAGE="https://crypt.gen.nz/logsurfer/"
SRC_URI="https://downloads.sourceforge.net/logsurfer/${MY_P}.tar.gz"
S="${WORKDIR}/${MY_P}"
LICENSE="freedist GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RESTRICT="bindist" #444330
RDEPEND="
acct-group/logsurfer
acct-user/logsurfer
"
PATCHES=(
"${FILESDIR}/${P}-fix-declaration-of-check_context_linelimit.patch"
"${FILESDIR}/${P}-C23.patch"
)
src_prepare() {
default
#https://bugs.gentoo.org/905941
eautoreconf
}
src_configure() {
local myeconfargs=(
--with-etcdir=/etc
)
econf "${myeconfargs[@]}"
}
src_compile() {
tc-export CC
default
}
src_install() {
dobin src/logsurfer
doman man/logsurfer.1 man/logsurfer.conf.4
newinitd "${FILESDIR}"/logsurfer-1.8.initd-r1 logsurfer
newconfd "${FILESDIR}"/logsurfer.confd logsurfer
einstalldocs
}

View file

@ -1,25 +1,7 @@
DIST opentofu-1.6.0-deps.tar.xz 332007504 BLAKE2B 1c2a7d2350944d34308baa0566977aad914b3c4f989ba90d51cb52e3001d11e56952906b0dab7adc5cef261290b748c0567e35c66f6701d62d750e18d0acea5f SHA512 5c5644b2caef5439e50865569abec133ba57a6e6581d8f8d38500671818079b471afcd86422858475b1ca912bdb75fe0b91227012f5c597bcaabe1a215b2eb09
DIST opentofu-1.6.0.tar.gz 3696642 BLAKE2B e224ce14f04d07638d03b9a11ab251cd820acc86774f9c82f38f5bcfc38b62bbdbc70377e722a4dd2bd65f917ba0fc200ccaaeafdbd9430af66586491c7627eb SHA512 758f4ff79e526e9494e1e98dd927dbeb803b45df1f8bc15c3a9bca8343d7285b9130bfe5f19f6ddd7fd403b72d852b0d51542c058174e4bd5eed3c729b394bdb
DIST opentofu-1.6.1-deps.tar.xz 332000152 BLAKE2B bfa5bee3c7ba8cc79cd8f81137fb611abce0b806813475deab0e5546542910cc391252ebb3054badf3a8bfe17f25d30ce570065591aaa6148ad6bd7c42aa8e2e SHA512 10e5519b1be53a5ec1191dec8f73960da72ca53cc5284ef9a72139ce0e1db2a9213fbed696088644414ef0fb589c26a7980f695b79192f0e5f039f3dfcfc91e8
DIST opentofu-1.6.1.tar.gz 3709010 BLAKE2B 3d172a4228ff10608dc74da6980eda38ec9afa13ac4bbfeb4ae3fb3142af81fc30988a99fea01ee7988b7ad057efbe1b270b4b880e4152ec3d87939f29ae8614 SHA512 6d98e5f03340853ad3f516ad890fe297c4239c03c0c5d4b0e7efc490b734ce2948bbd3ee5d1375d9eade2ea4a6ef71dbb22a5dd48fc81df5a9440ce73090a92e
DIST opentofu-1.6.2-deps.tar.xz 106556484 BLAKE2B fe6ed9507aa3589e34f8c3189d6ee03044b6397a650663c9746c94e45066dbc6e15529f9b4ed3c57649083580a7589596c0b710fdcf0ec832816e76d5137607e SHA512 d8c2e66ab9254d0031aa8fd7dc6fb0ef1aa748282a0b7d9d277398c2f50bceb097b52389a19b70c67d5d0abba9ef289f3d19a786436f16f7549b293bf6b46a48
DIST opentofu-1.6.2.tar.gz 3708735 BLAKE2B 07c48de78e5510c87413447bf2393ee3e93a91ea562a28849e9db6342eccb7b85745cea0aaa3d8e3861a10127905f4b3614b77863b62a21a0a8c8f5163afac22 SHA512 25fac0e6837f2d125d35f780c3091139819a00ae3f96c2e62a1c3c544e425a60c9880c84b4e1aa6727771c5523c81e8dbab38d5151b854bbc470d7819746567c
DIST opentofu-1.7.1-deps.tar.xz 107794272 BLAKE2B cf06be88cdfe1e2b12d9f5b6c3576bb5d5fab9a05041fa60ad98a094778ab937efb5d2cc0f535f6212ed233188a4c620cc4ac80b5f58306b2dc92399d138c8b1 SHA512 d9e950cf196b93d75211593b372ecf46a6933f05a653e63c60bb1813530ddf39edce5236f1dcdc815812fbbe2b7721c237ca0cc36f3fcded523e1d213ba7ed7f
DIST opentofu-1.7.1.tar.gz 3890267 BLAKE2B c82bd4a99eb904a2dddc1c38c7a67680b3a51eb9a4a23ff618d038c4b467c7666a9801c7fb205d2f93b60ec8137a28b193347c0be43357a7397a0d98b8e1cf06 SHA512 11573449cf73e44352124463bb2dfe890688fc0bb1a232fb57a16872612c562e0fe08ed926635fc21063118d83a120febd156073c23d8dc3294e00035c660ad6
DIST opentofu-1.7.2-deps.tar.xz 107787580 BLAKE2B 10d7f8e114ca43964de34f4ecc7d8ada24f5ac069a7568a7b843e6c6d194e767deb254af00ce722ab82ed30eb80b34689c4e004b775edbbb07c34666f1436680 SHA512 7530197f99a1dc4d0a779edff466715039bd7d5fcaa70a5158cbde33256b0d90e9f2a1f47411c13f62a257f5baf6816fec5692b9e0ec01d2704c04d5935b59b9
DIST opentofu-1.7.2.tar.gz 3890420 BLAKE2B 7e234b535cd76b8716ed69271fd2ba13670c7ab7ae5fcff8c1e5a16097a518eee2d437772ae90b680e38adf5e64d77fdfa543f087492a36eb866405500eb3cc4 SHA512 49f93c1f7e1469b69a784424b724460c199e54c351801ef7ad3db1fea24089b585a5cf9ffef90b45ba2713d853b8d99828ceffa7c3469737bcd201b6ce34f362
DIST opentofu-1.8.1-deps.tar.xz 107813812 BLAKE2B 965afc691f6cab85774ca543088bd6dbfb37af22ed59a4fefd8b352924435d2569c7968475d272ead6d710e4279956aecd6f3a6a1421ee1ffc758255918f0399 SHA512 af429415110dfc19cb588390d49cc0aad057505d6de3897cb52d996473d81f294f239cc1a767682355d97fd292c7c1cf56e42f8127375eff9c3affdbc372fbcc
DIST opentofu-1.8.1.tar.gz 3995189 BLAKE2B d6bfd35172960180defee30e0fa3135f6aac5017d307f236145931cc134c58b123a1e368278e2fcce613a184c90b1ae3fb15a0e4da32c4fbf2e291b8f4c2251d SHA512 c6bb6cab979cb5bb53eb53eea6c1a0b2766b06fd5c66564597b3df8d4561d2b2af3f5a4804f3427da3addc11c12b99ef913637b2126452f5f2168d88a06af478
DIST opentofu-1.8.8-deps.tar.xz 107062472 BLAKE2B e1ad2b7e7a28fd8040b3bef000b795fff501b06c443e657b75e9489d4ad2c747670d9e9fc75e796590513cdae7eb59c33aa7786ca7fe6dc31a2325c2d7028b5c SHA512 b497ac10ae7b8d9b44645c159af625336e50678707ca8cb69af15f1fae62dbfdcd1e537c8a3adff368947fc5d6269c6a964c51fa19108f602018045aa4e12d84
DIST opentofu-1.8.8.tar.gz 4007751 BLAKE2B 7aff3cf4c01bf253975d50ac7d398299b881952bb9f8bffaf8548a6cef2e8f2b89249e9d8f7345ac284ed46fd152815d051a21598e2f1f1e5029a39c23764581 SHA512 ec58bac2cd2fc17879425631d5af2c660e9d42406f06254b3b4ffda8ebc30d9359c9d0491c8a53944ccb9ae4110ab9b658b43fc113e80c8cec18e854fb3a68d9
DIST opentofu-1.9.0-deps.tar.xz 107229436 BLAKE2B f0c2074cccdd7be8504eaf1e389a6bb1fec12a2a2a5bba88ae281527611eb3a0a8f3a5d2bbddbd76edce710641367ed8d878db54ab070946d04cbeb3f680c72c SHA512 dac5c4d1238641bcdb1fa37ff53d92924f424330e7c46d60ad14cf5c1e8f33267690468f11e4e4b853cdc8f06937f07200373bbbe845b4faaee1a5b086b10c33
DIST opentofu-1.9.0.tar.gz 4126960 BLAKE2B da87112a68f35689297bdaab261fd8916160fea9154da2578bb037fa21dc416b24233fbf5144d03cff73677cbaabdc019d10c8d60816e7ecae0ceabcc1fcfc62 SHA512 3b8219f778ede549def2d112c4939a95aa0484689e739b30a5e81bc723cc6ea7284eb6dc83001d415451dba39ecfaa4855a682ce2ea2e716bba385df2e8e0a08
EBUILD opentofu-1.6.0.ebuild 844 BLAKE2B bdfa0b0c680d11a0dc80829f2acfbbd919efd06d6f5a2fc1478455a15e1aa8d1fbf633a23f9479677449a1561a2bc56c85766f94d0561a5df211116c1a395e50 SHA512 54b6886c941cb45f8965816bc2ecd161d2efa79348adf42b3f12bc1217d13f7de47a1a09deff7836864ccf76a7ef198320e7fbe506ed7c4489c494fc20026cc9
EBUILD opentofu-1.6.1.ebuild 844 BLAKE2B bdfa0b0c680d11a0dc80829f2acfbbd919efd06d6f5a2fc1478455a15e1aa8d1fbf633a23f9479677449a1561a2bc56c85766f94d0561a5df211116c1a395e50 SHA512 54b6886c941cb45f8965816bc2ecd161d2efa79348adf42b3f12bc1217d13f7de47a1a09deff7836864ccf76a7ef198320e7fbe506ed7c4489c494fc20026cc9
EBUILD opentofu-1.6.2.ebuild 844 BLAKE2B bdfa0b0c680d11a0dc80829f2acfbbd919efd06d6f5a2fc1478455a15e1aa8d1fbf633a23f9479677449a1561a2bc56c85766f94d0561a5df211116c1a395e50 SHA512 54b6886c941cb45f8965816bc2ecd161d2efa79348adf42b3f12bc1217d13f7de47a1a09deff7836864ccf76a7ef198320e7fbe506ed7c4489c494fc20026cc9
EBUILD opentofu-1.7.1.ebuild 843 BLAKE2B 0a99d5633a6618a80eed527dd728813aaff3f13457aa9b408d8a32d8c223bfddd744066ed571757f8b5df51e9428776ccbcb53518e0ccf6e7d7b19b81e53caa9 SHA512 b74bdcdcb1134fdf2836a97d116da1e79619e279478d2af231111ce76b2242cdfc543786f4538aeb944c169db0256f65373168ecc9593489908ca7d28a9d4066
EBUILD opentofu-1.7.2.ebuild 844 BLAKE2B bdfa0b0c680d11a0dc80829f2acfbbd919efd06d6f5a2fc1478455a15e1aa8d1fbf633a23f9479677449a1561a2bc56c85766f94d0561a5df211116c1a395e50 SHA512 54b6886c941cb45f8965816bc2ecd161d2efa79348adf42b3f12bc1217d13f7de47a1a09deff7836864ccf76a7ef198320e7fbe506ed7c4489c494fc20026cc9
EBUILD opentofu-1.8.1.ebuild 844 BLAKE2B bdfa0b0c680d11a0dc80829f2acfbbd919efd06d6f5a2fc1478455a15e1aa8d1fbf633a23f9479677449a1561a2bc56c85766f94d0561a5df211116c1a395e50 SHA512 54b6886c941cb45f8965816bc2ecd161d2efa79348adf42b3f12bc1217d13f7de47a1a09deff7836864ccf76a7ef198320e7fbe506ed7c4489c494fc20026cc9
EBUILD opentofu-1.8.8.ebuild 844 BLAKE2B f0c5a632227897f3059ecd08bff7f3c1d3c46a8b2ac091946f00638032706585a923f4713129e00e1283df96fbc6ef21bb9624277c8815ecccb0597c6492400a SHA512 c72536effc730069f7c8f3f774d9394bff93fdb96a65fa0ee985a507f202083e4dccc4d8a0354da089b872b8e71c40acbb5755ced700a1543e7f5ad2cc6b9433
EBUILD opentofu-1.8.8.ebuild 843 BLAKE2B 0a99d5633a6618a80eed527dd728813aaff3f13457aa9b408d8a32d8c223bfddd744066ed571757f8b5df51e9428776ccbcb53518e0ccf6e7d7b19b81e53caa9 SHA512 b74bdcdcb1134fdf2836a97d116da1e79619e279478d2af231111ce76b2242cdfc543786f4538aeb944c169db0256f65373168ecc9593489908ca7d28a9d4066
EBUILD opentofu-1.9.0.ebuild 844 BLAKE2B f0c5a632227897f3059ecd08bff7f3c1d3c46a8b2ac091946f00638032706585a923f4713129e00e1283df96fbc6ef21bb9624277c8815ecccb0597c6492400a SHA512 c72536effc730069f7c8f3f774d9394bff93fdb96a65fa0ee985a507f202083e4dccc4d8a0354da089b872b8e71c40acbb5755ced700a1543e7f5ad2cc6b9433
MISC metadata.xml 417 BLAKE2B 82486cb8f3504862ce7658f0d54141e559a952874ec92697e7bd03f7f7a1e4a3df90a20158c8be6b4bb42d9c4e9de49c27754589e909a4e32ec52950a3d169bd SHA512 2a347bf9bd1be70d9e1853ae802091fcbea299a15fe4c170aacba005e7528c3b9c784d2b34bfff015f1b531648e6fb2e73ff3fb9d158df0991b3348a91f74eb6

View file

@ -1,40 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="The open source infrastructure as code tool"
HOMEPAGE="https://www.opentofu.org/"
SRC_URI="https://github.com/opentofu/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
LICENSE="Apache-2.0 BSD BSD-2 MPL-2.0 MIT ISC"
SLOT="0"
KEYWORDS="~amd64"
BDEPEND="dev-go/gox"
RESTRICT="test"
DOCS=( {README,CHANGELOG}.md )
src_compile() {
export CGO_ENABLED=0
gox \
-os=$(go env GOOS) \
-arch=$(go env GOARCH) \
-output bin/tofu \
-verbose \
./cmd/tofu || die
}
src_install() {
dobin bin/*
einstalldocs
}
pkg_postinst() {
elog "If you would like to install shell completions please run:"
elog " tofu -install-autocomplete"
}

View file

@ -1,40 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="The open source infrastructure as code tool"
HOMEPAGE="https://www.opentofu.org/"
SRC_URI="https://github.com/opentofu/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
LICENSE="Apache-2.0 BSD BSD-2 MPL-2.0 MIT ISC"
SLOT="0"
KEYWORDS="~amd64"
BDEPEND="dev-go/gox"
RESTRICT="test"
DOCS=( {README,CHANGELOG}.md )
src_compile() {
export CGO_ENABLED=0
gox \
-os=$(go env GOOS) \
-arch=$(go env GOARCH) \
-output bin/tofu \
-verbose \
./cmd/tofu || die
}
src_install() {
dobin bin/*
einstalldocs
}
pkg_postinst() {
elog "If you would like to install shell completions please run:"
elog " tofu -install-autocomplete"
}

View file

@ -1,40 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="The open source infrastructure as code tool"
HOMEPAGE="https://www.opentofu.org/"
SRC_URI="https://github.com/opentofu/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
LICENSE="Apache-2.0 BSD BSD-2 MPL-2.0 MIT ISC"
SLOT="0"
KEYWORDS="~amd64"
BDEPEND="dev-go/gox"
RESTRICT="test"
DOCS=( {README,CHANGELOG}.md )
src_compile() {
export CGO_ENABLED=0
gox \
-os=$(go env GOOS) \
-arch=$(go env GOARCH) \
-output bin/tofu \
-verbose \
./cmd/tofu || die
}
src_install() {
dobin bin/*
einstalldocs
}
pkg_postinst() {
elog "If you would like to install shell completions please run:"
elog " tofu -install-autocomplete"
}

View file

@ -1,40 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="The open source infrastructure as code tool"
HOMEPAGE="https://www.opentofu.org/"
SRC_URI="https://github.com/opentofu/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
LICENSE="Apache-2.0 BSD BSD-2 MPL-2.0 MIT ISC"
SLOT="0"
KEYWORDS="amd64"
BDEPEND="dev-go/gox"
RESTRICT="test"
DOCS=( {README,CHANGELOG}.md )
src_compile() {
export CGO_ENABLED=0
gox \
-os=$(go env GOOS) \
-arch=$(go env GOARCH) \
-output bin/tofu \
-verbose \
./cmd/tofu || die
}
src_install() {
dobin bin/*
einstalldocs
}
pkg_postinst() {
elog "If you would like to install shell completions please run:"
elog " tofu -install-autocomplete"
}

View file

@ -1,40 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="The open source infrastructure as code tool"
HOMEPAGE="https://www.opentofu.org/"
SRC_URI="https://github.com/opentofu/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
LICENSE="Apache-2.0 BSD BSD-2 MPL-2.0 MIT ISC"
SLOT="0"
KEYWORDS="~amd64"
BDEPEND="dev-go/gox"
RESTRICT="test"
DOCS=( {README,CHANGELOG}.md )
src_compile() {
export CGO_ENABLED=0
gox \
-os=$(go env GOOS) \
-arch=$(go env GOARCH) \
-output bin/tofu \
-verbose \
./cmd/tofu || die
}
src_install() {
dobin bin/*
einstalldocs
}
pkg_postinst() {
elog "If you would like to install shell completions please run:"
elog " tofu -install-autocomplete"
}

View file

@ -1,40 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="The open source infrastructure as code tool"
HOMEPAGE="https://www.opentofu.org/"
SRC_URI="https://github.com/opentofu/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
LICENSE="Apache-2.0 BSD BSD-2 MPL-2.0 MIT ISC"
SLOT="0"
KEYWORDS="~amd64"
BDEPEND="dev-go/gox"
RESTRICT="test"
DOCS=( {README,CHANGELOG}.md )
src_compile() {
export CGO_ENABLED=0
gox \
-os=$(go env GOOS) \
-arch=$(go env GOARCH) \
-output bin/tofu \
-verbose \
./cmd/tofu || die
}
src_install() {
dobin bin/*
einstalldocs
}
pkg_postinst() {
elog "If you would like to install shell completions please run:"
elog " tofu -install-autocomplete"
}

View file

@ -11,7 +11,7 @@ SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
LICENSE="Apache-2.0 BSD BSD-2 MPL-2.0 MIT ISC"
SLOT="0"
KEYWORDS="~amd64"
KEYWORDS="amd64"
BDEPEND="dev-go/gox"

View file

@ -33,6 +33,6 @@ EBUILD salt-3006.5-r1.ebuild 15197 BLAKE2B bdc3934197b14ca3da055733e8bb04e494099
EBUILD salt-3006.7-r1.ebuild 15501 BLAKE2B 8e9324f3be043a58f37a746a0de56d698c11afe6713bc84ce40c966bf4282f153fd903441ca3e3f556f07d1bff7e2f3eab62f427dee050a5f7eb637e680bdc35 SHA512 b5639f4c18b6a0e62b7bc44ad2af4157248e476d9b4f6bd3ffabe2139ef914a7c75288975827060de575bd588d3a04f159ca880c34f2c6aa4f6b8d61ef9470b4
EBUILD salt-3006.9-r2.ebuild 19256 BLAKE2B baef6e95432d1d236762d3cf24526501be03240024073b808c95005dd99d73458f1f133e793abddc29af791e9d8ecb2d4e97912f7cdeb97381a0398513f02624 SHA512 ab48014733269b5dadc855d68dd316ca94f0e7458e0ba6436e97d28cac14e3308c8444217eeb706b1676fb0eea296ab6d53f08ade62f6192a269f1855489ad89
EBUILD salt-3007.0-r1.ebuild 30876 BLAKE2B 1ebe8d31ef34bb73dc1785fc0dbad58495a4eef02e657b04abc0986778c110b46ca405dec4f52cd86179076b917e84d0b64ee903e42cbb02966017c73731559e SHA512 508ac0783aae95184ab4e123dbc819e9ee02f23dd6f593d0d266fa73214a43ff1f442f3c184d24723ac89a4158d3e2c3085f895411e8819c85d890cf652d67fe
EBUILD salt-3007.1-r1.ebuild 30973 BLAKE2B 88bdd4536256af5d80d338289ced21522c2c9ba09a2bd6b5cc7e18d6ae0c594a9e71023f9a8408ac80a3fdb20ec85dc4e7387ab0608d3b0e9f7bd96e0c60e93b SHA512 2bf4931eb20f473b6ed8a822707c7ae4bdc81f07025eae3a50eddef0b58821e8145a4c843ff8f54cbd245cbbe16f4bd781b8dc52a82404a3b18bc3118f112a89
EBUILD salt-3007.1-r1.ebuild 30972 BLAKE2B 14b67da69e19a03db193f4c891c72c9b104d7437951df7554aa6d338375b161ff62dbb8c7a34e9050381f30c78bc4b30f49ff9ee124810e3cb5fe4096b5ea550 SHA512 1fc43370620c6a5ab74ce7b5943e8dbeb13901c86c0fd3b77f4f02768b71162dcaf26b6df7579011654046ea963b07e2002ec19a8ad60b45e8dc3e186c1c7cb9
EBUILD salt-3007.1-r2.ebuild 31090 BLAKE2B 43ed7931b6859ba5f12bd21b811afc71b4ac5d027710db58ce7aba2c27e67d7519b2c49b487e2153e47f505730fa3485f073f45b4c1d37a9343085dee7c9a8dc SHA512 39cdbffa03f68bb284183355610438729094a976bf01f488ca2fcc90365e67559d589b087002b59119929ce82474eb246fbdda0877dde5e5baa332049cc581c2
MISC metadata.xml 2244 BLAKE2B 2c67e0828b71051c1c542b1e2142d93d623c28f30e36b59442dda3966f18ef2ae1111a263f1faf56c288c927c7db13736cfa68111248e84378fab23043d49e02 SHA512 89e46a1379b2cf95aff0af082f989cb50a1a769240407fbe6a43de1a3f312be5b690f30d1349aa659268fcf3818a2d829fcff18fd11988b161038cb19e13bde5

View file

@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -17,7 +17,7 @@ if [[ ${PV} == 9999* ]]; then
EGIT_BRANCH="develop"
else
inherit pypi
KEYWORDS="~amd64 ~riscv x86"
KEYWORDS="amd64 ~riscv x86"
fi
LICENSE="Apache-2.0"

View file

@ -2,6 +2,6 @@ AUX setools-4.5.1-remove-gui.patch 1194 BLAKE2B 39c9fe32301b065bee51358694f4f79d
DIST setools-4.4.4.tar.bz2 262867 BLAKE2B d64605ef050a2d51531e2a180bff086da536aa8d5e5c8cb96a81e137f575d089f9e9ec117cf0de9864f07174d92258b27ebf8fbc462714ef50bbd6d9f80d0a60 SHA512 ef72a7244ba0c724c4aea3afc40d71427e9c0592715f81cccaa8917e96836a88807ea78039c11c261dd3b4d72294accd76ab4bd37447cd500772030245db3c6e
DIST setools-4.5.1.tar.bz2 264998 BLAKE2B 479cec6f541c1e7125d641928ba49aee949e538612a478840cec2d70106dcf9f7fa5b8049c9d18c560587670ee624a3a744714667d52b99cff24c51e72026db7 SHA512 1045c223423fcb056ffbc2f93c4dc0ccc6ae078ce7d2acbe3a3c65de19440fe801b5b9f71038cde62bf9851f52d868c845aafbe33691ee531cf9854217e061d8
EBUILD setools-4.4.4.ebuild 1353 BLAKE2B 87f4801abbcf91b3ef920460cb806b2bc51114b45619e2f51404e7959ed704b76a6d3c752d8ecef4cabd17514a83b1ec70c28202980d3a0333d8f5e7a176d90f SHA512 87493707fec2369723ac3f433fd73531d5db6baa1d54dc02d302ed9e73229f4a60f1c0aebd89cc84c7d82a1ce9a4b2a552c13d2373b36f15aee28f14eeb50ecf
EBUILD setools-4.5.1.ebuild 1502 BLAKE2B 32e1a2bc39187418de801a0314eec4142f97212efa43d00ab0cc42ac1b3ee0a76820dc65f07504c277b49137b3ddc2d922dd76e65c6606073c194895fc5a4e94 SHA512 d4b073d0229a6a919d88b0e9ae131dce83c67c7220eb19206bdab408a0d5f4171e17ea100eee7704899e739e0a2bcaca0fb17a5e7a241599ebdac7b537d95add
EBUILD setools-9999.ebuild 1511 BLAKE2B 3271aba051e17a4484304840b05486555814832a043f58a640515cdde7f72955cddc30a6f7a27fa01914465b5c9ab9aa8607114f4554c8398a9aaca5fa1cc4e6 SHA512 1a9a5fefa0c83f01358a5f31cd6929bf0e2b607669a24669e0575bdc144b7c07db36b62ff2ee392cfaabab89500e2b6a1532e07935ded45f04a9e8902c06f862
EBUILD setools-4.5.1.ebuild 1502 BLAKE2B 1a162b03b4aea530bbf9fe8ece3559b300397e4343d79e668750e715c09f1468b2454547dab3052f096b74d4016d43fe23aa71b2572f690a778def0c5f0cf945 SHA512 cdef256be77693b832e6e7547cfae42d82a0192af3076dab0b4fed1c1e8e5de9b511207cffdbdd87e034885df07fe191265752c72f97042d0b72b7438480abc8
EBUILD setools-9999.ebuild 1511 BLAKE2B 58e54e141ff3fddf463d6d7af209101becad64a1b8242f539d63b7da725eecf70912f637baaa6323f352667a490e125590f6382ba5787a2d9679a590bf6a5e86 SHA512 d8b438442b814ddaca387c5f975e0ee20bc1518aa73b659ed44d89d314d2b8da5756534ce49963b956b8c1d6b5932172079c07c89d153f3f619cc1f3b7eb8853
MISC metadata.xml 335 BLAKE2B 81a7604472415bdf249d90f69e80a7a7c66f23597cba3005fc1fc825012ffdeb29bcb3f8f8b028ee35e0a076fe4863c25d79077718b28d5f658e68df2a703c5b SHA512 9115e12f13e78b8f63ec90a2ed71c5c731781415a77c2fd06bba358240261bf83183f14f2d38e5e9ffcafaee56de4df224b517afceb536d8e1e6af6f1eaa0938

View file

@ -5,7 +5,7 @@ EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1

View file

@ -5,7 +5,7 @@ EAPI=8
DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1

View file

@ -1,7 +1,10 @@
DIST terraform-1.10.5-deps.tar.xz 107373464 BLAKE2B 416637bfbb61ad5cdf867a265af26d2329e35dc6e92f02228df5dbd4245c36598fa9e92a2c5c05e4540bef549416ce09829f67fc790b51251a135ddee55e63c4 SHA512 5a8ee286b1eeebdf55f650fbdabeed10e83b1dfeabab0ad1f51245682320218dd2a2e32b287a58ffe7f4bc41cc0dd2d176a3c70c50e1d055b1bf1b138b2ec6f9
DIST terraform-1.10.5.tar.gz 6853436 BLAKE2B a798a6aefd46a85ef78356f3771066a1fe9d621128a30a7e7b394f32801cdc45f554401967a7563167a217801d5b2e4deaa1aba723638c2b4b2ace4f0f535411 SHA512 8d2f2b5ad929cabe2f2122f1b6c6c8e9c508e374a927db75dfe15a48024d3a5c578843b97571f5e30db43ea145900c6778cbcae7e43bfafb54896abe04520922
DIST terraform-1.9.5-deps.tar.xz 108369816 BLAKE2B 8476a09ad400818ec95bf1457003aeab1f76cd85b9ffa07e27be58eb63469a2bd1f7c0ddaa3903ec8e1641541d091367b333772bf37026611743aea82c1cfcf2 SHA512 b2c477180aeab5c3c51acb6960a3fea1f793a22fa9529b474d9b1ebc82bc62aed5ff2ab4567838666bb1ee4cbfe4ff0dd528d8f55853dadcc2a96a2a889fc996
DIST terraform-1.9.5.tar.gz 6568796 BLAKE2B 7dde80aef2c189942c6e23e2162a7e1f97d56ee78e7106c247600fe9437bcd63cce28003d2ac7dcb474fc91b9953d4bf953ed0e4bad68cc60ed8e1cd2d641e48 SHA512 422b7f288306d76cc82875e8514df37aa36c6cd97860f3f9a5e3770ec56f395cf1ffcc65e3211044c01d0f75b4331960720f8672efff7821a9d7f63f65999a6a
DIST terraform-1.9.8-deps.tar.xz 107050652 BLAKE2B dfc98d9c58d981899d97278b98071d857c21ad5812f6aa3889befef4ffd0527a94af9e53a842d86826c66fcacdfcc8b265cde282cf161ae42c48966c69331a54 SHA512 982d7672f48632085ca90c2b1182cdc9a031fbc8d5a6b724578cb407f183f5185e0b1387906c171bd5ee6cbad7a8ef1c4810e5f8ef0fd424bf2e654201ad1700
DIST terraform-1.9.8.tar.gz 6646861 BLAKE2B cadb58e748d41e50cde5fedd362a7558b4122fe33c428c9e841706cdb47426a9ae614fce10ea7ba4b04baa8379ff919707d71776d954754456e42d4e041c32a1 SHA512 dc369d612f8ea463e38538bb144d679b6fe4df2f554ec4715b669abee3d8045076a79d589e1ff950dba4e4aab84ef7a7656dd6d6be278d8b5468aeabd183d818
EBUILD terraform-1.10.5.ebuild 945 BLAKE2B 79f44e8bac856a894f99110ad8ae874710d71ded82bb5c9faf323e932a09bbd19c06c3d2e7ee273560f73e76195da7aaf30ba62166b15da4733edb4bd65638fd SHA512 a3ad330cbad947725eb76f180c023d94c7494a2a2405b6f379519c98319f4e561f6d0f2a6bc1a25af510287778b48f7b9f902cc74c6f3bd64ed01ab89bbed52e
EBUILD terraform-1.9.5.ebuild 876 BLAKE2B 841a5d7654dd92da6e4ecf4473d9daeb6085026ddcd42adcc5c1992b2ddd3931e4c52e8a5922df3a9ca325cc1353eee0ab5698285ca9268852b29bf95c14ef5c SHA512 2a70783aed35558ab923f3bdef52aec9f889989cc3f9e12d6673e9ed2c8fd9f83d6eb27e6310c30ad2435b0cd988e8aac29f5a6eb1a3c15d74186b2994694674
EBUILD terraform-1.9.8.ebuild 877 BLAKE2B ed81e582aaf9f0da4617e628176f86712272eec094ee4d19c7374c0a247248efb24e2f3688b3db40da85fa170db1de3011ede5240a109168d31f15a69298dd4f SHA512 e443ae4e74edb1cb95279590d4b733376d636f67a6d36757a7f8cafa236576d7e19cab06310b149c175ba19f6c7d049a8fd8cfe8d902a7b6327aef1cc043af85
MISC metadata.xml 1076 BLAKE2B 85b510c328c94106cb16527407d4694f6acc80d5aaa7ed677efc438be3522e52befc910b5b8805d2d1705bf1b0b220ed631e40bdbb1297779e96917158977f1a SHA512 06a6e462631d6ae026a127ea4c3f1cba4d84651d03011e08fa028adf2fbcb7dfbcd003d132d4a0ae58b7addafa5588270c3155d0cc400a3730628bd8bd716d95

View file

@ -0,0 +1,42 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="A tool for building, changing, and combining infrastructure safely"
HOMEPAGE="https://www.terraform.io/"
SRC_URI="https://github.com/hashicorp/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz"
LICENSE="BUSL-1.1"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~riscv"
BDEPEND="dev-go/gox"
RESTRICT="test"
DOCS=( {README,CHANGELOG}.md )
src_compile() {
export CGO_ENABLED=0
LD_FLAGS="-X 'github.com/hashicorp/terraform/version.dev=no'"
gox \
-os=$(go env GOOS) \
-arch=$(go env GOARCH) \
-ldflags "${LD_FLAGS}" \
-output bin/terraform \
-verbose \
. || die
}
src_install() {
dobin bin/*
einstalldocs
}
pkg_postinst() {
elog "If you would like to install shell completions please run:"
elog " terraform -install-autocomplete"
}

Binary file not shown.

View file

@ -2,6 +2,6 @@ AUX libdeflate-1.19-make-gzip-tests-conditional.patch 1376 BLAKE2B 9480aed1f1a31
DIST libdeflate-1.21.tar.gz 195361 BLAKE2B 8d1f2a71cb6a0823ab93631720f9807a6907f1d92490bb258b9bfcf9daf08b517eab3bdee064326a4274d7b193cffbafa24037e2be2503c17fa8daddef5cfff5 SHA512 7cd9bc91992ef824a0fdf175b0da081b8381decc325013477a3fbfcfe6cf240f66cedbeec830a51343fedb8c27c76fba8782c1aed3fc538e3afd6c9f8cdc90fb
DIST libdeflate-1.23.tar.gz 197519 BLAKE2B 6921aaf0fde3a2c1a8b04484879c64c2da2ee499353927fa20e8816932a4ccdc53af302f978eb099ee01f1a4c2ac5184529886d1c2a7adcb388ddd9fbd2b078f SHA512 c1effb9c5ee8d65bc12ae3d0669a4a394acace13cc146300ed24a7f12a0ec058f66729e1ffbae268711bdcc4151143752ab2d56a099dd6394b2735e8e2f1b671
EBUILD libdeflate-1.21.ebuild 1293 BLAKE2B d992c63d6b7a460bc2a18350ef2db232e3ff487ef15d6965907f1e3981b7e1b2ff8a61be0391962da123b656654c26fcc22fa97bac19a1e761474259ba01f40a SHA512 b056e0d5958b064122e5698a0adf04b46b43083821b7d8b79fd75c08f10453bbe38f71a6b63cb107e810461ccc6302079ac1930d9efc3f6c8d0edf3ef6a66d96
EBUILD libdeflate-1.23.ebuild 1300 BLAKE2B b1bd76d30b74777a664a2aa9deb343eccc43c0d935e8b9c77d497a0760e6c1501128bb18d7cd8a6b9e404711c15d34b5fdeccb4717fda002e47f0749ff37f311 SHA512 1ff8aa4c98d612a73b670d71d815f4630e42559cffc876f4fcc5a57084afb5eaadc0b6383a12cc7a8cd528adbc2c7479c63f883fa96131cb4c81d8143210e449
EBUILD libdeflate-1.23.ebuild 1296 BLAKE2B 295e6d3a4770036e64a27fe26d79e0cca514dda01ac3df5bf3bfadda0e8d8c637e460cf0acba7f4ceba42111b9bb0e6ddd7bc36428e3a48b9f56c281ddf1318f SHA512 8339af9e93558dc846d9f398f57fc175cfbc8d44eb2fe8bd8dba0f61911fc8b259769743449c7d5441c693ccf78272d190ef310958b1f2597d4df8c66cc2b329
EBUILD libdeflate-9999.ebuild 1294 BLAKE2B 250c4adc569764c4fb38443794103228498299c751912c20735fb72c39a6552492683a9a825535ab7681b509b71b6d830dfa35576d9064f4ba6c48349494087b SHA512 e22adbc6e3cc0b7030ef3eac3d0c391a87f66663161c8f302a84e00b62d5f56c6610cc1c64eefbff2944efb31480d418acce59c3b69b65cc2d99ce0107ad5b06
MISC metadata.xml 677 BLAKE2B ef9eee70214885dc6195ac1d8a8396c2022ab40e3bf35765ec58f1bc78b771973d0ea304aee25d625b7fe938f709cc1b4fe195f4f7e3ccc22ad2b197a8056f01 SHA512 812274509ca55d81b117ca61ed175ed3dcc3d83fa1bf6ee3fc5a72fbd4833e1be0f9789cefcebc206b3f9171f25c06df370f20446a4300a3d0040f8efde8ab60

View file

@ -13,7 +13,7 @@ if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/ebiggers/libdeflate.git"
else
SRC_URI="https://github.com/ebiggers/libdeflate/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc x86"
fi
LICENSE="MIT"

View file

@ -1,5 +1,4 @@
AUX par2cmdline-0.8.1-big-endian.patch 2911 BLAKE2B 749e0f955997d52da1b676d750057724e78302cdf70bff777b1bbf68945faedabbd050339950a96121a4aa197af0b0520a4e9665f3d3767fbacdf60a6baa2f55 SHA512 4186f8b3506dab8128abae28549fd2af4200aa656c65682fe68f02c04c1b0bc45144d24851ff54ef82ac4d40d7f1eb3ae9fae31d426a1092447cee339e3c0016
DIST par2cmdline-0.8.1.tar.bz2 3213343 BLAKE2B 4778fd32012c61739e04a4e564eaedf48527c04b0d83c5467c34808913e81cd5459a6a5bfabe79ca74f520761ebd3592e80b714f3ef45cc98866da919757a176 SHA512 b33ee654bd14269afb02d48175abf183281270c3e0dad9ffcaa0aa69c4271715a85e550d6d56fe5460ebfe9a37dc53b7d2210cd79a6f55d3921dc5dd5972c846
EBUILD par2cmdline-0.8.1-r1.ebuild 730 BLAKE2B 5f65c18c03a8a1328b09a302dd176d9ca01b03e78d0b1722b03b8559aa78ba6559fab139afafdf2f6ea0a4daf496d9099a80a371a96e8488e123f620b41258bb SHA512 cefef3a28ee98a32c0370a5931d63bcf8cea3412ab612d5a4742e8679805c6fde9722e51040e46764ed5c2db61c0a4463123ee5e9a8dec9e5fd9c4c538dc6b03
EBUILD par2cmdline-0.8.1-r2.ebuild 709 BLAKE2B f8b4d6868d925d7131f59c8fe6761d9e13fbfdd376b82d1dc49a620d112cb8997d635bc03b991d49fe41e0372c7e28c11a14aad039536ccfdce46b4a1f799ce9 SHA512 7369609ef362a18a83ad21296b4d7b62f440497d0a6750ab38647eb0bc3ce95f84983b7663d292ebaccd517517d9411df9c140c2d4cf14c6aed00e35297f3a0a
MISC metadata.xml 313 BLAKE2B 13e31cd90dad938be801aba6086fa8234878f9b691decd84e1fb56108a10e368c6442098b8574874f5c405f33d85c6236eb30e21e8f57e7e7c09deefe541a1d8 SHA512 88cd31f008359d686c66f9813f498c5c4c3f7662a5acfe5c7eac7c244bc0688fc544b36dd711c1949624c186e143f0d46e9c636b7ff54f401f67d95f3d33d69d

View file

@ -1,30 +0,0 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="A PAR-2.0 file verification and repair tool"
HOMEPAGE="https://github.com/Parchive/par2cmdline"
SRC_URI="https://github.com/Parchive/${PN}/releases/download/v${PV}/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~arm ~hppa ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
IUSE="openmp"
PATCHES=( "${FILESDIR}"/${P}-big-endian.patch )
pkg_pretend() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}
pkg_setup() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}
src_test() {
# test22 fails when run in parallel
emake -j1 check
}

View file

@ -1,5 +1,8 @@
AUX patool-3.1.0-fix-file-5.46-compat.patch 9022 BLAKE2B 1f383807ed199d3b5208279c00319281ed71257d9101d8a66019d188c7ee78d879666c43399b44d9af8ed74dedf7a4f89b30e98f1f22c4c3ec9876f588b3813e SHA512 3f4e4535925d62474f7d6c2df71d89ba3c036531c70aa49c57ab858378a81efd88fad3138fbfc7a1db2bc602431de8b83bb50594afc84435857051c28e868433
DIST patool-2.4.0.tar.gz 1996705 BLAKE2B b84fd4c469741de76ceeee90974cec71ba5bc123d31f6a1dd60cf3c336dcfd7da1def7fec2bbec27ce181d97c5dff96f15c1d4714b722718a1439749f7cee077 SHA512 bf6d680613fb996b3c0b12075a85acec1edd468b8cb58cafd233b31847a2b9c490d21c6d906e737218ca68f08d1cdce4a18a3e57e353a970be58da4e2ff0d794
DIST patool-3.0.3.tar.gz 2003565 BLAKE2B 988b918f52c5f050c78fdd16351d95c2c23351e8e5e92c884e3ab32f9d0cfc33140db96ce309bb3e465c1a51fbade0c530cbfef3f222dcf89f26d4d35d67bf88 SHA512 c81d13f0183432ba4f3b98951b4f5716a95396eec063b09435c0e3cdf88734107e8a8b647ff6ffe84ea808cc12882b823f95b4edf871874913ca127597fe7348
DIST patool-3.1.0.tar.gz 2006989 BLAKE2B b264c125e7454d677084a17b7e27daab437057750bce7646b451cd3e33b718e8c720ac64a1c05c8b55b4918ca89455698e7829ce5bd1fe0f951c8e2300fe3d73 SHA512 75912a5545f52226e07fe1f34b3c8c9af48e1b2f21da96380e41c0c397cf79a774d041f1d29b643d645f6d5213f0e66b07a26018e1286f7b2760c7bd8a1f6ec9
EBUILD patool-2.4.0.ebuild 2552 BLAKE2B 626b08c1d3b89d54af16df64814103d12b92d8dd596f30647b82f58ef7d62e9d835e555a1794440462b93afea4bbe03a3cab247fd1723034df1b6cb40f794d28 SHA512 582aa05d32792f789565cb03ea57ab8bf10330e495ff0a4e70ee0a2cf8ac0489ea4e0e53094719d1efbe2bf70a49f625563cd51ccdfe89c58cfe977f74e5fceb
EBUILD patool-3.0.3.ebuild 2554 BLAKE2B 841b4b85c155ce6e7b7e7de9026e65c68fc26e1f426323045738185860f73658d2f9a7db55b0bfec373573b9aec957889b5f081f7a5bd2994d1e9333c69a7b65 SHA512 eef6c743f84ace9db290d9e30b1b4303590faf44bfc35209c7812de3103b2169784927cd8a2ff15ef45ba8a3563b360a5c309b6379accbadc22ece3874dd09e9
EBUILD patool-3.0.3.ebuild 2702 BLAKE2B 14819ccdbf5bbe28d540fda467da2ac97f2fb84d688adc50a19fb1e18e868d6ddee6dc626408276d2e5a9a3918755280beffa05974b138b5259cd0222d079b48 SHA512 973970abb3f3806a752c904ba78fbffa8bc3644ad04b381ea302d888a35b27189dac5d415d8ca8a39b0442374f82386ac1c04e9de8b3244e27ae306aa74f9b53
EBUILD patool-3.1.0.ebuild 2622 BLAKE2B 8966830e57650387caa19839cca506f5871be43147a4f3cdf490e23d9398c9b92afefcbc7691dc07069452fd2b66f357045398aee4c9eb5648202e74575111d6 SHA512 92888f1df32a0e024ff200c1fbfde9e295f90edd0a95b15610bad2226d0db0b5a8ae4be62b5fd96efd26601274b88ac89134d11592d444e91e4ec7711a24e3fc
MISC metadata.xml 539 BLAKE2B b19f1ad36967b42e152a23108851ad6eabcd7f44fd1faeeb4c345ff812b97d4b4079afc83653c1fd0dd005943a152cba44210132389e1ec956a434d24e97486d SHA512 b557ec32ca1211faa72e108a7f769f4ffb3a08075a4010aee2f9ced79a9f7f8c26f60bf26e2587d4a0cbb3cf6d52ea52d9102407ed548cdd41f53c67dd10d7bb

View file

@ -0,0 +1,189 @@
https://github.com/wummel/patool/pull/173
Used the above PR but removed changes that aren't 100% required.
From d10324eac4429ff3d7d38ad24a19210699229e07 Mon Sep 17 00:00:00 2001
From: Alfred Wingate <parona@protonmail.com>
Date: Wed, 11 Dec 2024 06:34:36 +0200
Subject: [PATCH 1/4] Use application/gzip as the preferred mimetype for gzip
Signed-off-by: Alfred Wingate <parona@protonmail.com>
--- a/patoolib/__init__.py
+++ b/patoolib/__init__.py
@@ -127,7 +127,6 @@
'application/x-cpio': 'cpio',
'application/x-debian-package': 'deb',
'application/x-dms': 'dms',
- 'application/x-gzip': 'gzip',
'application/x-iso9660-image': 'iso',
'application/x-lz4': 'lz4',
'application/x-lzop': 'lzop',
--- a/patoolib/mime.py
+++ b/patoolib/mime.py
@@ -135,9 +135,11 @@ def guess_mime(filename: str) -> tuple[str | None, str | None]:
Mime2Encoding: dict[str, str] = dict(
[(_val, _key) for _key, _val in Encoding2Mime.items()]
)
-# libmagic before version 5.14 identified .gz files as application/x-gzip
-Mime2Encoding['application/x-gzip'] = 'gzip'
+LegacyMimeType: dict[str, str] = {
+ # libmagic before version 5.14 identified .gz files as application/x-gzip
+ 'application/x-gzip': "application/gzip",
+}
def guess_mime_mimedb(filename: str) -> tuple[str | None, str | None]:
"""Guess MIME type from given filename.
@@ -192,6 +194,10 @@ def guess_mime_file(filename: str) -> tuple[str | None, str | None]:
except (OSError, subprocess.CalledProcessError) as err:
log_warning(f"error executing {cmd}: {err}")
mime2 = None
+
+ if mime2 in LegacyMimeType:
+ mime2 = LegacyMimeType[mime2]
+
# Some file(1) implementations return an empty or unknown mime type
# when the uncompressor program is not installed, other
# implementation return the original file type.
@@ -227,6 +233,10 @@ def guess_mime_file_mime(
except OSError as err:
# ignore errors, as file(1) is only a fallback
log_warning(f"error executing {cmd}: {err}")
+
+ if mime in LegacyMimeType:
+ mime = LegacyMimeType[mime]
+
if mime not in ArchiveMimetypes:
mime, encoding = None, None
return mime, encoding
@@ -253,7 +263,7 @@ def get_file_mime_encoding(parts: Sequence[str]) -> str | None:
"cpio archive": "application/x-cpio",
"ASCII cpio archive": "application/x-cpio",
"Debian binary package": "application/x-debian-package",
- "gzip compressed data": "application/x-gzip",
+ "gzip compressed data": "application/gzip",
"LZMA compressed data": "application/x-lzma",
"LRZIP compressed data": "application/x-lrzip",
"lzop compressed data": "application/x-lzop",
--- a/tests/test_mime.py
+++ b/tests/test_mime.py
@@ -81,8 +81,8 @@ def test_mime_file(self):
self.mime_test_file("t.cpio.foo", "application/x-cpio")
self.mime_test_file("t.deb", "application/x-debian-package")
self.mime_test_file("t.deb.foo", "application/x-debian-package")
- self.mime_test_file("t.txt.gz", ("application/gzip", "application/x-gzip"))
- self.mime_test_file("t.txt.gz.foo", ("application/gzip", "application/x-gzip"))
+ self.mime_test_file("t.txt.gz", "application/gzip")
+ self.mime_test_file("t.txt.gz.foo", "application/gzip")
self.mime_test_file("t.jar", "application/zip")
self.mime_test_file("t.jar.foo", "application/zip")
self.mime_test_file("t.txt.lzma", "application/x-lzma")
From e7501d1c7805696ff5b2ecc779f7a56ab2425c3f Mon Sep 17 00:00:00 2001
From: Alfred Wingate <parona@protonmail.com>
Date: Wed, 11 Dec 2024 06:37:54 +0200
Subject: [PATCH 2/4] Change rar mime type to application/vnd.rar
https://github.com/file/file/commit/d46a1f3dbbf58eb510c1779b8bdcc59d5ee24ab9
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1068700
Signed-off-by: Alfred Wingate <parona@protonmail.com>
--- a/patoolib/__init__.py
+++ b/patoolib/__init__.py
@@ -136,7 +136,6 @@
'application/x-lrzip': 'lrzip',
'application/x-lzh': 'lzh',
'application/x-ms-wim': 'wim',
- 'application/x-rar': 'rar',
'application/x-redhat-package-manager': 'rpm',
'application/x-rpm': 'rpm',
'application/x-rzip': 'rzip',
@@ -147,6 +146,7 @@
'application/x-xz': 'xz',
'application/x-zip-compressed': 'zip',
'application/x-zoo': 'zoo',
+ 'application/vnd.rar': 'rar',
'application/zip': 'zip',
'application/zpaq': 'zpaq',
"application/zstd": "zstd",
--- a/patoolib/mime.py
+++ b/patoolib/mime.py
@@ -54,8 +54,8 @@ def add_mimedb_data(mimedb: mimetypes.MimeTypes) -> None:
add_mimetype(mimedb, 'application/x-lzma', '.lzma')
add_mimetype(mimedb, 'application/x-xz', '.xz')
add_mimetype(mimedb, 'application/java-archive', '.jar')
- add_mimetype(mimedb, 'application/x-rar', '.rar')
- add_mimetype(mimedb, 'application/x-rar', '.cbr')
+ add_mimetype(mimedb, 'application/vnd.rar', '.rar')
+ add_mimetype(mimedb, 'application/vnd.rar', '.cbr')
add_mimetype(mimedb, 'application/x-7z-compressed', '.7z')
add_mimetype(mimedb, 'application/x-7z-compressed', '.cb7')
add_mimetype(mimedb, 'application/x-cab', '.cab')
@@ -139,8 +139,11 @@ def guess_mime(filename: str) -> tuple[str | None, str | None]:
LegacyMimeType: dict[str, str] = {
# libmagic before version 5.14 identified .gz files as application/x-gzip
'application/x-gzip': "application/gzip",
+ # libmagic before version 5.46 identified .rar files as application/x-rar
+ 'application/x-rar': "application/vnd.rar",
}
+
def guess_mime_mimedb(filename: str) -> tuple[str | None, str | None]:
"""Guess MIME type from given filename.
@return: tuple (mime, encoding)
@@ -268,7 +271,7 @@ def get_file_mime_encoding(parts: Sequence[str]) -> str | None:
"LRZIP compressed data": "application/x-lrzip",
"lzop compressed data": "application/x-lzop",
"Microsoft Cabinet archive data": "application/vnd.ms-cab-compressed",
- "RAR archive data": "application/x-rar",
+ "RAR archive data": "application/vnd.rar",
"RPM ": "application/x-redhat-package-manager",
"POSIX tar archive": "application/x-tar",
"xz compressed data": "application/x-xz",
--- a/tests/test_mime.py
+++ b/tests/test_mime.py
@@ -91,10 +91,10 @@ def test_mime_file(self):
self.mime_test_file("t.txt.lz.foo", "application/x-lzip")
self.mime_test_file("t.txt.lzo", "application/x-lzop")
self.mime_test_file("t.txt.lzo.foo", "application/x-lzop")
- self.mime_test_file("t.rar", "application/x-rar")
- self.mime_test_file("t.rar.foo", "application/x-rar")
- self.mime_test_file("t.cbr", "application/x-rar")
- self.mime_test_file("t.cbr.foo", "application/x-rar")
+ self.mime_test_file("t.rar", "application/vnd.rar")
+ self.mime_test_file("t.rar.foo", "application/vnd.rar")
+ self.mime_test_file("t.cbr", "application/vnd.rar")
+ self.mime_test_file("t.cbr.foo", "application/vnd.rar")
self.mime_test_file("t.rpm", "application/x-rpm")
self.mime_test_file("t.rpm.foo", "application/x-rpm")
self.mime_test_file("t.tar", "application/x-tar")
@@ -197,8 +197,8 @@ def test_nested_gzip(self):
"""Test mime detection of archives with double compression"""
# We won't extract this with rar, as it doesn't support archives wrapped in gzip
# compression, but we will recognize the archive as a gzip-wrapped rar-file
- self.mime_test_file("t.rar.gz", "application/x-rar", "gzip")
- self.mime_test_file("t.rar.gz.foo", "application/x-rar", "gzip")
+ self.mime_test_file("t.rar.gz", "application/vnd.rar", "gzip")
+ self.mime_test_file("t.rar.gz.foo", "application/vnd.rar", "gzip")
@needs_program('file')
@needs_program('gzip')
@@ -237,7 +237,7 @@ def test_mime_mimedb(self):
self.mime_test_mimedb("t .bz2", "application/x-bzip2")
self.mime_test_mimedb("t .bz3", "application/x-bzip3")
self.mime_test_mimedb("t.cab", "application/x-cab")
- self.mime_test_mimedb("t.cbr", ("application/rar", "application/x-rar"))
+ self.mime_test_mimedb("t.cbr", ("application/rar", "application/vnd.rar"))
self.mime_test_mimedb("t.cpio", "application/x-cpio")
self.mime_test_mimedb("t.deb", "application/x-debian-package")
self.mime_test_mimedb("t.gz", "application/gzip")
@@ -247,7 +247,7 @@ def test_mime_mimedb(self):
self.mime_test_mimedb("t.txt.lz", "application/x-lzip")
self.mime_test_mimedb("t.txt.lz4", "application/x-lz4")
self.mime_test_mimedb("t.lzo", "application/x-lzop")
- self.mime_test_mimedb("t.rar", ("application/rar", "application/x-rar"))
+ self.mime_test_mimedb("t.rar", ("application/rar", "application/vnd.rar"))
self.mime_test_mimedb(
"t.rpm", ("application/x-redhat-package-manager", "application/x-rpm")
)

View file

@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@ -13,7 +13,7 @@ HOMEPAGE="https://wummel.github.io/patool/"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 x86"
BDEPEND="
test? (
@ -108,6 +108,9 @@ python_test() {
"tests/archives/test_arc.py"
# Error: 1002 (invalid input file)
"tests/archives/test_mac.py"
# Broken due mime type change for rar in file-5.46
# https://github.com/wummel/patool/pull/173
"tests/test_mime.py::TestMime::test_nested_gzip"
)
if use elibc_musl; then

View file

@ -0,0 +1,132 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{10..13} )
inherit distutils-r1 pypi
DESCRIPTION="Portable archive file manager"
HOMEPAGE="https://wummel.github.io/patool/"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
BDEPEND="
test? (
app-arch/arj
app-arch/bzip2
app-arch/bzip3
app-arch/cabextract
app-alternatives/cpio
app-arch/dpkg
app-arch/gzip
app-arch/lbzip2
app-arch/lcab
app-arch/lha
app-arch/libarchive
app-arch/lz4
app-arch/lzip
app-arch/lzop
app-arch/ncompress
app-arch/p7zip[rar]
app-arch/pbzip2
app-arch/pdlzip
app-arch/pigz
app-arch/plzip
app-arch/rpm
app-arch/rzip
app-arch/sharutils
app-arch/tar
app-arch/unace
app-arch/unadf
app-arch/unzip
app-arch/xdms
app-arch/xz-utils
app-arch/zip
app-arch/zopfli
app-arch/zpaq
app-arch/zstd
app-cdr/cdrtools
dev-libs/chmlib
media-libs/flac
media-sound/shorten
sys-apps/diffutils
sys-apps/file
sys-apps/grep
!elibc_musl? ( app-arch/rar )
!x86? (
app-arch/clzip
app-arch/lrzip
app-arch/unar
)
)
"
# Test dependencies which are packaged but can't be tested for various reasons.
# app-arch/arc
# app-arch/zoo
# media-sound/mac
# app-arch/rar is masked on musl
# app-arch/clzip is unkeyworded on x86
# app-arch/lrzip bug #916317 on x86
# app-arch/unar is unkeyworded on x86
# Unpackaged testable dependencies
# archmage
# genisoimage
# lhasa
# nomarch
# pdzip2
# py_{bz2,echo,gzip,tarfile,zipfile}
# rpm2cpio
# rzip
# star
# unalz
# uncompress.real
# 7zz ( app-arch/7zip:guru )
distutils_enable_tests pytest
PATCHES=(
"${FILESDIR}"/patool-3.1.0-fix-file-5.46-compat.patch
)
src_install() {
distutils-r1_src_install
einstalldocs
doman doc/patool.1
}
python_test() {
local EPYTEST_IGNORE=(
# zoo emits a non-zero exit status on a possibly false consistency check
# Zoo: WARNING: Archive header failed consistency check.
"tests/archives/test_zoo.py"
# Doesn't accept long arguments, such as those that files in ${S} would have.
# Too long argument: /var/tmp/portage/app-arch/patool-1.12_p20230424/work/patool-ab64562c8cdac34dfd69fcb6e30c8c0014282d11/tests/data/p.arc.foo
"tests/archives/test_arc.py"
# Error: 1002 (invalid input file)
"tests/archives/test_mac.py"
)
if use elibc_musl; then
EPYTEST_IGNORE+=(
"tests/archives/test_rar.py"
)
fi
if use x86; then
EPYTEST_IGNORE+=(
"tests/archives/test_clzip.py"
# bug #916317
"tests/archives/test_lrzip.py::TestLrzip::test_lrzip"
)
fi
epytest
}

View file

@ -1,3 +1,3 @@
DIST trrntzip-1.3.tar.gz 67297 BLAKE2B c77fd134cfd3ab30f46b66f4b3dd36b899ee6267b17100b1ad15bdf5c6beddaea94fe22d23f1a81de85522768d76401f0192d0deac2ff75edc816510c8069e2c SHA512 c21ed6ac4dacd652e2a67b700741d70dd9da699259bd299ca177c741111f92e70eef0b3ad2ced54b5635780cab2b4c46b3f9c258dfa18bdde24e2718c38339be
EBUILD torrentzip-1.3.ebuild 896 BLAKE2B 722fcd384499449d217391aff9fb0dcf154892342b4ccf2016c60ce8bcd53270984fa93dbeffc33c754998fbba5042eb5c188ac3eee6b934f3ad0e8b86b9e3a5 SHA512 7650a25ae9480d95cded632bf44111e8d6b0d7bc4f6bbf20d13ed585fade3bcfa4fc60f2778b632a07e560934760846cc842b4a785e8f767f7365af6b0b73354
EBUILD torrentzip-1.3.ebuild 896 BLAKE2B 46d215f14f57e834921d567f9af9b133518d83fd04248a798ba3881402f4bd58fa0bfc1af404679ddbfa2b1ff467fa6d8deaa64c6bd09778b638f49f3d7c20d0 SHA512 3910e014931d67f9efe86c05e485e256f6aee8c328465b81f7604b12d1bebc7d973a2b677d41ee369ce1f4f8c1cee3d853f0c18b14b3f15c819378a5fab9d676
MISC metadata.xml 928 BLAKE2B b0a650f0cd81be849f08bd6f078035ae7b56967034b3b9ba534da5d046936f7b27e819dc05ee94b2b8d95ca54ceafb8b521f7121eec0f4d5c4fdd0d8ac141ede SHA512 101e70ac70fdc24294dae2f18057c84e75dd0c776689883ea630f2dcd4ddd2b3da1f7e6643ffc5fd1aed2f5e355aa6700174bca0c16eb1fa84d9f531d7eba064

View file

@ -1,9 +1,9 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
PYTHON_COMPAT=( python3_{10..13} )
inherit cmake python-any-r1
MY_P="trrntzip-${PV}"

View file

@ -11,7 +11,7 @@ DIST xz-5.7.1alpha.tar.gz.sig 566 BLAKE2B 33c23b3aace6856f67b927d2f5b46f60f1e96e
EBUILD xz-utils-5.4.7-r1.ebuild 4421 BLAKE2B 1815a71ccbdda839d2659735fe14084274425e571f9de4b617c5d977fd2b54f420cc0f0bbb3604660fd9e2af4074e20bb23095ce694157025f03886e861d407e SHA512 17c066a72cb79c1e558bebdd37bafa04b2b34be1249dc24568d4c8622013ebdfcfd922542d171e2ac09276bac2eb97e8a19d7b9a577c7f5aafc815ebef692f3f
EBUILD xz-utils-5.6.2-r1.ebuild 5843 BLAKE2B 4d0f1c5bd9e20d77523902b1c31b3bfea0c46e58a01b3d80c467d0898dc2b5302294c13d180a5bf26c9f52278014895a11496b8d11fe6ddba6187d352d200e16 SHA512 6b98fc14326aab5526b0dd6e812fe97e31bef5cd6c8e5f712eecee5bc3635b9c11ef303a119a9bfe6d605bbdf7045e70b758b9915a357d4f653531c436bf1faa
EBUILD xz-utils-5.6.3.ebuild 5652 BLAKE2B 9f7575f9b8c79cb3c98a3d29351d8441edef4d100d828a534be7141bbebfabe4976a333d412588503199dd272749e14a11543f412d683617d25b87da0ac17770 SHA512 dd4846591d25f47becb33ab215a1210a6d0a35ecc6ac6286b2a9ca33f31dd9d107a221d377229cebbcd1d43f2263e6d67a49b2d6b870fa02f1d30c841918d9f0
EBUILD xz-utils-5.6.4.ebuild 5660 BLAKE2B 4e62028da13820e4174602db6004ef711e8d3b33fd6fea66d79045ceed91b76b5e5fb57ba661b034ac3406312b03ca2ed23f0fe07a088eba29c0bd8962eda9b3 SHA512 9a6d02248f2a9c1a853a3bc33f608732cc33c20376a9e1d37cbd656f5e86d199e74cb2b369ea847d46deabb77c8ac543d3012f9c7e698242527beb598d8ba709
EBUILD xz-utils-5.7.1_alpha.ebuild 5660 BLAKE2B 4e62028da13820e4174602db6004ef711e8d3b33fd6fea66d79045ceed91b76b5e5fb57ba661b034ac3406312b03ca2ed23f0fe07a088eba29c0bd8962eda9b3 SHA512 9a6d02248f2a9c1a853a3bc33f608732cc33c20376a9e1d37cbd656f5e86d199e74cb2b369ea847d46deabb77c8ac543d3012f9c7e698242527beb598d8ba709
EBUILD xz-utils-9999.ebuild 5660 BLAKE2B 261a1ae99fb87285ffa034fc4e737806a784b46316753820e438a40dcbd8e37d469e3dea82cf6dbf8d185caba6e0c2149212776259509d7057f298c1e2af5baf SHA512 934121468e1e1d1b0a2ddbaa8db03745546d4b244e138cd480dddd5bc4c95a0694ac4e76a859759d77ce3f0ea11a43abbaeb3506704b6d46707ee3cf2f189743
EBUILD xz-utils-5.6.4.ebuild 5498 BLAKE2B 1de799651067267083537e310098a03d6f77be38efd752e1f71d513c6ec5310dd8cd846e1bf2a83c5e21701777b6125d24e1cfae12c8e09d9601539c4e626945 SHA512 7bfa4f0f03b0fdc4c9afb07b017cb5d79d8e4d3f907f503ec4f2aa861d8dafb0dc7bca259e06383248846c27afba39710740fdf9263c9c83a0bf7102bef4339c
EBUILD xz-utils-5.7.1_alpha.ebuild 5498 BLAKE2B 1de799651067267083537e310098a03d6f77be38efd752e1f71d513c6ec5310dd8cd846e1bf2a83c5e21701777b6125d24e1cfae12c8e09d9601539c4e626945 SHA512 7bfa4f0f03b0fdc4c9afb07b017cb5d79d8e4d3f907f503ec4f2aa861d8dafb0dc7bca259e06383248846c27afba39710740fdf9263c9c83a0bf7102bef4339c
EBUILD xz-utils-9999.ebuild 5498 BLAKE2B 1de799651067267083537e310098a03d6f77be38efd752e1f71d513c6ec5310dd8cd846e1bf2a83c5e21701777b6125d24e1cfae12c8e09d9601539c4e626945 SHA512 7bfa4f0f03b0fdc4c9afb07b017cb5d79d8e4d3f907f503ec4f2aa861d8dafb0dc7bca259e06383248846c27afba39710740fdf9263c9c83a0bf7102bef4339c
MISC metadata.xml 748 BLAKE2B fe48d0e6b5aac2c843670597f0daa0202af709c27fe81889da8e4ef6877e35b30009b72831bc737b1078954b6494b508fa1b59305fdaf795db8801d20d9a0638 SHA512 6e64f0053489389818430808acb32cc1d3b33013978adf4952fbf57ab555e0710a106623ac1eb67405f1dd91c33397c5c70bddc9c5015878f280266b29b4e189

View file

@ -66,10 +66,6 @@ src_prepare() {
}
multilib_src_configure() {
# Workaround for bug #934370 (libtool-2.5.0), drop when dist tarball
# uses newer libtool with the fix.
export ac_cv_prog_ac_ct_FILECMD='file' FILECMD='file'
local myconf=(
--enable-threads
$(multilib_native_use_enable doc)

View file

@ -66,10 +66,6 @@ src_prepare() {
}
multilib_src_configure() {
# Workaround for bug #934370 (libtool-2.5.0), drop when dist tarball
# uses newer libtool with the fix.
export ac_cv_prog_ac_ct_FILECMD='file' FILECMD='file'
local myconf=(
--enable-threads
$(multilib_native_use_enable doc)

View file

@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Remember: we cannot leverage autotools in this ebuild in order
@ -66,10 +66,6 @@ src_prepare() {
}
multilib_src_configure() {
# Workaround for bug #934370 (libtool-2.5.0), drop when dist tarball
# uses newer libtool with the fix.
export ac_cv_prog_ac_ct_FILECMD='file' FILECMD='file'
local myconf=(
--enable-threads
$(multilib_native_use_enable doc)

Binary file not shown.

View file

@ -1,10 +1,10 @@
AUX borgmatic-1.7.14-systemd_service_bin_path.patch 604 BLAKE2B 534a545b5a8d65c6e46102a5e558c25444d82dd3679b81c0ba50c72dfec8ce8f935fdcb558ff61fec7bf30409b4b9809d76e7488554f4461c4b5eac035a60c07 SHA512 9b4c65b249a033f17b68c5209c0132bd94e310d46193a9a85090cb8520220705aacd91c19d713e11e6955c1e0b1e09823abcaf8164ab0f162ff9a62652bb7e56
AUX borgmatic-1.9.3-no_test_coverage.patch 456 BLAKE2B 57964d3d23cd298181619aff5529d0574d70fe9ce002fedd7c9618ff36f89227acc9ba8719eedd0eff5b72f61a56d2de119f7c03d40164b7c01d93f95d6a0509 SHA512 9db6c1c51bfc44ad45891bbf65512fd243ceb8869f103f316f4817b4fae226863e0a02fdaa7ae7cb6ccffd187007b833c0ae671a881e4881b3dec29063cc6e8a
DIST borgmatic-1.9.4.tar.gz 635562 BLAKE2B aac7cea7c7b9537a1f13f6cdd5fc15c3a7d439f9c609a3b05aeb0c10a844f479f0f3a1ec9470283b38594646985cc87c45445602e264f2e8fbabb509691feab4 SHA512 db258ebaa87ac88873c73ab750b7f72278376679c3641c91f4d3565d690a9cb25be5df94bb94aead83f09b27a1d41edbb7e457261440c33fddc9fde3477e7006
DIST borgmatic-1.9.10.tar.gz 646658 BLAKE2B 8eec2cea8e1001c7d55aef6e267aa18a4db67e33c61a28fe072bbbe99df305672e0e6b4187f5ace470add162298f9facbd805924d486358bca41bfa02538f3c0 SHA512 0d15ce4a3b71ceebfb3185130a9dcdfb80a23111396a9d2f39cae2c69f3eaba54e4005ad13fcce6c728aaf1179fc44a85ab2db1efb3824c7a33743ebaed3a954
DIST borgmatic-1.9.5.tar.gz 638074 BLAKE2B 9947a443bcdd04abe29a3eaf3f790491cddc8283d6e09b56cb3b2aed97e0a424e0251aa9b19b3b5687416f59dec2944ed6d41c99df6e7790fa54a5b2608af0bf SHA512 9ab23865aeef61399a85532450cf7c9bc853a95560d383c83d43966eba0a66718976abdfcb2feec104c8941c0acd5406e2f1812be31b0f4baa76caf6a8ae81c9
DIST borgmatic-1.9.6.tar.gz 640257 BLAKE2B 6d95fe1d12fa401b25d00187a20520003ebc05ceb481add6c0706fcc6bb40f275830cd35f3fa90ea3680457e93a33bf21abb7f3d6423c9268c95b4e356587fdc SHA512 ff2050dcde579e5dffeef915bead5672158387c9a883d9f5b996ba8e804e37d9445b07839f84959cae2b367735f742cab83e143b363cedbb61f38621e2b0a95b
DIST borgmatic-1.9.8.tar.gz 642464 BLAKE2B 0473e440d8beb99adac1fcf6c3628f12ca1b9b4337190eaac5aa6cb4726a2be9ada56f1a25be9369cf5a36e5bd53bf2070c2f1579c96bc7375cf5f184a7129af SHA512 a4c524ddddae99d4a244e6d6d7c8d91ea980b29267b2bca8c8dcf45087fa70039088c225a5144e072e5453a76dfbdca61f7718eba4c558d94226222574e9e09a
EBUILD borgmatic-1.9.4.ebuild 2203 BLAKE2B d60948389b067ef922d811990bafc5c61b8b7df2a11fe5af93047c586a652c83ca2f98ab9fb07fa02e31532b5795705b35e9d5cdc4a1046b44bd49103d63cd0d SHA512 63054790f40a697cb940b682b2eb768b6a3da6dd89434b14173ecbbcfb22bcba587d3ef148fdb8a936612959ebb199082bbe3822a87c8539c11fe19351e0a7ce
EBUILD borgmatic-1.9.10.ebuild 2159 BLAKE2B 83e187ecb5fd9262238e60997b0812602dd0aac1922e323112bc6be952cacd40f7f73e7e81baf49bc0f31d6dc2c7215d2dd41f2c61cc538ffb5c87f44c1dc63b SHA512 c47c01a4f87fb65ddddc2a154d8eee67862575df711f3d5fb7fd64040595b4e1eabbdb11ad80dc1db4edea252a4dc48b537b495ed01c729c90d4d6b41ed85340
EBUILD borgmatic-1.9.5.ebuild 2158 BLAKE2B 7e1f3e9a76faf19c91f32e2af5b815c13dc1cb3c1e4fd934cd0347778123175bbe02113dbb13d19481c2696fbe03ab02476aef5705906ceaebcd95bb3eb189cc SHA512 2ac661139a03a726e2a74db9884cdad4cf9da5bf235eedd61b852f2d3977f79e5bfe2c2585aac10e88eba4d8bcdbcb01204e9adeb512aefa77c250037c3aab1a
EBUILD borgmatic-1.9.6.ebuild 2159 BLAKE2B 83e187ecb5fd9262238e60997b0812602dd0aac1922e323112bc6be952cacd40f7f73e7e81baf49bc0f31d6dc2c7215d2dd41f2c61cc538ffb5c87f44c1dc63b SHA512 c47c01a4f87fb65ddddc2a154d8eee67862575df711f3d5fb7fd64040595b4e1eabbdb11ad80dc1db4edea252a4dc48b537b495ed01c729c90d4d6b41ed85340
EBUILD borgmatic-1.9.8.ebuild 2159 BLAKE2B 83e187ecb5fd9262238e60997b0812602dd0aac1922e323112bc6be952cacd40f7f73e7e81baf49bc0f31d6dc2c7215d2dd41f2c61cc538ffb5c87f44c1dc63b SHA512 c47c01a4f87fb65ddddc2a154d8eee67862575df711f3d5fb7fd64040595b4e1eabbdb11ad80dc1db4edea252a4dc48b537b495ed01c729c90d4d6b41ed85340

View file

@ -0,0 +1,84 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..13} )
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 systemd pypi
DESCRIPTION="Automatically create, prune and verify backups with borgbackup"
HOMEPAGE="
https://torsion.org/borgmatic/
https://projects.torsion.org/borgmatic-collective/borgmatic
"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~riscv"
IUSE="apprise"
# borg is called as an external tool, hence no pythonic stuff
RDEPEND="
app-backup/borgbackup
$(python_gen_cond_dep '
dev-python/jsonschema[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/ruamel-yaml[${PYTHON_USEDEP}]
')
apprise? ( $(python_gen_cond_dep '
dev-python/apprise[${PYTHON_USEDEP}]
') )
"
BDEPEND="
test? (
${RDEPEND}
$(python_gen_cond_dep '
dev-python/apprise[${PYTHON_USEDEP}]
>=dev-python/flexmock-0.10.10[${PYTHON_USEDEP}]
')
)
"
PATCHES=(
"${FILESDIR}"/${PN}-1.7.14-systemd_service_bin_path.patch
"${FILESDIR}"/${PN}-1.9.3-no_test_coverage.patch
)
EPYTEST_DESELECT=(
# A fragile test whose only purpose is to make sure the NEWS file
# has been updated for the current version.
tests/integration/commands/test_borgmatic.py::test_borgmatic_version_matches_news_version
)
distutils_enable_tests pytest
src_install() {
distutils-r1_src_install
systemd_dounit sample/systemd/borgmatic.{service,timer}
keepdir /etc/borgmatic
}
pkg_postinst() {
if [[ -z "${REPLACING_VERSIONS}" ]]; then
elog "To generate a sample configuration file, run:"
elog " ${PN} config generate"
elog
elog "Systemd users wishing to periodically run ${PN} can use the provided timer and service units."
else
local oldver
for oldver in ${REPLACING_VERSIONS}; do
if ver_test "${oldver}" -lt 1.9.0; then
ewarn "Please be warned that ${PN}-1.9.0 has introduced several breaking changes."
ewarn "For details, please see"
ewarn
ewarn " https://github.com/borgmatic-collective/borgmatic/releases/tag/1.9.0"
ewarn
break
fi
done
fi
}

View file

@ -1,85 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..13} )
DISTUTILS_SINGLE_IMPL=1
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 systemd pypi
DESCRIPTION="Automatically create, prune and verify backups with borgbackup"
HOMEPAGE="
https://torsion.org/borgmatic/
https://projects.torsion.org/borgmatic-collective/borgmatic
"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~riscv"
IUSE="apprise"
# borg is called as an external tool, hence no pythonic stuff
RDEPEND="
app-backup/borgbackup
$(python_gen_cond_dep '
<dev-python/colorama-0.5[${PYTHON_USEDEP}]
dev-python/jsonschema[${PYTHON_USEDEP}]
dev-python/packaging[${PYTHON_USEDEP}]
dev-python/requests[${PYTHON_USEDEP}]
dev-python/ruamel-yaml[${PYTHON_USEDEP}]
')
apprise? ( $(python_gen_cond_dep '
dev-python/apprise[${PYTHON_USEDEP}]
') )
"
BDEPEND="
test? (
${RDEPEND}
$(python_gen_cond_dep '
dev-python/apprise[${PYTHON_USEDEP}]
>=dev-python/flexmock-0.10.10[${PYTHON_USEDEP}]
')
)
"
PATCHES=(
"${FILESDIR}"/${PN}-1.7.14-systemd_service_bin_path.patch
"${FILESDIR}"/${PN}-1.9.3-no_test_coverage.patch
)
EPYTEST_DESELECT=(
# A fragile test whose only purpose is to make sure the NEWS file
# has been updated for the current version.
tests/integration/commands/test_borgmatic.py::test_borgmatic_version_matches_news_version
)
distutils_enable_tests pytest
src_install() {
distutils-r1_src_install
systemd_dounit sample/systemd/borgmatic.{service,timer}
keepdir /etc/borgmatic
}
pkg_postinst() {
if [[ -z "${REPLACING_VERSIONS}" ]]; then
elog "To generate a sample configuration file, run:"
elog " ${PN} config generate"
elog
elog "Systemd users wishing to periodically run ${PN} can use the provided timer and service units."
else
local oldver
for oldver in ${REPLACING_VERSIONS}; do
if ver_test "${oldver}" -lt 1.9.0; then
ewarn "Please be warned that ${PN}-1.9.0 has introduced several breaking changes."
ewarn "For details, please see"
ewarn
ewarn " https://github.com/borgmatic-collective/borgmatic/releases/tag/1.9.0"
ewarn
break
fi
done
fi
}

Binary file not shown.

View file

@ -11,6 +11,5 @@ AUX qt5.patch 365 BLAKE2B 4aa56d2b643ecc119122f549678d4cd1525bdba923067366c92fa0
AUX typos.patch 1013 BLAKE2B d9549a3e20e22931dc59ad3b5460b2ca63111ccd5102f080673983d10aa67400e9e7e82f2dc9f7c127e23cf7e08f2f590e63d949bcf536783d70e994054f81f0 SHA512 8c738dab7c40cbfa258b4177bad0cf9fc52373370b17c23504086ac13b223b9c484f39722af1802dcbe4b036f742918275e245c000ced636bc281f00eca2f969
AUX use_stdbool.patch 885 BLAKE2B 10365e67f43418213e8f38ab74d3588aab2783329d447834ad795f8973cdd53fdc40862d8f9abc723acaddfe03f49f3c471046ae865ed72f041db23ee1337c37 SHA512 5df3d042a580268971e6da0878bd070d2054e9a9732b518a88a489d6b3d62acae58f697fe44634ee6c847b108cae25df6592ed9e1f20ea4d7c6b36adb516830d
DIST i7z-93_p20131012.tar.gz 879969 BLAKE2B 73b1f2e777cef9799fc9e11d366c989c37f4bad03676409855fdd8229a66d1075805068ad424ab0b46bb9bb4fe62431fb6c79b414fde0c1b1d29935ca4566839 SHA512 ef2dfc36407b18a2081413d423cc3d38c38121e386d9068eee9a794b810232727b3abbd22d3b36bc32206f4dc89dd881a4550df19108c439a91f01369bf74d5a
EBUILD i7z-93_p20131012-r2.ebuild 1375 BLAKE2B 3f194ad30fc1353236d9be0f6241aaafcb12ee8e74df20c42d0ebf1b2469fbd4b14ee48bfc93fde737693fa3b534780c1ef58d546234bc29316783bcaf39f4e3 SHA512 6b2f268f526e68d6dbf567a193f97c01024d68afb1b3d0480dc218c8f27e3fd9a563f5cc35d3f77ec26caaa8b086c253d787cfb4c88b5fdceb72ef5f2917e9b3
EBUILD i7z-93_p20131012-r3.ebuild 1602 BLAKE2B 3ebc5fe0246281bde5ae9fb184a4de02a5aeb8061189e18684b94635820949e3005275c541c9efb3e108075b69d49c3a267a0daabc78f6af75de44709bd1c076 SHA512 ca1fa7fe1b91131e650384c88bf634849e9c7e33d5f0df317181e4b8a7c126e63e12bcefb8b57664f700dd899741849bfa417b5aaa18906b4dfefc5f07cdb83a
EBUILD i7z-93_p20131012-r3.ebuild 1600 BLAKE2B 99d71105a4e143f6aa7b78bf5c1a98563905af7dadfa864eea5562932f2245ade60f0de5a5b45d60617dca86ab62b419aef8c0ce3c0be1e2ca6ebf4625c02df0 SHA512 b2b6ed198900cf53ef23a8d1d109848ce33468e32be51da18922bc8747eafadd9ebd11172796479b63852fd31cf1d7ed027da26593d76ead68b48f6965fe382c
MISC metadata.xml 297 BLAKE2B 0046acd104a25faf3fa10756feb39fe445c22a1ff2b4131606e7d6a32ca9bd7c78a4e633b16d18a145fee306b8974efb43a4320c7662a768040ff1b3b183c461 SHA512 e13e5c2c500492d0adcac6cb96934c0d2fcab1d37a417c3b8018c4be9ad24f4103fac99c94cd76e3c58bd477ecfc7771b8281f8e32cad224ebd64e4039e1a4d2

View file

@ -1,67 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit qmake-utils toolchain-funcs
COMMIT="5023138d7c35c4667c938b853e5ea89737334e92"
DESCRIPTION="A better i7 (and now i3, i5) reporting tool for Linux"
HOMEPAGE="https://github.com/ajaiantilal/i7z"
SRC_URI="https://github.com/ajaiantilal/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="qt5"
RDEPEND="
sys-libs/ncurses:0=
qt5? (
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
)
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/i7z-0.27.2-ncurses.patch
"${FILESDIR}"/qt5.patch
"${FILESDIR}"/gcc5.patch
# From Debian
"${FILESDIR}"/fix-insecure-tempfile.patch
"${FILESDIR}"/fix_cpuid_asm.patch
"${FILESDIR}"/hyphen-used-as-minus-sign.patch
"${FILESDIR}"/install-i7z_rw_registers.patch
"${FILESDIR}"/use_stdbool.patch
"${FILESDIR}"/nehalem.patch
"${FILESDIR}"/gcc-10.patch
"${FILESDIR}"/typos.patch
)
S="${WORKDIR}/${PN}-${COMMIT}"
src_configure() {
tc-export CC PKG_CONFIG
cd GUI || die
use qt5 && eqmake5 ${PN}_GUI.pro
}
src_compile() {
default
if use qt5; then
emake -C GUI clean
emake -C GUI
fi
}
src_install() {
emake DESTDIR="${ED}" docdir=/usr/share/doc/${PF} install
if use qt5; then
dosbin GUI/i7z_GUI
fi
}

View file

@ -13,7 +13,7 @@ S="${WORKDIR}/${PN}-${COMMIT}"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="policykit qt6"

Binary file not shown.

View file

@ -1,4 +1,5 @@
AUX ccd2iso-0.3-headers.patch 240 BLAKE2B 536e0114f0485ae4e79f8801f737c380cafdc37c6d2dc1f272415385324839cfddd56af7f07085bfb181ae1a1e05531ecc6869b6f66b35dd89c8c9d50a1ead1e SHA512 e0d334fb378d5ad0dc25653ab810d3c55a0f8c19a03b4b2180352a20e2b9e405209b37448f57a72fd7c2628601e6f5528118db3fe9e431d580c7d9443bb440a3
DIST ccd2iso-0.3.tar.gz 158221 BLAKE2B 5cb83f62f6b98e725c5c30e58e9082fd6eff612169d3b8fe0d244bd567f7319879c99792400f788b736874f5ae026ed53154b8e5599f82fbfea879e634f8f155 SHA512 40e0e5bd792c851dd0549a08a3a0d7226cc05893316dc9575d4c9131dce758d992081355de569e3e66dca310545bf3a17c1cd6431ab97e790fdbe5b19c09adc1
EBUILD ccd2iso-0.3-r1.ebuild 432 BLAKE2B d9df41337227204fbeefcdf48cae35e0daee837811a705b9f8f6369dda5a813c460e56a96b579636dfb36a0b87df95aa3a46e7fe62b3891ed0b03c37a3e94f1a SHA512 f8da357e4f08d41edb67f5fee5f702c9cc162e3a5ac0b1b30f1ca2b9f53368d72573d77558d4209a5ad8a12322e91c76964782c4114ac855ca46bc9e865c828f
EBUILD ccd2iso-0.3-r2.ebuild 532 BLAKE2B 1c70a655ca4488af18da5b4c395247336dbea2d01a1c28f08c0ca86766e3bd30d2c762dee45e7fb343bc18ee7ca108a44aa37f5dfcca80b8f85dbede95ffe60e SHA512 8b9889f1aeccb0d67e3e24c11ac37f444e1f6d3eae82ebe5b1d3ab1728796038667a48f8a291eeee863c3960eb39c5a1c79b01e90f82011fea261f8e7e225cad
MISC metadata.xml 243 BLAKE2B 1ebc64c54e4359596f57f068fa5b1d68c709b51b19b8e770bb26b2cb8d5511c2743e6f7be5c941470a7bfcda4b77d3665af67c3effba0bd453b44d5b19bb9f12 SHA512 5df241e7491038cca5badda5347325a856c5b936a7cc9e68530352b53294eb7ca7c3abdfda754c7178308408bd2b0000dcf4224ba4f86a608c5a48dab703290e

View file

@ -0,0 +1,22 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Convert CD images from ccd (CloneCD) to iso"
HOMEPAGE="https://sourceforge.net/projects/ccd2iso/"
SRC_URI="https://downloads.sourceforge.net/ccd2iso/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
PATCHES=( "${FILESDIR}"/${P}-headers.patch )
src_prepare() {
default
#C99 https://bugs.gentoo.org/900126
eautoreconf
}

View file

@ -1,3 +1,4 @@
DIST cue2toc-0.4.tar.gz 76689 BLAKE2B f5171457f0061ca1062501b54dc360b8b76a3fb402a0041fa0db4541eb41ebc04e332fafa918fac7d7ace9e50348d867ecb9e41ee09c8b3d5e621fa64a72de2e SHA512 37fd4680890a38681331d4fb83a37daa9ddc39e45b2822930328796f1f57ac39635c609b27340b1ab06dd5b73720e77d96b601d1ee994c5ce836077a368cd95d
EBUILD cue2toc-0.4-r1.ebuild 389 BLAKE2B 24c13a50260189777fbfecfeb39ccc72b0b1a1208da43368b690b04c92c5380b3a53241e813a2572698f9adeef60858bf2c16a7d4881eb54b78f280ba760137b SHA512 c968615d3129f3d327a0aa2c0ae764dd5902eaab15eee1c7b187ec5dd116ef6a3de7f18debc5a2bea9c213238d41231d482e694eb2b8c5fbd055c6624a1e60f6
EBUILD cue2toc-0.4-r2.ebuild 519 BLAKE2B ea3783bd4033c98ebaf8cfe4de12b56b6c5a431ec7a4c1cc59260e76eab4b9d29a14d315767cc71f517ff36b396c67b7bfbd51309aa56fab2973b66a65f38730 SHA512 cf54dee520186a7add68457e9b681c3112d9d0ab1945c5b60fb71142354186095d68a3ee70e009aa001f613b5e95443719f46bd23562c779e27c0885ed5ab168
MISC metadata.xml 725 BLAKE2B f02db6e63eee5f2c9d424ba1913e7d22617772d516e647f61ee30445aad99cd1ac610dbcd1fda985b9f5bb835a39961ffb0e7e3a9c6af99f4578d780320010e4 SHA512 97403e9443a61cf67e199289e7ff32c319be23b62ddf36c9a5123b4879a93ed3d90e8e5a407e6b68eb5ae6c812f83c25b06d2521e31a9a5a88b4645cc22df8c7

View file

@ -0,0 +1,23 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
DESCRIPTION="Convert CUE files to cdrdao's TOC format"
HOMEPAGE="https://cue2toc.sourceforge.net/"
SRC_URI="https://downloads.sourceforge.net/cue2toc/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
DEPEND="!!app-cdr/cdrdao"
src_prepare() {
default
#bug https://bugs.gentoo.org/900128, implicit defines in configure
eautoreconf
}

View file

@ -1,7 +1,5 @@
DIST dolphin-plugins-24.08.3.tar.xz 317540 BLAKE2B 54fa2e13be2cceb53b12b1edb2d6d7c1793f6ba2bbec67e9e00121b33683aa6bd4895392cbdf5aa7627958c6323984ae3db8b5bbf6b14faba86b13181e0a2614 SHA512 05da7ac7b3ebe085cf0808d8e1eba49372bfeb1488800f40c1d0b9025e743efede1200095a1e660c1d538b2cc1b19f0f717f3d0723043517859f5c2015f961ce
DIST dolphin-plugins-24.12.1.tar.xz 319152 BLAKE2B afb5d587e38d1fc24117a083eedc5d970ceeed93e0bbfe13fb991a85046224730c5a1490337ac82a04b613c216f1dd6be07de514c664c80e2e5a0f70bd7615cc SHA512 ebae4d9d363f6928eb89ceede74ca0cc3e0707f81fe782b07fb4d4e3c06bcb266f4981bc5f0374b76bf55b8e86d427bbab0a0fbf82552a288ab8ddb9916f5df9
DIST dolphin-plugins-24.12.2.tar.xz 319000 BLAKE2B 6196e9eaec24106ff31ed5251bc21b5d9b493eb0d1e6ac916f869ab43694d4f214d045ba97ad9db0539cfcef5c4398a43c0c257f2ce5cae405608d7508939fa7 SHA512 78843785e35631ee6cdbe4fa9c259960029e01a0ad6eb28858a320187ebf47df9999b0766fc423383313db2852a9a35079a2317881ecb301c0fa48db902868e6
EBUILD dolphin-plugins-mountiso-24.08.3.ebuild 1308 BLAKE2B b33795c8727883944f6f7f0d061a90deadb35a4e519ba2ccedee7e5d5cf33f4d1b46afa91b8478d9243d7da549e721a0b7fdc1169a8f0381a413ff04b1b6d7d5 SHA512 b742d6837fb01cb0137f763bfb776ce8e83ef4e3ff1b8ae98942e73e18d1ebb77a8723816e42e29320495180211c9c9a98297b9e5244db935c844f68db54e23d
EBUILD dolphin-plugins-mountiso-24.12.1.ebuild 1310 BLAKE2B 37bdeaee6ed93ac8df203cff9e05647dc2a18f1383932aa567a1910546b16079c9967a999f3b264ceaa06ae7329329259b8596e9673ad2bdd9e6dd56a0c9565e SHA512 117580010f3fc59fd310adaf6b4c986b1cd537b110a6448c13b2b7f64c8d948b39ed9566c9221f32de04d14373aff6d84b8b0506b8322539cea0a1e27342d25c
EBUILD dolphin-plugins-mountiso-24.12.2.ebuild 1310 BLAKE2B 37bdeaee6ed93ac8df203cff9e05647dc2a18f1383932aa567a1910546b16079c9967a999f3b264ceaa06ae7329329259b8596e9673ad2bdd9e6dd56a0c9565e SHA512 117580010f3fc59fd310adaf6b4c986b1cd537b110a6448c13b2b7f64c8d948b39ed9566c9221f32de04d14373aff6d84b8b0506b8322539cea0a1e27342d25c
MISC metadata.xml 410 BLAKE2B 19c3aebce470d75ce9a551aa1100eec6faaf74fa06e74159d859ec31732a3a80170ecfbfe08edd931f9be9a00473ed6485bc2e23a65f7fe18339103cdc909f49 SHA512 752a847319ebf8d110347da3e6949f0ca6847c18453bf2b9a465a8415c79f37b4aefb03cc7fcf6874039c38ff4ee375715892a616c2766e1fd689c18c8b05c10

View file

@ -1,58 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
KDE_ORG_CATEGORY="sdk"
KDE_ORG_NAME="dolphin-plugins"
MY_PLUGIN_NAME="mountiso"
KFMIN=6.7.0
PVCUT=$(ver_cut 1-3)
QTMIN=6.7.2
inherit ecm gear.kde.org
DESCRIPTION="Dolphin plugin for ISO loopback device mounting"
HOMEPAGE="https://apps.kde.org/dolphin_plugins/"
LICENSE="GPL-2+"
SLOT="6"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
IUSE=""
DEPEND="
>=dev-qt/qtbase-${QTMIN}:6[dbus,gui,widgets]
>=kde-apps/dolphin-${PVCUT}:6
>=kde-frameworks/kcompletion-${KFMIN}:6
>=kde-frameworks/kconfig-${KFMIN}:6
>=kde-frameworks/kcoreaddons-${KFMIN}:6
>=kde-frameworks/ki18n-${KFMIN}:6
>=kde-frameworks/kio-${KFMIN}:6
>=kde-frameworks/ktextwidgets-${KFMIN}:6
>=kde-frameworks/solid-${KFMIN}:6
"
RDEPEND="${DEPEND}
>=kde-apps/dolphin-plugins-common-${PV}
"
src_prepare() {
ecm_src_prepare
ecm_punt_po_install
# qtconcurrent only required by git
ecm_punt_qt_module Concurrent
# kxmlgui, qtnetwork only required by dropbox
ecm_punt_qt_module Network
ecm_punt_kf_module XmlGui
}
src_configure() {
local mycmakeargs=(
-DBUILD_${MY_PLUGIN_NAME}=ON
-DBUILD_bazaar=OFF
-DBUILD_dropbox=OFF
-DBUILD_git=OFF
-DBUILD_hg=OFF
-DBUILD_makefileactions=OFF
-DBUILD_svn=OFF
)
ecm_src_configure
}

View file

@ -1,7 +1,5 @@
DIST isoimagewriter-24.08.3.tar.xz 467764 BLAKE2B bb01dc2308dfffb6a42fcfbfbb937371afbc5f4c2b1cb894591f087cf89343134e88b5d769fa74321dbf243497663e8f6b5efec0f94a494cf1b74bd91651b8fb SHA512 c566e8b8c35f08c21e243e0623fe8775c30fc7489887ecfcd9c8148a835c79bf2156811f56656e5f5affe084d158da3629b267b67fab51bbab8133e5e09ec540
DIST isoimagewriter-24.12.1.tar.xz 468072 BLAKE2B 9b45d55037834a4d6e23f56609d26a630029ef372183396083f681c69a373a71290a0e1349423f2745147c6c219f8a1103b31c6e3fc1de4a881123564cdfc53e SHA512 ae1dab2ca9fc8676a64c68a9dbc1750c7e57ad56e1d0debdabfec186429ab51c471ea4f8d656deeb5f68778f097e6625f8a500a5a83766d2699470e77ffe3556
DIST isoimagewriter-24.12.2.tar.xz 467884 BLAKE2B f025914299e496ea2c569db67c9729ea51623c307e0fd9068869b98dba59f0028b9d02871773aee6f805dca25c10444fd65c11c9aa3f4a0a7e13623572d609da SHA512 d46697e13c632139f052925273238d950c7d6aac144879fd9fccfe5c79928f94aa7ca1967914ba7e3358a052f7462190d853f119b97983e33a1263f0fe131aea
EBUILD isoimagewriter-24.08.3.ebuild 710 BLAKE2B 698a90d848e18e207b1e4877a1b94a8dc112d9c416139fffbd51a4c7b109f1a80749208eccc97906e46b4b7dcb9c9b95e6b8d42075dde9557533081997c8bc4a SHA512 d8bc505ed745bd8f9c6a9afef76a65cdf2db92049af54ff9f825b3f392bac2b9214d382dae3052cc31a244cfa3c6bb71df26b4614800f090b7b999bb5ced797f
EBUILD isoimagewriter-24.12.1.ebuild 712 BLAKE2B 7ac6813d8f4066815509471e0b11f4d85d314834df25e1560a1d60b09bd72757c02d7e99cc7bab68faa4c1c0126ab8a5b6722813c158724fe870d51dba3e1ff4 SHA512 3e951be757df4e03ab29e8af68bfe1624dd265ca695c4c5891d6ef6d496c12a1749c0734fb9a5389a96b1c4d5123c29027be77f3e591ca2f7c56cdd7cbae0765
EBUILD isoimagewriter-24.12.2.ebuild 712 BLAKE2B 7ac6813d8f4066815509471e0b11f4d85d314834df25e1560a1d60b09bd72757c02d7e99cc7bab68faa4c1c0126ab8a5b6722813c158724fe870d51dba3e1ff4 SHA512 3e951be757df4e03ab29e8af68bfe1624dd265ca695c4c5891d6ef6d496c12a1749c0734fb9a5389a96b1c4d5123c29027be77f3e591ca2f7c56cdd7cbae0765
MISC metadata.xml 318 BLAKE2B 922a5e32e706b2976c5f359a14194d268d3f499398576c80ce5fad8c0fcea0fbf048de4480a80a6a1889c88b8b6c14147654a3ab4d5ffbcc258c2290da63f6d1 SHA512 614cb8dda7ad2088e5d6ef39b449bb4be0ac72cd0231c320188d76d1816dce6490c5114bb4798112c4b11d99d30a9e82ff8fcf08ffa8c049589682a5e38208f6

View file

@ -1,30 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
KFMIN=6.7.0
QTMIN=6.7.2
inherit ecm gear.kde.org
DESCRIPTION="Write hybrid ISO files onto a USB disk"
HOMEPAGE="https://community.kde.org/ISOImageWriter"
LICENSE="GPL-3"
SLOT="6"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
IUSE=""
DEPEND="
>=app-crypt/gpgme-1.23.1-r1:=[cxx(+),qt6]
>=dev-qt/qtbase-${QTMIN}:6[dbus,gui,network,widgets]
>=kde-frameworks/karchive-${KFMIN}:6
>=kde-frameworks/kcrash-${KFMIN}:6
>=kde-frameworks/kcoreaddons-${KFMIN}:6
>=kde-frameworks/ki18n-${KFMIN}:6
>=kde-frameworks/kiconthemes-${KFMIN}:6
>=kde-frameworks/solid-${KFMIN}:6
"
RDEPEND="${DEPEND}
sys-fs/udisks:2
"

Binary file not shown.

View file

@ -1,4 +1,6 @@
DIST amazon-ecr-credential-helper-0.9.0-deps.tar.xz 1473848 BLAKE2B 2c16b90951eb62d272b770acf83cd317aa04823277bdce858e4a2741122750199e761cfaaf2a5e477c5ff58209d4a656790a65473400edd1086559dc24ce7c8d SHA512 9830c4eb4cd2fe80a317a09f6bbad0a40493233a49f40d382fff50c438632762f98f23cb4f16340848ae5b67c0b9d3bf569250a1077107e1ceee4afcb83bb4f9
DIST amazon-ecr-credential-helper-0.9.0.tar.gz 1934543 BLAKE2B 75a247fa8ba395de2274fcef45344ecf9918e032ce365a00cadde17f6f306197729fc77959306ccd11ddfb02272749f42b3f15e587e0eec4772576eb0a84c183 SHA512 354be080bbe83065191efc7c2814cae739944d9405f6472ca99f2a2b00365689ef33361dc1da6ae2e816e6544beb7f8947352752568736382bfb4d976cac7a74
DIST amazon-ecr-credential-helper-0.9.1.tar.gz 1948688 BLAKE2B c6c07fe93f7e0ab08d3e53a258d0a64e632c90edb441e672a22fb3a91d67598b25d4304498d4a2dd6b90366300dae9ca39340c4caf15e9aba330c167393469e2 SHA512 6550f33d8de505f41af6bfbaeac0905dedb13aa4913ab64bcdb3dba99e348aaa9c667992d548f527c71752611c80c9937fd0b941792453bbd22a5ebd6d4c1a57
EBUILD amazon-ecr-credential-helper-0.9.0.ebuild 770 BLAKE2B 7bfdaaee09426b62eb89e4a5337d9ea6c4aa8ff7abc74f66394f88918e2dcd5d1ae1035a7f72c6ab72e7bdd2da717d8e3a85ea8c115907d4ec3407f5571afa51 SHA512 bde8c3eecf00f8ea2e80ffa5a101f755713a45db88bdf50c98d8bcec10e5684c6658fa1ebfcdb2a65916ad775a9a3bed6cbe5c585a889c093489a4717c6fe5bb
EBUILD amazon-ecr-credential-helper-0.9.1.ebuild 664 BLAKE2B 9453a55a0edfa48ffb693d023d82c4071474006e1f3c32962ee4218dc786d2cb6de497a64e93552a48423c28cc72b28c75d9d98f6afbc033651184af5e655d39 SHA512 d8f9c47d3b197907be2b2a423d74b02ca4d5d003ae5e7c5326d8bd1c44d1f55ec32258c25bc668956840ae2e58e78ba5a5d2c28f4f7d64b51720b24e15145b53
MISC metadata.xml 456 BLAKE2B e531fbcef503889e222e7c8a2732f8079d39030bac2d48c27b853db905a585f7e54cfa1e73abe0546b640475d11a0dab0701d0bb1203f839960373e0c6cabf5d SHA512 a9d4fd8de48fe7c3bebf96b3133ce5cd51ab806947fb3036d766687726c14b84067771e304aa76f1ead0b6d4de4c0e34d481826bcd76a95e96064f3a0aab1a87

View file

@ -0,0 +1,29 @@
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="Automatically gets credentials for Amazon ECR on docker push/docker pull"
HOMEPAGE="https://github.com/awslabs/amazon-ecr-credential-helper"
SRC_URI="https://${PN}-releases.s3.us-east-2.amazonaws.com/${PV}/release.tar.gz -> ${P}.tar.gz"
S=${WORKDIR}/ecr-login
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
src_compile() {
ego build ./cli/docker-credential-ecr-login
}
src_test() {
ego test ./...
}
src_install() {
dobin docker-credential-ecr-login
doman ../docs/docker-credential-ecr-login.1
dodoc ../README.md
}

View file

@ -13,15 +13,12 @@ DIST incus-6.0.2.tar.xz 11197324 BLAKE2B fa15816ea05865ce48f7cb668c3138d2d186a18
DIST incus-6.0.2.tar.xz.asc 833 BLAKE2B bcdeb0d2a3684dcdcb620166865523a2e9eb595f0e7760f05a06ea0608dc4fc7111b75206fe62a63cfd90a0d0ec79206404994e53770d5e35a639a67e1ad753c SHA512 18587ddc7b7cb41418ee0e7a43875663e71c9d39a505fd55bc29fe83717b5d5cdc876c46912561610735ddf80462631716354a943a272ae5ccf0ee495aff1c1c
DIST incus-6.0.3.tar.xz 11916020 BLAKE2B d3d998bd50124604c52ff007eefed586c216ce1a0a77d45724fd489db1d93f2fa304f5d6e1c368ff2dd4d1170b24605fd24bbf2a6e4506207686ca392936c200 SHA512 6a879e6634cf545b4c427800d923a32e5fe58a6eaf220ad8d0cb08e0ced5e6c4be09274ae095bb9dae25a55445462ea83d3d9235f67bbb9896944f596bf17e1a
DIST incus-6.0.3.tar.xz.asc 833 BLAKE2B 38835ab036709161150992cb40df4ff1ae1887d4f3e0b037d0415f75d2bb711cb3c5945bffe1b91d289acfb7e19e726964278e5c2ab31731ba9f7534f139dec7 SHA512 7d5360ab91aafe1d047a60e38a07e24c3c7b158e753087a943ec5e59d6a27c19a872080c9007b6cf592040d3408845bc188d76f6e732408d0680a3782cebce47
DIST incus-6.7.tar.xz 11313960 BLAKE2B c55ec6c584eeb6123d707b628ff27f96f6555ad5d17a720c55cc69cfb2abee9c6692544fba63ec2c63c5c8cb0d68baf0c9fadc2bb538dfce20362097fa3809ee SHA512 4b7e9af926d6132f63cbc53466d98691b2fb182a1900cf4ac5964df8678829da0241c4a468cfe3e49d448ecb25d2e8b1be0f52ac71c176a87d554fcd59ab5f97
DIST incus-6.7.tar.xz.asc 833 BLAKE2B 6c72ca10f20f55607b1059bf908e4b36d81b499c2b6e329855c8769cafe9def44bf8cc6a320718150192daf6e820f6e42beb1b9e7a90f794b9c906734b0ba742 SHA512 dd6d55f8f3e8538f8050fce0124bbab1495978ad1ccee954a3d38cc1bb33c0a8f9f6a7f673e7e0942e9bc732a2acdbcb71245c110eb091ef0b53015ef05e9d74
DIST incus-6.8.tar.xz 11403916 BLAKE2B 09d8e2a8619a040550600234d7fe2e65eea8c6a7054e0b790f3774721ad5de982dee5d0151f8141cda0f5c6b9d63e18b1c4964e4027bf9470ed44a28d482f999 SHA512 c7b0cc22014f482981777f3cef3b0064c02b46c7ced4e8572fd9548eec45a0d87ac868e94ab8d2af80eb24986db64a930ac578c8555e2759022cad559b74ac5c
DIST incus-6.8.tar.xz.asc 833 BLAKE2B 77b937177b4239da27478ff7826c633d34ee3b5e02e988387fdc63ff43fad307786c27dee2c3cefb8c4129ce8777fad3361c2e2a86152d202c55231d4105d7a8 SHA512 3111e196da18d362c2e60482e313da888ba6ffba1b5ae134bf9d7e89951ebf6d2b2af922d78ee6fd2e9b51bffea5ccadd0d11bf0a3527d07d8351733ce66f2e3
DIST incus-6.9.tar.xz 11444156 BLAKE2B 440e9ee9422935d68a52370406c1259ad226db680241000ec27633ef213c86cf8dfa49954c9ade4438b4f14ba9f301869a8b18c588edf5ed3439a85fd4a40fc8 SHA512 f8d704a76455fe4073a1fd67aea6dfd4af35d624aa0e91bb568871d5006ec49d9a7e5a19826c58ea300aa28c081e42ae98960f1c6d78a883434c4fd427a0a67b
DIST incus-6.9.tar.xz.asc 833 BLAKE2B 8051c12f9451b4e0300c2d3eea44743fcb61fc77181d1bc289aa85a5aeeba18b1866d84e387cc99f05996333f869738e8930ee63f28ea12b06ec3cd7bb2bd8c3 SHA512 6ef81ff6432333629888309e8b7ac48d4e92d80da77fe8fcabf248bd1c8927b4d180f9893a8895e7fbc32b8b1dec99388b154bf201275d77660af339f47ca2a2
EBUILD incus-6.0.2.ebuild 6083 BLAKE2B c9caaeb98078d7dad8bb277196fbe651eb956020bb933fdbd7d84a1f7caef1c2450d7bb31cfb9ea7717d768bf8cd4dde45c68f81508783e15150b56efc492c79 SHA512 0c6cb9391eaff33920b0e18daf1dc3299db0be2f451a547aa146fdbe85d0b3bafea31cf09f8fb744ec305de41d9ac7c3978ff1bc33aeafd0b8c5794817be3d8f
EBUILD incus-6.0.3.ebuild 6271 BLAKE2B c6e13a1cc4efd21365cef8837fd5ca25578fb197a412d8071a58f59d7c1fe39d0c3788bb77563099d6cbc5e13499f34a1026dacf3e213b144d2b50b4ecb355f4 SHA512 275d5a6a9d500ba9895d0d0d99f75eb6ef0d6a6e2d7688d9d5d9d32241b0c2721f5bfb620df80043d1ff281e7e115b6294d0e5fc8abea54387c5e2dccf9038f2
EBUILD incus-6.7.ebuild 6173 BLAKE2B 1ac2d20ccfafee4697587c57ea676835fbfe84d70e4154c33ef8316fd1066f328a44c7b41bc84ec971271ade061b4f09f616c7fc746b22664f45b703fe2f25a3 SHA512 2037e19a3a43be689f666b3d794be77627cfa6da9aff0fb03f5340628ffd8fae375ec9c130f2cfb3f3ffb5c89d6968eeaebcd0e36a881654633809dd18c96c72
EBUILD incus-6.8.ebuild 6383 BLAKE2B 5b00f4b6de57500591485d076152684d5b841d2e4ead9c245607b1c4919fea96d88cfe84896b66c86dfb2049a9f17b2832cedf6a968801f0bd1ba9c8d7075b91 SHA512 7bf9f2b7e203522178a5569faf332bb309d0b68e3d5e27224c111fec441d1ee847a0d3e58c344fa6409bb72fd2884ec3fd1fe94d86fbafe9cc137595ba1ba42a
EBUILD incus-6.9-r2.ebuild 6264 BLAKE2B 5398823be9914419a23523ea1dd6c4cc457c47241f7782d018dd93fe9e0d39ecb9464a0c692d353de0765baaf854b479e9631fe87d78d92c3120ade63d88221f SHA512 15fb681af83e9e7112bcce4f6cd271d9cce4198c86f3fe980e9cc8c2e6798ec43ce45262e0a98942d44c299355f641c2c228ccc4c2b23ba7e2e63e2aa1b16957
MISC metadata.xml 1696 BLAKE2B d15b2a9b4a9f2197369466403fe00ff6a2a10d3d2b86e2f306a7eeaad4ef3eb6709c22b08df6dc4a8fa0f6d9468da6a240fca27d587c222f081644b8e303da6f SHA512 e07b3700562381e6634ae5bb50163c63fdec2e2798c055da53bd1e84e65a394482b4b95a57effac61f037ecee91440e1d3d608322978846b7c6c5e200e503f0f

View file

@ -1,216 +0,0 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module linux-info optfeature systemd toolchain-funcs verify-sig
DESCRIPTION="Modern, secure and powerful system container and virtual machine manager"
HOMEPAGE="https://linuxcontainers.org/incus/introduction/ https://github.com/lxc/incus"
SRC_URI="https://linuxcontainers.org/downloads/incus/${P}.tar.xz
verify-sig? ( https://linuxcontainers.org/downloads/incus/${P}.tar.xz.asc )"
LICENSE="Apache-2.0 BSD LGPL-3 MIT"
SLOT="0/stable"
KEYWORDS="~amd64 ~arm64"
IUSE="apparmor fuidshift nls"
DEPEND="acct-group/incus
acct-group/incus-admin
app-arch/xz-utils
>=app-containers/lxc-5.0.0:=[apparmor?,seccomp(+)]
dev-db/sqlite:3
>=dev-libs/cowsql-1.15.6
dev-libs/lzo
>=dev-libs/raft-0.22.1:=[lz4]
>=dev-util/xdelta-3.0[lzma(+)]
net-dns/dnsmasq[dhcp]
sys-libs/libcap
virtual/udev"
RDEPEND="${DEPEND}
fuidshift? ( !app-containers/lxd )
net-firewall/ebtables
net-firewall/iptables
sys-apps/iproute2
sys-fs/fuse:*
>=sys-fs/lxcfs-5.0.0
sys-fs/squashfs-tools[lzma]
virtual/acl"
BDEPEND=">=dev-lang/go-1.21
nls? ( sys-devel/gettext )
verify-sig? ( sec-keys/openpgp-keys-linuxcontainers )"
CONFIG_CHECK="
~CGROUPS
~IPC_NS
~NET_NS
~PID_NS
~SECCOMP
~USER_NS
~UTS_NS
~KVM
~MACVTAP
~VHOST_VSOCK
"
ERROR_IPC_NS="CONFIG_IPC_NS is required."
ERROR_NET_NS="CONFIG_NET_NS is required."
ERROR_PID_NS="CONFIG_PID_NS is required."
ERROR_SECCOMP="CONFIG_SECCOMP is required."
ERROR_UTS_NS="CONFIG_UTS_NS is required."
WARNING_KVM="CONFIG_KVM and CONFIG_KVM_AMD/-INTEL is required for virtual machines."
WARNING_MACVTAP="CONFIG_MACVTAP is required for virtual machines."
WARNING_VHOST_VSOCK="CONFIG_VHOST_VSOCK is required for virtual machines."
# Go magic.
QA_PREBUILT="/usr/bin/incus
/usr/bin/incus-agent
/usr/bin/incus-benchmark
/usr/bin/incus-migrate
/usr/bin/lxc-to-incus
/usr/sbin/fuidshift
/usr/sbin/incusd
/usr/sbin/lxd-to-incus"
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/linuxcontainers.asc
# The testsuite must be run as root.
# make: *** [Makefile:156: check] Error 1
RESTRICT="test"
GOPATH="${S}/_dist"
src_unpack() {
verify-sig_src_unpack
go-module_src_unpack
}
src_prepare() {
export GOPATH="${S}/_dist"
default
sed -i \
-e "s:\./configure:./configure --prefix=/usr --libdir=${EPREFIX}/usr/lib/incus:g" \
-e "s:make:make ${MAKEOPTS}:g" \
Makefile || die
sed -i \
-e "s:/usr/share/OVMF:/usr/share/edk2/OvmfX64:g" \
-e "s:OVMF_VARS.ms.fd:OVMF_VARS.fd:g" \
internal/server/instance/drivers/edk2/driver_edk2.go || die "Failed to fix hardcoded ovmf paths."
# Fix hardcoded virtfs-proxy-helper file path, see bug 798924
sed -i \
-e "s:/usr/lib/qemu/virtfs-proxy-helper:/usr/libexec/virtfs-proxy-helper:g" \
internal/server/device/device_utils_disk.go || die "Failed to fix virtfs-proxy-helper path."
cp "${FILESDIR}"/incus-0.4.service "${T}"/incus.service || die
if use apparmor; then
sed -i \
'/^EnvironmentFile=.*/a ExecStartPre=\/usr\/libexec\/lxc\/lxc-apparmor-load' \
"${T}"/incus.service || die
fi
# Disable -Werror's from go modules.
find "${S}" -name "cgo.go" -exec sed -i "s/ -Werror / /g" {} + || die
}
src_configure() { :; }
src_compile() {
export GOPATH="${S}/_dist"
export CGO_LDFLAGS_ALLOW="-Wl,-z,now"
for k in incus-benchmark incus-simplestreams incus-user incus lxc-to-incus lxd-to-incus ; do
ego install -v -x "${S}/cmd/${k}"
done
if use fuidshift ; then
ego install -v -x "${S}/cmd/fuidshift"
fi
ego install -v -x -tags libsqlite3 "${S}"/cmd/incusd
# Needs to be built statically
CGO_ENABLED=0 go install -v -tags netgo "${S}"/cmd/incus-migrate
CGO_ENABLED=0 go install -v -tags agent,netgo "${S}"/cmd/incus-agent
use nls && emake build-mo
}
src_test() {
emake check
}
src_install() {
export GOPATH="${S}/_dist"
if tc-is-cross-compiler ; then
local bindir="_dist/bin/linux_${GOARCH}"
else
local bindir="_dist/bin"
fi
newsbin "${FILESDIR}"/incus-startup-0.4.sh incus-startup
# Admin tools
for l in incusd incus-user lxd-to-incus ; do
dosbin ${bindir}/${l}
done
# User tools
for m in incus-agent incus-benchmark incus-migrate incus-simplestreams incus lxc-to-incus ; do
dobin ${bindir}/${m}
done
# fuidshift, should be moved under admin tools at some point
if use fuidshift ; then
dosbin ${bindir}/fuidshift
fi
newconfd "${FILESDIR}"/incus-6.0.confd incus
newinitd "${FILESDIR}"/incus-6.0.initd incus
newinitd "${FILESDIR}"/incus-user-0.4.initd incus-user
systemd_dounit "${T}"/incus.service
systemd_newunit "${FILESDIR}"/incus-0.4.socket incus.socket
systemd_newunit "${FILESDIR}"/incus-startup-0.4.service incus-startup.service
systemd_newunit "${FILESDIR}"/incus-user-0.4.service incus-user.service
systemd_newunit "${FILESDIR}"/incus-user-0.4.socket incus-user.socket
if ! tc-is-cross-compiler; then
# Generate and install shell completion files.
mkdir -p "${D}"/usr/share/{bash-completion/completions/,fish/vendor_completions.d/,zsh/site-functions/} || die
"${bindir}"/incus completion bash > "${D}"/usr/share/bash-completion/completions/incus || die
"${bindir}"/incus completion fish > "${D}"/usr/share/fish/vendor_completions.d/incus.fish || die
"${bindir}"/incus completion zsh > "${D}"/usr/share/zsh/site-functions/_incus || die
else
ewarn "Shell completion files not installed! Install them manually with incus completion --help"
fi
dodoc AUTHORS
dodoc -r doc/*
use nls && domo po/*.mo
}
pkg_postinst() {
elog
elog "Please see"
elog " https://wiki.gentoo.org/wiki/Incus"
elog " https://wiki.gentoo.org/wiki/Incus#Migrating_from_LXD"
elog
optfeature "virtual machine support" app-cdr/cdrtools app-emulation/qemu[spice,usbredir,virtfs]
optfeature "OCI container images support" app-containers/skopeo app-containers/umoci
optfeature "btrfs storage backend" sys-fs/btrfs-progs
optfeature "ipv6 support" net-dns/dnsmasq[ipv6]
optfeature "full incus-migrate support" net-misc/rsync
optfeature "lvm2 storage backend" sys-fs/lvm2
optfeature "zfs storage backend" sys-fs/zfs
elog
elog "Be sure to add your local user to the incus group."
elog
}

View file

@ -5,11 +5,8 @@ AUX lxc.service-5.0.0 527 BLAKE2B 44d1fca919615c1acb672baa7b77bd43680975782683ad
AUX lxc_at.service.5.0.0 395 BLAKE2B b4a329964041a9b3017df80aedb73f296d60e0b78097c72e52b921de939246a45d07591535d3971458cee38bf4ddf84021af3f325bffac6db9ba7c4c78a48a5b SHA512 d896c2eb889b83a77041fcd51604bea11db65b8b494c9c063a72ed182006577ed49e2e2c0842353de4676b3fc1246508e5b7c669d797929818cccf485282d85c
DIST lxc-5.0.3.tar.gz 975269 BLAKE2B 533d97fe4d986acbf5d562bb2c295a63df2a9a8bfc27aeff5056e4235f667102500debc586c5698482ec048c1b222a0fdc234db6fd6648c4b649f87a85de18f8 SHA512 0553be317431ab7ec0c450c0f85724a53de1f251c39c9716168e17cda6a8daec70b8221228c4be64027df28a327e0f1fd508e6bb48348ab540bbfeaf2b9ac974
DIST lxc-5.0.3.tar.gz.asc 833 BLAKE2B c35278ed17cad76d2ea94b3985e0110731efea751fb5f1c2d1c9db71486e4844285f372a94c8611dcfe91fdb16459694843b9e0a8273cfc68a56f549c7162cfb SHA512 a5ce5769d49abdf35d94de8273fd3e9c2a8ba4fafea71cf33ee6bce1d83531c8b550d972f7080409a4cc5a92e9d04ece50ed108f92c6aec4868d150e58d7d11a
DIST lxc-6.0.2.tar.gz 964007 BLAKE2B 55c0155a66194d4d10fff5ffc7edc6d6afab730245a401671f8d1bd6f54bd8558bd0644c0f42bd49b5b470bc343809091f1893c27b5830674870f6b91f23d6e0 SHA512 52841b5f48eeb4b2b63e0437e3abc38cec6a801778eb2fab264c78d7ee3be957bd45aa839c9fcd281396464fa0af84bb2fc8bf4bfadc9509fae3b4dc52b44da5
DIST lxc-6.0.2.tar.gz.asc 833 BLAKE2B b4b6b56e65239c2125864e16e947a88c2d4d97a1b2dfa6920ca5c2f89b3df7d44d9ec8eb9a56753d6009143a53f6bb5bbd13f3b5b7f26e537aa6f1f1d0d0cc85 SHA512 741caccb3dc0ef1043c04122c75a3e3f6d8e6024a65bf905b186da0aabef971a1224e60f9adee069d1a2c24f43c408be1ccc32e5d4faba85860e9a19d9e4c0d9
DIST lxc-6.0.3.tar.gz 964210 BLAKE2B 8d5dec7f088111a2ca82aadd6cd90eb30a3a1b61900aa47123caba2ff95d10e68cfcd6a94ec6b3e36657777578c8b113c95aad9112b48b9dc964e4ed73783b48 SHA512 4ed41155b74afa135ae8e01f55a8cbbc7284a80e9789aaa2e69264d6b90a6527baf51f9c68dd3364aa83e7939d070f5c7dad924c751927783e883adce539fbdf
DIST lxc-6.0.3.tar.gz.asc 833 BLAKE2B 3a23eacfdd248a95c9fa41a6edcb55abb07abc81314fa227649663ac264a9e5fdcf81cb38b79f1bd51b9172a70a0aee5bf65ecfdaf438c944c25f11c882ab562 SHA512 5de32e772bd2864e3b688a90fd9f08d98829d61ba3e1cc76a9b403fc005256149f55ad034e186c3329f3abe52a8815f60c5027b16de46be0bc81b14d0134babd
EBUILD lxc-5.0.3.ebuild 5052 BLAKE2B 99a20e705617194a9e38ec6dabbc52fd43dbd5615a6b00379921f4ba200c2110f666878c00195917109f37cfed961258978b79bc3db0814986c36429537e660c SHA512 050ebb35250bd258a602ee84f9f1b1c35531caa0c3f9954bb8380927a8c262ffd66776cc0af643aaf69a7e0c51dccfe82bb2e3993e264ba2a0c91de8bd94faf5
EBUILD lxc-6.0.2.ebuild 5601 BLAKE2B 8885d5a0fe2400dbecf8ccbe8766f3d5795fd675094387d0319ad1e8bfcb3f0b052b2a20e42c3fb11cd4961b0500580356349001755904c52adc7c1298f932d1 SHA512 68e97e42d5ca082c867f089c36264d545bbe69dde4df07136bdcd3c4458b9c986fc2b2c879485ea2348f745d19585953a1ac2032fa99a69c8ab542aaada1ffa1
EBUILD lxc-6.0.3.ebuild 5412 BLAKE2B 37cb83c04bbf15d7f697ce901248aaf96f83110cdc315c77f6331ff6157896218a6523c99390f9c0907bab4b263103344bd5e9d18f142955d25a674112305104 SHA512 95b0e84ceb394986fa4eb6e348caa31240d5b91fe6bdacb264be1a0dd2769627a2f18839e8d3814fad84743237a848f006e287c5d27ac85623b0c1da1bea089b
MISC metadata.xml 629 BLAKE2B 1dde5fefd2199c46a6b2714be94513f02494baf8d382195f79452c749cfe82c90ee1e353428d5d661cb991b25a6d9774605e292b0a4e1321e0a3d269c4eb3334 SHA512 245d00b1e44762fd76ad1978763158438db9a685f383575bce93cf4aac82358331cb41ee7fabc142849a90f8fc116cf14a646e254e6b5be4d46fa90798a48ff6

View file

@ -1,175 +0,0 @@
# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit bash-completion-r1 linux-info meson optfeature systemd toolchain-funcs verify-sig
DESCRIPTION="A userspace interface for the Linux kernel containment features"
HOMEPAGE="https://linuxcontainers.org/ https://github.com/lxc/lxc"
SRC_URI="https://linuxcontainers.org/downloads/lxc/${P}.tar.gz
verify-sig? ( https://linuxcontainers.org/downloads/lxc/${P}.tar.gz.asc )"
LICENSE="GPL-2 LGPL-2.1 LGPL-3"
SLOT="0/1.8" # SONAME liblxc.so.1 + ${PV//./} _if_ breaking ABI change while bumping.
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv x86"
IUSE="apparmor +caps examples io-uring lto man pam seccomp selinux ssl systemd test +tools"
RDEPEND="acct-group/lxc
acct-user/lxc
apparmor? ( sys-libs/libapparmor )
caps? ( sys-libs/libcap )
io-uring? ( >=sys-libs/liburing-2:= )
pam? ( sys-libs/pam )
seccomp? ( sys-libs/libseccomp )
selinux? ( sys-libs/libselinux )
ssl? ( dev-libs/openssl:0= )
systemd? (
sys-apps/dbus
sys-apps/systemd:=
)
tools? ( sys-libs/libcap )"
DEPEND="${RDEPEND}
caps? ( sys-libs/libcap[static-libs] )
tools? ( sys-libs/libcap[static-libs] )
sys-kernel/linux-headers"
BDEPEND="virtual/pkgconfig
man? ( app-text/docbook2X )
verify-sig? ( sec-keys/openpgp-keys-linuxcontainers )"
RESTRICT="!test? ( test )"
CONFIG_CHECK="~!NETPRIO_CGROUP
~CGROUPS
~CGROUP_CPUACCT
~CGROUP_DEVICE
~CGROUP_FREEZER
~CGROUP_SCHED
~CPUSETS
~IPC_NS
~MACVLAN
~MEMCG
~NAMESPACES
~NET_NS
~PID_NS
~POSIX_MQUEUE
~USER_NS
~UTS_NS
~VETH"
ERROR_CGROUP_FREEZER="CONFIG_CGROUP_FREEZER: needed to freeze containers"
ERROR_MACVLAN="CONFIG_MACVLAN: needed for internal (inter-container) networking"
ERROR_MEMCG="CONFIG_MEMCG: needed for memory resource control in containers"
ERROR_NET_NS="CONFIG_NET_NS: needed for unshared network"
ERROR_POSIX_MQUEUE="CONFIG_POSIX_MQUEUE: needed for lxc-execute command"
ERROR_UTS_NS="CONFIG_UTS_NS: needed to unshare hostnames and uname info"
ERROR_VETH="CONFIG_VETH: needed for internal (host-to-container) networking"
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/linuxcontainers.asc
DOCS=( AUTHORS CONTRIBUTING MAINTAINERS README.md doc/FAQ.txt )
pkg_setup() {
linux-info_pkg_setup
}
src_configure() {
# -Dtools-multicall=false: will create a single binary called 'lxc' that conflicts with LXD.
local emesonargs=(
--localstatedir "${EPREFIX}/var"
-Dcoverity-build=false
-Dinstall-state-dirs=false
-Doss-fuzz=false
-Dspecfile=false
-Dtools-multicall=false
-Dcommands=true
-Dinstall-init-files=true
-Dmemfd-rexec=true
-Dthread-safety=true
$(meson_use apparmor)
$(meson_use caps capabilities)
$(meson_use examples)
$(meson_use io-uring io-uring-event-loop)
$(meson_use lto b_lto)
$(meson_use man)
$(meson_use pam pam-cgroup)
$(meson_use seccomp)
$(meson_use selinux)
$(meson_use ssl openssl)
$(meson_use test tests)
$(meson_use tools)
$(usex systemd -Ddbus=true -Ddbus=false)
$(usex systemd -Dinit-script="systemd" -Dinit-script="sysvinit")
-Ddata-path=/var/lib/lxc
-Ddoc-path=/usr/share/doc/${PF}
-Dlog-path=/var/log/lxc
-Drootfs-mount-path=/var/lib/lxc/rootfs
-Druntime-path=/run
)
use tools && local emesonargs+=( -Dcapabilities=true )
if $(tc-ld-is-gold) || $(tc-ld-is-lld); then
local emesonargs+=( -Db_lto_mode=thin )
else
local emesonargs+=( -Db_lto_mode=default )
fi
meson_src_configure
}
src_install() {
meson_src_install
# The main bash-completion file will collide with lxd, need to relocate and update symlinks.
local lxcbashcompdir="${D}/$(get_bashcompdir)"
mkdir -p "${lxcbashcompdir}" || die "Failed to create bashcompdir."
mv "${lxcbashcompdir}"/_lxc "${lxcbashcompdir}"/lxc-start || die "Failed to move _lxc bash completion file."
# Build system will install all bash completion files regardless of our 'tools' use flag.
# Though installing them all will add bash completions for commands that don't exist, it's
# cleaner than dealing with individual files based on the use flag status.
bashcomp_alias lxc-start lxc-{attach,autostart,cgroup,checkpoint,config,console,copy,create,destroy,device,execute,freeze,info,ls,monitor,snapshot,stop,top,unfreeze,unshare,update-config,usernsexec,wait}
find "${ED}" -name '*.la' -delete -o -name '*.a' -delete || die
# Replace upstream sysvinit/systemd files.
if use systemd ; then
rm -r "${D}$(systemd_get_systemunitdir)" || die "Failed to remove systemd lib dir"
else
rm "${ED}"/etc/init.d/lxc-{containers,net} || die "Failed to remove sysvinit scripts"
fi
newinitd "${FILESDIR}/${PN}.initd.9" ${PN}
systemd_newunit "${FILESDIR}"/lxc-monitord.service.5.0.0 lxc-monitord.service
systemd_newunit "${FILESDIR}"/lxc-net.service.5.0.0 lxc-net.service
systemd_newunit "${FILESDIR}"/lxc.service-5.0.0 lxc.service
systemd_newunit "${FILESDIR}"/lxc_at.service.5.0.0 "lxc@.service"
if ! use apparmor; then
sed -i '/lxc-apparmor-load/d' "${D}$(systemd_get_systemunitdir)/lxc.service" ||
die "Failed to remove apparmor references from lxc.service systemd unit."
fi
}
pkg_postinst() {
elog "Please refer to "
elog "https://wiki.gentoo.org/wiki/LXC for introduction and usage guide."
elog
elog "Run 'lxc-checkconfig' to see optional kernel features."
elog
optfeature "creating your own LXC containers" app-containers/distrobuilder
optfeature "automatic template scripts" app-containers/lxc-templates
optfeature "Debian-based distribution container image support" dev-util/debootstrap
optfeature "snapshot & restore functionality" sys-process/criu
}

View file

@ -4,7 +4,7 @@ AUX podman-auto-update-5.0.0.cron 185 BLAKE2B 78553b31c4f2f9fe929780af752cee33db
AUX podman-clean-transient-5.0.0_rc6.confd 235 BLAKE2B 25100f79c09c4ea388be27ed5e2d5f537d790688ad808cc02183d3e1f86d791f69133d3a3d1137179dd48d70aa1769a2b3ada77d17b7f25cf1b3007c2c243bc2 SHA512 f27408326c5b50addfc8b11c6f41df49d03ccaab80d37bb84100d2d238e01117ea436a79833f80c6b1d62b03da01807871396f401bf155d0c08252cc783f7e15
AUX podman-clean-transient-5.0.0_rc6.initd 669 BLAKE2B db5f35d6918ea12afd2bc6ef1eb9b855faa259a7abe9a49895892e40576558996317ae0189b80d1d2fea978848e35bfbadf1635cef112bd96bfeb75ecf34cdb3 SHA512 95c07cd6bc1bba7ce9bb0e111d74d9625c7f7e88667f709852056206e9483d96283ad2f13710e99bc5c3573bdb1b0c7585a7254760b91b7eec5b5a868d849e61
AUX podman-restart-5.0.0_rc4.confd 284 BLAKE2B e2e5394428d95e9fa480f32ef3efcddc870394e8f5158fbcfe80434aca6c0a48bc1a4a5b7bdcf91e5313121be7f50f5e924a3a2084767e84d6bf045819121711 SHA512 99818e90a04ebdfa2ca8fbf8b4971025cae27807a0f2288f267c60e875f38cac4d189a72248861507189aa3a1e05f7c81d663f96ddac6a7e11edebf5f18baea1
AUX podman-restart-5.0.0_rc4.initd 641 BLAKE2B c62aa18fe0da2d00032f09bc2e23debfc916c12a9ebdd22666c000c09242140b592fb08f1e961cf2dc66eb9eeb6ddaf7336713574fb2708620588904168ded51 SHA512 b947c3f6e3dc4d58008c16c7bc77306877b7375334eeb96a714541c8534bcb4ca25d85e2204af96a3d14471b966c0b59542694777b907dddeff15f8995889a2c
AUX podman-restart-5.0.0_rc4.initd 773 BLAKE2B 42a4ac4eec560b4785d88db28428488a30a872a1dae4f4d29d7bfaffa86acaf127ed0f79f5e6026b176717cfc254acd29e930748b89463d023a3ad9283b714c4 SHA512 2e60dcfbe14f7a63606927843d291bcfc57084784cf5faff18b64538c65eca5758dd03179aec0bff4c12b696815abf11d359f45fb5681856e8b1ef0dc0bf36c5
AUX podman.logrotated 85 BLAKE2B 730899f93ee354e476629276b69224cfeaaa1603b6690cac3c0cd905cd75add19179f99e26f29edbd963d5f44c38a3a2db0b5a3613dc665ab801654eac13dc2e SHA512 0136d063b15b07c41a9370ba1845c4f368ec46a7a30683b7ff7cbb0b12e5b2711c9a45329f5102af6a969e562edcec006a8de9055e43e1caf9395847d0c5ec45
DIST podman-5.2.5.tar.gz 23834863 BLAKE2B 2264c9b19e621a1269ae5baee6fee148e6f1b9cacbdd83fdbecf671f87855d0ae566e41e4e8cbffe57662b7e9a3d653d57a7d2acb8f30b869b8af1bd7473a617 SHA512 29f71c67a5700e8dffe45e6e91acab509d8c8924a5f3cf9b4eee95f665a9ed19333285df89da892699ee314cee27c0c8a4a62d29e4205198781f5d5f585135a9
DIST podman-5.3.0.tar.gz 24194165 BLAKE2B fb2da37e4f97d69997b9518425bb1ec74846e4e26855bf9ece0eeefb723f603051d4d4a1b3320cdba5c97595db12e1948f280776429819d10bfe83a57f349c78 SHA512 3f1ab7e792850e2e21823c59ca9e03d348e78267e3ec5344a04c38e51466159717944c318cf5e61ad9a785d9112b468b9fc37f3b60a40e8764d5cac9f58e7d16

View file

@ -2,21 +2,21 @@
# Copyright 2015-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
description="Start all containers with restart-policy set to always"
description="Start all containers with restart-policy set to always or unless-stopped"
command_user="${RUN_AS_USER:=root:root}"
command="/usr/bin/podman"
command_args="--log-level ${LOG_LEVEL:=info} start --all --filter restart-policy=always"
command_args="--log-level ${LOG_LEVEL:=info} start --all --filter restart-policy=always --filter restart-policy=unless-stopped"
depend() {
after net
}
stop() {
ebegin "Stopping all containers with restart-policy set to always"
ebegin "Stopping all containers with restart-policy set to always or unless-stopped"
${command} \
--log-level ${LOG_LEVEL} \
stop \
$(${command} container ls --filter restart-policy=always -q)
eend $? "Failed to stop containers with restart-policy set to always"
$(${command} container ls --filter restart-policy=always --filter restart-policy=unless-stopped -q)
eend $? "Failed to stop containers with restart-policy set to always or unless-stopped"
}

Binary file not shown.

View file

@ -1,3 +1,5 @@
DIST badkeys-0.0.12.tar.gz 374956 BLAKE2B 4d9670d12bccb72e3ce3cc686967c58602da559da4cbf2157576f5122c3064059def1154b2c7bda1bc6f9e13f8dc8a1cd341917610ffb36e0bf10616c614d955 SHA512 b76dd0b6cd10b4136d83d8b2e44adc8b8fb7d4ef7ae78ec404826283de2410356c3abecaac8c1434e181b8ccd0b77b6ae1dd5eaf568be15c8124868c25027e96
DIST badkeys-0.0.13.tar.gz 376612 BLAKE2B 78c12941f38c74b2acbc192e8db20978d9aa26f80e278b253c4e57173642f06b461b5efe2ded006387323d9a883558fabebbd7386c05f662ad1022ebfc6384cc SHA512 33f6f8625e6b97c9523e34e4cc25e0ab50873c62a6830be7d248035d2ff6be947fcce33b862a944bba45f10638fe659c50b0778bf4d545fcb0f93149d46b8add
EBUILD badkeys-0.0.12-r1.ebuild 689 BLAKE2B f23120e84d1f5d7d1686936f019deba776c4e6626f103ca8a0105df1da9490b340d5a409e7e9e17366ff2083ccf22a53acf8e1db8abef96b148dd3ccc787c9da SHA512 a2786649a196bd15d0bcbb66150230b29096ac96ad58ab0a3869fecfefba7fb587c57a654f34db9d98f54793d6644446d296c6f5f811812cd7ff522ca8cf856e
EBUILD badkeys-0.0.13.ebuild 689 BLAKE2B f23120e84d1f5d7d1686936f019deba776c4e6626f103ca8a0105df1da9490b340d5a409e7e9e17366ff2083ccf22a53acf8e1db8abef96b148dd3ccc787c9da SHA512 a2786649a196bd15d0bcbb66150230b29096ac96ad58ab0a3869fecfefba7fb587c57a654f34db9d98f54793d6644446d296c6f5f811812cd7ff522ca8cf856e
MISC metadata.xml 508 BLAKE2B cf3826ad646dff67f5d0094f91c2bb1d8598f65c31774894cb95b02680225d756541cfd921341dde90e91a176e4b5962608b08c202f9b312937bfd3a47aa3090 SHA512 0fa2d7cc7f7a49115fa10377f54461261d45fb1641f22a750f748eb5c41bbe261acdeaaaf39b6c3cca0072e07332e3222b15ae2ea9345664e81df629254fd855

View file

@ -0,0 +1,26 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..13} )
DISTUTILS_USE_PEP517=setuptools
inherit distutils-r1 pypi
DESCRIPTION="Check cryptographic keys for known weaknesses"
HOMEPAGE="https://badkeys.info/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
IUSE="dkim ssh"
DEPEND="dev-python/cryptography[${PYTHON_USEDEP}]
dev-python/gmpy2[${PYTHON_USEDEP}]"
RDEPEND="${DEPEND}
dkim? ( dev-python/dnspython[${PYTHON_USEDEP}] )
ssh? ( dev-python/paramiko[${PYTHON_USEDEP}] )"
# TODO: add optional binary-file-search dependency once
# it is packaged.
DOCS=( README.md )
distutils_enable_tests unittest

View file

@ -1,4 +1,7 @@
AUX gpa-0.11.0-c99.patch 734 BLAKE2B f8aa243a9012afd1de410bd009edbb591d3f4371834dad1c0f7bcffa877ec48055dada976226ca50404839939a79608ef8b05181e34f05edcd02a7287f058ad4 SHA512 ac987af6ae02c16d2479c784c194de170c9ab852c6c11ecfacde1901fdc921e790135edded6133e88ec032c7a9c584934bc21b3fefcb111f897bce2835df21e9
DIST gpa-0.10.0-autoconf.patch.xz 8500 BLAKE2B 0b1b99ef0096f4634b60cddf46d3eb6d70da17be1f506265f2642e742e8f7a016e2b340c6722d5976f185b20b1b2ad96661b375fcdd24595d225314bdfc97e56 SHA512 be59117bea8f254238306e6e8ef023f4485bc940387a7a3d4b47dab2962410d6bfb0a540476061beca531504ff5c56d7d8b2416d366810c73359807cdcc42207
DIST gpa-0.10.0.tar.bz2 782455 BLAKE2B ef663432cbe20fb5c543696627f448b3970099b6a0f8f68b57e3d87af03550597adcfe4c27c2774d1f278cfc9d07a089652f42ef4f8c3cbc0192b645c465ac0e SHA512 87004fb0806e76012bc194f95afe9ef6044aec890b26e845f45c314e1bd8864f056ba5e32f9ef2e15b24b50840235e6e548a5e3006b255b4f1c20e0fd7710a3b
DIST gpa-0.11.0.tar.bz2 827217 BLAKE2B 7221346e68502667791b17f73b11a946de71d5f52165b8ccc9355f6015dbd4b82f63ea6cf4c20497354fb7031fe8ecb7c0bcf59878559af7037f5d21023b486c SHA512 976c607732ac5558bc00bfd777408605729155773036ac811faf1e528c29567f9f16288aeaa3390fef7b8eaa75ae68a0fe710f8b55d001580a09d7382d33d20d
EBUILD gpa-0.10.0-r1.ebuild 1063 BLAKE2B a62da61c3c894475de8c3f7ef941927174208731355aa068e52f4925b95931085cd78cb52959c7e39feb542772b8daff179210bde7599af41fe6db111a919ec6 SHA512 6ca569fb90d8e2eb2b31ac7ae96692c0352dbc722671491ab8f59b641bca1e4504df14b25df2706ed6cf4bc04de0d7539270b8e1b6603b2c3216e6094f51f920
EBUILD gpa-0.11.0.ebuild 822 BLAKE2B d9f05f636929ebb30fb27d44be908502dfddf2d828b126f726e5b01923953036860fd8d2a18886d9b3eefbec7c9550f615c95ea2fe0b6aa35b415c9b805ceb29 SHA512 a8b8c8a220c18846b3da8a04569a307f4c00ea6b297c2237aafcf080498a2795e423181693b8fd1820fdf18c920c483bae66aad81d0c6475aae78bb1bc72e569
MISC metadata.xml 258 BLAKE2B b3ebb9691cf2c860b26172c2fc7ead843959a83806b7c06f4eec2ea349a6d2f39afe2f4b08c09bc7f65d18bece520b8b6306c8c7c2075d653f04b09af43db8fd SHA512 02ab38ca1547c68e87cbcad1dd4bb121e90d1fcca941cbfd29583ea803ed50617aa6a29df11915af5e95d63fc817df2250c7b8189157d705ef86e477d6a1685e

View file

@ -0,0 +1,17 @@
cm-piv.c: In function reload_data:
cm-piv.c:510:7: error: implicit declaration of function gpa_keytable_ensure [-Wimplicit-function-declaration]
510 | gpa_keytable_ensure (gpa_keytable_get_secret_instance());
| ^~~~~~~~~~~~~~~~~~~
cm-piv.c:510:28: error: implicit declaration of function gpa_keytable_get_secret_instance [-Wimplicit-function-declaration]
510 | gpa_keytable_ensure (gpa_keytable_get_secret_instance());
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--- a/src/cm-piv.c
+++ b/src/cm-piv.c
@@ -41,6 +41,7 @@
#include "gtktools.h"
#include "convert.h"
#include "gpa-key-details.h"
+#include "keytable.h"
#include "cm-object.h"
#include "cm-piv.h"

Some files were not shown because too many files have changed in this diff Show more