diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-01-22 10:09:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-01-22 10:09:44 +0000 |
commit | 09351e78166b5e864197c4456ebae3f89dd0bed9 (patch) | |
tree | 41a96399f56ed3aa399006871bfce4430db84aa2 /sys-block/open-iscsi | |
parent | c8a77dfe4d3d307c1d5dd2650b7297447d8b609d (diff) |
gentoo resync : 22.01.2019
Diffstat (limited to 'sys-block/open-iscsi')
9 files changed, 0 insertions, 279 deletions
diff --git a/sys-block/open-iscsi/Manifest b/sys-block/open-iscsi/Manifest index f3f21acfa806..03576333ee80 100644 --- a/sys-block/open-iscsi/Manifest +++ b/sys-block/open-iscsi/Manifest @@ -4,14 +4,6 @@ AUX iscsid-conf.d 422 BLAKE2B 2871024472d5308b395aeb8c67f7b47aed4618790295d3ef7e AUX iscsid-init.d 2094 BLAKE2B e13fc820e74a79e3c1f220b827c3188b6cb3bc149f450e3ee668d851faacd59e1e44b51250ba3f53a321d287eb81b580a332605226564269dbcd3e2762c0c95e SHA512 a5544e35da3433dfde96984d2e5783991d961554b8843f4f96d4317a38d7534864882342633ed0dc15c2f9e49a419e51958593b0de1ce84644938dafabe392fc AUX iscsidev.sh 2119 BLAKE2B 60d71177fa788b942ece6d1a1d17b9157956ccd5a1781b022a56da6f13c9dc8485008fd3c6530ae9b798ce3034c9cc3c960d43a196bfb06b73746390a8af91e7 SHA512 b4ed7fad25e3f000134a77f3aea2702f03ff75e99ecf49e580085127ab58de5a64bea9c4fc2ae5b324deafd0a860494d1a8dc1223db7d3679b960552f0c00813 AUX musl-fixes.patch 1779 BLAKE2B af41f00f38b7af6b1583b27f69aba831180ecff5be6818441cc4f814b3a909cf2a4de36350a8feafb3ebc313703c0229fa7414a1411bf2c9bbe5558dedd5434a SHA512 e45ce5deec9d3861568e0be3390827da525b523b6d0a47a99f85becb4416e3a26f5e17f077a891c43ae90e621fa8d357123b9b3573a731788fac2c12b40239a6 -AUX open-iscsi-2.0.872-conf.d 422 BLAKE2B 2871024472d5308b395aeb8c67f7b47aed4618790295d3ef7e51aaddd32f12fafbe1b8542fc8a34d5da0233a26ee557c7e9613fa8436d9c9312a9e2f6902a1e5 SHA512 d197bbe2ce610cc2d4a1269c8d7a067ca5e3b0f3d8bb0804c2c39e0cf512bcbf7b5de45b7d6ffd5cf918dc395c7cf32c40e64b4348d00a4d0223ee44c463709a -AUX open-iscsi-2.0.872-dont-call-configure.patch 296 BLAKE2B dc2259908168b14df3697780baf405adc1f4e279d9e58e60635039e8176ff7fb6ba71c367dfe04d009dea7207b86a9c31340fbbc98dd69fc9e5f259af36fb477 SHA512 513e775695288b747b40cfb9815c9083b61637f0e3ba241f5d5f3363730059ac4a01e55c23ab3ff983da7d3a5b40448447740ac35e0748c4d5e8942946146522 -AUX open-iscsi-2.0.872-glibc212.patch 266 BLAKE2B 0b492491ffbc238cf350b3f2ef6f60a471c2d2195c6578ba4ac003148f2054466e0e674698670731838cb647ff9c33118a94ef1797323f1b4ce2b8c3693da5bc SHA512 8d869642b27dc7d243cf5697858a19127e5e627dd62fd2a8879e4baf84f87aa07e7682faa5f7153ef75e8f9a78ae9b1a84e3260f449fbbb26d848064ec736630 -AUX open-iscsi-2.0.872-init.d-r1 2841 BLAKE2B 712cd7ce88e814eb846590caa994b04b74088aac3eb4f7d622edc4d61ce29e5fc15952ab1b934063cc17ef845882633acb5b60bb3645751e6c202aa1498d7706 SHA512 dd3ab871df500eea84768913a40ac00d25695f9388d7cbd6f8cf4c301ce5da7492a4ce4b55b20e71b3e84e9a1f86f0be7108d4fc5eddff6f3121f1d990d786fa -AUX open-iscsi-2.0.872-isns-slp.patch 871 BLAKE2B 4f2c240bf97f1750cd076be3dcef59bc0be7a3bded8dce9357800aa06ecc35f76127f8bfb6d0144f7dd6f38d6f7413e4c42ce41b4c30d11b97ee2ea8ed7122b0 SHA512 8aa4e6897c3284b7d914b7805d37a5d21014d66514675a4878c05535c460fc5ffafb43628f4112226f116fb8d941f14fc66246f0d395f0e44c90610494546f73 -AUX open-iscsi-2.0.872-ldflags.patch 309 BLAKE2B 953def015a7f7ac4cfbdd4e3b021fad468425d3d8f4d3f75ef372b52e7e15ff1088c4d1a3d6e141cd82d4e075d41e9db2c8005ac1a9da54ad2311bd57098c95c SHA512 4204a615e10d52130a2fb39b81d99df45350b7f7431fa4e110e535ece2c1aab2cda0b8e787561a051c232a80f2cd99af007e94c1ca122727aac7854eee478219 -AUX open-iscsi-2.0.872-makefile-cleanup-pass2.patch 2134 BLAKE2B 5c9313a6657ddb19b06d77832a9ba5641fd3c4fb8b11203f8f4f780d3b673dd4296b648bd939f6dbcf50ffcfba8d99a4d8d2aa9b8c0fe78ad02f6285f8d736f4 SHA512 ee1700c010578160f2fe3bb2f5a7eca4bde900faa138445eaf6b1875a7ad89d5c13b530d25a0ac5844213fa118b4e5253180414956d4e514dae0ede936dee2c8 -AUX open-iscsi-2.0.872-makefile-cleanup.patch 839 BLAKE2B fa871ed65215552c926648fc5c454f890dd5a8e1d0c517af2ba14e4466f62a1fd1d9799750db0fbc948bfdec62cb000024ef4de3cf2cd4cd10600c57d999dccc SHA512 bc4cae49f435a4396a88b5d238c1f72a808c5d272042ee1acfe6c27d96613b9fc03ba2ce7e40d0a0f4aef2a924a66b45fb8a1e6db131415668c5336c5a4cf720 AUX open-iscsi-2.0.873-Makefiles.patch 5441 BLAKE2B 62e50709bc2241fb12dc4c31982e323b4d766997470bb141fd209afde7db936141fe3138cc894eddf0676a1ce4aa45332c73e520806953719b9ffaa14431abb1 SHA512 8dd3433db748f2fd0da0ab6a1059d7058eb09c527e9d039e768bc359a6b665da3e5c13463c32f35d7c630a3b901a689315ece3adb88cccabe452352658705f33 AUX open-iscsi-2.0.873-memset.patch 680 BLAKE2B 52ce4e6f1ad919334c154205bf335a3dcfe6e3c499cb4db06ec3775af33c91175caf776bb9b1efcec6fcbd57328cf80037d42d18f0b03c7a2c7ba9ecd2df2df7 SHA512 1fb0615d443ce913409f5e6e3cc217149c2586cf1b4175d34512337929c1e2209391808e8f2192742d2f3bfb382e21eaa90e596b6c3e3383ee1a5b735a30fd9b AUX open-iscsi-2.0.874-Makefiles.patch 4087 BLAKE2B cba133471f1c22987cd8be4e7ea4629ef415f8a50da81fc53068745a85fff1aae0f82d9401035b3066906e9cab7d307249402bacc8cd767bf46d8d1a740061fb SHA512 c535a45c627aaa8fd168d4c96f782090b9ae829003ec59c6ead7f34d15f4e52c71916aa014209ac35fd3b29296bb46b603d8df2072be463c5fcc90338784665c diff --git a/sys-block/open-iscsi/files/open-iscsi-2.0.872-conf.d b/sys-block/open-iscsi/files/open-iscsi-2.0.872-conf.d deleted file mode 100644 index 02e584fbce52..000000000000 --- a/sys-block/open-iscsi/files/open-iscsi-2.0.872-conf.d +++ /dev/null @@ -1,18 +0,0 @@ -# /etc/conf.d/iscsid - -# config file to use -CONFIG_FILE=/etc/iscsi/iscsid.conf - -# you need to specify an initiatorname in the file -INITIATORNAME_FILE=/etc/iscsi/initiatorname.iscsi - -# options to pass to iscsid -OPTS="-i ${INITIATORNAME_FILE}" - -# Start automatic targets when iscsid is started -AUTOSTARTTARGETS="yes" - -# if set to "strict", iscsid will stop, if connecting the -# autostart targets failed -# AUTOSTART="strict" - diff --git a/sys-block/open-iscsi/files/open-iscsi-2.0.872-dont-call-configure.patch b/sys-block/open-iscsi/files/open-iscsi-2.0.872-dont-call-configure.patch deleted file mode 100644 index 185f1acd8373..000000000000 --- a/sys-block/open-iscsi/files/open-iscsi-2.0.872-dont-call-configure.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- open-iscsi-2.0-872.orig/Makefile -+++ open-iscsi-2.0-872/Makefile -@@ -27,7 +27,7 @@ IFACEFILES = etc/iface.example - all: user kernel - - user: ; -- cd utils/open-isns; ./configure; $(MAKE) -+ cd utils/open-isns; $(MAKE) - $(MAKE) -C utils/sysdeps - $(MAKE) -C utils/fwparam_ibft - $(MAKE) -C usr diff --git a/sys-block/open-iscsi/files/open-iscsi-2.0.872-glibc212.patch b/sys-block/open-iscsi/files/open-iscsi-2.0.872-glibc212.patch deleted file mode 100644 index 61717032940a..000000000000 --- a/sys-block/open-iscsi/files/open-iscsi-2.0.872-glibc212.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- usr/iscsid.c 2010-10-10 23:06:37.000000000 +0200 -+++ usr/iscsid.c 2010-10-10 23:07:55.000000000 +0200 -@@ -31,6 +31,7 @@ - #include <sys/utsname.h> - #include <sys/types.h> - #include <sys/wait.h> -+#include <sys/stat.h> - - #include "iscsid.h" - #include "mgmt_ipc.h" diff --git a/sys-block/open-iscsi/files/open-iscsi-2.0.872-init.d-r1 b/sys-block/open-iscsi/files/open-iscsi-2.0.872-init.d-r1 deleted file mode 100644 index 597d0804feb3..000000000000 --- a/sys-block/open-iscsi/files/open-iscsi-2.0.872-init.d-r1 +++ /dev/null @@ -1,130 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2013 Gentoo Foundation, Inc. -# Distributed under the terms of the GNU General Public License, v2 or later - -opts="${opts} starttargets stoptargets restarttargets" - -depend() { - after modules - use net -} - -PIDFILE=${PIDFILE:-/var/run/${SVCNAME}.pid} -BINARY="/usr/sbin/iscsid" - -checkconfig() { - if [ ! -e /etc/conf.d/${SVCNAME} ]; then - eerror "Config file /etc/conf.d/${SVCNAME} does not exist!" - return 1 - fi - if [ ! -e "${CONFIG_FILE}" ]; then - eerror "Config file ${CONFIG_FILE} does not exist!" - return 1 - fi - if [ ! -e ${INITIATORNAME_FILE} ] || [ ! "$(grep "^InitiatorName=iqn\." ${INITIATORNAME_FILE})" ]; then - ewarn "${INITIATORNAME_FILE} should contain a string with your initiatior name." - IQN=iqn.$(date +%Y-%m).$(hostname -f | awk 'BEGIN { FS=".";}{x=NF; while (x>0) {printf $x ;x--; if (x>0) printf ".";} print ""}'):openiscsi - IQN=${IQN}-$(echo ${RANDOM}${RANDOM}${RANDOM}${RANDOM}${RANDOM} | md5sum | sed -e "s/\(.*\) -/\1/g" -e 's/ //g') - ebegin "Creating InitiatorName ${IQN} in ${INITIATORNAME_FILE}" - echo "InitiatorName=${IQN}" >> "${INITIATORNAME_FILE}" - eend $? - fi -} - -do_modules() { - msg="$1" - shift - modules="${1}" - shift - modopts="$@" - for m in ${modules} - do - if modprobe --show --quiet "${m}" - then - ebegin "${msg} ${m}" - modprobe ${modopts} ${m} - ret=$? - eend ${ret} - if [ ${ret} -ne 0 ]; then - return ${ret} - fi - else - ebegin "${msg} ${m}: not found" - return 1 - fi - done - return 0 -} - -start() { - ebegin "Checking open-iSCSI configuration" - checkconfig - ret=$? - if [ $ret -ne 0 ]; then - eend 1 - return 1 - fi - ebegin "Loading iSCSI modules" - do_modules 'Loading' 'libiscsi scsi_transport_iscsi iscsi_tcp' - ret=$? - if [ $ret -ne 0 ]; then - eend 1 - return 1 - fi - - ebegin "Starting ${SVCNAME}" - start-stop-daemon --start --quiet --exec ${BINARY} -- ${OPTS} - ret=$? - if [ $ret -ne 0 ]; then - eend $? - return $? - fi - - # Start automatic targets when iscsid is started - if [ "${AUTOSTARTTARGETS}" = "yes" ]; then - starttargets - ret=$? - if [ "${AUTOSTART}" = "strict" ] && [ $ret -ne 0 ]; then - stop - return $ret - fi - fi - return 0 -} - -stop() { - stoptargets - ebegin "Stopping ${SVCNAME}" - start-stop-daemon --stop --quiet --exec ${BINARY} --pidfile ${PIDFILE} - eend $? - - do_modules 'Removing iSCSI modules' 'iscsi_tcp scsi_transport_iscsi libiscsi' '-r' - eend $? -} - -starttargets() { - ebegin "Setting up iSCSI targets" - /usr/sbin/iscsiadm -m node --loginall=automatic - ret=$? - eend $ret - return $ret -} - -stoptargets() { - ebegin "Disconnecting iSCSI targets" - sync - /usr/sbin/iscsiadm -m node --logoutall=all - ret=$? - eend $ret - return $ret -} - -restarttargets() { - stoptargets - starttargets -} - -status() { - ebegin "Showing current active iSCSI sessions" - /usr/sbin/iscsiadm -m session -} diff --git a/sys-block/open-iscsi/files/open-iscsi-2.0.872-isns-slp.patch b/sys-block/open-iscsi/files/open-iscsi-2.0.872-isns-slp.patch deleted file mode 100644 index db280a3dd862..000000000000 --- a/sys-block/open-iscsi/files/open-iscsi-2.0.872-isns-slp.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -Nuar open-iscsi-2.0-872.orig/usr/Makefile open-iscsi-2.0-872/usr/Makefile ---- open-iscsi-2.0-872.orig/usr/Makefile 2012-02-09 08:25:13.656604152 +0000 -+++ open-iscsi-2.0-872/usr/Makefile 2012-02-09 08:26:28.960171260 +0000 -@@ -53,10 +53,10 @@ - - iscsid: $(ISCSI_LIB_SRCS) $(IPC_OBJ) $(INITIATOR_SRCS) $(DISCOVERY_SRCS) \ - iscsid.o session_mgmt.o discoveryd.o -- $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ -L../utils/open-isns -lisns -lcrypto -+ $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ -L../utils/open-isns -lisns $(SLP_LIBS) -lcrypto - - iscsiadm: $(ISCSI_LIB_SRCS) $(DISCOVERY_SRCS) iscsiadm.o session_mgmt.o -- $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ -L../utils/open-isns -lisns -lcrypto -+ $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ -L../utils/open-isns -lisns $(SLP_LIBS) -lcrypto - - iscsistart: $(IPC_OBJ) $(ISCSI_LIB_SRCS) $(INITIATOR_SRCS) $(FW_BOOT_SRCS) \ - iscsistart.o statics.o diff --git a/sys-block/open-iscsi/files/open-iscsi-2.0.872-ldflags.patch b/sys-block/open-iscsi/files/open-iscsi-2.0.872-ldflags.patch deleted file mode 100644 index fc02cbcc1ec4..000000000000 --- a/sys-block/open-iscsi/files/open-iscsi-2.0.872-ldflags.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- utils/Makefile 2011-05-31 01:30:27.302609540 +0200 -+++ utils/Makefile 2011-05-31 01:32:50.229602790 +0200 -@@ -6,7 +6,7 @@ - all: $(PROGRAMS) - - iscsi-iname: md5.o iscsi-iname.o -- $(CC) $(CFLAGS) $^ $(DBM_LIB) -o $@ -+ $(CC) $(CFLAGS) $(LDFLAGS) $^ $(DBM_LIB) -o $@ - - clean: - rm -f *.o $(PROGRAMS) .depend diff --git a/sys-block/open-iscsi/files/open-iscsi-2.0.872-makefile-cleanup-pass2.patch b/sys-block/open-iscsi/files/open-iscsi-2.0.872-makefile-cleanup-pass2.patch deleted file mode 100644 index fb563d10e1bc..000000000000 --- a/sys-block/open-iscsi/files/open-iscsi-2.0.872-makefile-cleanup-pass2.patch +++ /dev/null @@ -1,55 +0,0 @@ -diff -NuarwbB open-iscsi-2.0-872/usr/Makefile open-iscsi-2.0-872.orig/usr/Makefile ---- open-iscsi-2.0-872.orig/usr/Makefile 2012-02-09 08:58:04.402623915 +0000 -+++ open-iscsi-2.0-872/usr/Makefile 2012-02-09 08:56:51.159070006 +0000 -@@ -65,6 +65,6 @@ - rm -f *.o $(PROGRAMS) .depend $(LIBSYS) - - depend: -+ $(CC) $(CFLAGS) -M `ls *.c` > .depend -- gcc $(CFLAGS) -M `ls *.c` > .depend - - -include .depend -diff -NuarwbB open-iscsi-2.0-872/utils/fwparam_ibft/Makefile open-iscsi-2.0-872.orig/utils/fwparam_ibft/Makefile ---- open-iscsi-2.0-872.orig/utils/fwparam_ibft/Makefile 2012-02-09 08:57:58.579273051 +0000 -+++ open-iscsi-2.0-872/utils/fwparam_ibft/Makefile 2010-08-11 15:27:07.000000000 +0000 -@@ -38,6 +38,6 @@ - $(OBJS): prom_parse.tab.h prom_parse.h fwparam_ibft.h - - depend: -+ $(CC) $(CFLAGS) -M `ls *.c` > .depend -- gcc $(CFLAGS) -M `ls *.c` > .depend - - -include .depend -diff -NuarwbB open-iscsi-2.0-872/utils/Makefile open-iscsi-2.0-872.orig/utils/Makefile ---- open-iscsi-2.0-872.orig/utils/Makefile 2012-02-09 08:57:37.825877235 +0000 -+++ open-iscsi-2.0-872/utils/Makefile 2012-02-09 08:56:51.145736633 +0000 -@@ -12,6 +12,6 @@ - rm -f *.o $(PROGRAMS) .depend - - depend: -+ $(CC) $(CFLAGS) -M `ls *.c` > .depend -- gcc $(CFLAGS) -M `ls *.c` > .depend - - -include .depend -diff -NuarwbB open-iscsi-2.0-872/utils/open-isns/Makefile.in open-iscsi-2.0-872.orig/utils/open-isns/Makefile.in ---- open-iscsi-2.0-872.orig/utils/open-isns/Makefile.in 2012-02-09 08:57:47.812573971 +0000 -+++ open-iscsi-2.0-872/utils/open-isns/Makefile.in 2010-08-11 15:27:07.000000000 +0000 -@@ -77,6 +77,6 @@ - ar cr $@ $(LIBOBJS) - - depend: -+ $(CC) $(CFLAGS) -M `ls *.c` > .depend -- gcc $(CFLAGS) -M `ls *.c` > .depend - - -include .depend -diff -NuarwbB open-iscsi-2.0-872/utils/sysdeps/Makefile open-iscsi-2.0-872.orig/utils/sysdeps/Makefile ---- open-iscsi-2.0-872.orig/utils/sysdeps/Makefile 2012-02-09 08:57:43.459227530 +0000 -+++ open-iscsi-2.0-872/utils/sysdeps/Makefile 2010-08-11 15:27:07.000000000 +0000 -@@ -10,6 +10,6 @@ - rm -f *.o .depend - - depend: -+ $(CC) $(CFLAGS) -M `ls *.c` > .depend -- gcc $(CFLAGS) -M `ls *.c` > .depend - - -include .depend diff --git a/sys-block/open-iscsi/files/open-iscsi-2.0.872-makefile-cleanup.patch b/sys-block/open-iscsi/files/open-iscsi-2.0.872-makefile-cleanup.patch deleted file mode 100644 index b3e93f459fc2..000000000000 --- a/sys-block/open-iscsi/files/open-iscsi-2.0.872-makefile-cleanup.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- usr/Makefile 2010-10-10 22:48:04.000000000 +0200 -+++ usr/Makefile.ori 2010-10-10 22:48:34.000000000 +0200 -@@ -53,14 +53,14 @@ - - iscsid: $(ISCSI_LIB_SRCS) $(IPC_OBJ) $(INITIATOR_SRCS) $(DISCOVERY_SRCS) \ - iscsid.o session_mgmt.o discoveryd.o -- $(CC) $(CFLAGS) $^ -o $@ -L../utils/open-isns -lisns -lcrypto -+ $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ -L../utils/open-isns -lisns -lcrypto - - iscsiadm: $(ISCSI_LIB_SRCS) $(DISCOVERY_SRCS) iscsiadm.o session_mgmt.o -- $(CC) $(CFLAGS) $^ -o $@ -L../utils/open-isns -lisns -lcrypto -+ $(CC) $(CFLAGS) $(LDFLAGS) $^ -o $@ -L../utils/open-isns -lisns -lcrypto - - iscsistart: $(IPC_OBJ) $(ISCSI_LIB_SRCS) $(INITIATOR_SRCS) $(FW_BOOT_SRCS) \ - iscsistart.o statics.o -- $(CC) $(CFLAGS) -static $^ -o $@ -+ $(CC) $(CFLAGS) -static $(LDFLAGS) $^ -o $@ - clean: - rm -f *.o $(PROGRAMS) .depend $(LIBSYS) - |