summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-05-08 23:29:40 +0000
committerTim Harder <radhermit@gentoo.org>2013-05-08 23:29:40 +0000
commit7c0e6373d9895bfe72139e8b938f32b6a770fa0b (patch)
tree90d687ffe6a7f27ace03c3e8fe3d52e098ec5074 /dev-lua
parentInitial import, ebuild by me (bug #412015 by hasufell). (diff)
downloadhistorical-7c0e6373d9895bfe72139e8b938f32b6a770fa0b.tar.gz
historical-7c0e6373d9895bfe72139e8b938f32b6a770fa0b.tar.bz2
historical-7c0e6373d9895bfe72139e8b938f32b6a770fa0b.zip
Initial import, ebuild by me (bug #412015 by hasufell).
Package-Manager: portage-2.2.0_alpha174/cvs/Linux x86_64 Manifest-Sign-Key: 0x4AB3E85B4F064CA3
Diffstat (limited to 'dev-lua')
-rw-r--r--dev-lua/luacrypto/Manifest18
-rw-r--r--dev-lua/luacrypto/files/luacrypto-0.3.2-test.patch11
-rw-r--r--dev-lua/luacrypto/luacrypto-0.3.2.ebuild44
-rw-r--r--dev-lua/luacrypto/metadata.xml8
4 files changed, 79 insertions, 2 deletions
diff --git a/dev-lua/luacrypto/Manifest b/dev-lua/luacrypto/Manifest
index 6c667e13a864..0ea67e74153d 100644
--- a/dev-lua/luacrypto/Manifest
+++ b/dev-lua/luacrypto/Manifest
@@ -1,5 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX luacrypto-0.3.2-test.patch 262 SHA256 49b889bb0918f14f044dae0f0ec192c7597d0b5df484c09b561a492ab91320da SHA512 ac4e3fdb9e442181700ef32a8e29666e5d255afb61ab78326ed1d18ae43a8998200ff58d1599223bc820d5b9f5e7394249efd5f221c3b184fa935a108a9997f9 WHIRLPOOL 2ff4d7acc88c573fe0fb7a0dd50ab5532b76012d6a0266c905d53c602cb1793a9f2c42f0d2320dd38521eb4c04b5f5b2d29f54950d547a1f1b6e0b26ceb2c77d
DIST luacrypto-0.3.2.tar.gz 374363 SHA256 63c5d7e2539779039114335b9a8f149d63382c4db298d69e70488a0108143bb4 SHA512 4cb20d2cc348a11f140210dffb803629034c72cc7232590f4488f559d5c7233e0c41e56fcd0863959ac0b07e64c9aa79ea573e4126fdc11bc3f1b3b49d13343e WHIRLPOOL afb2ab562f4d983396debc68b48bbe295f90d9dd38fad5b9a474d7391783511ab4358e077ca3c383ba365766bc197685c5787686385c80a38425b89870542924
-EBUILD luacrypto-0.3.2.ebuild 952 SHA256 c59b66e3c082af89e2e6eb618b5edfeb6fd95ed833b366f10fa0b066fa7a80a8 SHA512 78025c6b07cbd9a91b991b132ace09219fd50401108fb4efa03cce7efb1a51ef5f4821054bcc832ba78e3d070753769ca9295b73e50ea1975defaf847c0c703f WHIRLPOOL 2c95e776f84ed60f8bc0ee0f1b4fd920be4e2b276115273ae40a2f3f92c1ef3621187398b85ab5f476505e5c81ab7bbb69d389a504dbe9b89ec35f07e70fa78c
-MISC ChangeLog 335 SHA256 586c4a9557ddf3ecca06266f43347ab6dfbb74dd6a4f31e7106b3546ddafa474 SHA512 d9dd45654d2824b14c03efbdc4f81db78026b6b93c947dd144897d70c00c79d7305513d7bf06cab85fae4f1a1d6ea304b9d0491111fc2f083a417492e2c68406 WHIRLPOOL 3edb81c2a89a9603f7fcafe1c68afceebe14e34ef337395fd75fc9d90d11e9adf9382182f1746cbffaac7c4b2935ef1554b6dca3c6bb4e3dc48d84bf08e0c4b1
+EBUILD luacrypto-0.3.2.ebuild 1057 SHA256 5e1792a9555fe8e65c2caedfa40d687720d4e88d6bb0a907aad24f661c71b2a1 SHA512 120b87f26679a7c91fe66f3fbf88cb55192c7fed45c41888c704c8896ec7d621851792031818c15f8ab6a9c169b4c68d825a24bdc3ad20d43c787db2050d70cd WHIRLPOOL 3ce53b87ba5b0ee6d5ca8a8d4b62ffab1905b6650f264da147f703867de9fa26da8f74cb0fcfcc5be612db9ac6d7ff9a1fd6b54f31e610590ea64bc42153d70d
+MISC ChangeLog 427 SHA256 e43df7745a2c7a2be0b33c328c40376fde054f06438d156186a39661bda810e3 SHA512 b25e90bedfc6c82144c7c94860df9b6cf8dc657cced04def025947ac1758d50f0191fe0e417357fc50bde0e46704b2ecf2506da118872d0724f6257b882cbc7c WHIRLPOOL 9fa23deb3fbdf65cbcda64e674a70c7d4fe5030c30742c358f9b94670b33f73bc1bc07b4499a6ad6e0669d7c6425407e41eb2ec492c4daee4a082620fd0336d2
MISC metadata.xml 236 SHA256 5285fd5ca6bc85e0392ff64ec8e54d0018ebd761d3977869c00c93dee45ea09d SHA512 a1abf9a60fb1a2078d0475df655f8abd4b2f877f8d232028232fafca2eb7e7ae6ec2c835c4fe0ef27b3b5655d746d1fe53bbcb353703819448ddec84acdd4215 WHIRLPOOL fdbf5fcd34aa17330575f013aef4c87a8b039b62b6de3337a4004a6a0217238ceca43fa15425c30ddb7a5a632de7eb138ed541dfb161614cba817527297781e2
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.19 (GNU/Linux)
+
+iQEcBAEBCAAGBQJRit/kAAoJEEqz6FtPBkyjuVQH/jgO3F+mS85AvYYe9gFPaVEU
+ZUWNMxq8Nnlj4TjVOIWkL6aM24Yix7az8H08qzwet5GxEgP6ieW4jaJG8H5XDPPi
+4FyBrP0uBxE9s9/D+dBpJUcXtXOubOMT5iE+Cx/NtVnFP76GukyO3QRzNluEILdL
+vuLVCMASzf1m+o80A6D0rjdkVBKdvhtTJ9bKVWWCso+kTfQpTWu9R2c5fdMxhNnY
+1u7h4AJfvGTNi0DD0yJCRIwGYU/JEoB43X1N6o/0Zynh79dl86UwWMzmatV5bm9e
+jzRy9WGKE0d3LDR1vSRqJlcRgLhGllwo1N0tst2QRYHvOS4a/qedTD1o/yoBy8I=
+=7KyO
+-----END PGP SIGNATURE-----
diff --git a/dev-lua/luacrypto/files/luacrypto-0.3.2-test.patch b/dev-lua/luacrypto/files/luacrypto-0.3.2-test.patch
new file mode 100644
index 000000000000..ae2315aeadd8
--- /dev/null
+++ b/dev-lua/luacrypto/files/luacrypto-0.3.2-test.patch
@@ -0,0 +1,11 @@
+--- luacrypto-0.3.2/tests/test.lua
++++ luacrypto-0.3.2/tests/test.lua
+@@ -20,7 +20,7 @@
+ assert(s == _G[t .. "_KNOWN"])
+ end
+
+-F = arg[1] or 'message'
++F = 'message'
+ for i, t in ipairs({"sha1", "md5", "sha1", "hmac"}) do
+ print("testing " .. t)
+ local d
diff --git a/dev-lua/luacrypto/luacrypto-0.3.2.ebuild b/dev-lua/luacrypto/luacrypto-0.3.2.ebuild
new file mode 100644
index 000000000000..4a084f783345
--- /dev/null
+++ b/dev-lua/luacrypto/luacrypto-0.3.2.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lua/luacrypto/luacrypto-0.3.2.ebuild,v 1.1 2013/05/08 23:29:36 radhermit Exp $
+
+EAPI=5
+
+inherit cmake-utils multilib
+
+DESCRIPTION="Lua frontend to OpenSSL"
+HOMEPAGE="http://mkottman.github.io/luacrypto/ https://github.com/mkottman/luacrypto/"
+SRC_URI="https://github.com/mkottman/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND=">=dev-lang/lua-5.1
+ dev-libs/openssl:0"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+PATCHES=( "${FILESDIR}"/${P}-test.patch )
+
+DOCS=( ChangeLog README )
+
+src_configure() {
+ local mycmakeargs=(
+ "-DSKIP_INSTALL_DATA=ON"
+ "-DINSTALL_LMOD=$(pkg-config --variable INSTALL_LMOD lua)"
+ "-DINSTALL_CMOD=$(pkg-config --variable INSTALL_CMOD lua)"
+ )
+ cmake-utils_src_configure
+}
+
+src_test() {
+ cp tests/message "${BUILD_DIR}" || die
+ cmake-utils_src_test
+}
+
+src_install() {
+ cmake-utils_src_install
+ use doc && dohtml doc/us/*
+}
diff --git a/dev-lua/luacrypto/metadata.xml b/dev-lua/luacrypto/metadata.xml
new file mode 100644
index 000000000000..efa5eb0078f3
--- /dev/null
+++ b/dev-lua/luacrypto/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version = '1.0' encoding = 'UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>radhermit@gentoo.org</email>
+ <name>Tim Harder</name>
+ </maintainer>
+</pkgmetadata>