From udp@sneakerz.org  Sat Dec  1 14:22:06 2001
Return-Path: <udp@sneakerz.org>
Received: from sneakerz.org (sneakerz.org [216.33.66.254])
	by hub.freebsd.org (Postfix) with ESMTP id E362037B405
	for <FreeBSD-gnats-submit@freebsd.org>; Sat,  1 Dec 2001 14:22:05 -0800 (PST)
Received: by sneakerz.org (Postfix, from userid 1014)
	id C53805D01F; Sat,  1 Dec 2001 16:21:59 -0600 (CST)
Message-Id: <20011201222159.C53805D01F@sneakerz.org>
Date: Sat,  1 Dec 2001 16:21:59 -0600 (CST)
From: Bruce M Simpson <bruce.m.simpson@hushmail.com>
Reply-To: udp@sneakerz.org
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: UPDATED PORT: converters/dumpasn1
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         32430
>Category:       ports
>Synopsis:       UPDATED PORT: converters/dumpasn1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kris
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat Dec 01 14:30:01 PST 2001
>Closed-Date:    Sat Jan 5 19:24:53 PST 2002
>Last-Modified:  Sat Jan 05 19:25:40 PST 2002
>Originator:     Bruce M Simpson <bruce.m.simpson@hushmail.com>
>Release:        FreeBSD 4.4-FEARSOME-20010909 i386
>Organization:
>Environment:
System: FreeBSD sneakerz.org 4.4-FEARSOME-20010909 FreeBSD 4.4-FEARSOME-20010909 #0: Mon Sep 10 17:17:29 CDT 2001 ps@sneakerz.org:/usr/src/sys/compile/ASSGRABBING i386

>Description:
	make of dumpasn1 port breaks on -CURRENT, as Gutmann has
	updated his source. the updated patch-aa file in the shar archive
	below fixes the problem.
>How-To-Repeat:
	try to build dumpasn1 from current ports repository, it will break.
>Fix:
	see shar archive below


