public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in sys-block/open-iscsi: open-iscsi-2.0.872-r3.ebuild ChangeLog
@ 2015-08-05  2:14 Matt Thode (prometheanfire)
  0 siblings, 0 replies; 2+ messages in thread
From: Matt Thode (prometheanfire) @ 2015-08-05  2:14 UTC (permalink / raw
  To: gentoo-commits

prometheanfire    15/08/05 02:14:33

  Modified:             ChangeLog
  Added:                open-iscsi-2.0.872-r3.ebuild
  Log:
  adding udev scripts to generate symlinks for bug 556632
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x33ED3FD25AFC78BA)

Revision  Changes    Path
1.62                 sys-block/open-iscsi/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/open-iscsi/ChangeLog?rev=1.62&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/open-iscsi/ChangeLog?rev=1.62&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/open-iscsi/ChangeLog?r1=1.61&r2=1.62

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-block/open-iscsi/ChangeLog,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -r1.61 -r1.62
--- ChangeLog	2 Feb 2014 15:24:49 -0000	1.61
+++ ChangeLog	5 Aug 2015 02:14:33 -0000	1.62
@@ -1,6 +1,12 @@
 # ChangeLog for sys-block/open-iscsi
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/open-iscsi/ChangeLog,v 1.61 2014/02/02 15:24:49 ago Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-block/open-iscsi/ChangeLog,v 1.62 2015/08/05 02:14:33 prometheanfire Exp $
+
+*open-iscsi-2.0.872-r3 (05 Aug 2015)
+
+  05 Aug 2015; Matthew Thode <prometheanfire@gentoo.org> +files/99-iscsi.rules,
+  +files/iscsidev.sh, +open-iscsi-2.0.872-r3.ebuild:
+  adding udev scripts to generate symlinks for bug 556632
 
   02 Feb 2014; Agostino Sarubbo <ago@gentoo.org> open-iscsi-2.0.872-r2.ebuild:
   Stable for alpha, wrt bug #498446



1.1                  sys-block/open-iscsi/open-iscsi-2.0.872-r3.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/open-iscsi/open-iscsi-2.0.872-r3.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/open-iscsi/open-iscsi-2.0.872-r3.ebuild?rev=1.1&content-type=text/plain

Index: open-iscsi-2.0.872-r3.ebuild
===================================================================
# Copyright 1999-2015 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.872-r3.ebuild,v 1.1 2015/08/05 02:14:33 prometheanfire Exp $

EAPI=2
inherit versionator linux-info eutils flag-o-matic toolchain-funcs

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="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
IUSE="debug slp"
DEPEND="slp? ( net-libs/openslp )"
RDEPEND="${DEPEND}
	virtual/udev
	sys-apps/util-linux"

S="${WORKDIR}/${MY_PV}"

pkg_setup() {
	linux-info_pkg_setup

	if kernel_is -lt 2 6 16; then
		die "Sorry, your kernel must be 2.6.16-rc5 or newer!"
	fi

	# 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!
	CONFIG_CHECK_MODULES="SCSI_ISCSI_ATTRS ISCSI_TCP"
	if linux_config_exists; then
		for module in ${CONFIG_CHECK_MODULES}; do
			linux_chkconfig_module ${module} || ewarn "${module} needs to be built as module (builtin doesn't work)"
		done
	fi
}

src_prepare() {
	export EPATCH_OPTS="-d${S}"
	epatch "${FILESDIR}"/${PN}-2.0.872-makefile-cleanup.patch
	epatch "${FILESDIR}"/${P}-glibc212.patch
	epatch "${FILESDIR}"/${P}-dont-call-configure.patch
	epatch "${FILESDIR}"/${P}-ldflags.patch
	epatch "${FILESDIR}"/${P}-isns-slp.patch
	epatch "${FILESDIR}"/${PN}-2.0.872-makefile-cleanup-pass2.patch
}

src_configure() {
	cd utils/open-isns || die
	econf $(use_with slp)
}

src_compile() {
	use debug && append-flags -DDEBUG_TCP -DDEBUG_SCSI

	einfo "Building userspace"
	local SLP_LIBS
	use slp && SLP_LIBS="-lslp"
	cd "${S}" && \
	KSRC="${KV_DIR}" CFLAGS="" \
	emake \
		OPTFLAGS="${CFLAGS}" SLP_LIBS="${SLP_LIBS}" \
		AR="$(tc-getAR)" CC="$(tc-getCC)" \
		user \
		|| die "emake failed"
}

