summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-libs/libiscsi
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-libs/libiscsi')
-rw-r--r--net-libs/libiscsi/Manifest1
-rw-r--r--net-libs/libiscsi/files/libiscsi-1.9.0-0001-Allow-users-to-disable-Werror-at-configure-time.patch35
-rw-r--r--net-libs/libiscsi/libiscsi-1.9.0-r1.ebuild40
-rw-r--r--net-libs/libiscsi/libiscsi-1.9.0.ebuild28
-rw-r--r--net-libs/libiscsi/libiscsi-9999.ebuild28
-rw-r--r--net-libs/libiscsi/metadata.xml11
6 files changed, 143 insertions, 0 deletions
diff --git a/net-libs/libiscsi/Manifest b/net-libs/libiscsi/Manifest
new file mode 100644
index 000000000000..e9559f8d0017
--- /dev/null
+++ b/net-libs/libiscsi/Manifest
@@ -0,0 +1 @@
+DIST libiscsi-1.9.0.tar.gz 182123 SHA256 64d7d6fdb53f0cc4163a0f1dc6cc94618f34a52c4836cf25a42f3769dfd46bbf SHA512 cf88c0f32a21193499720d24f215fb02e7a46ef07999ef59cdad9cad14f92399b3d2e46e8e6f54574dc77225a5b437608216da242971e0d6f35c71830371415a WHIRLPOOL 63af85f03e032ff034b7ce3331f8cb74ffa79c4621efb9873e0b3c76f3f9620439c11216f33d1e97c784f98ecff516048e53f66d88d51dc81578e7e535135588
diff --git a/net-libs/libiscsi/files/libiscsi-1.9.0-0001-Allow-users-to-disable-Werror-at-configure-time.patch b/net-libs/libiscsi/files/libiscsi-1.9.0-0001-Allow-users-to-disable-Werror-at-configure-time.patch
new file mode 100644
index 000000000000..31868ceab099
--- /dev/null
+++ b/net-libs/libiscsi/files/libiscsi-1.9.0-0001-Allow-users-to-disable-Werror-at-configure-time.patch
@@ -0,0 +1,35 @@
+From 2d43a056a9e7b57bc03d580a850a8dca534e61d5 Mon Sep 17 00:00:00 2001
+From: Doug Goldstein <doug.goldstein@pikewerks.com>
+Date: Wed, 5 Jun 2013 14:28:48 -0500
+Subject: [PATCH] Allow users to disable -Werror at configure time
+
+Some users and distro packagers might not want to build with -Werror,
+this allows them to disable using -Werror but enables it in the default
+case so as to maintain the current behavior.
+---
+ configure.ac | 8 +++++++-
+ 1 file changed, 7 insertions(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 9d06e3a..6dce230 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -11,8 +11,14 @@ AC_CANONICAL_HOST
+ AM_CONDITIONAL(LD_ISCSI,
+ [expr "$host_os" : linux > /dev/null 2>&1])
+
++AC_ARG_ENABLE([werror], [AS_HELP_STRING([--disable-werror],
++ [Disables building with -Werror by default])])
++
+ if test "$ac_cv_prog_gcc" = yes; then
+- WARN_CFLAGS="-Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wwrite-strings -Werror -Wno-strict-aliasing"
++ WARN_CFLAGS="-Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wwrite-strings -Wno-strict-aliasing"
++ if test "x$enable_werror" != "xno"; then
++ WARN_CFLAGS="$WARN_CFLAGS -Werror"
++ fi
+ fi
+ AC_SUBST(WARN_CFLAGS)
+
+--
+1.8.2.1
+
diff --git a/net-libs/libiscsi/libiscsi-1.9.0-r1.ebuild b/net-libs/libiscsi/libiscsi-1.9.0-r1.ebuild
new file mode 100644
index 000000000000..21b1d600cb85
--- /dev/null
+++ b/net-libs/libiscsi/libiscsi-1.9.0-r1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF="1"
+inherit eutils autotools-utils
+
+if [[ ${PV} = *9999* ]]; then
+ inherit git-2
+ SRC_URI=""
+ EGIT_REPO_URI="git://github.com/sahlberg/libiscsi.git"
+ KEYWORDS=""
+else
+ SRC_URI="https://github.com/sahlberg/libiscsi/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="amd64 x86"
+fi
+
+DESCRIPTION="iscsi client library and utilities"
+HOMEPAGE="https://github.com/sahlberg/libiscsi"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+QA_FLAGS_IGNORED="usr/bin/ld_iscsi.so"
+
+myeconfargs=( "--disable-werror" )
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-00*.patch
+
+ epatch_user
+
+ autotools-utils_src_prepare
+}
diff --git a/net-libs/libiscsi/libiscsi-1.9.0.ebuild b/net-libs/libiscsi/libiscsi-1.9.0.ebuild
new file mode 100644
index 000000000000..2be8c7b7e765
--- /dev/null
+++ b/net-libs/libiscsi/libiscsi-1.9.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF="1"
+inherit autotools-utils
+
+if [[ ${PV} = *9999* ]]; then
+ inherit git-2
+ SRC_URI=""
+ EGIT_REPO_URI="git://github.com/sahlberg/libiscsi.git"
+ KEYWORDS=""
+else
+ SRC_URI="https://github.com/sahlberg/libiscsi/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="amd64 x86"
+fi
+
+DESCRIPTION="iscsi client library and utilities"
+HOMEPAGE="https://github.com/sahlberg/libiscsi"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
diff --git a/net-libs/libiscsi/libiscsi-9999.ebuild b/net-libs/libiscsi/libiscsi-9999.ebuild
new file mode 100644
index 000000000000..bfb4ad5d3496
--- /dev/null
+++ b/net-libs/libiscsi/libiscsi-9999.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF="1"
+inherit autotools-utils
+
+if [[ ${PV} = *9999* ]]; then
+ inherit git-2
+ SRC_URI=""
+ EGIT_REPO_URI="git://github.com/sahlberg/libiscsi.git"
+ KEYWORDS=""
+else
+ SRC_URI="https://github.com/sahlberg/libiscsi/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+DESCRIPTION="iscsi client library and utilities"
+HOMEPAGE="https://github.com/sahlberg/libiscsi"
+
+LICENSE="GPL-2 LGPL-2"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
diff --git a/net-libs/libiscsi/metadata.xml b/net-libs/libiscsi/metadata.xml
new file mode 100644
index 000000000000..71ac53483b26
--- /dev/null
+++ b/net-libs/libiscsi/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>ryao@gentoo.org</email>
+ <name>Richard Yao</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">sahlberg/libiscsi</remote-id>
+ </upstream>
+</pkgmetadata>