From jhelfman@experts-exchange.com  Wed Dec 14 19:14:51 2011
Return-Path: <jhelfman@experts-exchange.com>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 5FA06106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 14 Dec 2011 19:14:51 +0000 (UTC)
	(envelope-from jhelfman@experts-exchange.com)
Received: from mail.experts-exchange.com (mail.pub.dw.redsrci.com [72.29.183.251])
	by mx1.freebsd.org (Postfix) with ESMTP id 3EC1D8FC0A
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 14 Dec 2011 19:14:50 +0000 (UTC)
Received: from mail.experts-exchange.com (localhost [127.0.0.1])
	by mail.experts-exchange.com (Postfix) with ESMTP id C4D3C6FDD82;
	Wed, 14 Dec 2011 11:14:50 -0800 (PST)
Received: from mail.experts-exchange.com ([127.0.0.1])
	by mail.experts-exchange.com (mail.experts-exchange.com [127.0.0.1]) (amavisd-new, port 10024)
	with ESMTP id 9LRJMXMDdjEV; Wed, 14 Dec 2011 11:14:50 -0800 (PST)
Received: from experts-exchange.com (unknown [192.168.103.120])
	by mail.experts-exchange.com (Postfix) with SMTP id 9F1006FDD62;
	Wed, 14 Dec 2011 11:14:50 -0800 (PST)
Received: (nullmailer pid 95586 invoked by uid 1001);
	Wed, 14 Dec 2011 19:14:24 -0000
Message-Id: <1323890064.718722.95585.nullmailer@experts-exchange.com>
Date: Wed, 14 Dec 2011 11:14:24 -0800
From: Jason Helfman <jhelfman@experts-exchange.com>
Reply-To: Jason Helfman <jhelfman@experts-exchange.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc: zenoss@experts-exchange.com
Subject: [patch][maintainer-update] net-mgmt/zenpack-macreport: unbreak port, update master_sites
X-Send-Pr-Version: 3.113
X-GNATS-Notify: zenoss@experts-exchange.com

>Number:         163294
>Category:       ports
>Synopsis:       [patch][maintainer-update] net-mgmt/zenpack-macreport: unbreak port, update master_sites
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    crees
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 14 19:20:08 UTC 2011
>Closed-Date:    Wed Dec 14 19:56:18 UTC 2011
>Last-Modified:  Wed Dec 14 20:00:21 UTC 2011
>Originator:     Jason Helfman
>Release:        FreeBSD 8.2-RELEASE amd64
>Organization:
Experts Exchange, LLC.
>Environment:
System: FreeBSD dormouse.experts-exchange.com 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64


	
>Description:
Due to change in location of distfile, and way in which it was distributed, a clean system would not be able to build.
Unbreak build
-change master_site => github
-change wrksrc
works in application

Builds cleanly in Tinderbox => http://jgh.devio.us/files/logs/zenpack-community-MACReport-1.0.1.log

>How-To-Repeat:

[jhelfman@dormouse /usr/ports/net-mgmt/zenpack-macreport]$ sudo make checksum
===>  License check disabled, port has not defined LICENSE
=> mac-report-1.0.1?old_path=%2F&format=zip doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch http://zenpacks.zenoss.org/trac-zenpacks/changeset/1002/tags/mac-report-1.0.1?old_path=%2F&format=zip
fetch: http://zenpacks.zenoss.org/trac-zenpacks/changeset/1002/tags/mac-report-1.0.1?old_path=%2F&format=zip: size mismatch: expected 5491, actual 461
=> Attempting to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/mac-report-1.0.1?old_path=%2F&format=zip
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/mac-report-1.0.1?old_path=%2F&format=zip: Syntax error, command unrecognized
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

After patch is applied you should get:

[jhelfman@dormouse ~/ports/net-mgmt/zenpack-macreport]$ sudo make checksum
===>  License check disabled, port has not defined LICENSE
=> SHA256 Checksum OK for zenoss-ZenPacks.sodonnell.MACReport-b345f53.zip.

>Fix:

