Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Dec 2011 11:14:24 -0800
From:      Jason Helfman <jhelfman@experts-exchange.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        zenoss@experts-exchange.com
Subject:   ports/163294: [patch][maintainer-update] net-mgmt/zenpack-macreport: unbreak port, update master_sites
Message-ID:  <1323890064.718722.95585.nullmailer@experts-exchange.com>
Resent-Message-ID: <201112141920.pBEJK90l030513@freefall.freebsd.org>

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

>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:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 14 19:20:08 UTC 2011
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



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