From avg@pautina.in.ua  Fri Aug 27 19:39:53 2010
Return-Path: <avg@pautina.in.ua>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 6787A10656A9
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 27 Aug 2010 19:39:53 +0000 (UTC)
	(envelope-from avg@pautina.in.ua)
Received: from smtp.pautina-nau.net (smtp.pautina-nau.net [194.0.89.243])
	by mx1.freebsd.org (Postfix) with ESMTP id 243558FC0A
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 27 Aug 2010 19:39:52 +0000 (UTC)
Received: from [92.249.64.71] (helo=trant.local.)
	by smtp.pautina-nau.net with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.69)
	(envelope-from <avg@pautina.in.ua>)
	id 1Op4mF-0007bs-Kw; Fri, 27 Aug 2010 22:39:51 +0300
Received: from trant.local. (localhost [127.0.0.1])
	by trant.local. (8.14.4/8.14.4) with ESMTP id o7RJdpgD054700;
	Fri, 27 Aug 2010 22:39:51 +0300 (EEST)
	(envelope-from avg@trant.local)
Received: (from root@localhost)
	by trant.local. (8.14.4/8.14.4/Submit) id o7RJdph8054699;
	Fri, 27 Aug 2010 22:39:51 +0300 (EEST)
	(envelope-from avg)
Message-Id: <201008271939.o7RJdph8054699@trant.local.>
Date: Fri, 27 Aug 2010 22:39:51 +0300 (EEST)
From: Andriy Gapon <avg@icyb.net.ua>
To: FreeBSD-gnats-submit@freebsd.org
Cc: ports@christianserving.org
Subject: [PATCH] www/drraw: update to 2.2b2
X-Send-Pr-Version: 3.113
X-GNATS-Notify: ports@christianserving.org

>Number:         150050
>Category:       ports
>Synopsis:       [PATCH] www/drraw: update to 2.2b2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 27 19:40:04 UTC 2010
>Closed-Date:    Tue Sep 14 10:51:42 UTC 2010
>Last-Modified:  Tue Sep 14 11:00:02 UTC 2010
>Originator:     Andriy Gapon
>Release:        FreeBSD 9.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD trant 9.0-CURRENT FreeBSD 9.0-CURRENT #1 r211758+b3e4939-dirty: Tue Aug 24 22:37:03 EEST
>Description:
- Update to 2.2b2

Port maintainer (ports@christianserving.org) is cc'd.

Note that although the version is desgnated as beta ('b'), it was released more than
a year ago and my testing shows that it works without problems while adding
some new useful features.

The extra patch for zoom zupport is taken from here:
http://pero.blogs.aprilmayjune.org/2009/09/16/collectd-drrawcgi-zoom-into-your-graphs-like-you-used-to-with-cacti/

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

--- drraw-2.2b2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/www/drraw.orig/Makefile /usr/ports/www/drraw/Makefile
--- /usr/ports/www/drraw.orig/Makefile	2010-03-28 09:44:41.000000000 +0300
+++ /usr/ports/www/drraw/Makefile	2010-08-27 22:32:51.901591048 +0300
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	drraw
-PORTVERSION=	2.1.3
-PORTREVISION=	2
+PORTVERSION=	2.2b2
 CATEGORIES=	www
 MASTER_SITES=	http://web.taranis.org/drraw/dist/ \
 		http://christianserving.org/ports/mail/imapsync/
@@ -17,11 +16,13 @@
 
 RUN_DEPENDS+=	${SITE_PERL}/RRDp.pm:${PORTSDIR}/databases/rrdtool
 
+OPTIONS=	ZOOM_PATCH	"Zoom support using jQuery via external patch"	off
+
 USE_PERL5_RUN=	yes
 
 NO_BUILD=	yes
 
-PORTDOCS=	CHANGES INSTALL LICENSE README.EVENTS WISHLIST
+PORTDOCS=	CHANGES INSTALL LICENSE README.EVENTS
 
 CONFDIR?=	etc
 DATADIRS?=	"/var/db/rrdtool" => "[Label1] "
@@ -30,6 +31,13 @@
 
 PLIST_SUB+=	CONFDIR=${CONFDIR}
 
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_ZOOM_PATCH)
+PATCH_SITES=	http://pero.blogs.aprilmayjune.org/files/2009/09/
+PATCHFILES=	drraw.cgi.zoom_patch
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|%%CONFDIR%%|${PREFIX}/${CONFDIR}|g' ${WRKSRC}/drraw.cgi
 
