summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2012-02-16 12:51:32 +0000
committerDirkjan Ochtman <djc@gentoo.org>2012-02-16 12:51:32 +0000
commitbdb4e302316ea56007a50ea7feb9247db6cd018d (patch)
tree096fec2a774066ea4c2ea03c1f9fa967de867ddb /dev-lua
parentadd keyword ~ppc-aix, relies on package.use.mask 'jit' (diff)
downloadhistorical-bdb4e302316ea56007a50ea7feb9247db6cd018d.tar.gz
historical-bdb4e302316ea56007a50ea7feb9247db6cd018d.tar.bz2
historical-bdb4e302316ea56007a50ea7feb9247db6cd018d.zip
Version bump luasec to 0.4.1 (bug 388799).
Package-Manager: portage-2.1.10.46/cvs/Linux x86_64
Diffstat (limited to 'dev-lua')
-rw-r--r--dev-lua/luasec/ChangeLog9
-rw-r--r--dev-lua/luasec/Manifest16
-rw-r--r--dev-lua/luasec/luasec-0.4.1.ebuild43
3 files changed, 58 insertions, 10 deletions
diff --git a/dev-lua/luasec/ChangeLog b/dev-lua/luasec/ChangeLog
index 425c26a61fc9..8d2e6f21a729 100644
--- a/dev-lua/luasec/ChangeLog
+++ b/dev-lua/luasec/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-lua/luasec
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lua/luasec/ChangeLog,v 1.2 2010/11/05 21:33:44 rafaelmartins Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lua/luasec/ChangeLog,v 1.3 2012/02/16 12:51:32 djc Exp $
+
+*luasec-0.4.1 (16 Feb 2012)
+
+ 16 Feb 2012; Dirkjan Ochtman <djc@gentoo.org> +luasec-0.4.1.ebuild:
+ Version bump to 0.4.1 (bug 388799).
05 Nov 2010; Rafael G. Martins <rafaelmartins@gentoo.org>
luasec-0.4.ebuild:
diff --git a/dev-lua/luasec/Manifest b/dev-lua/luasec/Manifest
index bb3671fcea59..5fcaac72d97e 100644
--- a/dev-lua/luasec/Manifest
+++ b/dev-lua/luasec/Manifest
@@ -1,17 +1,17 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA256
+Hash: SHA512
AUX luasec-0.4_Makefile.patch 517 RMD160 e5ee76438fab683d9f5f872d3048b5e54398d6ce SHA1 5ed553921169e61d8ad5d494e0ec2083cd8ab659 SHA256 f157ed946bb3c6c2d7826e5fecc371156c4237a6a897d9f6042912a66cd314c0
+DIST luasec-0.4.1.tar.gz 28646 RMD160 6327e180323bd0ca2cb7aca3300ea7522f5948c8 SHA1 ae0a69113b9ed900a1b42083435a91536e64597f SHA256 9a9ea9f23044d41be29aea3de1bd795118a29e7311ea4c55fe1f0bc1c74a448b
DIST luasec-0.4.tar.gz 27829 RMD160 61b613ac8d767545a327adc88f1dce70ceb8f64b SHA1 b7fe55fd2a75e0233c1d5bd858e48366422901d6 SHA256 111732f0e646120a701d33e7d3a613a9a901c11c0a01d0805d73ef90c3f0abd5
+EBUILD luasec-0.4.1.ebuild 1153 RMD160 c56a2fb029eb7b506f162fa8ec219ffd82586851 SHA1 f01175059d3392ea7e72ab82b30023b18ca134c6 SHA256 ffffc25ba8e37d480aa253e20dd45191ae9191f1b00ba00e56cfa549d44995aa
EBUILD luasec-0.4.ebuild 1156 RMD160 ffda4a41a366fb72a2428d0cc94ee0d75d9ea274 SHA1 45a0071f7969f57609d1909bb7adb5b095550d0c SHA256 6b2763238784c40cb641d9ea464a875bc1c2329315e1133693d2d8dea8ed1cad
-MISC ChangeLog 962 RMD160 3d12f4a64e6cbe81bce3e80a993e316b3e9744d8 SHA1 ebc1bfb83eedd26b63eff43cbe9fd6ab6f41363c SHA256 93a060ea8d86b7ca4861e242545a095e2852898fc19c27bc35f3b3a618b58f7d
+MISC ChangeLog 1090 RMD160 3ff912c34235e2fde146667092d3f340c98cd3aa SHA1 99c1d731f2957a01234f60edeaf74ee71854bce2 SHA256 c64061efb7908307df8b494e5a3d71aae52769e90bac063ad068291070473416
MISC metadata.xml 373 RMD160 309ead0f85fad58f02aee18e0253f851c4cb68c2 SHA1 ab1309c2cb2ed58ada4b9196850db3c24b204900 SHA256 eda845a828083e17a111380c9ff92d0222b8f665369c4e28571e388659f457a6
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.18 (GNU/Linux)
+Version: GnuPG v2.0.17 (GNU/Linux)
-iJwEAQEIAAYFAk59DAEACgkQfXuS5UK5QB3h7gP+LS31UB9lf9zgfFJXIXGl2THh
-tJYuHUyuhbi7Bkckz/4Vv0iltGHNW0m5Mjq+MUSkJ2TymbjG2VR3MobdV8R+T55T
-G/QjrMpQfDzGugXHA1inBBMwV29OJFNZLtOjZdgv8PjY4xTZCp3eqNjMivedAlE9
-+3P5JgrTWoQXZ/x5YyI=
-=6EPx
+iEYEAREKAAYFAk88+90ACgkQxeMuLWsGW/tq0wCgm/byG88WlwjorUv2EoBsDAhh
+TnIAoJB9CBW3H9Zqy27xpE10OnQFPRtI
+=N4MM
-----END PGP SIGNATURE-----
diff --git a/dev-lua/luasec/luasec-0.4.1.ebuild b/dev-lua/luasec/luasec-0.4.1.ebuild
new file mode 100644
index 000000000000..2e1dcd15b868
--- /dev/null
+++ b/dev-lua/luasec/luasec-0.4.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lua/luasec/luasec-0.4.1.ebuild,v 1.1 2012/02/16 12:51:32 djc Exp $
+
+EAPI=2
+
+inherit multilib toolchain-funcs flag-o-matic eutils
+
+DESCRIPTION="Lua binding for OpenSSL library to provide TLS/SSL communication."
+HOMEPAGE="http://www.inf.puc-rio.br/~brunoos/luasec/"
+SRC_URI="http://www.inf.puc-rio.br/~brunoos/luasec/download/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND=">=dev-lang/lua-5.1[deprecated]
+ dev-lua/luasocket
+ dev-libs/openssl"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_prepare() {
+ sed -i -e "s#^LUAPATH=.*#LUAPATH=$(pkg-config --variable INSTALL_LMOD lua)#" "${S}/Makefile"
+ sed -i -e "s#^LUACPATH=.*#LUACPATH=$(pkg-config --variable INSTALL_CMOD lua)#" "${S}/Makefile"
+ epatch "${FILESDIR}/${PN}-0.4_Makefile.patch"
+}
+
+src_compile() {
+ append-flags -fPIC
+ emake \
+ CFLAGS="${CFLAGS}" \
+ LDFLAGS="${LDFLAGS}" \
+ CC="$(tc-getCC)" \
+ LD="$(tc-getCC) -shared" \
+ linux \
+ || die
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "Install failed"
+}