Add app-crypt/oid-converter
authorkristianf <devnull@localhost>
Sun, 2 Feb 2014 16:44:04 +0000 (17:44 +0100)
committerkristianf <devnull@localhost>
Sun, 2 Feb 2014 16:44:04 +0000 (17:44 +0100)
app-crypt/oid-converter/Manifest [new file with mode: 0644]
app-crypt/oid-converter/oid-converter-1.1.ebuild [new file with mode: 0644]

diff --git a/app-crypt/oid-converter/Manifest b/app-crypt/oid-converter/Manifest
new file mode 100644 (file)
index 0000000..976d05a
--- /dev/null
@@ -0,0 +1,2 @@
+DIST oid.c 8849 SHA256 a282a0ca3a7358440932c7d74c3d12023f70a2ee9a1b72d7a63aabec244ebd7a SHA512 c3ccf176146669415eb38a963327fb436f84fcd50c8fb67a1da32e4b0cc6da36914ef5757dd5eeb4e6def2af651826731b12a67925f586b1943fbd09ef180244 WHIRLPOOL 216149c48dcd97f82650ded72b3d05d9fbe111358dce02c7ff5c7f3fb88f7c471c6bef52b9121a54da452c023b0aa9385502c89e2bcc79c21e05daa9872005ec
+EBUILD oid-converter-1.1.ebuild 777 SHA256 e790b1d96aafff1e07579f1069d7aa42d6d5a5d17a86d91a13a22ba252efbd42 SHA512 b903e3a43868a0ee952fca9b0053a27b764836589e7815c3c2f9b260a79ba8147cb9106b0478284190777f2fa3bfcd24b73f1ef68f1c0f52b4338adae6b7900d WHIRLPOOL 14c9a3bf5f77d31f0cb4ef3df7dbaa609ecc96c598bd5ed8dcd6a1de10deaefe4c82f23943b28bee2b96cf32707d426ace1bd0cf07aa90a2301060e8cfd5740b
diff --git a/app-crypt/oid-converter/oid-converter-1.1.ebuild b/app-crypt/oid-converter/oid-converter-1.1.ebuild
new file mode 100644 (file)
index 0000000..a04d9f1
--- /dev/null
@@ -0,0 +1,37 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+inherit eutils
+
+DESCRIPTION="The OID converter is a handy little tool to convert ASN.1 OIDs from readable dotted decimal notation to binary hexadecimal Distinguished Encoding Rules (DER) representation and vice versa."
+HOMEPAGE="http://www.rtner.de/software/oid.html"
+
+LICENSE=""
+SLOT="0"
+IUSE=""
+SRC_URI="http://www.rtner.de/software/oid.c"
+DEPEND=""
+KEYWORDS="~amd64 ~x86"
+
+DOCS=( )
+
+RDEPEND=""
+
+src_unpack()
+{
+    mkdir -p ${S}
+    cp ${DISTDIR}/oid.c ${S}
+}
+
+src_compile()
+{
+    #This package ships as a single .c file, manual compile process needed
+    $(tc-getCC) ${LDFLAGS} ${CFLAGS} -o ${PN} oid.c || die
+}
+
+src_install()
+{
+   dobin ${PN}
+}