src_install() {
	einfo "Installing userspace"
	dosbin usr/iscsid usr/iscsiadm usr/iscsistart || die

	einfo "Installing utilities"
	dosbin utils/iscsi-iname utils/iscsi_discovery || die

	einfo "Installing docs"
	doman doc/*[1-8] || die
	dodoc README THANKS || die
	docinto test || die
	dodoc test/* || die

	einfo "Installing configuration"
	insinto /etc/iscsi
	doins etc/iscsid.conf || die
	newins "${FILESDIR}"/initiatorname.iscsi initiatorname.iscsi.example || die
	insinto /etc/iscsi/ifaces
	doins etc/iface.example || die

	newconfd "${FILESDIR}"/${P}-conf.d iscsid || die
	newinitd "${FILESDIR}"/${P}-init.d-r1 iscsid || die

	# udev pieces
	insinto /etc/udev/scripts
	doins "${FILESDIR}"/iscsidev.sh
	insinto /lib/udev/rules.d
	doins "${FILESDIR}"/99-iscsi.rules

	keepdir /var/db/iscsi
	fperms 700 /var/db/iscsi || die
	fperms 600 /etc/iscsi/iscsid.conf || die
}

pkg_postinst() {
	in='/etc/iscsi/initiatorname.iscsi'
	if [ ! -f "${ROOT}${in}" -a -f "${ROOT}${in}.example" ]; then
		cp -f "${ROOT}${in}.example" "${ROOT}${in}"
	fi
}





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in sys-block/open-iscsi: open-iscsi-2.0.872-r3.ebuild ChangeLog
@ 2015-08-06  3:09 Matt Thode (prometheanfire)
  0 siblings, 0 replies; 2+ messages in thread
From: Matt Thode (prometheanfire) @ 2015-08-06  3:09 UTC (permalink / raw
  To: gentoo-commits

prometheanfire    15/08/06 03:09:28

  Modified:             open-iscsi-2.0.872-r3.ebuild ChangeLog
  Log:
  fix the glaring bug
  
  (Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x33ED3FD25AFC78BA)

Revision  Changes    Path
1.2                  sys-block/open-iscsi/open-iscsi-2.0.872-r3.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/open-iscsi/open-iscsi-2.0.872-r3.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/open-iscsi/open-iscsi-2.0.872-r3.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/open-iscsi/open-iscsi-2.0.872-r3.ebuild?r1=1.1&r2=1.2

Index: open-iscsi-2.0.872-r3.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-block/open-iscsi/open-iscsi-2.0.872-r3.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- open-iscsi-2.0.872-r3.ebuild	5 Aug 2015 02:14:33 -0000	1.1
+++ open-iscsi-2.0.872-r3.ebuild	6 Aug 2015 03:09:28 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 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.872-r3.ebuild,v 1.1 2015/08/05 02:14:33 prometheanfire Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/open-iscsi/open-iscsi-2.0.872-r3.ebuild,v 1.2 2015/08/06 03:09:28 prometheanfire Exp $
 
 EAPI=2
 inherit versionator linux-info eutils flag-o-matic toolchain-funcs
@@ -16,6 +16,7 @@
 DEPEND="slp? ( net-libs/openslp )"
 RDEPEND="${DEPEND}
 	virtual/udev
+	sys-fs/lsscsi
 	sys-apps/util-linux"
 
 S="${WORKDIR}/${MY_PV}"



1.63                 sys-block/open-iscsi/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/open-iscsi/ChangeLog?rev=1.63&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/open-iscsi/ChangeLog?rev=1.63&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-block/open-iscsi/ChangeLog?r1=1.62&r2=1.63

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-block/open-iscsi/ChangeLog,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- ChangeLog	5 Aug 2015 02:14:33 -0000	1.62
+++ ChangeLog	6 Aug 2015 03:09:28 -0000	1.63
@@ -1,6 +1,10 @@
 # ChangeLog for sys-block/open-iscsi
 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-block/open-iscsi/ChangeLog,v 1.62 2015/08/05 02:14:33 prometheanfire Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-block/open-iscsi/ChangeLog,v 1.63 2015/08/06 03:09:28 prometheanfire Exp $
+
+  06 Aug 2015; Matthew Thode <prometheanfire@gentoo.org> files/iscsidev.sh,
+  open-iscsi-2.0.872-r3.ebuild:
+  fix the glaring bug
 
 *open-iscsi-2.0.872-r3 (05 Aug 2015)
 





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-06  3:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-06  3:09 [gentoo-commits] gentoo-x86 commit in sys-block/open-iscsi: open-iscsi-2.0.872-r3.ebuild ChangeLog Matt Thode (prometheanfire)
  -- strict thread matches above, loose matches on Subject: below --
2015-08-05  2:14 Matt Thode (prometheanfire)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox