diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2002-12-15 00:10:53 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2002-12-15 00:10:53 +0000 |
commit | 7eedb943e1768739e13a682f5fa0d31075361c79 (patch) | |
tree | db537d4e0dd84cdf2592e402f37276fd0091aad2 /converters/dumpasn1 | |
parent | 30b3d93664e09a1a8b6a340d3e5d04ddc29b3947 (diff) | |
download | ports-7eedb943e1768739e13a682f5fa0d31075361c79.tar.gz ports-7eedb943e1768739e13a682f5fa0d31075361c79.zip |
Notes
Diffstat (limited to 'converters/dumpasn1')
-rw-r--r-- | converters/dumpasn1/Makefile | 16 | ||||
-rw-r--r-- | converters/dumpasn1/distinfo | 4 | ||||
-rw-r--r-- | converters/dumpasn1/files/patch-ab | 14 |
3 files changed, 21 insertions, 13 deletions
diff --git a/converters/dumpasn1/Makefile b/converters/dumpasn1/Makefile index abb916e54239..77c2590ef91a 100644 --- a/converters/dumpasn1/Makefile +++ b/converters/dumpasn1/Makefile @@ -6,17 +6,24 @@ # PORTNAME= dumpasn1 -PORTVERSION= 20021007 +PORTVERSION= 20021118 CATEGORIES= converters security MASTER_SITES= http://www.cs.auckland.ac.nz/~pgut001/ DISTFILES= dumpasn1.c dumpasn1.cfg +DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} EXTRACT_ONLY= MAINTAINER= kris@FreeBSD.org +.include <bsd.port.pre.mk> + +.if ${OSVERSION} < 500000 +BROKEN= "Needs wprintf(), which isn't available on FreeBSD <5" +.endif + do-extract: @${MKDIR} ${WRKSRC} - @${CP} ${DISTDIR}/dumpasn1.c ${WRKSRC} + @${CP} ${DISTDIR}/${DIST_SUBDIR}/dumpasn1.c ${WRKSRC} do-build: cd ${WRKSRC} && \ @@ -25,5 +32,6 @@ do-build: do-install: ${MKDIR} ${PREFIX}/share/dumpasn1 ${INSTALL_PROGRAM} ${WRKSRC}/dumpasn1 ${PREFIX}/bin - ${INSTALL_DATA} ${DISTDIR}/dumpasn1.cfg ${PREFIX}/share/dumpasn1 -.include <bsd.port.mk> + ${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/dumpasn1.cfg ${PREFIX}/share/dumpasn1 + +.include <bsd.port.post.mk> diff --git a/converters/dumpasn1/distinfo b/converters/dumpasn1/distinfo index 1c7eee41d7c3..4bf334ae1ceb 100644 --- a/converters/dumpasn1/distinfo +++ b/converters/dumpasn1/distinfo @@ -1,2 +1,2 @@ -MD5 (dumpasn1.c) = 363c6bee2d46bfcb4d8574832a121eed -MD5 (dumpasn1.cfg) = 1b888e4a1eb3df3eff0c0eae9da521ac +MD5 (dumpasn1-20021118/dumpasn1.c) = 454763d5616b95dca5280c7651bd74ac +MD5 (dumpasn1-20021118/dumpasn1.cfg) = 1b888e4a1eb3df3eff0c0eae9da521ac diff --git a/converters/dumpasn1/files/patch-ab b/converters/dumpasn1/files/patch-ab index cd6f1e51271d..cf573ab44378 100644 --- a/converters/dumpasn1/files/patch-ab +++ b/converters/dumpasn1/files/patch-ab @@ -1,16 +1,16 @@ ---- dumpasn1.c Fri Oct 26 06:34:34 2001 -+++ /tmp/dumpasn1.c Thu Nov 29 20:39:43 2001 -@@ -243,11 +243,13 @@ +--- dumpasn1.c.orig Sat Dec 14 15:13:32 2002 ++++ dumpasn1.c Sat Dec 14 15:15:24 2002 +@@ -292,11 +292,13 @@ beginning with a '$' uses the appropriate environment variable. In addition under Unix we also walk down $PATH looking for it */ +#ifndef CONFIG_NAME - #ifdef TANDEM_NSK + #ifdef __TANDEM_NSK__ #define CONFIG_NAME "asn1cfg" #else #define CONFIG_NAME "dumpasn1.cfg" - #endif /* TANDEM_NSK */ -+#endif /* CONFIG_NAME */ + #endif /* __TANDEM_NSK__ */ ++#endif - #if defined( TANDEM_NSK ) + #if defined( __TANDEM_NSK__ ) |