@@ -64,4 +72,4 @@
 		${CP} -p ${PREFIX}/etc/drraw.conf-dist ${PREFIX}/etc/drraw.conf; \
 	fi
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/www/drraw.orig/distinfo /usr/ports/www/drraw/distinfo
--- /usr/ports/www/drraw.orig/distinfo	2007-06-22 09:30:21.000000000 +0300
+++ /usr/ports/www/drraw/distinfo	2010-08-27 22:30:22.438740523 +0300
@@ -1,3 +1,6 @@
-MD5 (drraw-2.1.3.tar.gz) = 99466034678b46784fcd4463882b6c8a
-SHA256 (drraw-2.1.3.tar.gz) = c3290781426f81327632b4b0da80360882438f3d44cca81fdeaa3f9b22c3674e
-SIZE (drraw-2.1.3.tar.gz) = 45970
+MD5 (drraw-2.2b2.tar.gz) = 704ac58d2b8d0141e38897b1fe86d8a0
+SHA256 (drraw-2.2b2.tar.gz) = 1583bb15673d48794a71fa12c3447f89046a1ff0ad89d414b5b25013b7751a91
+SIZE (drraw-2.2b2.tar.gz) = 53447
+MD5 (drraw.cgi.zoom_patch) = 08664351e5bcec22ba02ddce8086483e
+SHA256 (drraw.cgi.zoom_patch) = 9930deb7f6a1b0dfe5a005fd918b49ea62020a5a109c7ef68fd7ac8a82fddaa2
+SIZE (drraw.cgi.zoom_patch) = 5733
diff -ruN --exclude=CVS /usr/ports/www/drraw.orig/files/patch-drraw.conf /usr/ports/www/drraw/files/patch-drraw.conf
--- /usr/ports/www/drraw.orig/files/patch-drraw.conf	2006-09-13 13:35:59.000000000 +0300
+++ /usr/ports/www/drraw/files/patch-drraw.conf	2010-08-27 22:37:11.752383114 +0300
@@ -1,9 +1,10 @@
 --- drraw.conf.orig	Sat Nov 13 14:01:22 2004
 +++ drraw.conf	Mon Jul 24 13:39:49 2006
-@@ -21,8 +21,7 @@
+@@ -21,9 +21,8 @@
  # Directories where Round Robin Databases may be found
  # They will be searched recursively for files matching *.rrd (Round Robin
  # Database files) and *.evt (Event files).
+ # NOTE: Specify directory paths without any trailing slash
 -%datadirs = ('/here/are/some/files'  => '[Label1] ',
 -             '/here/are/other/files' => '[Label2] ',
 +%datadirs = (%%DATADIRS%%
--- drraw-2.2b2.patch ends here ---

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Fri Aug 27 19:40:23 UTC 2010 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

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

From: Edwin Groothuis <edwin@FreeBSD.org>
To: ports@christianserving.org
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/150050: [PATCH] www/drraw: update to 2.2b2
Date: Fri, 27 Aug 2010 19:40:19 UT

 Maintainer of www/drraw,
 
 Please note that PR ports/150050 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/150050
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Jim Riggs <ports@christianserving.org>
To: bug-followup@FreeBSD.org,
 avg@icyb.net.ua
Cc:  
Subject: Re: ports/150050: [PATCH] www/drraw: update to 2.2b2
Date: Mon, 13 Sep 2010 14:17:31 -0500

 I no longer use drraw.  You are welcome to take maintainership and have =
 this patch applied.
 

From: Andriy Gapon <avg@icyb.net.ua>
To: Jim Riggs <ports@christianserving.org>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/150050: [PATCH] www/drraw: update to 2.2b2
Date: Tue, 14 Sep 2010 07:27:03 +0300

 on 13/09/2010 22:17 Jim Riggs said the following:
 > I no longer use drraw.  You are welcome to take maintainership and have this
 > patch applied.
 > 
 
 Thank you for the update.
 I agree to the offer :)
 
 -- 
 Andriy Gapon
State-Changed-From-To: feedback->open 
State-Changed-By: pgollucci 
State-Changed-When: Tue Sep 14 05:29:08 UTC 2010 
State-Changed-Why:  
Maintainer approved 

http://www.freebsd.org/cgi/query-pr.cgi?pr=150050 
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Tue Sep 14 10:28:10 UTC 2010 
State-Changed-Why:  
Committed, thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/150050: commit references a PR
Date: Tue, 14 Sep 2010 10:51:36 +0000 (UTC)

 pav         2010-09-14 10:51:30 UTC
 
   FreeBSD ports repository
 
   Modified files:
     www/drraw            Makefile distinfo 
     www/drraw/files      patch-drraw.conf 
   Log:
   - Update to 2.2b2
   - Move maintainership to submitter
   
   PR:             ports/150050
   Submitted by:   Andriy Gapon <avg@icyb.net.ua>
   Approved by:    Jim Riggs <ports@christianserving.org> (old maintainer)
   
   Revision  Changes    Path
   1.7       +13 -5     ports/www/drraw/Makefile
   1.3       +6 -3      ports/www/drraw/distinfo
   1.2       +2 -1      ports/www/drraw/files/patch-drraw.conf
 _______________________________________________
 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:
