| Anonymous | Login | Signup for a new account | 11-10-2008 11:02 PST |
| Main | My View | View Issues | Change Log | Docs |
| Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
| ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| 0000898 | [buildroot] New Features | feature | N/A | 06-07-06 09:28 | 02-12-07 05:33 | |||||||
| Reporter | Gregory Haskins | View Status | public | |||||||||
| Assigned To | buildroot | |||||||||||
| Priority | normal | Resolution | open | |||||||||
| Status | assigned | Product Version | 0.9.27 | |||||||||
| Summary | 0000898: [PATCH] New feature: iscsi support | |||||||||||
| Description |
Index: package/Config.in =================================================================== --- package/Config.in (revision 15298) +++ package/Config.in (working copy) @@ -97,6 +97,7 @@ source "package/netsnmp/Config.in" source "package/newt/Config.in" source "package/ntp/Config.in" +source "package/open-iscsi/Config.in" source "package/openntpd/Config.in" source "package/openssh/Config.in" source "package/openssl/Config.in" Index: package/open-iscsi/open-iscsi.mk =================================================================== --- package/open-iscsi/open-iscsi.mk (revision 0) +++ package/open-iscsi/open-iscsi.mk (revision 0) @@ -0,0 +1,57 @@ +############################################################# +# +# open-iscsi +# +############################################################# + +OPENISCSI_VER:=1.0-485 +OPENISCSI_SITE:=http://www.open-iscsi.org/bits [^] +OPENISCSI_DIR:=$(BUILD_DIR)/open-iscsi-$(OPENISCSI_VER) +OPENISCSI_SOURCE:=open-iscsi-$(OPENISCSI_VER).tar.gz + +$(DL_DIR)/$(OPENISCSI_SOURCE): + $(WGET) -P $(DL_DIR) $(OPENISCSI_SITE)/$(OPENISCSI_SOURCE) + +$(OPENISCSI_DIR)/.unpacked: $(DL_DIR)/$(OPENISCSI_SOURCE) + zcat $(DL_DIR)/$(OPENISCSI_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -; + cat package/open-iscsi/open-iscsi-$(OPENISCSI_VER).patch | (cd $(OPENISCSI_DIR); patch -p1); + touch $(OPENISCSI_DIR)/.unpacked + +BINS = iscsid iscsiadm +TARGET_BINS:=$(patsubst %,$(TARGET_DIR)/sbin/%, $(BINS)) + +#$(OPENISCSI_DIR)/usr/%: open-iscsi-unpack +# @echo "Building $(notdir $@)" +# cd $(OPENISCSI_DIR)/usr; $(MAKE) $(notdir $@) CC=$(TARGET_CC) +# +#$(TARGET_DIR)/sbin/%: $(OPENISCSI_DIR)/usr/% +# @echo "Installing $(notdir $@)" +# cp $^ $@ + +$(TARGET_DIR)/sbin/%: open-iscsi-unpack + @echo "Building $(notdir $@)" + cd $(OPENISCSI_DIR)/usr; $(MAKE) $(notdir $@) CC=$(TARGET_CC) + @echo "Installing $(notdir $@)" + cp $(OPENISCSI_DIR)/usr/$(notdir $@) $@ + +open-iscsi: berkeleydb $(TARGET_BINS) + +open-iscsi-source: $(DL_DIR)/$(OPENISCSI_SOURCE) + +open-iscsi-unpack: $(OPENISCSI_DIR)/.unpacked + +open-iscsi-clean: + -$(MAKE) -C $(OPENISCSI_DIR) clean + -rm -f $(TARGET_BINS) + +open-iscsi-dirclean: + rm -rf $(OPENISCSI_DIR) + +############################################################# +# +# Toplevel Makefile options +# +############################################################# +ifeq ($(strip $(BR2_PACKAGE_OPENISCSI)),y) +TARGETS+=open-iscsi +endif Index: package/open-iscsi/open-iscsi-1.0-485.patch =================================================================== --- package/open-iscsi/open-iscsi-1.0-485.patch (revision 0) +++ package/open-iscsi/open-iscsi-1.0-485.patch (revision 0) @@ -0,0 +1,12 @@ +diff -Naur open-iscsi-1.0-485.orig/usr/Makefile open-iscsi-1.0-485/usr/Makefile +--- open-iscsi-1.0-485.orig/usr/Makefile 2006-02-02 03:13:44.000000000 -0500 ++++ open-iscsi-1.0-485/usr/Makefile 2006-06-07 11:16:59.000000000 -0400 +@@ -21,7 +21,7 @@ + endif + endif + IPC_OBJ=netlink.o +-DBM_LIB=-ldb ++DBM_LIB=-ldb -lpthread + else + ifeq ($(OSNAME),FreeBSD) + IPC_CFLAGS= Index: package/open-iscsi/Config.in =================================================================== --- package/open-iscsi/Config.in (revision 0) +++ package/open-iscsi/Config.in (revision 0) @@ -0,0 +1,8 @@ +config BR2_PACKAGE_OPENISCSI + bool "open-iscsi" + default n + select BR2_PACKAGE_BERKELEYDB + help + An iSCSI Initiator tools package. Requires kernel support + + http://www.open-iscsi.com/ [^] |
|||||||||||
| Additional Information | ||||||||||||
| Attached Files | ||||||||||||
|
|
||||||||||||
| Copyright © 2000 - 2006 Mantis Group |