Hello to everyone,

I'm interested in becoming a package maintainer for the program dumpasn1.
(see https://packages.debian.org/sid/dumpasn1 and https://www.cs.auckland.ac.nz/~pgut001/)

It would be a new package for the cygwin distribution, but it is already
distributed on different systems, like Arch, Debian, Fedora, openSUSE,
Gentoo and many others

.hint and .cygport files are attached

As the name implies, it is a program for dumping data encoded using the ASN.1 encoding rules


Best regards

Federico Kircheis
# dumpasn1.cygport
NAME="dumpasn1"
VERSION=20210212
RELEASE=1
SUMMARY="ASN.1 object dump program"
DESCRIPTION="An ASN.1 object dump program which will dump data encoded using 
any of the ASN.1 encoding rules in a variety of user-specified formats.
dumpasn1 employs a user-editable configuration file dumpasn1.cfg which provides 
information on ASN.1 object identifiers. Currently it covers all known 
security-related OIDs."
CATEGORY="Utils"

HOMEPAGE="https://www.cs.auckland.ac.nz/~pgut001/";
SRC_URI="http://deb.debian.org/debian/pool/main/d/dumpasn1/dumpasn1_${VERSION}.orig.tar.gz";
SRC_DIR="dumpasn1-${VERSION}"

BUILD_REQUIRES=""
REQUIRES=""

PKG_NAMES="dumpasn1"

src_compile() {
        lndirs
        cd ${B}
        ${CC} dumpasn1.c -o dumpasn1
}

src_install() {
        cd ${B}
        mkdir -p ${D}/usr/bin/
        cp dumpasn1 ${D}/usr/bin/
        mkdir -p ${D}/etc/dumpasn1
        cp dumpasn1.cfg ${D}/etc/dumpasn1/
}


# asn1dump.hint
sdesc: "ASN.1 object dump program"
ldesc: "An ASN.1 object dump program which will dump data encoded using any of 
the ASN.1 encoding rules in a variety of user-specified formats.
dumpasn1 employs a user-editable configuration file dumpasn1.cfg which provides 
information on ASN.1 object identifiers. Currently it covers all known 
security-related OIDs."
category=Utils

Reply via email to