From avg@starpoint.kiev.ua  Fri Feb  1 13:05:42 2013
Return-Path: <avg@starpoint.kiev.ua>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1])
	by hub.freebsd.org (Postfix) with ESMTP id A579F25D
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  1 Feb 2013 13:05:42 +0000 (UTC)
	(envelope-from avg@starpoint.kiev.ua)
Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140])
	by mx1.freebsd.org (Postfix) with ESMTP id E0D913D4
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  1 Feb 2013 13:05:41 +0000 (UTC)
Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101])
	by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id PAA19600
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 01 Feb 2013 15:05:40 +0200 (EET)
	(envelope-from avg@starpoint.kiev.ua)
Received: from odyssey.starpoint.kiev.ua (localhost [127.0.0.1])
	by odyssey.starpoint.kiev.ua (8.14.5/8.14.5) with ESMTP id r11D5eXi088897
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 1 Feb 2013 15:05:40 +0200 (EET)
	(envelope-from avg@odyssey.starpoint.kiev.ua)
Received: (from root@localhost)
	by odyssey.starpoint.kiev.ua (8.14.5/8.14.5/Submit) id r11D5e6u088896;
	Fri, 1 Feb 2013 15:05:40 +0200 (EET)
	(envelope-from avg)
Message-Id: <201302011305.r11D5e6u088896@odyssey.starpoint.kiev.ua>
Date: Fri, 1 Feb 2013 15:05:40 +0200 (EET)
From: Andriy Gapon <avg@icyb.net.ua>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [PATCH] sysutils/superiotool: [SUMMARIZE CHANGES]
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         175761
>Category:       ports
>Synopsis:       [PATCH] sysutils/superiotool: [SUMMARIZE CHANGES]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    amdmi3
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 01 13:10:00 UTC 2013
>Closed-Date:    Fri Feb 01 15:06:54 UTC 2013
>Last-Modified:  Fri Feb  1 15:10:00 UTC 2013
>Originator:     Andriy Gapon
>Release:        FreeBSD 10.0-CURRENT amd64
>Organization:
>Environment:
System: FreeBSD odyssey.starpoint.kiev.ua 10.0-CURRENT FreeBSD 10.0-CURRENT #60 r244281+da9de2d-dirty: Tue Dec 18 18:59:29 EET
>Description:
[DESCRIBE CHANGES]

Added file(s):
- files/patch-Makefile

Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: suffix)
>How-To-Repeat:
>Fix:

--- superiotool-20121019.patch begins here ---
diff -ruN --exclude=CVS ../superiotool.orig/Makefile ./Makefile
--- ../superiotool.orig/Makefile	2012-11-17 08:01:46.000000000 +0200
+++ ./Makefile	2013-02-01 15:04:25.125180623 +0200
@@ -1,50 +1,29 @@
-# New ports collection makefile for:	superiotool
-# Date created:		2009-09-30
-# Whom:			Andriy Gapon <avg@icyb.net.ua>
-#
-# $FreeBSD: ports/sysutils/superiotool/Makefile,v 1.5 2012/11/17 06:01:46 svnexp Exp $
-#
-
-PORTNAME=	superiotool
-DISTVERSION=	20090930
-CATEGORIES=	sysutils
-MASTER_SITES=	http://www.icyb.net.ua/~avg/distfiles/
-
-MAINTAINER=	avg@icyb.net.ua
-COMMENT=	Helper tool for Super I/O chip detection and analysis
-
-USE_BZIP2=	yes
-USE_GMAKE=	yes
-
-PLIST_FILES=	sbin/superiotool
-MAN8=		superiotool.8
-
-WRKSRC=		${WRKDIR}/${PORTNAME}
-SVNROOT=	svn://coreboot.org/repos/trunk/util/superiotool
-
-gen-dist:
-	@if [ ! -f ${LOCALBASE}/bin/svn ]; then \
-		${ECHO_CMD} "ERROR: You need to have devel/subversion installed for gen-dist target"; \
-		${FALSE}; \
-	fi
-	@if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
-		${MKDIR} ${WRKDIR}/svn; \
-		cd ${WRKDIR}/svn && svn co ${SVNROOT}; \
-		${TAR} cfj ${_DISTDIR}${DISTFILES} ${PORTNAME}; \
-		cd ${WRKDIR} && ${RM} -rf svn; \
-		cd ${.CURDIR} && ${MAKE} ${__softMAKEFLAGS} makesum; \
-	fi
-
-post-patch:
-	@${REINPLACE_CMD} -e 's#/share/man/#/man/#g' -e 's#-ansi##g' \
-		-Ee '\#^(CC|INSTALL|PREFIX)#s#=#?=#' \
-		-e '\#^CFLAGS#s#=#+=#' -e 's#-O2##' \
-		${WRKSRC}/Makefile
-
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
-BROKEN=		Does not compile on ia64, powerpc, or sparc64: attempts to use i386 asm
-.endif
+# Created by: Andriy Gapon <avg@icyb.net.ua>
+# $FreeBSD: ports/sysutils/superiotool/Makefile,v 1.4 2010/09/25 18:20:25 makc Exp $
 
