package created using the webbuild interface [release 2.0_873-1mamba;Tue Jun 24 2014]
This commit is contained in:
parent
49f9a3970f
commit
b228462fe6
@ -1,2 +1,4 @@
|
||||
# open-iscsi
|
||||
|
||||
Open-iSCSI project is a high performance, transport independent, multi-platform implementation of RFC3720.
|
||||
|
||||
|
30
open-iscsi-2.0_873-slp.patch
Normal file
30
open-iscsi-2.0_873-slp.patch
Normal file
@ -0,0 +1,30 @@
|
||||
--- open-iscsi-2.0-872.orig/utils/open-isns/configure.ac
|
||||
+++ open-iscsi-2.0-872/utils/open-isns/configure.ac
|
||||
@@ -79,7 +79,7 @@ AC_ARG_WITH(slp,
|
||||
WITH_SLP=$withval
|
||||
else
|
||||
WITH_SLP=yes
|
||||
- CPPFLAGS="$CPPFLAGS -I${withval}"
|
||||
+ CPPFLAGS="$CPPFLAGS -I${withval} -lslp"
|
||||
LDFLAGS="$LDFLAGS -L${withval}"
|
||||
fi
|
||||
]
|
||||
diff -Nru open-iscsi-2.0-873.orig/usr/Makefile open-iscsi-2.0-873/usr/Makefile
|
||||
--- open-iscsi-2.0-873.orig/usr/Makefile 2012-05-21 02:59:24.000000000 +0200
|
||||
+++ open-iscsi-2.0-873/usr/Makefile 2014-06-24 02:32:04.121491125 +0200
|
||||
@@ -54,10 +54,10 @@
|
||||
|
||||
iscsid: $(ISCSI_LIB_SRCS) $(INITIATOR_SRCS) $(DISCOVERY_SRCS) \
|
||||
iscsid.o session_mgmt.o discoveryd.o
|
||||
- $(CC) $(CFLAGS) $^ -o $@ -L../utils/open-isns -lisns
|
||||
+ $(CC) $(CFLAGS) $^ -o $@ -L../utils/open-isns -lisns -lslp
|
||||
|
||||
iscsiadm: $(ISCSI_LIB_SRCS) $(DISCOVERY_SRCS) iscsiadm.o session_mgmt.o
|
||||
- $(CC) $(CFLAGS) $^ -o $@ -L../utils/open-isns -lisns
|
||||
+ $(CC) $(CFLAGS) $^ -o $@ -L../utils/open-isns -lisns -lslp
|
||||
|
||||
iscsistart: $(ISCSI_LIB_SRCS) $(INITIATOR_SRCS) $(FW_BOOT_SRCS) \
|
||||
iscsistart.o statics.o
|
||||
Binary files open-iscsi-2.0-873.orig/utils/iscsi-iname and open-iscsi-2.0-873/utils/iscsi-iname differ
|
||||
Binary files open-iscsi-2.0-873.orig/utils/iscsi-iname.o and open-iscsi-2.0-873/utils/iscsi-iname.o differ
|
||||
Binary files open-iscsi-2.0-873.orig/utils/md5.o and open-iscsi-2.0-873/utils/md5.o differ
|
61
open-iscsi.spec
Normal file
61
open-iscsi.spec
Normal file
@ -0,0 +1,61 @@
|
||||
%define pkgver %(echo %version | tr _ -)
|
||||
Name: open-iscsi
|
||||
Version: 2.0_873
|
||||
Release: 1mamba
|
||||
Summary: A high performance, transport independent, multi-platform implementation of RFC3720
|
||||
Group: System/Kernel and Hardware
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://www.open-iscsi.org/
|
||||
Source: http://www.open-iscsi.org/bits/open-iscsi-%{pkgver}.tar.gz
|
||||
Patch0: open-iscsi-2.0_873-slp.patch
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libopenslp-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
Open-iSCSI project is a high performance, transport independent, multi-platform implementation of RFC3720.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}-%{pkgver}
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
|
||||
install -D -m0755 usr/iscsistart %{buildroot}/sbin/iscsistart
|
||||
install -D -m0644 doc/iscsistart.8 %{buildroot}%{_mandir}/man8/iscsistart.8
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%dir %{_sysconfdir}/iscsi
|
||||
%dir %{_sysconfdir}/iscsi/ifaces
|
||||
%{_sysconfdir}/iscsi/ifaces/iface.example
|
||||
%{_sysconfdir}/iscsi/initiatorname.iscsi
|
||||
%config(noreplace) %{_sysconfdir}/iscsi/iscsid.conf
|
||||
/sbin/iscsi-iname
|
||||
/sbin/iscsi_discovery
|
||||
/sbin/iscsiadm
|
||||
/sbin/iscsid
|
||||
/sbin/iscsistart
|
||||
%{_mandir}/man8/iscsi_discovery.8*
|
||||
%{_mandir}/man8/iscsiadm.8*
|
||||
%{_mandir}/man8/iscsid.8*
|
||||
%{_mandir}/man8/iscsistart.8*
|
||||
%doc COPYING THANKS
|
||||
|
||||
%changelog
|
||||
* Tue Jun 24 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0_873-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user