From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Feb 3 18:40:01 2009 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 B71271065675 for ; Tue, 3 Feb 2009 18:40:01 +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 9071A8FC2A for ; Tue, 3 Feb 2009 18:40:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n13Ie1sb084522 for ; Tue, 3 Feb 2009 18:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n13Ie1C2084521; Tue, 3 Feb 2009 18:40:01 GMT (envelope-from gnats) Resent-Date: Tue, 3 Feb 2009 18:40:01 GMT Resent-Message-Id: <200902031840.n13Ie1C2084521@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, Brad Huntting Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 459291065670 for ; Tue, 3 Feb 2009 18:39:28 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 28FC38FC19 for ; Tue, 3 Feb 2009 18:39:28 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n13IdRwD086424 for ; Tue, 3 Feb 2009 18:39:27 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id n13IdRfx086393; Tue, 3 Feb 2009 18:39:27 GMT (envelope-from nobody) Message-Id: <200902031839.n13IdRfx086393@www.freebsd.org> Date: Tue, 3 Feb 2009 18:39:27 GMT From: Brad Huntting To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/131344: New port: sysutils/smp_utils Utilities for Serial Attached SCSI (SAS) Management Protocol (SMP). 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: Tue, 03 Feb 2009 18:40:02 -0000 >Number: 131344 >Category: ports >Synopsis: New port: sysutils/smp_utils Utilities for Serial Attached SCSI (SAS) Management Protocol (SMP). >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Feb 03 18:40:01 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Brad Huntting >Release: 7.1-RELEASE >Organization: >Environment: FreeBSD spork.glarp.com 7.1-STABLE FreeBSD 7.1-STABLE #0: Mon Feb 2 14:11:32 MST 2009 root@spork.copansys.com:/usr/src/sys/amd64/compile/SPORK amd64 >Description: The smp_utils package contains utilities for the Serial Attached SCSI (SAS) Management Protocol (SMP). WWW: http://sg.danny.cz/sg/smp_utils.html >How-To-Repeat: >Fix: Patch attached with submission follows: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # smp_utils # smp_utils/distinfo # smp_utils/files # smp_utils/files/patch-Makefile.freebsd # smp_utils/files/patch-mpt::Makefile.freebsd # smp_utils/pkg-descr # smp_utils/pkg-plist # smp_utils/Makefile # echo c - smp_utils mkdir -p smp_utils > /dev/null 2>&1 echo x - smp_utils/distinfo sed 's/^X//' >smp_utils/distinfo << 'beac447a16030ca3432a2fea31840a5c' XMD5 (smp_utils-0.94.tgz) = 301917fef92726c947b8623813c2cdfc XSHA256 (smp_utils-0.94.tgz) = e386fa84e8ec86d252c0fa152cd3fce559d05c6e31b9309d7740bd5a7d88c04d XSIZE (smp_utils-0.94.tgz) = 109606 beac447a16030ca3432a2fea31840a5c echo c - smp_utils/files mkdir -p smp_utils/files > /dev/null 2>&1 echo x - smp_utils/files/patch-Makefile.freebsd sed 's/^X//' >smp_utils/files/patch-Makefile.freebsd << 'fc1a065b69eb7a50367e9f2f60bd14e9' X--- Makefile.freebsd.orig 2008-01-06 09:43:20.000000000 -0700 X+++ Makefile.freebsd 2009-02-03 10:55:53.000000000 -0700 X@@ -1,11 +1,8 @@ X SHELL = /bin/sh X X-PREFIX=/usr/local X INSTDIR=$(DESTDIR)/$(PREFIX)/bin X MANDIR=$(DESTDIR)/$(PREFIX)/share/man X X-LD = $(CC) X- X EXECS = smp_rep_general smp_rep_manufacturer smp_discover smp_phy_control \ X smp_rep_phy_err_log smp_rep_phy_sata smp_rep_route_info \ X smp_read_gpio smp_conf_route_info smp_write_gpio smp_phy_test \ X@@ -16,29 +13,9 @@ X smp_rep_phy_sata.8 smp_rep_route_info.8 smp_read_gpio.8 \ X smp_conf_route_info.8 smp_write_gpio.8 smp_phy_test.8 \ X smp_discover_list.8 smp_conf_general.8 smp_rep_exp_route_tbl.8 X-MAN_PREF = man8 X- X-INCLUDES = -I include X- X-OS_FLAGS = -DSMP_UTILS_FREEBSD X-LARGE_FILE_FLAGS = -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 X-EXTRA_FLAGS = $(OS_FLAGS) $(LARGE_FILE_FLAGS) X- X-# CFLAGS = -O2 -Wall -W $(EXTRA_FLAGS) X-# CFLAGS = -g -O2 -Wall -W $(EXTRA_FLAGS) X-CFLAGS = -g -O2 -Wall -W -pedantic -std=c99 $(EXTRA_FLAGS) X- X-CFLAGS_PTHREADS = -D_REENTRANT X- X-LDFLAGS = X-# LDFLAGS = -v -lm X X-# $(SDIRS): X-# set -e; for i in $(SDIRS); \ X-# do $(MAKE) -C $$i CFLAGS="$(CFLAGS)" ; done X- X-.c.o: X- $(CC) $(INCLUDES) $(CFLAGS) -c -o $@ $< X+CFLAGS+= -DSMP_UTILS_FREEBSD -Iinclude X+LDLIBS+= libsmp.a -lm X X all: sub_mpt libsmp.a $(EXECS) X X@@ -46,7 +23,7 @@ X cd mpt && $(MAKE) -f Makefile.freebsd X X libsmp.a : smp_lib.o smp_interface_sel.o mpt/smp_mptctl_io.o X- ar r libsmp.a smp_lib.o smp_interface_sel.o mpt/smp_mptctl_io.o X+ ${AR} r libsmp.a smp_lib.o smp_interface_sel.o mpt/smp_mptctl_io.o X X depend dep: X cd mpt && $(MAKE) dep X@@ -58,65 +35,3 @@ X cd mpt && $(MAKE) -f Makefile.freebsd clean X /bin/rm -f *.o $(EXECS) core* .depend *.a *.la *.lo X /bin/rm -rf .libs X- X-smp_rep_general: smp_rep_general.o libsmp.a X- $(LD) -o $@ $(LDFLAGS) $@.o libsmp.a X- X-smp_rep_manufacturer: smp_rep_manufacturer.o libsmp.a X- $(LD) -o $@ $(LDFLAGS) $@.o libsmp.a X- X-smp_discover: smp_discover.o libsmp.a X- $(LD) -o $@ $(LDFLAGS) $@.o libsmp.a X- X-smp_phy_control: smp_phy_control.o libsmp.a X- $(LD) -o $@ $(LDFLAGS) $@.o libsmp.a X- X-smp_rep_phy_err_log: smp_rep_phy_err_log.o libsmp.a X- $(LD) -o $@ $(LDFLAGS) $@.o libsmp.a X- X-smp_rep_phy_sata: smp_rep_phy_sata.o libsmp.a X- $(LD) -o $@ $(LDFLAGS) $@.o libsmp.a X- X-smp_rep_route_info: smp_rep_route_info.o libsmp.a X- $(LD) -o $@ $(LDFLAGS) $@.o libsmp.a X- X-smp_read_gpio: smp_read_gpio.o libsmp.a X- $(LD) -o $@ $(LDFLAGS) $@.o libsmp.a X- X-smp_conf_route_info: smp_conf_route_info.o libsmp.a X- $(LD) -o $@ $(LDFLAGS) $@.o libsmp.a X- X-smp_write_gpio: smp_write_gpio.o libsmp.a X- $(LD) -o $@ $(LDFLAGS) $@.o libsmp.a X- X-smp_phy_test: smp_phy_test.o libsmp.a X- $(LD) -o $@ $(LDFLAGS) $@.o libsmp.a X- X-smp_discover_list: smp_discover_list.o libsmp.a X- $(LD) -o $@ $(LDFLAGS) $@.o libsmp.a X- X-smp_conf_general: smp_conf_general.o libsmp.a X- $(LD) -o $@ $(LDFLAGS) $@.o libsmp.a X- X-smp_rep_exp_route_tbl: smp_rep_exp_route_tbl.o libsmp.a X- $(LD) -o $@ $(LDFLAGS) $@.o libsmp.a X- X-install: $(EXECS) X- install -d $(INSTDIR) X- for name in $^; \ X- do install -s -o root -g root -m 755 $$name $(INSTDIR); \ X- done X- install -d $(MANDIR)/$(MAN_PREF) X- for mp in $(MAN_PGS); \ X- do install -o root -g root -m 644 $$mp $(MANDIR)/$(MAN_PREF); \ X- gzip -9f $(MANDIR)/$(MAN_PREF)/$$mp; \ X- done X- X-uninstall: X- dists="$(EXECS)"; \ X- for name in $$dists; do \ X- rm -f $(INSTDIR)/$$name; \ X- done X- for mp in $(MAN_PGS); do \ X- rm -f $(MANDIR)/$(MAN_PREF)/$$mp.gz; \ X- done fc1a065b69eb7a50367e9f2f60bd14e9 echo x - smp_utils/files/patch-mpt::Makefile.freebsd sed 's/^X//' >smp_utils/files/patch-mpt::Makefile.freebsd << 'efd849de14731cc8bf801cab7110992a' X--- /var/tmp/ports/home/huntting/src/smp_utils/work/smp_utils-0.94/mpt/Makefile.freebsd.orig 2008-01-06 09:43:20.000000000 -0700 X+++ /var/tmp/ports/home/huntting/src/smp_utils/work/smp_utils-0.94/mpt/Makefile.freebsd 2009-01-05 16:59:31.000000000 -0700 X@@ -1,28 +1,11 @@ X SHELL = /bin/sh X X-PREFIX=/usr/local X INSTDIR=$(DESTDIR)/$(PREFIX)/bin X MANDIR=$(DESTDIR)/$(PREFIX)/share/man X X-LD = $(CC) X- X EXECS = smp_mptctl_io.o X X-OS_FLAGS = -DSMP_UTILS_FREEBSD X-LARGE_FILE_FLAGS = -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 X-EXTRA_FLAGS = $(OS_FLAGS) $(LARGE_FILE_FLAGS) X- X-INCLUDES = -I ../include X- X-# CFLAGS = -O2 -Wall -W $(EXTRA_FLAGS) X-# CFLAGS = -g -O2 -Wall -W $(EXTRA_FLAGS) X-CFLAGS = -g -O2 -Wall -W -pedantic -std=c99 $(EXTRA_FLAGS) X- X-LDFLAGS = X-# LDFLAGS = -v -lm X- X-.c.o: X- $(CC) $(INCLUDES) $(CFLAGS) -c -o $@ $< X+CFLAGS+= -I ../include X X all: $(EXECS) X X@@ -33,23 +16,3 @@ X clean: X /bin/rm -f *.o $(EXECS) core* .depend *.a *.la *.lo X /bin/rm -rf .libs X- X-install: $(EXECS) X- install -d $(INSTDIR) X- for name in $^; \ X- do install -s -o root -g root -m 755 $$name $(INSTDIR); \ X- done X- install -d $(MANDIR)/$(MAN_PREF) X- for mp in $(MAN_PGS); \ X- do install -o root -g root -m 644 $$mp $(MANDIR)/$(MAN_PREF); \ X- gzip -9f $(MANDIR)/$(MAN_PREF)/$$mp; \ X- done X- X-uninstall: X- dists="$(EXECS)"; \ X- for name in $$dists; do \ X- rm -f $(INSTDIR)/$$name; \ X- done X- for mp in $(MAN_PGS); do \ X- rm -f $(MANDIR)/$(MAN_PREF)/$$mp.gz; \ X- done efd849de14731cc8bf801cab7110992a echo x - smp_utils/pkg-descr sed 's/^X//' >smp_utils/pkg-descr << '00e399691b3b7c0e0210da090b68ea7b' XThe smp_utils package contains utilities for the Serial Attached XSCSI (SAS) Management Protocol (SMP). X XWWW: http://sg.danny.cz/sg/smp_utils.html 00e399691b3b7c0e0210da090b68ea7b echo x - smp_utils/pkg-plist sed 's/^X//' >smp_utils/pkg-plist << 'e16d53e1e6963dfac54a323da547ac47' Xbin/smp_rep_general Xbin/smp_rep_manufacturer Xbin/smp_discover Xbin/smp_phy_control Xbin/smp_rep_phy_err_log Xbin/smp_rep_phy_sata Xbin/smp_rep_route_info Xbin/smp_read_gpio Xbin/smp_conf_route_info Xbin/smp_write_gpio Xbin/smp_phy_test Xbin/smp_discover_list Xbin/smp_conf_general Xbin/smp_rep_exp_route_tbl e16d53e1e6963dfac54a323da547ac47 echo x - smp_utils/Makefile sed 's/^X//' >smp_utils/Makefile << 'b78b8d0b6719ad6118ebaca227fcdd0c' X# ex:ts=8 X# New ports collection makefile for: smp_utils X# Date created: Jan 5 2009 X# Whom: Brad Huntting X# X# $FreeBSD$ X# X XPORTNAME= smp_utils XPORTVERSION= 0.94 XCATEGORIES= sysutils XMASTER_SITES= http://sg.danny.cz/sg/p/ XEXTRACT_SUFX= .tgz X XMAINTAINER= huntting@glarp.com XCOMMENT= Utilities for Serial Attached SCSI (SAS) Management Protocol (SMP). X XMAKEFILE= Makefile.freebsd X XEXECS= smp_rep_general smp_rep_manufacturer smp_discover smp_phy_control \ X smp_rep_phy_err_log smp_rep_phy_sata smp_rep_route_info \ X smp_read_gpio smp_conf_route_info smp_write_gpio smp_phy_test \ X smp_discover_list smp_conf_general smp_rep_exp_route_tbl X XMAN8= smp_utils.8 smp_rep_general.8 smp_rep_manufacturer.8 \ X smp_discover.8 smp_phy_control.8 smp_rep_phy_err_log.8 \ X smp_rep_phy_sata.8 smp_rep_route_info.8 smp_read_gpio.8 \ X smp_conf_route_info.8 smp_write_gpio.8 smp_phy_test.8 \ X smp_discover_list.8 smp_conf_general.8 smp_rep_exp_route_tbl.8 X Xdo-install: X.for execs in ${EXECS} X ${INSTALL_PROGRAM} ${WRKSRC}/${execs} ${PREFIX}/bin X.endfor X.for man in ${MAN8} X ${INSTALL_MAN} ${WRKSRC}/doc/${man} ${MAN8PREFIX}/man/man8/ X.endfor X X.include b78b8d0b6719ad6118ebaca227fcdd0c exit >Release-Note: >Audit-Trail: >Unformatted: