From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Apr 19 07:20:02 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 386C41065678 for ; Sat, 19 Apr 2008 07:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 15ECE8FC22 for ; Sat, 19 Apr 2008 07:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3J7K1qH049790 for ; Sat, 19 Apr 2008 07:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3J7K1kK049789; Sat, 19 Apr 2008 07:20:01 GMT (envelope-from gnats) Resent-Date: Sat, 19 Apr 2008 07:20:01 GMT Resent-Message-Id: <200804190720.m3J7K1kK049789@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Mark D. Foster" Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F1CE9106566B for ; Sat, 19 Apr 2008 07:17:26 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B141B8FC0C for ; Sat, 19 Apr 2008 07:17:26 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (linimon@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m3J7HQgL049566 for ; Sat, 19 Apr 2008 07:17:26 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m3J7HQeF049565; Sat, 19 Apr 2008 07:17:26 GMT (envelope-from linimon) Message-Id: <200804190717.m3J7HQeF049565@freefall.freebsd.org> Date: Sat, 19 Apr 2008 07:17:26 GMT From: "Mark D. Foster" To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/122903: Update port: net/iscsi-target X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Apr 2008 07:20:02 -0000 >Number: 122903 >Category: ports >Synopsis: Update port: net/iscsi-target >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Sat Apr 19 07:20:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Mark Foster >Release: FreeBSD 7.0-RELEASE sparc64 >Organization: >Environment: System: FreeBSD sonar.foster.dmz 7.0-RELEASE FreeBSD 7.0-RELEASE #15: Thu Apr 3 17:17:41 PDT 2008 root@sonar.foster.dmz:/usr/obj/usr/src/sys/GENERIC sparc64 >Description: Fixes sparc64 & ppc bug with patch provided by ports/122898 Also adds a pkg-message and minor tweak to pkg-plist >How-To-Repeat: >Fix: --- iscsi-target-20080207_2.patch begins here --- diff -urN iscsi-target.old/Makefile iscsi-target/Makefile --- iscsi-target.old/Makefile 2008-03-16 04:16:11.000000000 -0700 +++ iscsi-target/Makefile 2008-04-18 22:27:04.000000000 -0700 @@ -7,7 +7,7 @@ PORTNAME= iscsi PORTVERSION= 20080207 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net MASTER_SITES= ftp://ftp.netbsd.org/pub/pkgsrc/distfiles/ \ http://www.magnesium.net/~mdf/distfiles/ @@ -55,3 +55,4 @@ .endfor .include + @${CAT} ${PKGMESSAGE} diff -urN iscsi-target.old/files/patch-iscsiutil iscsi-target/files/patch-iscsiutil --- iscsi-target.old/files/patch-iscsiutil 1969-12-31 16:00:00.000000000 -0800 +++ iscsi-target/files/patch-iscsiutil 2008-04-18 21:35:31.000000000 -0700 @@ -0,0 +1,23 @@ +--- ../include/iscsiutil.h 2007-11-12 15:25:40.000000000 -0800 ++++ ../include/iscsiutil.h 2008-04-18 21:31:18.000000000 -0700 +@@ -77,16 +77,20 @@ + #define ISCSI_HTONLL6(x) (uint64_t) \ + ( ((uint64_t)( ((uint64_t)(x) & (uint64_t)0x0000ff0000000000uLL) >> 40)) \ + | ((uint64_t)( ((uint64_t)(x) & (uint64_t)0x000000ff00000000uLL) >> 24)) \ ++ | ((uint64_t)( ((uint64_t)(x) & (uint64_t)0xffffffffffff0000uLL) >> 16)) \ + | ((uint64_t)( ((uint64_t)(x) & (uint64_t)0x00000000ff000000uLL) >> 8)) \ + | ((uint64_t)( ((uint64_t)(x) & (uint64_t)0x0000000000ff0000uLL) << 8)) \ ++ | ((uint64_t)( ((uint64_t)(x) & (uint64_t)0x0000ffffffffffffuLL) << 16)) \ + | ((uint64_t)( ((uint64_t)(x) & (uint64_t)0x000000000000ff00uLL) << 24)) \ + | ((uint64_t)( ((uint64_t)(x) & (uint64_t)0x00000000000000ffuLL) << 40))) + + #define ISCSI_NTOHLL6(x) (uint64_t) \ + ( ((uint64_t)( ((uint64_t)(x) & (uint64_t)0x0000ff0000000000uLL) >> 40)) \ + | ((uint64_t)( ((uint64_t)(x) & (uint64_t)0x000000ff00000000uLL) >> 24)) \ ++ | ((uint64_t)( ((uint64_t)(x) & (uint64_t)0xffffffffffff0000uLL) >> 16)) \ + | ((uint64_t)( ((uint64_t)(x) & (uint64_t)0x00000000ff000000uLL) >> 8)) \ + | ((uint64_t)( ((uint64_t)(x) & (uint64_t)0x0000000000ff0000uLL) << 8)) \ ++ | ((uint64_t)( ((uint64_t)(x) & (uint64_t)0x0000ffffffffffffuLL) << 16)) \ + | ((uint64_t)( ((uint64_t)(x) & (uint64_t)0x000000000000ff00uLL) << 24)) \ + | ((uint64_t)( ((uint64_t)(x) & (uint64_t)0x00000000000000ffuLL) << 40))) + diff -urN iscsi-target.old/pkg-message iscsi-target/pkg-message --- iscsi-target.old/pkg-message 1969-12-31 16:00:00.000000000 -0800 +++ iscsi-target/pkg-message 2008-04-05 09:13:29.000000000 -0700 @@ -0,0 +1,3 @@ +To run iscsi-target server from startup, add iscsi_target_enable="YES" +to /etc/rc.conf. Extra options can be found in startup script. + diff -urN iscsi-target.old/pkg-plist iscsi-target/pkg-plist --- iscsi-target.old/pkg-plist 2006-10-07 08:25:26.000000000 -0700 +++ iscsi-target/pkg-plist 2008-04-18 21:42:30.000000000 -0700 @@ -14,4 +14,4 @@ @unexec if cmp -s %D/etc/iscsi/passwd.sample %D/etc/iscsi/passwd; then rm -f %D/etc/iscsi/passwd; fi etc/iscsi/passwd.sample @exec if [ ! -f %D/etc/iscsi/passwd ] ; then cp -p %D/%F %B/passwd; fi -@dirrm etc/iscsi +@dirrmtry etc/iscsi --- iscsi-target-20080207_2.patch ends here --- -- Said one park ranger, 'There is considerable overlap between the intelligence of the smartest bears and the dumbest tourists.' Mark D. Foster, CISSP http://mark.foster.cc/ >Release-Note: >Audit-Trail: >Unformatted: