FreeBSD Bugzilla – Attachment 180289 Details for
Bug 217355
emulators/qemu: add iSCSI option; add port net/libiscsi
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to create net/libiscsi and to add ISCSI option to emulators/qemu-sbruno
patch.txt (text/plain), 3.13 KB, created by
Martin Birgmeier
on 2017-02-25 16:22:41 UTC
(
hide
)
Description:
patch to create net/libiscsi and to add ISCSI option to emulators/qemu-sbruno
Filename:
MIME Type:
Creator:
Martin Birgmeier
Created:
2017-02-25 16:22:41 UTC
Size:
3.13 KB
patch
obsolete
>--- net/libiscsi/distinfo.ORIG 2017-02-25 16:20:19.577422000 +0100 >+++ net/libiscsi/distinfo 2017-02-25 11:17:46.906010000 +0100 >@@ -0,0 +1,2 @@ >+SHA256 (sahlberg-libiscsi-1.18.0_GH0.tar.gz) = 464d104e12533dc11f0dd7662cbc2f01c132f94aa4f5bd519e3413ef485830e8 >+SIZE (sahlberg-libiscsi-1.18.0_GH0.tar.gz) = 271603 >--- net/libiscsi/Makefile.ORIG 2017-02-25 16:20:19.581827000 +0100 >+++ net/libiscsi/Makefile 2017-02-25 11:48:07.679981000 +0100 >@@ -0,0 +1,25 @@ >+# Created by: M. Birgmeier >+# $FreeBSD$ >+ >+PORTNAME= libiscsi >+DISTVERSION= 1.18.0 >+CATEGORIES= net >+ >+MAINTAINER= la5lbtyi@aon.at >+COMMENT= Client-side library to implement the iSCSI protocol >+ >+LICENSE_COMB= multi >+LICENSE= LGPL21+ GPLv2+ >+LICENSE_FILE= ${WRKSRC}/LICENSE ${WRKSRC}/LICENCE-LGPL-2.1.txt ${WRKSRC}/LICENCE-GPL-2.txt >+ >+USE_GITHUB= yes >+GH_ACCOUNT= sahlberg >+ >+USES= autoreconf:build libtool:build pathfix >+ >+GNU_CONFIGURE= yes >+ >+pre-configure: >+ @(cd ${WRKSRC} && ./autogen.sh) >+ >+.include <bsd.port.mk> >--- net/libiscsi/pkg-descr.ORIG 2017-02-25 16:20:19.586191000 +0100 >+++ net/libiscsi/pkg-descr 2017-02-25 11:16:06.214226000 +0100 >@@ -0,0 +1,8 @@ >+Libiscsi is a client-side library to implement the iSCSI protocol >+that can be used to access the resources of an iSCSI target. >+ >+The library is fully asynchronous with regards to iSCSI commands >+and SCSI tasks, but a synchronous layer is also provided for ease >+of use for simpler applications. >+ >+https://github.com/sahlberg/libiscsi >--- net/libiscsi/pkg-plist.ORIG 2017-02-25 16:20:19.590576000 +0100 >+++ net/libiscsi/pkg-plist 2017-02-25 11:48:32.314931000 +0100 >@@ -0,0 +1,16 @@ >+bin/iscsi-inq >+bin/iscsi-ls >+bin/iscsi-perf >+bin/iscsi-readcapacity16 >+bin/iscsi-swp >+include/iscsi/iscsi.h >+include/iscsi/scsi-lowlevel.h >+lib/libiscsi.so.8.0.0 >+lib/libiscsi.so.8 >+lib/libiscsi.so >+lib/libiscsi.a >+libdata/pkgconfig/libiscsi.pc >+man/man1/iscsi-swp.1.gz >+man/man1/iscsi-test-cu.1.gz >+man/man1/iscsi-inq.1.gz >+man/man1/iscsi-ls.1.gz >--- emulators/qemu-sbruno/Makefile.ORIG 2017-02-23 18:31:49.329724000 +0100 >+++ emulators/qemu-sbruno/Makefile 2017-02-25 11:54:06.495447000 +0100 >@@ -30,7 +30,7 @@ > > OPTIONS_DEFINE= SAMBA X11 GTK2 OPENGL GNUTLS SASL JPEG PNG CURL \ > CDROM_DMA PCAP USBREDIR X86_TARGETS BSD_USER \ >- STATIC_LINK DOCS >+ STATIC_LINK DOCS ISCSI > SAMBA_DESC= samba dependency (for -smb) > GNUTLS_DESC= gnutls dependency (vnc encryption) > SASL_DESC= cyrus-sasl dependency (vnc encryption) >@@ -42,7 +42,8 @@ > X86_TARGETS_DESC= Don't build non-x86 system targets > BSD_USER_DESC= Also build bsd-user targets (for testing) > STATIC_LINK_DESC= Statically link the executables >-OPTIONS_DEFAULT=X11 GTK2 OPENGL GNUTLS SASL JPEG PNG CDROM_DMA CURL PCAP >+ISCSI_DESC= libiscsi dependency (iSCSI client for emulated drives) >+OPTIONS_DEFAULT=X11 GTK2 OPENGL GNUTLS SASL JPEG PNG CDROM_DMA CURL PCAP ISCSI > > .if !defined(QEMU_USER_STATIC) > CONFLICTS_INSTALL= qemu-[0-9]* qemu-devel-* >@@ -166,6 +167,12 @@ > LIB_DEPENDS+= libsasl2.so:security/cyrus-sasl2 > .endif > >+.if empty(PORT_OPTIONS:MISCSI) >+CONFIGURE_ARGS+= --disable-libiscsi >+.else >+LIB_DEPENDS+= libiscsi.so:net/libiscsi >+.endif >+ > .if empty(PORT_OPTIONS:MJPEG) > CONFIGURE_ARGS+= --disable-vnc-jpeg > .else
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 217355
:
180289
|
213958
|
213959
|
213975
|
214933