# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
categories textproc security
description an ASN.1 decoder and pretty-printer
The dumpasn1 program decodes BER and DER-encoded \
ASN.1 data, and is configured with knowledge of \
many security-related objects.
homepage http://www.cs.auckland.ac.nz/~pgut001/
master_sites debian:d/${name}/
distfiles ${name}_${version}.orig${extract.suffix}
checksums rmd160 203d79e1ef0ea9a614557d178d388499245554c5 \
sha256 6119a9e218c6d7744419fda413c8ea850c272a83c1d1716a5cc6b87a63215594
patchfiles bug348856.patch \
reinplace "s|/etc/dumpasn1/|${prefix}/etc/|g" \
"${worksrcpath}/dumpasn1.c"
system -W ${worksrcpath} "${configure.cc} [get_canonical_archflags] -o dumpasn1 dumpasn1.c"
xinstall -c -m 0755 ${worksrcpath}/dumpasn1 \
${destroot}${prefix}/bin/dumpasn1
xinstall -c -m 0644 ${worksrcpath}/dumpasn1.cfg \
${destroot}${prefix}/etc/dumpasn1.cfg
livecheck.url http://http.debian.net/debian/pool/main/d/dumpasn1/
livecheck.regex ${name}_(\[0-9\]+).orig${extract.suffix}