diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-10-20 10:22:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-10-20 10:22:14 +0100 |
commit | 46eedbedafdb0040c37884982d4c775ce277fb7b (patch) | |
tree | db33a91259730be84999e13a8d8168c799f50ac0 /sys-block | |
parent | e23a08d0c97a0cc415aaa165da840b056f93c997 (diff) |
gentoo resync : 20.10.2021
Diffstat (limited to 'sys-block')
-rw-r--r-- | sys-block/Manifest.gz | bin | 10494 -> 10498 bytes | |||
-rw-r--r-- | sys-block/buffer/Manifest | 1 | ||||
-rw-r--r-- | sys-block/buffer/files/1.19-deb-gentoo.patch | 293 | ||||
-rw-r--r-- | sys-block/mbuffer/Manifest | 2 | ||||
-rw-r--r-- | sys-block/mbuffer/mbuffer-20211004.ebuild | 69 | ||||
-rw-r--r-- | sys-block/targetcli-fb/Manifest | 4 | ||||
-rw-r--r-- | sys-block/targetcli-fb/targetcli-fb-2.1.53.ebuild | 4 | ||||
-rw-r--r-- | sys-block/targetcli-fb/targetcli-fb-2.1.54.ebuild | 29 |
8 files changed, 105 insertions, 297 deletions
diff --git a/sys-block/Manifest.gz b/sys-block/Manifest.gz Binary files differindex 3b62f886aafd..954644806494 100644 --- a/sys-block/Manifest.gz +++ b/sys-block/Manifest.gz diff --git a/sys-block/buffer/Manifest b/sys-block/buffer/Manifest index 17be81ef5a2e..c47f161b2d79 100644 --- a/sys-block/buffer/Manifest +++ b/sys-block/buffer/Manifest @@ -1,4 +1,3 @@ -AUX 1.19-deb-gentoo.patch 8422 BLAKE2B d1c1628ae74f2454e17d176602610dd5356365e18e260f5ca32f26d8a19dd857be144c4116de244b5c143c61c4176582d4e3713c8c584a3a17b4d3ad1c1320ac SHA512 791d7990f900d70a229d77ea0eda67c99ea81697ca65f83bceea1131d0d5da94484c796ad601d8031da72fe24b2add6b0e4e86956c0ddb2fbe76cee6574ccb34 DIST buffer_1.19-12.debian.tar.xz 9924 BLAKE2B 9f6591e00d596257956e3230cbdf8e58392aa3666d7900c30ea26d103f03d25071ff1033fa72e7be799021ed4c32d43e0e5ad69d1457a5ee22c33e3ae6f8c058 SHA512 3bc9d8c281268d38c1cc3ac40727d747c91b605fc3128e285d24663f97396292a0ec40ede9205702793b5d090c4e172b0df28321921b000aa0fdcb2660319367 DIST buffer_1.19.orig.tar.gz 17753 BLAKE2B 68e2026f29cb00c48c8f3638d97adeeee0d194d7a6db96cbded251b3f97d36ba2ac32a60660df8aa1d2c7b79dd774b543d3a460a5d76ab6ca408606a013b5648 SHA512 b724d8c3e21f29890659c95a61db8667846e49614455411995160bc8d5af8a37af91465ad5d882e6bd7883dbd7886215a8c1d530f7392c98cdcead4f4377aa7f EBUILD buffer-1.19-r4.ebuild 1209 BLAKE2B 68ed16e51abfd72cb0d5e3b8e4efa8101525487a990051cf1c3331b9f9304b785e7d228f313489c1be7097ccdffd59ed3c4b5b2c109e9e4b09fabd518442914b SHA512 d71e593a13b06fffa9a27a439ad4890349be4735d415d8e6527a38698a9a70c2b9def9eab8fc0fd1e4130bc1e9723d32c1abf9da9e5c7291e4d6c237ca4f2b4f diff --git a/sys-block/buffer/files/1.19-deb-gentoo.patch b/sys-block/buffer/files/1.19-deb-gentoo.patch deleted file mode 100644 index 66ea66433bc6..000000000000 --- a/sys-block/buffer/files/1.19-deb-gentoo.patch +++ /dev/null @@ -1,293 +0,0 @@ -diff -ur buffer-1.19.orig/buffer.c buffer-1.19/buffer.c ---- buffer-1.19.orig/buffer.c 2004-08-21 01:45:29.938082048 -0400 -+++ buffer-1.19/buffer.c 2004-08-21 01:45:39.444118464 -0400 -@@ -109,6 +109,9 @@ - * Initial revision - * - */ -+#include <stdlib.h> -+#include <string.h> -+#include <limits.h> - #include <unistd.h> - #include <stdio.h> - #include <signal.h> -@@ -120,6 +123,7 @@ - #include <sys/shm.h> - #include <sys/sem.h> - #include <sys/wait.h> -+#include <sys/time.h> - #include "sem.h" - - #ifndef lint -@@ -127,8 +131,8 @@ - #endif - --#ifndef __alpha -+#ifndef __linux__ - extern char *shmat(); --#endif /* __alpha */ -+#endif /* __linux__ */ - - /* General macros */ - #define TRUE 1 -@@ -136,6 +140,14 @@ - #define K *1024 - #define M *1024*1024 - -+#if defined __GNUC__ || __STDC_VERSION__ >= 199901L -+#define NUM_K_TYPE unsigned long long -+#define NUM_K_FMT "llu" -+#else -+#define NUM_K_TYPE unsigned long -+#define NUM_K_FMT "lu" -+#endif -+ - /* Some forward declarations */ - void byee(); - void start_reader_and_writer(); -@@ -250,7 +262,9 @@ - - char print_total = 0; - /* Number of K output */ --unsigned long outk = 0; -+NUM_K_TYPE outk = 0; -+ -+struct timeval starttime; - - int - main( argc, argv ) -@@ -262,6 +276,8 @@ - set_handlers(); - - buffer_allocate(); -+ -+ gettimeofday(&starttime, NULL); - - start_reader_and_writer(); - -@@ -384,8 +400,8 @@ - fprintf( stderr, "Usage: %s [-B] [-t] [-S size] [-m memsize] [-b blocks] [-p percent] [-s blocksize] [-u pause] [-i infile] [-o outfile] [-z size]\n", - progname ); - fprintf( stderr, "-B = blocked device - pad out last block\n" ); -- fprintf( stderr, "-t = show total amount writen at end\n" ); -- fprintf( stderr, "-S size = show amount writen every size bytes\n" ); -+ fprintf( stderr, "-t = show total amount written at end\n" ); -+ fprintf( stderr, "-S size = show amount written every size bytes\n" ); - fprintf( stderr, "-m size = size of shared mem chunk to grab\n" ); - fprintf( stderr, "-b num = number of blocks in queue\n" ); - fprintf( stderr, "-p percent = don't start writing until percent blocks filled\n" ); -@@ -397,6 +413,11 @@ - byee( -1 ); - } - } -+ -+ if (argc > optind) { -+ fprintf( stderr, "too many arguments\n" ); -+ byee( -1 ); -+ } - - if (zflag) showevery = blocksize; - -@@ -507,9 +528,9 @@ - get_buffer(); - - if( debug ) -- fprintf( stderr, "%s pbuffer is 0x%08x, buffer_size is %d [%d x %d]\n", -+ fprintf( stderr, "%s pbuffer is 0x%08lx, buffer_size is %d [%d x %d]\n", - proc_string, -- (char *)pbuffer, buffer_size, blocks, blocksize ); -+ (unsigned long)pbuffer, buffer_size, blocks, blocksize ); - - #ifdef SYS5 - memset( (char *)pbuffer, '\0', buffer_size ); -@@ -528,7 +549,17 @@ - pbuffer->blocks_free_lock = 1; - /* start this off so lock() can be called on it for each block - * till all the blocks are used up */ -+ /* Initializing the semaphore to "blocks - 1" causes a hang when using option -+ * "-p 100" because it always keeps one block free, so we'll never reach 100% fill -+ * level. However, there doesn't seem to be a good reason to keep one block free, -+ * so we initialize the semaphore to "blocks" instead. -+ * <mbuck@debian.org> 2004-01-11 -+ */ -+#if 0 - sem_set( pbuffer->semid, pbuffer->blocks_free_lock, blocks - 1 ); -+#else -+ sem_set( pbuffer->semid, pbuffer->blocks_free_lock, blocks ); -+#endif - - /* Detattach the shared memory so the fork doesnt do anything odd */ - shmdt( (char *)pbuffer ); -@@ -648,7 +679,7 @@ - int - fill_block() - { -- int bytes; -+ int bytes = 0; - char *start; - int toread; - static char eof_reached = 0; -@@ -707,7 +738,7 @@ - { - int filled = 0; - int maxfilled = (blocks * percent) / 100; -- int first_block; -+ int first_block = 0; - - if( debug ) - fprintf( stderr, "\tW: Entering writer\n blocks = %d\n maxfilled = %d\n", -@@ -742,7 +773,7 @@ - } - - if( print_total ){ -- fprintf( stderr, "Kilobytes Out %lu\n", outk ); -+ fprintf( stderr, "Kilobytes Out %" NUM_K_FMT "\n", outk ); - } - - if( debug ) -@@ -783,14 +814,14 @@ - void - write_block_to_stdout() - { -- static unsigned long out = 0; -+ unsigned long out = 0; - static unsigned long last_gb = 0; -- static unsigned long next_k = 0; -+ static NUM_K_TYPE next_k = 0; - int written; - - if( next_k == 0 && showevery ){ - if( debug > 3 ) -- fprintf( stderr, "W: next_k = %lu showevery = %d\n", next_k, showevery ); -+ fprintf( stderr, "W: next_k = %" NUM_K_FMT " showevery = %d\n", next_k, showevery ); - showevery = showevery / 1024; - next_k = showevery; - } -@@ -798,7 +829,7 @@ - if( (written = write( fdout, curr_block->data, curr_block->bytes )) != curr_block->bytes ){ - report_proc(); - perror( "write of data failed" ); -- fprintf( stderr, "bytes to write=%d, bytes written=%d, total written %10luK\n", curr_block->bytes, written, outk ); -+ fprintf( stderr, "bytes to write=%d, bytes written=%d, total written %10" NUM_K_FMT "K\n", curr_block->bytes, written, outk ); - byee( -1 ); - } - -@@ -825,7 +856,7 @@ - } - if( showevery ){ - if( debug > 3 ) -- fprintf( stderr, "W: outk = %lu, next_k = %lu\n", -+ fprintf( stderr, "W: outk = %" NUM_K_FMT ", next_k = %" NUM_K_FMT "\n", - outk, next_k ); - if( outk >= next_k ){ - pr_out(); -@@ -914,13 +945,12 @@ - do_size( arg ) - char *arg; - { -- char format[ 20 ]; -- int ret; -+ int ret = 0; - -- *format = '\0'; -- sscanf( arg, "%d%s", &ret, format ); -+ char unit = '\0'; -+ sscanf( arg, "%d%c", &ret, &unit ); - -- switch( *format ){ -+ switch( unit ){ - case 'm': - case 'M': - ret = ret K K; -@@ -941,7 +971,36 @@ - void - pr_out() - { -- fprintf( stderr, " %10luK\r", outk ); -+ struct timeval now; -+ unsigned long ms_delta, k_per_s; -+ -+ gettimeofday(&now, NULL); -+ ms_delta = (now.tv_sec - starttime.tv_sec) * 1000 -+ + (now.tv_usec - starttime.tv_usec) / 1000; -+ if (ms_delta) { -+ /* Use increased accuracy for small amounts of data, -+ * decreased accuracy for *huge* throughputs > 4.1GB/s -+ * to avoid division by 0. This will overflow if your -+ * machine's throughput exceeds 4TB/s - you deserve to -+ * loose if you're still using 32 bit longs on such a -+ * beast ;-) -+ * <mbuck@debian.org> -+ */ -+ if (outk < ULONG_MAX / 1000) { -+ k_per_s = (outk * 1000) / ms_delta; -+ } else if (ms_delta >= 1000) { -+ k_per_s = outk / (ms_delta / 1000); -+ } else { -+ k_per_s = (outk / ms_delta) * 1000; -+ } -+ fprintf( stderr, " %10" NUM_K_FMT "K, %10luK/s\r", outk, k_per_s ); -+ } else { -+ if (outk) { -+ fprintf( stderr, " %10" NUM_K_FMT "K, ?K/s\r", outk ); -+ } else { -+ fprintf( stderr, " 0K, 0K/s\r"); -+ } -+ } - } - - #ifdef SYS5 -diff -ur buffer-1.19.orig/buffer.man buffer-1.19/buffer.man ---- buffer-1.19.orig/buffer.man 2004-08-21 01:45:29.935085504 -0400 -+++ buffer-1.19/buffer.man 2004-08-21 01:45:39.441121920 -0400 -@@ -37,7 +37,8 @@ - Use the given file as the output file. The default is stdout. - .TP - .B \-S size --After every chunk this size has been writen print out how much been writen so far. -+After every chunk of this size has been written, print out how much has -+been written so far. Also prints the total througput. - By default this is not set. - .TP - .B \-s size -@@ -71,9 +72,9 @@ - throughput on some drives.) - .TP - .B \-B --Force each block writen to be padded out to the blocksize. This is needed by some tape -+Force each block written to be padded out to the blocksize. This is needed by some tape - and cartridge drives. Defaults to unpadded. This only affects the --last block writen. -+last block written. - .TP - .B \-t - On exiting print to stderr a brief message showing the total number of -@@ -82,7 +83,7 @@ - .B \-Z - If reading/writing directly to a character device (like a tape drive) - then after each gigabyte perform an lseek to the start of the file. --Use this flag with extreme care. If can only be used on devices where -+Use this flag with extreme care. It can only be used on devices where - an lseek does not rewind the tape but does reset the kernels position - flags. It is used to allow more than 2 gigabytes to be written. - .PP -diff -ur buffer-1.19.orig/sem.c buffer-1.19/sem.c ---- buffer-1.19.orig/sem.c 2004-08-21 01:45:29.939080896 -0400 -+++ buffer-1.19/sem.c 2004-08-21 01:47:41.265618240 -0400 -@@ -27,6 +27,7 @@ - * semaphores */ - - #include <stdio.h> -+#include <unistd.h> - #include <sys/types.h> - #include <sys/stat.h> - #include <sys/ipc.h> -@@ -95,7 +96,7 @@ - return sem; - } - --static -+static void - do_sem( sem_id, pbuf, err ) - int sem_id; - struct sembuf *pbuf; diff --git a/sys-block/mbuffer/Manifest b/sys-block/mbuffer/Manifest index e448880b10ba..75896333f3c9 100644 --- a/sys-block/mbuffer/Manifest +++ b/sys-block/mbuffer/Manifest @@ -2,6 +2,8 @@ AUX mbuffer-20180410-sysconfdir.patch 897 BLAKE2B 1fc57be6f5ce11f483d43dc69c9e41 AUX mbuffer-20200929-find-OBJDUMP.patch 279 BLAKE2B f22f74549eb2fba1061141616097fc01b987c846302a0fd59aaf8a0236a291207a02f0a85ec542fb217377eb40eb0983cd450aaf9a56f3df7838c29f31ab663a SHA512 20a9969de11f6eaf398627a306465df6b43ccb640176c4743ce8e8aa59b06f1837b0ef968223a0770c7aa1cf1959713526fa064f3eb54bbfabb067d834e510c0 DIST mbuffer-20210328.tgz 148009 BLAKE2B b369fdae908cfa239e70d092f512f1613215f1a38e5f2dba9403edeb5579fe14a099f0b9950572c1e294c7d5938bd5a363a1cc3239b4553ecd24c6b805fbfe27 SHA512 69f7cac7fe49a86944092d642c6138455ba95da8e6d00abd41b37d126a9f03c3252e69795c5fb5bf8e56d0ce1461bde6b51f48c5eb7073ee49ee4e6df83d834d DIST mbuffer-20210829.tgz 148786 BLAKE2B af4d47eab143861a10fa5e9f86cc0066594b675baf37dd63ba71dffb4a22a4bd057ea4a03d50ba210af8c1021dad258a33d46525a11c7cc2ad0dd852839f3b9a SHA512 67b7398c27fb4539d36437b5224a7305216c32af140d5dd9d4af734227bb4bb4c9e8c577e05e315534c5e1cf65a87a9a7a32a212cc4faef17e3c387b3895ef47 +DIST mbuffer-20211004.tgz 149261 BLAKE2B 81427f9684266de53a7e76e33378ff94c9af08768d2105ee1481399d88180c3ef358c21c99716d82ef965ba809e3814029a3c9f844c987ab812d8e5624ba8e67 SHA512 d5914b5c59ec1fee92af6915d8abebc71459461a2d8acd0d93060f3799b5a4104f08d29349b3500553d532a279804d22a40ef0ff001c45a2bdb72d3966c2d7a8 EBUILD mbuffer-20210328.ebuild 1520 BLAKE2B 118ca53f14fbcd0f01b3c1bc6cc75eec9a879c65c3721f1366c3fe1bc18ccb65bfe64f5c4916358ddea8d54a4cb966e6630605172bc3ebad23896c97ce9fc8d0 SHA512 15b13c98138583bbf9046a06d30a84812d661e53cd2ec460f36869d5769185a0cc046883aa0af1b316630c40a75a705e4cd7eaf36f07ff834b4ef9a1dfcbafb6 EBUILD mbuffer-20210829.ebuild 1525 BLAKE2B 7e679c246ce656064853ec65561a425f0e0d2c74980008e9d1213d72c0320d1b0bd0d3e8b513b45a2e46cd516d9bdbf9eef6eba313ec927e6039e551dafa4399 SHA512 02c9cb2c90a0cf0561704fa688449296182ae3e3e74452013fcc1e719be525e6bb72e36dcc99efb2689e49b3e5672fe4d0e850dfdcb72c04bd589badbf36649c +EBUILD mbuffer-20211004.ebuild 1525 BLAKE2B 7e679c246ce656064853ec65561a425f0e0d2c74980008e9d1213d72c0320d1b0bd0d3e8b513b45a2e46cd516d9bdbf9eef6eba313ec927e6039e551dafa4399 SHA512 02c9cb2c90a0cf0561704fa688449296182ae3e3e74452013fcc1e719be525e6bb72e36dcc99efb2689e49b3e5672fe4d0e850dfdcb72c04bd589badbf36649c MISC metadata.xml 254 BLAKE2B f3a9f843cf94243d1129711770df727fcdc8808bca829ef784819cab6f5410dfa463cfed85182f8228c7de796a674dd602653ad3ef817a62c0c3e7198b23befe SHA512 b9fcd3084a7e197f6138e1ce8b0eff99c4c203c37a7d5c40de207040ba1501ef0e5b2f4e00216a567037bcd6d3394fdec6ff587484c9ba2fca9d04f431733b7c diff --git a/sys-block/mbuffer/mbuffer-20211004.ebuild b/sys-block/mbuffer/mbuffer-20211004.ebuild new file mode 100644 index 000000000000..b5df3c74c1a2 --- /dev/null +++ b/sys-block/mbuffer/mbuffer-20211004.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="M(easuring)buffer is a replacement for buffer with additional functionality" +HOMEPAGE="https://www.maier-komor.de/mbuffer.html" +SRC_URI="https://www.maier-komor.de/software/mbuffer/${P}.tgz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" +IUSE="debug ssl test" + +REQUIRED_USE="test? ( ssl )" + +RESTRICT="!test? ( test )" + +RDEPEND="ssl? ( + dev-libs/openssl:0= + )" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${PN}-20180410-sysconfdir.patch" + "${FILESDIR}/${PN}-20200929-find-OBJDUMP.patch" +) + +src_prepare() { + ln -s "${DISTDIR}"/${P}.tgz test.tar #258881 + + default + + mv configure.in configure.ac || die + + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable ssl md5) + $(use_enable debug) + ) + econf "${myeconfargs[@]}" +} + +src_test() { + if has usersandbox ${FEATURES} || has network-sandbox ${FEATURES}; then + ewarn "Some tests may fail with FEATURES=usersandbox or" + ewarn "FEATURES=network-sandbox; Skipping tests because" + ewarn "test suite would hang forever in such environments!" + return 0; + fi + + # Enforce MAKEOPTS=-j1 because src_test() spawns multiple listener + # using same port and src_install may have problems (with /etc folder) + local -x MAKEOPTS=-j1 + + default +} + +pkg_postinst() { + if ! has_version "app-arch/mt-st"; then + elog "" + elog "If you want autoloader support you need to install \"app-arch/mt-st\" in addition!" + fi +} diff --git a/sys-block/targetcli-fb/Manifest b/sys-block/targetcli-fb/Manifest index 123700ae821a..1a1788d8967d 100644 --- a/sys-block/targetcli-fb/Manifest +++ b/sys-block/targetcli-fb/Manifest @@ -1,3 +1,5 @@ DIST targetcli-fb-2.1.53.tar.gz 39586 BLAKE2B 35e5cea72580ba26b8397027e92446c129af5a94ab9458eed63ec731289065bcce759a77558a022c41b4ed73eefe865000e60b4e17816836f13056cb07071069 SHA512 acefa7f8df8ee901cae8f04cbeb264d6024100e2d8b8343024bc52842af88a23d1bf5dd880ff2c77046bd8da8493630b4e357103617c02d1a90947e42c3a7c92 -EBUILD targetcli-fb-2.1.53.ebuild 721 BLAKE2B a43c18f7f0951e2c9aaa7971faeb2a0cefda3f81ae6e16ee1d804c6d78f7a2cf77be9fc4671d99f4e6d016fa8f840ff0fd6d410b2be8455287e87dcfec981670 SHA512 7b57be73dbf1c490628280728f018be2600514bbcb4f9cf837734da365c0a6f672fc3059a6f07f1daab5a4212143b577a1cce1b9d41a8156bffa463b9c248171 +DIST targetcli-fb-2.1.54.tar.gz 39565 BLAKE2B 6eeb7da39fb047f9123fe12ea92a41d8e6fbd6728fdde8e1315e0c0224ad8abfa29df798680949d89cad6ff5afcac8112bbcc63b019f6245eff12089ea7b64d3 SHA512 dd008b8c47acc095078454c94b0c6f19ba88f86ddf1b5335eb050abf61d89ce1ffb7411ff3a174de60ed9759e6337206253aa9b2def6497b85c884a0a111308d +EBUILD targetcli-fb-2.1.53.ebuild 722 BLAKE2B 3bf4c7bec7c29dd77a2b5932c8c0404f203682badf9ee584328be1fb5856e5edbac312709ca51c1c761b89e46267b5bd19cf04dc45ddbe0c96a80eb95e60d16e SHA512 dd69231c84a1efb39996e0f8288e07610c3564eff60a3e6d69857ed0aac485fbd65ecaff33f3f372d3eddd8dad0f0cfb1085fe608c663c8d154c928604b4d7e5 +EBUILD targetcli-fb-2.1.54.ebuild 784 BLAKE2B b29ca6b17f5ea53550944d13bc273e304ef0cd9ad4cb1ed3e7503301f3fcb4cc62f924b185502b71f10b8304d221742a4b3a68e8c2c924941e0855c0e856f3ea SHA512 b86cc706e963a2a5cbef87cecc0fe329a0488f99e31acd046c4063aa2170a7b146dbb36d98a7b9ae07be0a1d33f956e030784dd32c383e6d0b8e7658fe7d13aa MISC metadata.xml 766 BLAKE2B 2586ab9e1959ac6f42f93181e9f7491be744952d7165cbaca338d783af9bf9a7c486430a73cc4b03d5db08470679931d7b95f57ddce920fb3a744037c8c2abef SHA512 88a10d8316bcda83b916de5d799a13c993e98f51dbb3ceef0a6dce0406bfb26f2656effcc70e7cddcdb1ccd135d8ec1ce642b04b43c5a0330b6721c258a371a9 diff --git a/sys-block/targetcli-fb/targetcli-fb-2.1.53.ebuild b/sys-block/targetcli-fb/targetcli-fb-2.1.53.ebuild index 7008cee2d863..e4c4816ab706 100644 --- a/sys-block/targetcli-fb/targetcli-fb-2.1.53.ebuild +++ b/sys-block/targetcli-fb/targetcli-fb-2.1.53.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_COMPAT=( python3_{8..9} ) inherit distutils-r1 DESCRIPTION="Command shell for managing Linux LIO kernel target" diff --git a/sys-block/targetcli-fb/targetcli-fb-2.1.54.ebuild b/sys-block/targetcli-fb/targetcli-fb-2.1.54.ebuild new file mode 100644 index 000000000000..5392599bfcad --- /dev/null +++ b/sys-block/targetcli-fb/targetcli-fb-2.1.54.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..9} ) +inherit distutils-r1 systemd + +DESCRIPTION="Command shell for managing Linux LIO kernel target" +HOMEPAGE="https://github.com/open-iscsi/targetcli-fb" +SRC_URI="https://github.com/open-iscsi/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND="dev-python/configshell-fb[${PYTHON_USEDEP}] + dev-python/pygobject:3[${PYTHON_USEDEP}] + >=dev-python/rtslib-fb-2.1.73[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] + sys-apps/dbus" + +src_install() { + distutils-r1_src_install + + keepdir /etc/target /etc/target/backup + doman targetcli.8 + systemd_dounit systemd/targetclid.{service,socket} +} |