Skip to content
Browse files

iscsitarget taken at revision r481

  • Loading branch information...
1 parent e23bfbf commit de3cea96049f6ab61ee1ef72fa0a01d86da4af53 @adessemond committed Apr 28, 2012
View
6 sys-block/iscsitarget/Manifest
@@ -9,14 +9,12 @@ AUX iscsitarget-1.4.18+linux-2.6.32.patch 1342 RMD160 f03339491c509b2c831012d32b
AUX iscsitarget-1.4.19+linux-2.6.33.patch 594 RMD160 f28c6741807f9f52558e273d922c9d66e33a8d72 SHA1 fefddb9e4138a1b864e15b9f25076e49f6fd3ac9 SHA256 2e50daac88dff35a268a56950491fc9b7b9533eebd2a690f3c4eb448990f8352
AUX iscsitarget-1.4.20.2-respect-flags.patch 878 RMD160 1a90627c6e1fbea0a44cf291ba8a40b1a06d332d SHA1 708f6099cc424ccdf43e8a0531d9d841bf2e1ff3 SHA256 4657f3a7739ed5d2a75f8a8a4ca715f3a3098edd717c4acd1070638fcda2d80a
AUX iscsitarget-1.4.20.2_kernel-2.6.36.patch 339 RMD160 0f88eecf46fed45ea9847a5c80943ca975fa53d4 SHA1 2af61df45fdbfeb444aafeef5cd5b3ffff93d856 SHA256 1a2b44da24a89fd2ba204600668351c0130c28eacace1ff0d362ef370cb3aaec
-AUX iscsitarget-1.4.20.2_p20110821-makefile.patch 1417 RMD160 cf0fe8fdf4472bce9d1cb3631c755a24b751586f SHA1 417ff99fccabc7da13b44cb82aae53f4a0ea8009 SHA256 d0d860e63b45b8ebaed22f1eda7436dee1c96a0c523c997df913361eb75f06a1
-AUX iscsitarget-1.4.20.2_p20110821-respect-ldflags.patch 339 RMD160 968a0313c8cb23070e0c9c883fc32dfbd9bbabfe SHA1 37f5f4c35cfaa3d648a05658df715ec9b9613cc1 SHA256 85c8f218a9593f9b64d54008a409b8ffa37a2b090bfb65ec347852de43c86d90
-AUX iscsitarget-1.4.20.2_p20110821-svn-r453.patch 56266 RMD160 cc1631b7e9afbb9850d9ab7fcf52906d007a5492 SHA1 b20cf4b51c0fed9d57171167579cdcee585f12ec SHA256 cac20e53039d63264589fc78f06d9a5e4cae9ab4b840eb76e0dd07c940780af7
+AUX iscsitarget-svn-r481.patch 127160 RMD160 9b2605e468fc053a748cf0d54fc45d481a2a224a SHA1 621ece2a7ab12398c4a10f40326242ab28ac885c SHA256 a8391802b441dee7bdc4ea2f995b5f3e23e8e84ddde03d64d73d2cbe5b431f31
DIST iscsitarget-0.4.17.tar.gz 107884 RMD160 2f0413d8bb242d09593f07eb35846c0f9dd2934c SHA1 9c287b76a5bc50995d86d351968368302e70b224 SHA256 bc554508174f2657c93ddb0501adad0256d1c6801a3c1ee54ff721bc92ff8778
DIST iscsitarget-1.4.19.tar.gz 124288 RMD160 60189a94a70eb35c3d9bd995a09ffa6983a1a036 SHA1 96af4ad9343960c700dc46f98a3b9ce2ffbe2231 SHA256 a9fc5e43a2806b8aa95513b2af06d97bb9181ef5fedc906d69144d93a86e664a
DIST iscsitarget-1.4.20.2.tar.gz 138464 RMD160 707138c0dd9a440f0d7ae5955d9d7f8bd0303398 SHA1 adfa2ff4defe93df7c26878b554731a268f0ecac SHA256 0f3c8e2c2038fbbd7059d1efdd428260013212daca75c1d56abbeec33cb8d388
EBUILD iscsitarget-0.4.17.ebuild 1947 RMD160 876c1b3f1216e78b9f46390ba9a18310a18a5743 SHA1 fd29c29f8a31ada3b3afcf5093745f3c70ad2d4f SHA256 b71ae15ee537c66b74becab9d81d5693a28a130fcd66df3a3fb306e05625c5d3
EBUILD iscsitarget-1.4.19.ebuild 2141 RMD160 377ead0c5fce50b5dd87a7dbb7ae9f8e30ca2c72 SHA1 f3268a81e6859c562ab92d4209e925ffa1088ccb SHA256 1fe32e93dff5504dca70ade38c97d991d17fe8884709c7d6e13c8882cfe94c37
EBUILD iscsitarget-1.4.20.2.ebuild 1975 RMD160 646e9e529ec039bda27c2cceb3d8cb5a8dfc32d1 SHA1 ff8a6c219e6b933f6970ef130e4f5ef3ab2ee42b SHA256 dddc1b99bef63003a29a715a4cf04d99a27ed1693c559ecc6ae905ab5f04133c
-EBUILD iscsitarget-1.4.20.2_p20110821.ebuild 2683 RMD160 caf51534ebe5c8797ab3db8f4580b9ff7c3d8a5c SHA1 1557682b3ca1da95f4ad3d1216acfe99f0784aa9 SHA256 4c53563bb556dd99464a09d73569f571752dce52b64ed508377058a6c9071ab8
+EBUILD iscsitarget-1.4.20.2_p20120428.ebuild 1995 RMD160 fecfbe1c9890f2a0167ba59b10aff0e9c470aac4 SHA1 6e82142a606d066b2c60c021e22a98a5b6fd53e1 SHA256 27f328da5c9674447f9c0daaf2926af7e3ff1b7ddf85c1dbe216804ecdc4c70b
EBUILD iscsitarget-9999.ebuild 1680 RMD160 8c6ffe57c6d399fc0c4d49ad27180be19d28998d SHA1 1c00a0efdaee6b2d2750958ccb8ca6535cf5876f SHA256 504eacc85c08c28e237097e1520ae7590bece460d67e12210f9fe81f6e0d5b0c
View
4,275 sys-block/iscsitarget/files/iscsitarget-svn-r481.patch
4,275 additions, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
75 sys-block/iscsitarget/iscsitarget-1.4.20.2_p20120428.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Copyright 2012 Funtoo Technologies
+# Distributed under the terms of the GNU General Public License v2
+
+inherit linux-mod eutils flag-o-matic
+
+DESCRIPTION="Open Source iSCSI target with professional features"
+HOMEPAGE="http://iscsitarget.sourceforge.net/"
+My_P="${P%_*}"
+SRC_URI="mirror://sourceforge/${PN}/${My_P}.tar.gz"
+S="${WORKDIR}/${My_P}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86 "
+IUSE=""
+
+DEPEND="dev-libs/openssl"
+RDEPEND="${DEPEND}"
+
+MODULE_NAMES="iscsi_trgt(misc:${S}/kernel)"
+CONFIG_CHECK="CRYPTO_CRC32C"
+ERROR_CFG="iscsitarget needs support for CRC32C in your kernel."
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Patch to trunk revision #483 (2012-04-27)
+ epatch "${FILESDIR}/${PN}-svn-r481.patch"
+
+ # Even at trunk revision 483, patch for bug #180619 is still valid
+ epatch "${FILESDIR}"/${PN}-0.4.15-isns-set-scn-flag.patch #180619
+
+ # Gentoo bugs #340449, #350742 are solved in recent commit
+ # No more problems with LDFLAGS no patch required :-)
+
+ #convert_to_m "${S}"/Makefile
+}
+
+src_compile() {
+ emake KSRC="${KERNEL_DIR}" usr || die
+
+ unset ARCH
+ emake KSRC="${KERNEL_DIR}" kernel || die
+}
+
+src_install() {
+ einfo "Installing userspace"
+
+ # Install ietd into libexec; we don't need ietd to be in the path
+ # for ROOT, since it's just a service.
+ exeinto /usr/libexec
+ doexe usr/ietd || die
+
+ dosbin usr/ietadm || die
+
+ insinto /etc
+ doins etc/ietd.conf etc/initiators.allow || die
+
+ # We moved ietd in /usr/libexec, so update the init script accordingly.
+ sed -e 's:/usr/sbin/ietd:/usr/libexec/ietd:' "${FILESDIR}"/ietd-init.d-2 > "${T}"/ietd-init.d
+ newinitd "${T}"/ietd-init.d ietd || die
+ newconfd "${FILESDIR}"/ietd-conf.d ietd || die
+
+ # Lock down perms, per bug 198209
+ fperms 0640 /etc/ietd.conf /etc/initiators.allow
+
+ doman doc/manpages/*.[1-9] || die
+ dodoc ChangeLog README RELEASE_NOTES README.initiators README.vmware || die
+
+ einfo "Installing kernel module"
+ unset ARCH
+ linux-mod_src_install || die
+}

0 comments on commit de3cea9

Please sign in to comment.
Something went wrong with that request. Please try again.