Index: Makefile
===================================================================
RCS file: /home/jhelfman/ncvs/ports/net-mgmt/zenpack-macreport/Makefile,v
retrieving revision 1.1
diff -u -r1.1 Makefile
--- Makefile	30 Oct 2011 16:41:50 -0000	1.1
+++ Makefile	14 Dec 2011 19:05:45 -0000
@@ -2,21 +2,22 @@
 # Date created:    13 May 2011
 # Whom:      Zenoss <zenoss@experts-exchange.com>
 #
-# $FreeBSD: ports/net-mgmt/zenpack-macreport/Makefile,v 1.1 2011/10/30 16:41:50 crees Exp $
+# $FreeBSD$
 #
 
 PORTNAME=	MACReport
 PORTVERSION=	1.0.1
 CATEGORIES=	net-mgmt
-MASTER_SITES=	http://zenpacks.zenoss.org/trac-zenpacks/changeset/1002/tags/
-DISTFILES=	mac-report-${PORTVERSION}?old_path=%2F\&format=zip
+MASTER_SITES=	https://github.com/zenoss/${ZPACKPREFIX}${PORTNAME}/zipball/master/
+DISTNAME=	zenoss-${ZPACKPREFIX}${PORTNAME}-${TAG}
 
 MAINTAINER=	zenoss@experts-exchange.com
 COMMENT=	Lists MAC address and the Device and Interface associated info
 
 USE_ZIP=	yes
 ZPACKGROUP=	community
-WRKSRC=	${WRKDIR}/tags/mac-report-${PORTVERSION}
+WRKSRC=	${WRKDIR}/zenoss-${ZPACKPREFIX}${PORTNAME}-${TAG}
+TAG=	b345f53
 
 ZPACKPREFIX=	ZenPacks.sodonnell.
 
Index: distinfo
===================================================================
RCS file: /home/jhelfman/ncvs/ports/net-mgmt/zenpack-macreport/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo	30 Oct 2011 16:41:50 -0000	1.1
+++ distinfo	14 Dec 2011 19:06:05 -0000
@@ -1,2 +1,2 @@
-SHA256 (mac-report-1.0.1?old_path=%2F&format=zip) = 085e200d48736f73ff7adaf008930d9d6f533dd6ff262963051d6210522de436
-SIZE (mac-report-1.0.1?old_path=%2F&format=zip) = 5491
+SHA256 (zenoss-ZenPacks.sodonnell.MACReport-b345f53.zip) = df9de27af8b758271ce6ff4e05e5c8ae4d51d101b9a7b26be99c7091a586b2f3
+SIZE (zenoss-ZenPacks.sodonnell.MACReport-b345f53.zip) = 9337
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->crees 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Dec 14 19:20:24 UTC 2011 
Responsible-Changed-Why:  
crees@ wants his PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163294 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Wed Dec 14 19:20:28 UTC 2011 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

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

From: Edwin Groothuis <edwin@FreeBSD.org>
To: zenoss@experts-exchange.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/163294: [patch][maintainer-update] net-mgmt/zenpack-macreport: unbreak port, update master_sites
Date: Wed, 14 Dec 2011 19:20:26 UT

 Maintainer of net-mgmt/zenpack-macreport,
 
 Please note that PR ports/163294 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/163294
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org
State-Changed-From-To: feedback->open 
State-Changed-By: eadler 
State-Changed-When: Wed Dec 14 19:36:23 UTC 2011 
State-Changed-Why:  
Maintainer has approved. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=163294 
State-Changed-From-To: open->closed 
State-Changed-By: crees 
State-Changed-When: Wed Dec 14 19:56:17 UTC 2011 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/163294: commit references a PR
Date: Wed, 14 Dec 2011 19:56:09 +0000 (UTC)

 crees       2011-12-14 19:56:00 UTC
 
   FreeBSD ports repository
 
   Modified files:
     net-mgmt/zenpack-macreport Makefile distinfo 
   Log:
   Update MASTER_SITES, distinfo for rerolled distfile
   
   PR:             ports/163294
   Submitted by:   Jason Helfman (zenoss@experts-exchange.com) (maintainer)
   
   Revision  Changes    Path
   1.2       +4 -3      ports/net-mgmt/zenpack-macreport/Makefile
   1.2       +2 -2      ports/net-mgmt/zenpack-macreport/distinfo
 _______________________________________________
 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:
