diff options
author | Kris Kennaway <kris@FreeBSD.org> | 2000-05-07 03:32:54 +0000 |
---|---|---|
committer | Kris Kennaway <kris@FreeBSD.org> | 2000-05-07 03:32:54 +0000 |
commit | 47fc61855b13f3bb0bf553876f87554b9bb5d76d (patch) | |
tree | aa8324bcd7e29ad8102ac8a9abae1e8a2c9bfff5 /converters | |
parent | 3c024e8418d3b7d283fb6c79305ed981b515ca22 (diff) | |
download | ports-47fc61855b13f3bb0bf553876f87554b9bb5d76d.tar.gz ports-47fc61855b13f3bb0bf553876f87554b9bb5d76d.zip |
Notes
Diffstat (limited to 'converters')
-rw-r--r-- | converters/Makefile | 1 | ||||
-rw-r--r-- | converters/dumpasn1/Makefile | 29 | ||||
-rw-r--r-- | converters/dumpasn1/distinfo | 2 | ||||
-rw-r--r-- | converters/dumpasn1/files/patch-aa | 17 | ||||
-rw-r--r-- | converters/dumpasn1/pkg-comment | 1 | ||||
-rw-r--r-- | converters/dumpasn1/pkg-descr | 7 | ||||
-rw-r--r-- | converters/dumpasn1/pkg-plist | 2 |
7 files changed, 59 insertions, 0 deletions
diff --git a/converters/Makefile b/converters/Makefile index b4418e6a1b75..512e47849f78 100644 --- a/converters/Makefile +++ b/converters/Makefile @@ -3,6 +3,7 @@ SUBDIR += aish SUBDIR += btoa + SUBDIR += dumpasn1 SUBDIR += fconv SUBDIR += i18ntools SUBDIR += iconv diff --git a/converters/dumpasn1/Makefile b/converters/dumpasn1/Makefile new file mode 100644 index 000000000000..222eae63cb15 --- /dev/null +++ b/converters/dumpasn1/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: dumpasn1 +# Date created: 6 May 2000 +# Whom: kris@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= dumpasn1 +PORTVERSION= 19990914 +CATEGORIES= converters security +MASTER_SITES= http://www.cs.auckland.ac.nz/~pgut001/ +DISTFILES= dumpasn1.c dumpasn1.cfg +EXTRACT_ONLY= + +MAINTAINER= kris@FreeBSD.org + +do-extract: + @${MKDIR} ${WRKSRC} + @${CP} ${DISTDIR}/dumpasn1.c ${WRKSRC} + +do-build: + cd ${WRKSRC} && \ + ${CC} ${CFLAGS} -DCONFIG_NAME=\"${PREFIX}/share/dumpasn1/dumpasn1.cfg\" -o dumpasn1 dumpasn1.c + +do-install: + ${MKDIR} ${PREFIX}/share/dumpasn1 + ${INSTALL_PROGRAM} ${WRKSRC}/dumpasn1 ${PREFIX}/bin + ${INSTALL_DATA} ${DISTDIR}/dumpasn1.cfg ${PREFIX}/share/dumpasn1 +.include <bsd.port.mk> diff --git a/converters/dumpasn1/distinfo b/converters/dumpasn1/distinfo new file mode 100644 index 000000000000..29814dd7f3b3 --- /dev/null +++ b/converters/dumpasn1/distinfo @@ -0,0 +1,2 @@ +MD5 (dumpasn1.c) = c148dbfd182c92b94d13829f8fee383c +MD5 (dumpasn1.cfg) = c6b06f8fad85ca518ba352f0680d492d diff --git a/converters/dumpasn1/files/patch-aa b/converters/dumpasn1/files/patch-aa new file mode 100644 index 000000000000..bc6057ccc624 --- /dev/null +++ b/converters/dumpasn1/files/patch-aa @@ -0,0 +1,17 @@ +--- dumpasn1.c.orig Sat May 6 20:23:20 2000 ++++ dumpasn1.c Sat May 6 20:23:51 2000 +@@ -194,7 +194,9 @@ + path, since this doesn't set up argv[0] to the full path). Anything + beginning with a '$' uses the appropriate environment variable */ + ++#ifndef CONFIG_NAME + #define CONFIG_NAME "dumpasn1.cfg" ++#endif + + static const char *configPaths[] = { + /* Unix absolute paths */ +@@ -1817,4 +1819,3 @@ + + return( ( noErrors ) ? noErrors : EXIT_SUCCESS ); + } +- diff --git a/converters/dumpasn1/pkg-comment b/converters/dumpasn1/pkg-comment new file mode 100644 index 000000000000..42abd0c492bf --- /dev/null +++ b/converters/dumpasn1/pkg-comment @@ -0,0 +1 @@ +Dumps the contents of an ASN.1 encoded file, e.g. an SSL certificate diff --git a/converters/dumpasn1/pkg-descr b/converters/dumpasn1/pkg-descr new file mode 100644 index 000000000000..e4885eed2ec8 --- /dev/null +++ b/converters/dumpasn1/pkg-descr @@ -0,0 +1,7 @@ +dumpasn1 is an ASN.1 parser which dumps the contents of an ASN.1-encoded +file, as well as interpreting the OIDs contained in the file into +human-readable format. Dumpasn1 is intended for examining the contents +of PKI certificates and comes with a full list of security-related OIDs, +but can be easily extended to parse other OIDs as well. + +WWW: http://www.cs.auckland.ac.nz/~pgut001/ diff --git a/converters/dumpasn1/pkg-plist b/converters/dumpasn1/pkg-plist new file mode 100644 index 000000000000..8f5d758ef1f3 --- /dev/null +++ b/converters/dumpasn1/pkg-plist @@ -0,0 +1,2 @@ +bin/dumpasn1 +share/dumpasn1/dumpasn1.cfg |