From g.olgeni@colby.it  Mon Oct  3 20:19:33 2011
Return-Path: <g.olgeni@colby.it>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id A17FB1065674
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  3 Oct 2011 20:19:33 +0000 (UTC)
	(envelope-from g.olgeni@colby.it)
Received: from mail.colby.tv (93-62-141-58.ip22.fastwebnet.it [93.62.141.58])
	by mx1.freebsd.org (Postfix) with ESMTP id 0C29C8FC12
	for <FreeBSD-gnats-submit@freebsd.org>; Mon,  3 Oct 2011 20:19:32 +0000 (UTC)
Received: from server.colby.local (localhost [127.0.0.1])
	by server.colby.local (8.14.4/8.14.4) with ESMTP id p93KJULn008873;
	Mon, 3 Oct 2011 22:19:30 +0200 (CEST)
	(envelope-from g.olgeni@colby.it)
Received: from exchange.colby.local ([192.168.1.11] helo=exchange.colby.local)
	with IPv4:25 by server.colby.local; 3 Oct 2011 22:19:30 +0200
Received: from backoffice.colby.local ([192.168.1.56]) by exchange.colby.local over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675);
	 Mon, 3 Oct 2011 22:19:30 +0200
Received: from backoffice.colby.local (localhost [127.0.0.1])
	by backoffice.colby.local (8.14.4/8.14.4) with ESMTP id p93KJUZH067756;
	Mon, 3 Oct 2011 22:19:30 +0200 (CEST)
	(envelope-from olgeni@backoffice.colby.local)
Received: (from olgeni@localhost)
	by backoffice.colby.local (8.14.4/8.14.4/Submit) id p93KJUlG067755;
	Mon, 3 Oct 2011 22:19:30 +0200 (CEST)
	(envelope-from olgeni)
Message-Id: <201110032019.p93KJUlG067755@backoffice.colby.local>
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: [PATCH] sysutils/gsmartcontrol: add support for /dev/adaN devices
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         161264
>Category:       ports
>Synopsis:       [PATCH] sysutils/gsmartcontrol: add support for /dev/adaN devices
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pawel
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Oct 03 20:20:07 UTC 2011
>Closed-Date:    Mon Oct 03 21:53:31 UTC 2011
>Last-Modified:  Mon Oct  3 22:00:24 UTC 2011
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->pawel 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Oct 3 20:20:17 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=161264 
State-Changed-From-To: open->closed 
State-Changed-By: pawel 
State-Changed-When: Mon Oct 3 21:53:30 UTC 2011 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=161264 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/161264: commit references a PR
Date: Mon,  3 Oct 2011 21:53:20 +0000 (UTC)

 pawel       2011-10-03 21:53:07 UTC
 
   FreeBSD ports repository
 
   Modified files:
     sysutils/gsmartcontrol Makefile 
     sysutils/gsmartcontrol/files patch-data_gsmartcontrol-root.in 
   Added files:
     sysutils/gsmartcontrol/files 
                                  patch-src_applib_storage__detector__other.cpp 
   Log:
   - Add patch to recognize FreeBSD ATA CAM devices - ada(4)  [1]
   - Fix launching from desktop entry - now sudoing actually works
   
   PR:             ports/161264 [1]
   Submitted by:   olgeni@ [1]
   Approved by:    miwi, wen (mentors implicit)
   
   Revision  Changes    Path
   1.10      +3 -1      ports/sysutils/gsmartcontrol/Makefile
   1.2       +13 -4     ports/sysutils/gsmartcontrol/files/patch-data_gsmartcontrol-root.in
   1.1       +13 -0     ports/sysutils/gsmartcontrol/files/patch-src_applib_storage__detector__other.cpp (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
