Bug 139252 - [NEW PORT] sysutils/superiotool: Helper tool for Super I/O chip detection and analysis
Summary: [NEW PORT] sysutils/superiotool: Helper tool for Super I/O chip detection and...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Wilke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-30 13:50 UTC by Andriy Gapon
Modified: 2009-10-12 13:50 UTC (History)
0 users

See Also:


Attachments
superiotool-20090930.shar (2.42 KB, text/plain)
2009-09-30 13:50 UTC, Andriy Gapon
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andriy Gapon 2009-09-30 13:50:03 UTC
Superiotool is a GPL'd user-space helper tool for coreboot development
purposes (but may also be useful for other things). It allows you to
detect which Super I/O you have on your mainboard, and it can provide
detailed information about the register contents of the Super I/O. 

WWW:	http://www.coreboot.org/Superiotool

Please note that there are no official distribution tarballs for this
software, it is available only via svn.
Thus I am includng  gen-dist target for maintainer's convenience,
this is done by example from multimedia/flv2mpeg4.
The distfile is already generated by me and is uploaded to master site.

Generated with FreeBSD Port Tools 0.99
Comment 1 Martin Wilke freebsd_committer freebsd_triage 2009-09-30 14:07:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->miwi

I'll take it.
Comment 2 Martin Wilke freebsd_committer freebsd_triage 2009-09-30 16:09:47 UTC
State Changed
From-To: open->feedback

failed to build on 8 and 9 

http://64bit.miwibox.org/index.php?action=describe_port&id=2110 
http://32bit.miwibox.org/index.php?action=describe_port&id=2099 

- Martin
Comment 3 Andriy Gapon freebsd_committer freebsd_triage 2009-09-30 16:25:30 UTC
on 30/09/2009 18:19 Andriy Gapon said the following:
> on 30/09/2009 18:10 miwi@FreeBSD.org said the following:
>> Synopsis: [NEW PORT] sysutils/superiotool: Helper tool for Super I/O chip detection and analysis
>>
>> State-Changed-From-To: open->feedback
>> State-Changed-By: miwi
>> State-Changed-When: Wed Sep 30 15:09:47 UTC 2009
>> State-Changed-Why: 
>> failed to build on 8 and 9
>>
>> http://64bit.miwibox.org/index.php?action=describe_port&id=2110
>> http://32bit.miwibox.org/index.php?action=describe_port&id=2099
> 
> Thank you very much for the info!
> I guess this is because of combination of -ansi flag in superiotool's Makefile and
>  'inline' (as opposed to __inline) in machine/cpufunc.h.
> I'll provide a fix.

Please find a new shar file inline.
The only thing changed is an additional substitution in post-patch target.

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	superiotool
#	superiotool/distinfo
#	superiotool/Makefile
#	superiotool/pkg-descr
#
echo c - superiotool
mkdir -p superiotool > /dev/null 2>&1
echo x - superiotool/distinfo
sed 's/^X//' >superiotool/distinfo << 'b98286446c2ba68befc76e94033664c7'
XMD5 (superiotool-20090930.tar.bz2) = 4f58555a5b6564509ba644ec2e07cd79
XSHA256 (superiotool-20090930.tar.bz2) =
2d06800cc1e24622526d6a1dc729eaee94e7a50ffd2600e60064a77fcebb3dca
XSIZE (superiotool-20090930.tar.bz2) = 29348
b98286446c2ba68befc76e94033664c7
echo x - superiotool/Makefile
sed 's/^X//' >superiotool/Makefile << '07ee5101d8e4c55e41532e8d658e0b10'
X# New ports collection makefile for:	superiotool
X# Date created:		2009-09-30
X# Whom:			Andriy Gapon <avg@icyb.net.ua>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	superiotool
XDISTVERSION=	20090930
XCATEGORIES=	sysutils
XMASTER_SITES=	http://www.icyb.net.ua/~avg/distfiles/
X
XMAINTAINER=	avg@icyb.net.ua
XCOMMENT=	Helper tool for Super I/O chip detection and analysis
X
XUSE_BZIP2=	yes
XUSE_GMAKE=	yes
X
XPLIST_FILES=	sbin/superiotool
XMAN8=		superiotool.8
X
XWRKSRC=		${WRKDIR}/${PORTNAME}
XSVNROOT=	svn://coreboot.org/repos/trunk/util/superiotool
X
Xgen-dist:
X	@if [ ! -f ${LOCALBASE}/bin/svn ]; then \
X		${ECHO_CMD} "ERROR: You need to have devel/subversion installed for gen-dist
target"; \
X		${FALSE}; \
X	fi
X	@if [ ! -f ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX} ]; then \
X		${MKDIR} ${WRKDIR}/svn; \
X		cd ${WRKDIR}/svn && svn co ${SVNROOT}; \
X		${TAR} cfj ${_DISTDIR}${DISTFILES} ${PORTNAME}; \
X		cd ${WRKDIR} && ${RM} -rf svn; \
X		cd ${.CURDIR} && ${MAKE} ${__softMAKEFLAGS} makesum; \
X	fi
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's#/share/man/#/man/#g' -e 's#-ansi##g' \
X		${WRKSRC}/Makefile
X
X.include <bsd.port.mk>
07ee5101d8e4c55e41532e8d658e0b10
echo x - superiotool/pkg-descr
sed 's/^X//' >superiotool/pkg-descr << '22db100abbf8b5e7acfd8c848ab77cb1'
XSuperiotool is a GPL'd user-space helper tool for coreboot development
Xpurposes (but may also be useful for other things). It allows you to
Xdetect which Super I/O you have on your mainboard, and it can provide
Xdetailed information about the register contents of the Super I/O.
X
XWWW:	http://www.coreboot.org/Superiotool
22db100abbf8b5e7acfd8c848ab77cb1
exit



-- 
Andriy Gapon
Comment 4 Martin Wilke freebsd_committer freebsd_triage 2009-10-12 13:47:02 UTC
State Changed
From-To: feedback->closed

New port added, with minor changes. Thanks!
Comment 5 dfilter service freebsd_committer freebsd_triage 2009-10-12 13:47:30 UTC
miwi        2009-10-12 12:47:17 UTC

  FreeBSD ports repository

  Modified files:
    sysutils             Makefile 
  Added files:
    sysutils/superiotool Makefile distinfo pkg-descr 
  Log:
  Superiotool is a GPL'd user-space helper tool for coreboot development
  purposes (but may also be useful for other things). It allows you to
  detect which Super I/O you have on your mainboard, and it can provide
  detailed information about the register contents of the Super I/O.
  
  WWW:    http://www.coreboot.org/Superiotool
  
  PR:             ports/139252
  Submitted by:   Andriy Gapon <avg at icyb.net.ua>
  
  Revision  Changes    Path
  1.1132    +1 -0      ports/sysutils/Makefile
  1.1       +42 -0     ports/sysutils/superiotool/Makefile (new)
  1.1       +3 -0      ports/sysutils/superiotool/distinfo (new)
  1.1       +6 -0      ports/sysutils/superiotool/pkg-descr (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"