Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Oct 2011 22:19:30 +0200 (CEST)
From:      Jimmy Olgeni <olgeni@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        pawel@FreeBSD.org
Subject:   ports/161264: [PATCH] sysutils/gsmartcontrol: add support for /dev/adaN devices
Message-ID:  <201110032019.p93KJUlG067755@backoffice.colby.local>
Resent-Message-ID: <201110032020.p93KK89O043462@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         161264
>Category:       ports
>Synopsis:       [PATCH] sysutils/gsmartcontrol: add support for /dev/adaN devices
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 03 20:20:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Jimmy Olgeni
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
>Environment:
System: FreeBSD olgeni 8.2-STABLE FreeBSD 8.2-STABLE #1: Sat Sep 24 11:41:10 CEST 2011
>Description:
A small patch to recognize FreeBSD ATA CAM devices, which are already handled by smartmontools.

Added file(s):
- files/patch-src_applib_storage__detector__other.cpp

Port maintainer (pawel@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- gsmartcontrol-0.8.6_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/sysutils/gsmartcontrol/Makefile,v
retrieving revision 1.9
diff -u -u -r1.9 Makefile
--- Makefile	5 Jul 2011 19:16:54 -0000	1.9
+++ Makefile	3 Oct 2011 20:16:16 -0000
@@ -7,6 +7,7 @@
 
 PORTNAME=		gsmartcontrol
 PORTVERSION=		0.8.6
+PORTREVISION=		1
 CATEGORIES=		sysutils
 MASTER_SITES=		${MASTER_SITE_BERLIOS}
 MASTER_SITE_SUBDIR=	${PORTNAME}
Index: files/patch-src_applib_storage__detector__other.cpp
===================================================================
RCS file: files/patch-src_applib_storage__detector__other.cpp
diff -N files/patch-src_applib_storage__detector__other.cpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-src_applib_storage__detector__other.cpp	3 Oct 2011 20:16:16 -0000
@@ -0,0 +1,13 @@
+
+$FreeBSD$
+
+--- src/applib/storage_detector_other.cpp.orig
++++ src/applib/storage_detector_other.cpp
+@@ -75,6 +75,7 @@
+ 
+ 	whitelist.push_back("/^ad[0-9]+$/");  // adN without suffix - fbsd ide
+ 	whitelist.push_back("/^da[0-9]+$/");  // daN without suffix - fbsd scsi, usb
++	whitelist.push_back("/^ada[0-9]+$/");  // adaN without suffix - fbsd ata cam
+ // 	whitelist.push_back("/	^sa[0-9]+$/");  // saN without suffix - fbsd scsi tape
+ // 	whitelist.push_back("/^ast[0-9]+$/");  // astN without suffix - fbsd ide tape
+ 	whitelist.push_back("/^aacd[0-9]+$/");  // fbsd adaptec raid
--- gsmartcontrol-0.8.6_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110032019.p93KJUlG067755>