-.include <bsd.port.post.mk>
+PORTNAME=		superiotool
+DISTVERSION=		20121019
+CATEGORIES=		sysutils
+MASTER_SITES=		${MASTER_SITE_LOCAL} \
+			http://www.icyb.net.ua/~avg/distfiles/
+MASTER_SITE_SUBDIR=	avg
+
+MAINTAINER=		avg@icyb.net.ua
+COMMENT=		Helper tool for Super I/O chip detection and analysis
+
+LIB_DEPENDS=		pci:${PORTSDIR}/devel/libpci
+
+ONLY_FOR_ARCHS=		i386 amd64
+ONLY_FOR_ARCHS_REASON=	The tool is for x86-specific hardware
+
+USE_BZIP2=		yes
+USE_GMAKE=		yes
+
+PLIST_FILES=		sbin/superiotool
+MAN8=			superiotool.8
+
+WRKSRC=			${WRKDIR}/${PORTNAME}
+UPSTREAM_VERS=		4.0-2827-g1a00cf0
+MAKE_ENV+=		VERSION=-DSUPERIOTOOL_VERSION='\"${UPSTREAM_VERS}\"'
+
+.include <bsd.port.mk>
diff -ruN --exclude=CVS ../superiotool.orig/distinfo ./distinfo
--- ../superiotool.orig/distinfo	2011-03-19 14:33:24.000000000 +0200
+++ ./distinfo	2012-11-02 17:33:07.293125000 +0200
@@ -1,2 +1,2 @@
-SHA256 (superiotool-20090930.tar.bz2) = 2d06800cc1e24622526d6a1dc729eaee94e7a50ffd2600e60064a77fcebb3dca
-SIZE (superiotool-20090930.tar.bz2) = 29348
+SHA256 (superiotool-20121019.tar.bz2) = d4140f3a50e53f46dd9b1edfc8353113f29f437201907d613150d431dbfc7a62
+SIZE (superiotool-20121019.tar.bz2) = 29827
diff -ruN --exclude=CVS ../superiotool.orig/files/patch-Makefile ./files/patch-Makefile
--- ../superiotool.orig/files/patch-Makefile	1970-01-01 03:00:00.000000000 +0300
+++ ./files/patch-Makefile	2012-11-02 17:33:07.295126000 +0200
@@ -0,0 +1,49 @@
+--- Makefile.orig	2012-10-19 16:44:32.000000000 +0300
++++ Makefile	2012-10-20 01:32:35.427651135 +0300
+@@ -20,28 +20,24 @@
+ 
+ PROGRAM = superiotool
+ 
+-CC      = gcc
+-INSTALL = /usr/bin/install
+-PREFIX  = /usr/local
++CC      ?= gcc
++INSTALL ?= /usr/bin/install
++PREFIX  ?= /usr/local
+ 
+ # Set the superiotool version string to the output of 'git describe'.
+ 
+-VERSION := -D'SUPERIOTOOL_VERSION="$(shell git describe 2>/dev/null)"'
+-
+-CFLAGS += -O2 -Wall -Wstrict-prototypes -Wundef -Wstrict-aliasing \
+-         -Werror-implicit-function-declaration -ansi -pedantic $(VERSION)
+-LDFLAGS += -lz
++VERSION ?= -D'SUPERIOTOOL_VERSION="$(shell git describe 2>/dev/null)"'
+ 
+ OBJS = superiotool.o serverengines.o ali.o fintek.o ite.o nsc.o nuvoton.o \
+        smsc.o winbond.o infineon.o
+ 
+-OS_ARCH = $(shell uname)
++OS_ARCH = FreeBSD
+ ifeq ($(OS_ARCH), Darwin)
+ LIBS = -framework IOKit -framework DirectHW -lpci -lz
+ endif
+ ifeq ($(OS_ARCH), FreeBSD)
+-CFLAGS = -O2 -Wall -Werror -Wstrict-prototypes -Wundef -Wstrict-aliasing \
+-         -Werror-implicit-function-declaration -ansi $(VERSION) \
++CFLAGS += -Wall -Werror -Wstrict-prototypes -Wundef -Wstrict-aliasing \
++         -Werror-implicit-function-declaration $(VERSION) \
+          -I/usr/local/include
+ LDFLAGS += -L/usr/local/lib
+ LIBS = -lz
+@@ -69,8 +65,8 @@ $(PROGRAM): $(OBJS) superiotool.h
+ install: $(PROGRAM)
+ 	mkdir -p $(DESTDIR)$(PREFIX)/sbin
+ 	$(INSTALL) $(PROGRAM) $(DESTDIR)$(PREFIX)/sbin
+-	mkdir -p $(DESTDIR)$(PREFIX)/share/man/man8
+-	$(INSTALL) $(PROGRAM).8 $(DESTDIR)$(PREFIX)/share/man/man8
++	mkdir -p $(DESTDIR)$(PREFIX)/man/man8
++	$(INSTALL) $(PROGRAM).8 $(DESTDIR)$(PREFIX)/man/man8
+ 
+ clean:
+ 	rm -f $(PROGRAM) *.o
--- superiotool-20121019.patch ends here ---