--- dumpasn1.shar begins here ---
# 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:
#
#	dumpasn1
#	dumpasn1/Makefile
#	dumpasn1/distinfo
#	dumpasn1/pkg-comment
#	dumpasn1/pkg-descr
#	dumpasn1/pkg-plist
#	dumpasn1/files
#	dumpasn1/files/patch-aa
#	dumpasn1/README.html
#
echo c - dumpasn1
mkdir -p dumpasn1 > /dev/null 2>&1
echo x - dumpasn1/Makefile
sed 's/^X//' >dumpasn1/Makefile << 'END-of-dumpasn1/Makefile'
X# New ports collection makefile for:	dumpasn1
X# Date created:		6 May 2000
X# Whom:			kris@FreeBSD.org
X#
X# $FreeBSD: ports/converters/dumpasn1/Makefile,v 1.5 2001/03/10 03:04:26 kris Exp $
X#
X
XPORTNAME=	dumpasn1
XPORTVERSION=	20001206
XCATEGORIES=	converters security
XMASTER_SITES=	http://www.cs.auckland.ac.nz/~pgut001/
XDISTFILES=	dumpasn1.c dumpasn1.cfg
XEXTRACT_ONLY=
X
XMAINTAINER=	kris@FreeBSD.org
X
Xdo-extract:
X	@${MKDIR} ${WRKSRC}
X	@${CP} ${DISTDIR}/dumpasn1.c ${WRKSRC}
X
Xdo-build:
X	cd ${WRKSRC} && \
X	${CC} ${CFLAGS} -DCONFIG_NAME=\"${PREFIX}/share/dumpasn1/dumpasn1.cfg\" -o dumpasn1 dumpasn1.c
X
Xdo-install:
X	${MKDIR} ${PREFIX}/share/dumpasn1
X	${INSTALL_PROGRAM} ${WRKSRC}/dumpasn1 ${PREFIX}/bin
X	${INSTALL_DATA} ${DISTDIR}/dumpasn1.cfg ${PREFIX}/share/dumpasn1
X.include <bsd.port.mk>
END-of-dumpasn1/Makefile
echo x - dumpasn1/distinfo
sed 's/^X//' >dumpasn1/distinfo << 'END-of-dumpasn1/distinfo'
XMD5 (dumpasn1.c) = 49da6ce1abe5924d31490ad08af96410
XMD5 (dumpasn1.cfg) = 19a69597c7dd95f0d04070fd1b9d8273
END-of-dumpasn1/distinfo
echo x - dumpasn1/pkg-comment
sed 's/^X//' >dumpasn1/pkg-comment << 'END-of-dumpasn1/pkg-comment'
XDumps the contents of an ASN.1 encoded file, e.g. an SSL certificate
END-of-dumpasn1/pkg-comment
echo x - dumpasn1/pkg-descr
sed 's/^X//' >dumpasn1/pkg-descr << 'END-of-dumpasn1/pkg-descr'
Xdumpasn1 is an ASN.1 parser which dumps the contents of an ASN.1-encoded
Xfile, as well as interpreting the OIDs contained in the file into
Xhuman-readable format. Dumpasn1 is intended for examining the contents
Xof PKI certificates and comes with a full list of security-related OIDs,
Xbut can be easily extended to parse other OIDs as well.
X
XWWW: http://www.cs.auckland.ac.nz/~pgut001/
END-of-dumpasn1/pkg-descr
echo x - dumpasn1/pkg-plist
sed 's/^X//' >dumpasn1/pkg-plist << 'END-of-dumpasn1/pkg-plist'
Xbin/dumpasn1
Xshare/dumpasn1/dumpasn1.cfg
X@dirrm share/dumpasn1
END-of-dumpasn1/pkg-plist
echo c - dumpasn1/files
mkdir -p dumpasn1/files > /dev/null 2>&1
echo x - dumpasn1/files/patch-aa
sed 's/^X//' >dumpasn1/files/patch-aa << 'END-of-dumpasn1/files/patch-aa'
X--- dumpasn1.c.orig	Sat Dec  1 21:59:04 2001
X+++ dumpasn1.c	Sat Dec  1 22:09:16 2001
X@@ -246,7 +246,9 @@
X #ifdef TANDEM_NSK
X   #define CONFIG_NAME		"asn1cfg"
X #else
X+  #ifndef CONFIG_NAME
X   #define CONFIG_NAME		"dumpasn1.cfg"
X+  #endif
X #endif /* TANDEM_NSK */
X 
X #if defined( TANDEM_NSK )
END-of-dumpasn1/files/patch-aa
echo x - dumpasn1/README.html
sed 's/^X//' >dumpasn1/README.html << 'END-of-dumpasn1/README.html'
X<html>
X<title> The FreeBSD Ports Collection (converters/dumpasn1)</title>
X<head><h1> The FreeBSD Ports Collection ("converters/dumpasn1")</h1> </head> <hr>
X<body>
X
X<p>You are now in the directory for the port "converters/dumpasn1" (package name "dumpasn1-20001017").
X
X<p>This is the one-line description for this port:
X
X<p><hr><p>
XDumps the contents of an ASN.1 encoded file, e.g. an SSL certificate
X<p><hr>
X
X<p>Please read the "<a href="pkg-descr">description file</a>" for a
Xlonger description.
X
X<p>Go to the <a href="../../README.html">top of the ports tree</a> for
Xa summary on how to use the ports collection.
X
X<p>
X
X<p>
X
X
X<p><hr><p>
X<a href="../README.html"> Go up one level</a>
X|
X<a href="../../README.html"> Go to top of ports tree</a>
X</body>
X</html>
END-of-dumpasn1/README.html
exit
--- dumpasn1.shar ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->kris 
Responsible-Changed-By: petef 
Responsible-Changed-When: Sat Dec 1 16:51:01 PST 2001 
Responsible-Changed-Why:  
Over to maintainer 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=32430 
State-Changed-From-To: open->closed 
State-Changed-By: kris 
State-Changed-When: Sat Jan 5 19:24:53 PST 2002 
State-Changed-Why:  
I updated the port a couple of days before the PR was 
submitted - thanks anyway.  In future, please submit 
updates as patches instead of complete shar archives: they're 
much easier to manage. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=32430 
>Unformatted:
