From e0795520a38bd01fc4722aa2136187372828af37 Mon Sep 17 00:00:00 2001 From: "Robin H. Johnson" Date: Wed, 27 Dec 2006 02:28:40 +0000 Subject: [PATCH] Version bump, bug #155845 Package-Manager: portage-2.1.2_rc4-r1 --- sys-block/iscsitarget/ChangeLog | 9 ++- sys-block/iscsitarget/Manifest | 36 ++++++++---- .../files/digest-iscsitarget-0.4.14 | 3 + .../iscsitarget-0.4.14-isns-compilefix.patch | 12 ++++ .../iscsitarget/iscsitarget-0.4.14.ebuild | 57 +++++++++++++++++++ 5 files changed, 104 insertions(+), 13 deletions(-) create mode 100644 sys-block/iscsitarget/files/digest-iscsitarget-0.4.14 create mode 100644 sys-block/iscsitarget/files/iscsitarget-0.4.14-isns-compilefix.patch create mode 100644 sys-block/iscsitarget/iscsitarget-0.4.14.ebuild diff --git a/sys-block/iscsitarget/ChangeLog b/sys-block/iscsitarget/ChangeLog index 1a2ccf63bd8e..aac066e0561f 100644 --- a/sys-block/iscsitarget/ChangeLog +++ b/sys-block/iscsitarget/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for sys-block/iscsitarget # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/iscsitarget/ChangeLog,v 1.3 2006/05/23 01:55:11 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/iscsitarget/ChangeLog,v 1.4 2006/12/27 02:28:40 robbat2 Exp $ + +*iscsitarget-0.4.14 (27 Dec 2006) + + 27 Dec 2006; Robin H. Johnson + +files/iscsitarget-0.4.14-isns-compilefix.patch, + +iscsitarget-0.4.14.ebuild: + Version bump, bug #155845 23 May 2006; Robin H. Johnson iscsitarget-0.4.13.ebuild: diff --git a/sys-block/iscsitarget/Manifest b/sys-block/iscsitarget/Manifest index 3b09c42fd45b..5e5eb2f9d2e0 100644 --- a/sys-block/iscsitarget/Manifest +++ b/sys-block/iscsitarget/Manifest @@ -1,30 +1,39 @@ -AUX ietd-conf.d 1073 RMD160 ade5301c8e2eb8cbc16dfae4bfa80e22393e2953 SHA1 1bb990e26b847169d4937e5d2fc28a5f86d55003 SHA256 28c4a6ddfe555d9f400513de04e2e44473263c4505434fc6e926d2b2fe89c414 size 1073 +AUX ietd-conf.d 1073 RMD160 ade5301c8e2eb8cbc16dfae4bfa80e22393e2953 SHA1 1bb990e26b847169d4937e5d2fc28a5f86d55003 SHA256 28c4a6ddfe555d9f400513de04e2e44473263c4505434fc6e926d2b2fe89c414 MD5 06ba479d3533d557b8582abe6f182410 files/ietd-conf.d 1073 RMD160 ade5301c8e2eb8cbc16dfae4bfa80e22393e2953 files/ietd-conf.d 1073 SHA256 28c4a6ddfe555d9f400513de04e2e44473263c4505434fc6e926d2b2fe89c414 files/ietd-conf.d 1073 -AUX ietd-init.d 2491 RMD160 b47b829be35f10271698d972fa681eef257fa169 SHA1 6dc8c280540b7976e6daadd063afdb2dc6a9df08 SHA256 e7c7dd65a8c1dc1fa1a1ec629c7d9892ab33b31bf0e3d2757b6127bdb82be92e size 2491 +AUX ietd-init.d 2491 RMD160 b47b829be35f10271698d972fa681eef257fa169 SHA1 6dc8c280540b7976e6daadd063afdb2dc6a9df08 SHA256 e7c7dd65a8c1dc1fa1a1ec629c7d9892ab33b31bf0e3d2757b6127bdb82be92e MD5 3f2677c5124c6a9e836c1a410b9b3187 files/ietd-init.d 2491 RMD160 b47b829be35f10271698d972fa681eef257fa169 files/ietd-init.d 2491 SHA256 e7c7dd65a8c1dc1fa1a1ec629c7d9892ab33b31bf0e3d2757b6127bdb82be92e files/ietd-init.d 2491 -AUX iscsitarget-0.4.13-usrbuildfix.patch 360 RMD160 db8d564f28d966caa795e69c5cc56fd8e0d5a38f SHA1 e48a15dcc780bc7c6289d03e14dbffa4056dd1c3 SHA256 b55c547d1d8c622beff46c01c0e683c1c47e23f1aef0afda78007b3507401eb2 size 360 +AUX iscsitarget-0.4.13-usrbuildfix.patch 360 RMD160 db8d564f28d966caa795e69c5cc56fd8e0d5a38f SHA1 e48a15dcc780bc7c6289d03e14dbffa4056dd1c3 SHA256 b55c547d1d8c622beff46c01c0e683c1c47e23f1aef0afda78007b3507401eb2 MD5 351e6974ac137e8a0d4537b91f15fd67 files/iscsitarget-0.4.13-usrbuildfix.patch 360 RMD160 db8d564f28d966caa795e69c5cc56fd8e0d5a38f files/iscsitarget-0.4.13-usrbuildfix.patch 360 SHA256 b55c547d1d8c622beff46c01c0e683c1c47e23f1aef0afda78007b3507401eb2 files/iscsitarget-0.4.13-usrbuildfix.patch 360 -DIST iscsitarget-0.4.12.tar.gz 87678 RMD160 1f2295100b653f3b7c6dbb791be870a6c4842715 SHA256 3a888cf51a72a308441e956074be8b7aab5aa3de6229343ba5255749a3e24c3c size 87678 -DIST iscsitarget-0.4.13.tar.gz 88236 RMD160 d0924c0e46f4131eaf2565db8e92c8fc1527e4ea SHA256 afb74a6753e5e73c5b614da2bfc779c7b3e11576474582cbd22f86babbfeeb06 size 88236 -EBUILD iscsitarget-0.4.12.ebuild 1246 RMD160 d45b7d20f63eb3446a0d1f59673b56f098046b9a SHA1 9b70dcd2d08edb15b978908cdb9010424181c7ef SHA256 0937fc4175143dfb9572d848d5d6527f327c114d59967f99be373a64a27ca5e0 size 1246 +AUX iscsitarget-0.4.14-isns-compilefix.patch 625 RMD160 052126a1a557a4a70d0a91af1bcd00d7aae1d6d2 SHA1 f4b11cfefe2499c35abf75260c6e20cf254a876c SHA256 d3355d32bdfb450cbc32e0147a276ba2c5a24de7c1a0b40ce4d56b65892e5f9b +MD5 c8aed4142c2e927444284fc0fc5e190f files/iscsitarget-0.4.14-isns-compilefix.patch 625 +RMD160 052126a1a557a4a70d0a91af1bcd00d7aae1d6d2 files/iscsitarget-0.4.14-isns-compilefix.patch 625 +SHA256 d3355d32bdfb450cbc32e0147a276ba2c5a24de7c1a0b40ce4d56b65892e5f9b files/iscsitarget-0.4.14-isns-compilefix.patch 625 +DIST iscsitarget-0.4.12.tar.gz 87678 RMD160 1f2295100b653f3b7c6dbb791be870a6c4842715 SHA1 127c03e2f19ccb7a12eeb73a7944e698b90a77e7 SHA256 3a888cf51a72a308441e956074be8b7aab5aa3de6229343ba5255749a3e24c3c +DIST iscsitarget-0.4.13.tar.gz 88236 RMD160 d0924c0e46f4131eaf2565db8e92c8fc1527e4ea SHA1 0bd2a3a547be068fbb25dd8226d71fdaa874a120 SHA256 afb74a6753e5e73c5b614da2bfc779c7b3e11576474582cbd22f86babbfeeb06 +DIST iscsitarget-0.4.14.tar.gz 92608 RMD160 71cef6dedc54a35b848a5b9152441b043bee11aa SHA1 56251815c1a62425adb82fe59de47f74095df3fb SHA256 afb1d0e6c8c81688ca6f821bf4b4a35993a77e51ce0508b1b97302d8ba6275f7 +EBUILD iscsitarget-0.4.12.ebuild 1246 RMD160 d45b7d20f63eb3446a0d1f59673b56f098046b9a SHA1 9b70dcd2d08edb15b978908cdb9010424181c7ef SHA256 0937fc4175143dfb9572d848d5d6527f327c114d59967f99be373a64a27ca5e0 MD5 61dd15e51565ed0e8996f5e1d8411ab7 iscsitarget-0.4.12.ebuild 1246 RMD160 d45b7d20f63eb3446a0d1f59673b56f098046b9a iscsitarget-0.4.12.ebuild 1246 SHA256 0937fc4175143dfb9572d848d5d6527f327c114d59967f99be373a64a27ca5e0 iscsitarget-0.4.12.ebuild 1246 -EBUILD iscsitarget-0.4.13.ebuild 1793 RMD160 3d4746fae05ef4aca6cc16a6389bdd156b5d727b SHA1 f4c8a160e8c8aca679b32a52f684f783a26d23bc SHA256 9f00c3096a26f711d9903e15a130bbf25516e6bddad38871650c2c3a3069068b size 1793 +EBUILD iscsitarget-0.4.13.ebuild 1793 RMD160 3d4746fae05ef4aca6cc16a6389bdd156b5d727b SHA1 f4c8a160e8c8aca679b32a52f684f783a26d23bc SHA256 9f00c3096a26f711d9903e15a130bbf25516e6bddad38871650c2c3a3069068b MD5 fcd2c7f5b58a4472f53418144b3cf8f0 iscsitarget-0.4.13.ebuild 1793 RMD160 3d4746fae05ef4aca6cc16a6389bdd156b5d727b iscsitarget-0.4.13.ebuild 1793 SHA256 9f00c3096a26f711d9903e15a130bbf25516e6bddad38871650c2c3a3069068b iscsitarget-0.4.13.ebuild 1793 -MISC ChangeLog 841 RMD160 475a303f4f59d557f0d61401a9d7a59e81370481 SHA1 3fbe816c356158865438b667ba6672d58efc0028 SHA256 37eaf5df95a2bc31d731b59f860c335a52aa902c052d8a63fc13ba636eaff8fe size 841 -MD5 30f84fc39f0234885da08caf234ed014 ChangeLog 841 -RMD160 475a303f4f59d557f0d61401a9d7a59e81370481 ChangeLog 841 -SHA256 37eaf5df95a2bc31d731b59f860c335a52aa902c052d8a63fc13ba636eaff8fe ChangeLog 841 -MISC metadata.xml 223 RMD160 ffa99612cf27469c417944deed0e0c9155e64331 SHA1 607c637402dd253406aa6ee684471a702c5d1a99 SHA256 d6bb9ba68629616062b4433ab3b8fb01dfcafae5bb47804d9e06cdd6c66daa44 size 223 +EBUILD iscsitarget-0.4.14.ebuild 1801 RMD160 f0bfdf308e8d7f138da283ebd7052d6696982ad7 SHA1 d1c15fa0df1a2e91a705838e2497020919c611ea SHA256 8430be6358ba71b399a4ba54e154ddf3d4d2dd97ae159403e1c5d7dd6cf3b8ef +MD5 95bb62858a440f4940ca7569d0be679b iscsitarget-0.4.14.ebuild 1801 +RMD160 f0bfdf308e8d7f138da283ebd7052d6696982ad7 iscsitarget-0.4.14.ebuild 1801 +SHA256 8430be6358ba71b399a4ba54e154ddf3d4d2dd97ae159403e1c5d7dd6cf3b8ef iscsitarget-0.4.14.ebuild 1801 +MISC ChangeLog 1039 RMD160 83d0f8f1b6968af6fbdf91d4e8c8d8f6ec9b1f06 SHA1 2f6c6ad7e774581875aec9ff1aaad72ca1d45132 SHA256 22ecaeb28f8ddc59dd6d7bf3ffb5ab3f03722858bc38b98b334d6cd1b2c1e17b +MD5 8a3612cb97207c07f7cfd11440655b94 ChangeLog 1039 +RMD160 83d0f8f1b6968af6fbdf91d4e8c8d8f6ec9b1f06 ChangeLog 1039 +SHA256 22ecaeb28f8ddc59dd6d7bf3ffb5ab3f03722858bc38b98b334d6cd1b2c1e17b ChangeLog 1039 +MISC metadata.xml 223 RMD160 ffa99612cf27469c417944deed0e0c9155e64331 SHA1 607c637402dd253406aa6ee684471a702c5d1a99 SHA256 d6bb9ba68629616062b4433ab3b8fb01dfcafae5bb47804d9e06cdd6c66daa44 MD5 21cd68602737d7c996bceabf6e62c468 metadata.xml 223 RMD160 ffa99612cf27469c417944deed0e0c9155e64331 metadata.xml 223 SHA256 d6bb9ba68629616062b4433ab3b8fb01dfcafae5bb47804d9e06cdd6c66daa44 metadata.xml 223 @@ -34,3 +43,6 @@ SHA256 ef24582b5debdc6a30822f6a5651c58a1665166b1754a0ca80a804715c49ede6 files/di MD5 a026a72ea77d6ce209257f20048c2c97 files/digest-iscsitarget-0.4.13 253 RMD160 f9c6c980c46c3349b1512c9926a8c00849cf5b58 files/digest-iscsitarget-0.4.13 253 SHA256 faf55daf8c6fecf6e0fbe7f0372c4123478ddcdcc8040ca08e62556659fff683 files/digest-iscsitarget-0.4.13 253 +MD5 323122f66ac2bc4cb54a589f953d279e files/digest-iscsitarget-0.4.14 253 +RMD160 81af60c5bde88261094e1f1f9d28374d5af5cd97 files/digest-iscsitarget-0.4.14 253 +SHA256 2083bd875ca0c5c1079abde61264663d641b677664366ee5fe60e9aacfc42e6a files/digest-iscsitarget-0.4.14 253 diff --git a/sys-block/iscsitarget/files/digest-iscsitarget-0.4.14 b/sys-block/iscsitarget/files/digest-iscsitarget-0.4.14 new file mode 100644 index 000000000000..b29195fb37a2 --- /dev/null +++ b/sys-block/iscsitarget/files/digest-iscsitarget-0.4.14 @@ -0,0 +1,3 @@ +MD5 2dbc5d9e0b8e1953324226b9fab24b8e iscsitarget-0.4.14.tar.gz 92608 +RMD160 71cef6dedc54a35b848a5b9152441b043bee11aa iscsitarget-0.4.14.tar.gz 92608 +SHA256 afb1d0e6c8c81688ca6f821bf4b4a35993a77e51ce0508b1b97302d8ba6275f7 iscsitarget-0.4.14.tar.gz 92608 diff --git a/sys-block/iscsitarget/files/iscsitarget-0.4.14-isns-compilefix.patch b/sys-block/iscsitarget/files/iscsitarget-0.4.14-isns-compilefix.patch new file mode 100644 index 000000000000..51a0e37f8348 --- /dev/null +++ b/sys-block/iscsitarget/files/iscsitarget-0.4.14-isns-compilefix.patch @@ -0,0 +1,12 @@ +diff -Nuar --exclude '*~' /dev/shm/portage/sys-block/iscsitarget-0.4.14/work/iscsitarget-0.4.14.orig/usr/isns.c /dev/shm/portage/sys-block/iscsitarget-0.4.14/work/iscsitarget-0.4.14/usr/isns.c +--- /dev/shm/portage/sys-block/iscsitarget-0.4.14/work/iscsitarget-0.4.14.orig/usr/isns.c 2006-09-25 02:08:51.000000000 -0700 ++++ /dev/shm/portage/sys-block/iscsitarget-0.4.14/work/iscsitarget-0.4.14/usr/isns.c 2006-12-26 18:26:00.260045115 -0800 +@@ -223,7 +223,7 @@ + x = (x & 0x0000ffff) << 16 | (x & 0xffff0000) >> 16; \ + } + #else +-#define set_scn_flag(x) ++#define set_scn_flag(x) x + #endif + + static int isns_scn_register(void) diff --git a/sys-block/iscsitarget/iscsitarget-0.4.14.ebuild b/sys-block/iscsitarget/iscsitarget-0.4.14.ebuild new file mode 100644 index 000000000000..3323b30a85ef --- /dev/null +++ b/sys-block/iscsitarget/iscsitarget-0.4.14.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-block/iscsitarget/iscsitarget-0.4.14.ebuild,v 1.1 2006/12/27 02:28:40 robbat2 Exp $ + +inherit linux-mod eutils + +DESCRIPTION="Open Source iSCSI target with professional features" +HOMEPAGE="http://iscsitarget.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64 ~ppc" +IUSE="" + +RDEPEND="dev-libs/openssl" +DEPEND="${RDEPEND} + virtual/linux-sources" +MODULE_NAMES="iscsi_trgt(kernel/iscsi:${S}/kernel)" +CONFIG_CHECK="CRYPTO_CRC32C" +ERROR_CFG="iscsitarget needs support for CRC32C in your kernel." + +src_unpack() { + unpack ${A} + EPATCH_OPTS="-d ${S} -p0" \ + epatch ${FILESDIR}/${PN}-0.4.13-usrbuildfix.patch + epatch ${FILESDIR}/${PN}-0.4.14-isns-compilefix.patch + convert_to_m ${S}/Makefile +} + +src_compile() { + einfo "Building userspace" + CFLAGS="" emake progs OPTFLAGS="${CFLAGS}" || die "failed to build userspace" + + einfo "Building kernel modules" + unset ARCH + emake KSRC="${KERNEL_DIR}" mods || die "failed to build module" +} + +src_install() { + einfo "Installing userspace" + dosbin usr/ietd usr/ietadm || die "dosbin failed" + insinto /etc + doins etc/ietd.conf etc/initiators.{allow,deny} || die "doins failed" + # Upstream's provided Gentoo init script is out of date compared to + # their Debian init script. And isn't that nice. + #newinitd etc/initd/initd.gentoo ietd || die + newinitd ${FILESDIR}/ietd-init.d ietd || die "newinitd failed" + newconfd ${FILESDIR}/ietd-conf.d ietd || die "newconfd failed" + + doman doc/manpages/*.[1-9] || die "manpages failed" + dodoc ChangeLog README || die "docs failed" + + einfo "Installing kernel module" + unset ARCH + linux-mod_src_install || die "modules failed" +} -- 2.26.2