>Release-Note:
>Audit-Trail:
Class-Changed-From-To: change-request->maintainer-update 
Class-Changed-By: edwin 
Class-Changed-When: Fri Feb 1 13:10:07 UTC 2013 
Class-Changed-Why:  
Fix category (submitter is maintainer) (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=175761 
Responsible-Changed-From-To: freebsd-ports-bugs->amdmi3 
Responsible-Changed-By: amdmi3 
Responsible-Changed-When: Fri Feb 1 14:39:45 UTC 2013 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=175761 
State-Changed-From-To: open->closed 
State-Changed-By: amdmi3 
State-Changed-When: Fri Feb 1 15:06:53 UTC 2013 
State-Changed-Why:  
Committed, with minor changes. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/175761: commit references a PR
Date: Fri,  1 Feb 2013 15:06:53 +0000 (UTC)

 Author: amdmi3
 Date: Fri Feb  1 15:06:45 2013
 New Revision: 311382
 URL: http://svnweb.freebsd.org/changeset/ports/311382
 
 Log:
   - Update to 20121019
   
   PR:		175761
   Submitted by:	Andriy Gapon <avg@icyb.net.ua> (maintainer)
 
 Added:
   head/sysutils/superiotool/files/
   head/sysutils/superiotool/files/patch-Makefile   (contents, props changed)
 Modified:
   head/sysutils/superiotool/Makefile
   head/sysutils/superiotool/distinfo
 
 Modified: head/sysutils/superiotool/Makefile
 ==============================================================================
 --- head/sysutils/superiotool/Makefile	Fri Feb  1 15:04:00 2013	(r311381)
 +++ head/sysutils/superiotool/Makefile	Fri Feb  1 15:06:45 2013	(r311382)
 @@ -1,18 +1,21 @@
 -# New ports collection makefile for:	superiotool
 -# Date created:		2009-09-30
 -# Whom:			Andriy Gapon <avg@icyb.net.ua>
 -#
 +# Created by: Andriy Gapon <avg@icyb.net.ua>
  # $FreeBSD$
 -#
  
  PORTNAME=	superiotool
 -DISTVERSION=	20090930
 +DISTVERSION=	20121019
  CATEGORIES=	sysutils
 -MASTER_SITES=	http://www.icyb.net.ua/~avg/distfiles/
 +MASTER_SITES=	${MASTER_SITE_LOCAL} \
 +		http://www.icyb.net.ua/~avg/distfiles/
 +MASTER_SITE_SUBDIR=avg
  
  MAINTAINER=	avg@icyb.net.ua
  COMMENT=	Helper tool for Super I/O chip detection and analysis
  
 +LIB_DEPENDS=	pci:${PORTSDIR}/devel/libpci
 +
 +ONLY_FOR_ARCHS=	i386 amd64
 +ONLY_FOR_ARCHS_REASON=The tool is for x86-specific hardware
 +
  USE_BZIP2=	yes
  USE_GMAKE=	yes
  
 @@ -20,31 +23,10 @@ PLIST_FILES=	sbin/superiotool
  MAN8=		superiotool.8
  
  WRKSRC=		${WRKDIR}/${PORTNAME}
 -SVNROOT=	svn://coreboot.org/repos/trunk/util/superiotool
 -
 -gen-dist:
 -	@if [ ! -f ${LOCALBASE}/bin/svn ]; then \
 -		${ECHO_CMD} "ERROR: You need to have devel/subversion installed for gen-dist target"; \
 -		${FALSE}; \
 -	fi
 -	@if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
 -		${MKDIR} ${WRKDIR}/svn; \
 -		cd ${WRKDIR}/svn && svn co ${SVNROOT}; \
 -		${TAR} cfj ${_DISTDIR}${DISTFILES} ${PORTNAME}; \
 -		cd ${WRKDIR} && ${RM} -rf svn; \
 -		cd ${.CURDIR} && ${MAKE} ${__softMAKEFLAGS} makesum; \
 -	fi
 +UPSTREAM_VERS=	4.0-2827-g1a00cf0
 +MAKE_ENV+=	VERSION=-DSUPERIOTOOL_VERSION='\"${UPSTREAM_VERS}\"'
  
  post-patch:
 -	@${REINPLACE_CMD} -e 's#/share/man/#/man/#g' -e 's#-ansi##g' \
 -		-Ee '\#^(CC|INSTALL|PREFIX)#s#=#?=#' \
 -		-e '\#^CFLAGS#s#=#+=#' -e 's#-O2##' \
 -		${WRKSRC}/Makefile
 -
 -.include <bsd.port.pre.mk>
 -
 -.if ${ARCH} == "ia64" || ${ARCH} == "powerpc" || ${ARCH} == "sparc64"
 -BROKEN=		Does not compile on ia64, powerpc, or sparc64: attempts to use i386 asm
 -.endif
 +	${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/Makefile
  
 -.include <bsd.port.post.mk>
 +.include <bsd.port.mk>
 
 Modified: head/sysutils/superiotool/distinfo
 ==============================================================================
 --- head/sysutils/superiotool/distinfo	Fri Feb  1 15:04:00 2013	(r311381)
 +++ head/sysutils/superiotool/distinfo	Fri Feb  1 15:06:45 2013	(r311382)
 @@ -1,2 +1,2 @@
 -SHA256 (superiotool-20090930.tar.bz2) = 2d06800cc1e24622526d6a1dc729eaee94e7a50ffd2600e60064a77fcebb3dca
 -SIZE (superiotool-20090930.tar.bz2) = 29348
 +SHA256 (superiotool-20121019.tar.bz2) = d4140f3a50e53f46dd9b1edfc8353113f29f437201907d613150d431dbfc7a62
 +SIZE (superiotool-20121019.tar.bz2) = 29827
 
 Added: head/sysutils/superiotool/files/patch-Makefile
 ==============================================================================
 --- /dev/null	00:00:00 1970	(empty, because file is newly added)
 +++ head/sysutils/superiotool/files/patch-Makefile	Fri Feb  1 15:06:45 2013	(r311382)
 @@ -0,0 +1,49 @@
 +--- Makefile.orig	2012-10-19 16:44:32.000000000 +0300
 ++++ Makefile	2012-10-20 01:32:35.427651135 +0300
 +@@ -20,28 +20,24 @@
 + 
 + PROGRAM = superiotool
 + 
 +-CC      = gcc
 +-INSTALL = /usr/bin/install
 +-PREFIX  = /usr/local
 ++CC      ?= gcc
 ++INSTALL ?= /usr/bin/install
 ++PREFIX  ?= /usr/local
 + 
 + # Set the superiotool version string to the output of 'git describe'.
 + 
 +-VERSION := -D'SUPERIOTOOL_VERSION="$(shell git describe 2>/dev/null)"'
 +-
 +-CFLAGS += -O2 -Wall -Wstrict-prototypes -Wundef -Wstrict-aliasing \
 +-         -Werror-implicit-function-declaration -ansi -pedantic $(VERSION)
 +-LDFLAGS += -lz
 ++VERSION ?= -D'SUPERIOTOOL_VERSION="$(shell git describe 2>/dev/null)"'
 + 
 + OBJS = superiotool.o serverengines.o ali.o fintek.o ite.o nsc.o nuvoton.o \
 +        smsc.o winbond.o infineon.o
 + 
 +-OS_ARCH = $(shell uname)
 ++OS_ARCH = FreeBSD
 + ifeq ($(OS_ARCH), Darwin)
 + LIBS = -framework IOKit -framework DirectHW -lpci -lz
 + endif
 + ifeq ($(OS_ARCH), FreeBSD)
 +-CFLAGS = -O2 -Wall -Werror -Wstrict-prototypes -Wundef -Wstrict-aliasing \
 +-         -Werror-implicit-function-declaration -ansi $(VERSION) \
 ++CFLAGS += -Wall -Werror -Wstrict-prototypes -Wundef -Wstrict-aliasing \
 ++         -Werror-implicit-function-declaration $(VERSION) \
 +          -I/usr/local/include
 + LDFLAGS += -L/usr/local/lib
 + LIBS = -lz
 +@@ -69,8 +65,8 @@ $(PROGRAM): $(OBJS) superiotool.h
 + install: $(PROGRAM)
 + 	mkdir -p $(DESTDIR)$(PREFIX)/sbin
 + 	$(INSTALL) $(PROGRAM) $(DESTDIR)$(PREFIX)/sbin
 +-	mkdir -p $(DESTDIR)$(PREFIX)/share/man/man8
 +-	$(INSTALL) $(PROGRAM).8 $(DESTDIR)$(PREFIX)/share/man/man8
 ++	mkdir -p $(DESTDIR)$(PREFIX)/man/man8
 ++	$(INSTALL) $(PROGRAM).8 $(DESTDIR)$(PREFIX)/man/man8
 + 
 + clean:
 + 	rm -f $(PROGRAM) *.o
 \ No newline at end of file
 _______________________________________________
 svn-ports-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-ports-all
 To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
 
>Unformatted:
