diff options
author | Emanuel Duss | 2015-06-09 11:21:16 +0200 |
---|---|---|
committer | Emanuel Duss | 2015-06-09 11:21:16 +0200 |
commit | c1ec13c77dda71741bf5d63ed11c1c4c386ba5d2 (patch) | |
tree | ab33287db8bbc01bc2194e02901d82c5b86ba0b4 | |
download | aur-c1ec13c77dda71741bf5d63ed11c1c4c386ba5d2.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 17 | ||||
-rw-r--r-- | LICENSE | 16 | ||||
-rw-r--r-- | PKGBUILD | 28 |
3 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1162c33bf3a9 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,17 @@ +pkgbase = dumpasn1 + pkgdesc = ASN.1 analyze tool + pkgver = 20141219 + pkgrel = 1 + url = http://www.cs.auckland.ac.nz/~pgut001 + arch = i686 + arch = x86_64 + license = custom + source = http://www.cs.auckland.ac.nz/~pgut001/dumpasn1.c + source = http://www.cs.auckland.ac.nz/~pgut001/dumpasn1.cfg + source = LICENSE + sha256sums = d0d77c951a0471c88f14db6d3f6ca32f6492954f4b1c7d2aedbf4fe97905b32c + sha256sums = 0940792d7e83c6229a5b9bdda89c19b01e9b9962c81f2cd8845ca54b34ea2457 + sha256sums = f58dfb06633792773b4e539666f0fac52eb44acf29619175d073b146e22785e4 + +pkgname = dumpasn1 + diff --git a/LICENSE b/LICENSE new file mode 100644 index 000000000000..d191458314df --- /dev/null +++ b/LICENSE @@ -0,0 +1,16 @@ +ASN.1 object dumping code, copyright Peter Gutmann +<pgut001@cs.auckland.ac.nz>, based on ASN.1 dump program by David Kemp +<dpkemp@missi.ncsc.mil>, with contributions from various people including +Matthew Hamrick <hamrick@rsa.com>, Bruno Couillard +<bcouillard@chrysalis-its.com>, Hallvard Furuseth +<h.b.furuseth@usit.uio.no>, Geoff Thorpe <geoff@raas.co.nz>, David Boyce +<d.boyce@isode.com>, John Hughes <john.hughes@entegrity.com>, Life is hard, +and then you die <ronald@trustpoint.com>, Hans-Olof Hermansson +<hans-olof.hermansson@postnet.se>, Tor Rustad <Tor.Rustad@bbs.no>, +Kjetil Barvik <kjetil.barvik@bbs.no>, James Sweeny <jsweeny@us.ibm.com>, +and several other people whose names I've misplaced. + +[...] + +You can use this code in whatever way you want, as long as you don't +try to claim you wrote it. diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ceaa18a734f2 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Emanuel Duss <emanuel.duss@gmail.com> +# Contributor: Nicolas Martyanoff <khaelin@gmail.com> +pkgname=dumpasn1 +pkgver=20141219 +pkgrel=1 +pkgdesc="ASN.1 analyze tool" +url="http://www.cs.auckland.ac.nz/~pgut001" +license=('custom') +source=('http://www.cs.auckland.ac.nz/~pgut001/dumpasn1.c' + 'http://www.cs.auckland.ac.nz/~pgut001/dumpasn1.cfg' + 'LICENSE') +sha256sums=('d0d77c951a0471c88f14db6d3f6ca32f6492954f4b1c7d2aedbf4fe97905b32c' + '0940792d7e83c6229a5b9bdda89c19b01e9b9962c81f2cd8845ca54b34ea2457' + 'f58dfb06633792773b4e539666f0fac52eb44acf29619175d073b146e22785e4') + +arch=('i686' 'x86_64') +depends=() + +build() { + cd "${srcdir}" + gcc -o dumpasn1 dumpasn1.c +} + +package(){ + install -D -m755 "${srcdir}/dumpasn1" "${pkgdir}/usr/bin/dumpasn1" + install -D -m644 "${srcdir}/dumpasn1.cfg" "${pkgdir}/etc/dumpasn1/dumpasn1.cfg" + install -D -m644 "${srcdir}/../LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |