diff options
author | Tobias Scherbaum <dertobi123@gentoo.org> | 2009-10-28 16:47:54 +0000 |
---|---|---|
committer | Tobias Scherbaum <dertobi123@gentoo.org> | 2009-10-28 16:47:54 +0000 |
commit | ae558267721760ea10f5f75de3634c37a67fca5b (patch) | |
tree | 55c640a792e6768e0196a44a80088231eedc79b2 /sys-block | |
parent | whitespace (diff) | |
download | historical-ae558267721760ea10f5f75de3634c37a67fca5b.tar.gz historical-ae558267721760ea10f5f75de3634c37a67fca5b.tar.bz2 historical-ae558267721760ea10f5f75de3634c37a67fca5b.zip |
Bump, proxy-committing for Craig (#278589)
Package-Manager: portage-2.2_rc46/cvs/Linux x86_64
Diffstat (limited to 'sys-block')
-rw-r--r-- | sys-block/open-iscsi/ChangeLog | 10 | ||||
-rw-r--r-- | sys-block/open-iscsi/Manifest | 4 | ||||
-rw-r--r-- | sys-block/open-iscsi/open-iscsi-2.0.871.ebuild | 110 |
3 files changed, 121 insertions, 3 deletions
diff --git a/sys-block/open-iscsi/ChangeLog b/sys-block/open-iscsi/ChangeLog index 2a5f76a9a8ff..1a4a9c61bf54 100644 --- a/sys-block/open-iscsi/ChangeLog +++ b/sys-block/open-iscsi/ChangeLog @@ -1,13 +1,19 @@ # ChangeLog for sys-block/open-iscsi # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/open-iscsi/ChangeLog,v 1.22 2009/10/27 19:47:34 dertobi123 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/open-iscsi/ChangeLog,v 1.23 2009/10/28 16:47:54 dertobi123 Exp $ + +*open-iscsi-2.0.871 (28 Oct 2009) + + 28 Oct 2009; Tobias Scherbaum <dertobi123@gentoo.org> + +open-iscsi-2.0.871.ebuild: + Bump, proxy-committing for Craig (#278589) *open-iscsi-2.0.870.3-r1 (27 Oct 2009) 27 Oct 2009; Tobias Scherbaum <dertobi123@gentoo.org> -open-iscsi-2.0.870.3.ebuild, +open-iscsi-2.0.870.3-r1.ebuild, +files/CVE-2009-1297.patch: - Revbump, proxy-commiting for Craig (security bug #290631) + Revbump, proxy-committing for Craig (security bug #290631) 23 Sep 2009; Patrick Lauer <patrick@gentoo.org> open-iscsi-2.0.870.3.ebuild: diff --git a/sys-block/open-iscsi/Manifest b/sys-block/open-iscsi/Manifest index a24e4f9a628d..391de9d81d89 100644 --- a/sys-block/open-iscsi/Manifest +++ b/sys-block/open-iscsi/Manifest @@ -3,6 +3,8 @@ AUX initiatorname.iscsi 1282 RMD160 6af81c25d2704e2c6bb98ff5155de91cdbd17ff7 SHA AUX iscsid-conf.d 314 RMD160 de4885dcc1ed6440ea385b7b234deeaa9cb18478 SHA1 57b899e74027252f5686c0bf28aafbda6f669132 SHA256 673bf4744efc3276d372587c996270821d39dcdc0bf27a13691ea6b0e814b6d0 AUX iscsid-init.d 2784 RMD160 92f19340add0cf178c451fb143d5871381e70480 SHA1 ce1be0f5e7e0b7f40371b9fb12f283ca713e295b SHA256 8ff8f100a6058d31605de54b1f210d5293c4b7441973e5793f42f67cac4fed30 DIST open-iscsi-2.0-870.3.tar.gz 301242 RMD160 f3be0aeaa7b2988a794983bc6d88511026605b13 SHA1 bc8253558b1a6b0c12ec0fbb0f01d6cb56d39395 SHA256 8ca6708895b17424efe20a4f6cbdf32ea44c40e7d9faa0f9c44bd720bae715ec +DIST open-iscsi-2.0-871.tar.gz 330514 RMD160 f996d9145bc3727394f1a4999f430bd5ea5c2a0d SHA1 968baf16d4094fb9842bc04b0fe8109103356252 SHA256 bcea8746ae82f2ada7bc05d2aa59bcda1ca0d5197f05f2e16744aae59f0a7dcb EBUILD open-iscsi-2.0.870.3-r1.ebuild 3058 RMD160 7cca1692b8ee288e2c04e66bdb06935b5d6b70c4 SHA1 263017243b71cbd37001dd546aaa34b46b8a33c7 SHA256 d01d147e91894ce4ec23b5d9d6ebe7aa8a09c983c3e5738b4674837eed976613 -MISC ChangeLog 5242 RMD160 324b4d3bc6f62de81053e729f6b996644c3c27fc SHA1 e15bf10d873330f225759a39e42331007570a4f4 SHA256 83240adca2d2f8db3ba6fcc09eb7687baffeccbd71b0a6782dd45c1aadb49c46 +EBUILD open-iscsi-2.0.871.ebuild 3150 RMD160 c3959cc843d29585e579240d4414ae10376c8739 SHA1 4de21c93d815d0b370d3b932b114faee64b3ee34 SHA256 765dd7ccc6190713593fbad15c93b776fcfb2eddc4a048d79e27e7d8de46ae1c +MISC ChangeLog 5410 RMD160 b4dd76dd03942ad4faeb7e8709a1be07fc9c9a66 SHA1 cc5489fd1cea77b1a5a8eb2669fd2ab67351c15e SHA256 fdd1f794b48458592b0f7a450e68162c8199cd8351639abe554f9799c2b6d32c MISC metadata.xml 366 RMD160 e6901bcc9954fa2e7ebdc201be3f117f2769d11e SHA1 2f12a23a3bd4a33409183a32a99708dc4ce236e4 SHA256 023a201ecaa94699b402156f02c08c416e6eed0584f2096152605f3bef5df31a diff --git a/sys-block/open-iscsi/open-iscsi-2.0.871.ebuild b/sys-block/open-iscsi/open-iscsi-2.0.871.ebuild new file mode 100644 index 000000000000..7fd785bd7a81 --- /dev/null +++ b/sys-block/open-iscsi/open-iscsi-2.0.871.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-block/open-iscsi/open-iscsi-2.0.871.ebuild,v 1.1 2009/10/28 16:47:54 dertobi123 Exp $ + +inherit versionator linux-mod eutils flag-o-matic + +DESCRIPTION="Open-iSCSI is a high performance, transport independent, multi-platform implementation of RFC3720" +HOMEPAGE="http://www.open-iscsi.org/" +MY_PV="${PN}-$(replace_version_separator 2 "-" $MY_PV)" +SRC_URI="http://www.open-iscsi.org/bits/${MY_PV}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64 ~ppc ~mips" +IUSE="utils debug" +DEPEND="virtual/linux-sources" +RDEPEND="${DEPEND} + sys-apps/util-linux" + +S="${WORKDIR}/${MY_PV}" + +MODULE_NAMES_ARG="kernel/drivers/scsi:${S}/kernel" +MODULE_NAMES="iscsi_tcp(${MODULE_NAMES_ARG}) scsi_transport_iscsi(${MODULE_NAMES_ARG}) libiscsi(${MODULE_NAMES_ARG})" +BUILD_TARGETS="all" +CONFIG_CHECK="CRYPTO_CRC32C" +CONFIG_CHECK_MODULES="SCSI_ISCSI_ATTRS ISCSI_TCP" +ERROR_CFG="open-iscsi needs CRC32C support in your kernel." + +pkg_setup() { + linux-info_pkg_setup + linux-mod_pkg_setup + + # Needs to be done, as iscsid currently only starts, when having the iSCSI + # support loaded as module. Kernel builtion options don't work. See this for + # more information: + # http://groups.google.com/group/open-iscsi/browse_thread/thread/cc10498655b40507/fd6a4ba0c8e91966 + # If there's a new release, check whether this is still valid! + + for module in ${CONFIG_CHECK_MODULES}; do + linux_chkconfig_module ${module} || die "${module} needs to be built as module (builtin doesn't work)" + done +} + +src_unpack() { + unpack ${A} + export EPATCH_OPTS="-d${S}" + if [ $KV_PATCH -lt 15 ]; then + die "Sorry, your kernel must be 2.6.16-rc5 or newer!" + fi + epatch "${FILESDIR}"/CVE-2009-1297.patch +} + +src_compile() { + use debug && append-flags -DDEBUG_TCP -DDEBUG_SCSI + + einfo "Building userspace" + cd "${S}" && \ + CFLAGS="" emake OPTFLAGS="${CFLAGS}" user \ + || die "emake failed" +} + +src_install() { + einfo "Installing userspace" + dosbin usr/iscsid usr/iscsiadm usr/iscsistart + + if use utils; then + einfo "Installing utilities" + dosbin utils/iscsi-iname utils/iscsi_discovery + fi + + einfo "Installing docs" + doman doc/*[1-8] + dodoc README THANKS + docinto test + dodoc test/* + + einfo "Installing configuration" + insinto /etc/iscsi + doins etc/iscsid.conf + insinto /etc/iscsi/ifaces + doins etc/iface.example + + # only contains iscsi initiatorname, no need to update + if [ ! -e /etc/iscsi/initiatorname.iscsi ]; then + doins "${FILESDIR}"/initiatorname.iscsi + fi + + # if there is a special conf.d for this version, use it + # otherwise, use the default: iscsid-conf.d + insinto /etc/conf.d + if [ -e "${FILESDIR}"/iscsid-${PV}.conf.d ]; then + newins "${FILESDIR}"/iscsid-${PV}.conf.d iscsid + else + newins "${FILESDIR}"/iscsid-conf.d iscsid + fi + + # same for init.d + if [ -e "${FILESDIR}"/iscsid-${PV}.init.d ]; then + newinitd "${FILESDIR}"/iscsid-${PV}.init.d iscsid + else + newinitd "${FILESDIR}"/iscsid-init.d iscsid + fi + + keepdir /var/db/iscsi + fperms 700 /var/db/iscsi + fperms 600 /etc/iscsi/iscsid.conf +} + +pkg_postinst() { + linux-mod_pkg_postinst +} |