From nobody@FreeBSD.org  Sun May  9 10:26:37 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 43C95106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  9 May 2010 10:26:37 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id 33E918FC19
	for <freebsd-gnats-submit@FreeBSD.org>; Sun,  9 May 2010 10:26:37 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o49AQaTh064789
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 9 May 2010 10:26:36 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o49AQarZ064785;
	Sun, 9 May 2010 10:26:36 GMT
	(envelope-from nobody)
Message-Id: <201005091026.o49AQarZ064785@www.freebsd.org>
Date: Sun, 9 May 2010 10:26:36 GMT
From: bf <bf1783@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [NEW PORT]devel/api-sanity-autotest
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         146431
>Category:       ports
>Synopsis:       [NEW PORT]devel/api-sanity-autotest
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 09 10:30:02 UTC 2010
>Closed-Date:    Mon May 10 02:23:54 UTC 2010
>Last-Modified:  Mon May 10 02:30:02 UTC 2010
>Originator:     bf
>Release:        9-CURRENT amd64
>Organization:
-
>Environment:
>Description:

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

# 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:
#
#	api-sanity-autotest
#	api-sanity-autotest/distinfo
#	api-sanity-autotest/pkg-descr
#	api-sanity-autotest/Makefile
#
echo c - api-sanity-autotest
mkdir -p api-sanity-autotest > /dev/null 2>&1
echo x - api-sanity-autotest/distinfo
sed 's/^X//' >api-sanity-autotest/distinfo << '1c459f44f4e5b5c62402aa9740ca85c8'
XMD5 (Api-sanity-autotest-1.8.tar.gz) = 9e51ede36fbad80ae753337778d24822
XSHA256 (Api-sanity-autotest-1.8.tar.gz) = 0675e7a7db12e6b830f80b32ffb56ddcb1469f77f07bd592bcce4686056adb51
XSIZE (Api-sanity-autotest-1.8.tar.gz) = 119979
1c459f44f4e5b5c62402aa9740ca85c8
echo x - api-sanity-autotest/pkg-descr
sed 's/^X//' >api-sanity-autotest/pkg-descr << '918c0af06dcfaeffe2be64f9ae65c7ea'
XAPI Sanity Autotest is a test generator for shared C/C++ libraries. It can
Xquickly generate simple ("sanity" or "shallow"-quality) tests for functions from
Xthe library API, using the signatures and data type definitions from the library
Xheader files. The tests can detect critical errors in simple use cases, and can
Xbe improved with highly reusable specialized types. API Sanity Autotest can
Xexecute generated tests and detect all kinds of emitted signals, early program
Xexits, program hanging and specified requirement failures. API Sanity Autotest
Xalso supports tests in the Template2Code format, and has a random test
Xgeneration mode and other useful features.
X
XWWW: http://ispras.linux-foundation.org/index.php/API_Sanity_Autotest
918c0af06dcfaeffe2be64f9ae65c7ea
echo x - api-sanity-autotest/Makefile
sed 's/^X//' >api-sanity-autotest/Makefile << '709e45bd8c8f87687e58167f789765bb'
X# New ports collection makefile for:	api-sanity-autotest
X# Date created:		February 16, 2009
X# Whom:	      		bf <bf1783@gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	api-sanity-autotest
XPORTVERSION=	1.8
XCATEGORIES=	devel perl5
XMASTER_SITES=	http://ispras.linux-foundation.org/images/e/e8/
XDISTFILES=	${PORTNAME:S/^a/A/}-${PORTVERSION}${EXTRACT_SUFX}
X
XMAINTAINER=	bf1783@gmail.com
XCOMMENT=	Quickly generate sanity tests for the API of a C/C++ shared library
X
XNO_BUILD=	yes
XUSE_PERL5_RUN=	yes
X
XPLIST_FILES=	bin/${PORTNAME}.pl
X
XCPPFILT?=	c++filt
XREADELF?=	readelf
X
Xpost-patch:
X	${REINPLACE_CMD} \
X		-e "\%my% { \
X			s%\"c++filt\"%\"${CPPFILT}\"%g; \
X			s%\"readelf\"%\"${READELF}\"%g; \
X			s%\"g++\"%\"${CXX}\"%g; \
X			s%\"gcc\"%\"${CC}\"%g; }" \
X		-e "\%search_for% { \
X			s%\"g++\"%\"${CXX}\"%g; \
X			s%\"gcc\"%\"${CC}\"%g; }" \
X		-e "s% -shared%& -fPIC%g" \
X		${WRKSRC}/${PORTNAME}.pl
X
Xdo-install:
X	@${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin
X
Xtest: build
X	@(cd ${WRKSRC} && ./${PORTNAME}.pl -test )
X
X.include <bsd.port.mk>
709e45bd8c8f87687e58167f789765bb
exit



>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Sun May 9 13:26:15 UTC 2010 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=146431 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Mon May 10 02:23:54 UTC 2010 
State-Changed-Why:  
New port added. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/146431: commit references a PR
Date: Mon, 10 May 2010 02:24:12 +0000 (UTC)

 miwi        2010-05-10 02:23:59 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel                Makefile 
   Added files:
     devel/api-sanity-autotest Makefile distinfo pkg-descr 
   Log:
   API Sanity Autotest is a test generator for shared C/C++ libraries. It can
   quickly generate simple ("sanity" or "shallow"-quality) tests for functions from
   the library API, using the signatures and data type definitions from the library
   header files. The tests can detect critical errors in simple use cases, and can
   be improved with highly reusable specialized types. API Sanity Autotest can
   execute generated tests and detect all kinds of emitted signals, early program
   exits, program hanging and specified requirement failures. API Sanity Autotest
   also supports tests in the Template2Code format, and has a random test
   generation mode and other useful features.
   
   WWW: http://ispras.linux-foundation.org/index.php/API_Sanity_Autotest
   
   PR:             ports/146431
   Submitted by:   bf <bf1783 at gmail.com>
   
   Revision  Changes    Path
   1.3919    +1 -0      ports/devel/Makefile
   1.1       +44 -0     ports/devel/api-sanity-autotest/Makefile (new)
   1.1       +3 -0      ports/devel/api-sanity-autotest/distinfo (new)
   1.1       +11 -0     ports/devel/api-sanity-autotest/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"
 
>Unformatted:
