summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Martins <rafaelmartins@gentoo.org>2010-11-05 21:07:55 +0000
committerRafael Martins <rafaelmartins@gentoo.org>2010-11-05 21:07:55 +0000
commit140d96faa5edc200f332d3edde77bb085d035faf (patch)
tree8131a8c07fdeaa2dc647cdd616ef86177d61e50d /dev-lua
parentVersion bump. Handle new firmwares and enhance UVC specs compliance. Drop old... (diff)
downloadhistorical-140d96faa5edc200f332d3edde77bb085d035faf.tar.gz
historical-140d96faa5edc200f332d3edde77bb085d035faf.tar.bz2
historical-140d96faa5edc200f332d3edde77bb085d035faf.zip
Moved from dev-libs to dev-lua. Added myself to metadata.xml.
Package-Manager: portage-2.2.0_alpha3/cvs/Linux x86_64
Diffstat (limited to 'dev-lua')
-rw-r--r--dev-lua/luasec/ChangeLog21
-rw-r--r--dev-lua/luasec/Manifest5
-rw-r--r--dev-lua/luasec/files/luasec-0.4_Makefile.patch17
-rw-r--r--dev-lua/luasec/luasec-0.4.ebuild43
-rw-r--r--dev-lua/luasec/metadata.xml14
5 files changed, 100 insertions, 0 deletions
diff --git a/dev-lua/luasec/ChangeLog b/dev-lua/luasec/ChangeLog
new file mode 100644
index 000000000000..ce6d4c6445a6
--- /dev/null
+++ b/dev-lua/luasec/ChangeLog
@@ -0,0 +1,21 @@
+# 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.1 2010/11/05 21:07:54 rafaelmartins Exp $
+
+ 05 Nov 2010; Rafael G. Martins <rafaelmartins@gentoo.org>
+ +luasec-0.4.ebuild, +files/luasec-0.4_Makefile.patch, +metadata.xml:
+ Moved from dev-libs to dev-lua. Added myself to metadata.xml.
+
+ 13 Jul 2010; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
+ metadata.xml:
+ Added missing herd tag to metadata.xml
+
+ 27 May 2010; Dirkjan Ochtman <djc@gentoo.org> luasec-0.4.ebuild:
+ Fix up use of bare make, pointed out by ssuominen.
+
+*luasec-0.4 (27 May 2010)
+
+ 27 May 2010; Dirkjan Ochtman <djc@gentoo.org> +luasec-0.4.ebuild,
+ +files/luasec-0.4_Makefile.patch, +metadata.xml:
+ Initial ebuild by jochen@schalanda.de, bug 290592.
+
diff --git a/dev-lua/luasec/Manifest b/dev-lua/luasec/Manifest
new file mode 100644
index 000000000000..edc8351bf685
--- /dev/null
+++ b/dev-lua/luasec/Manifest
@@ -0,0 +1,5 @@
+AUX luasec-0.4_Makefile.patch 517 RMD160 e5ee76438fab683d9f5f872d3048b5e54398d6ce SHA1 5ed553921169e61d8ad5d494e0ec2083cd8ab659 SHA256 f157ed946bb3c6c2d7826e5fecc371156c4237a6a897d9f6042912a66cd314c0
+DIST luasec-0.4.tar.gz 27829 RMD160 61b613ac8d767545a327adc88f1dce70ceb8f64b SHA1 b7fe55fd2a75e0233c1d5bd858e48366422901d6 SHA256 111732f0e646120a701d33e7d3a613a9a901c11c0a01d0805d73ef90c3f0abd5
+EBUILD luasec-0.4.ebuild 1157 RMD160 88ebbca15a396de9f0c08b68aceea9f3f23b5a99 SHA1 c051e63a8413ef75871915247712fa05966313e8 SHA256 6f507a73ba473a840a052e7dcd8a67ac8aaaf775e7a08e0ce391d58ec5955851
+MISC ChangeLog 850 RMD160 8ec56744894ae99e20fdec595d9487bb55727f7f SHA1 4d1f95c119325b9b2d400ad9a7ef5133011ec9e7 SHA256 6e392b24ab9bf4478d1b74c3216b8735cc17b1859fbc4f8107b642b5112f4483
+MISC metadata.xml 396 RMD160 64a064efed5b62ed56600ac9f38ba623ba6cd8e5 SHA1 702a2a23567af164a2143049e450c469f34c0f45 SHA256 e7857476e3af01c6855d70e5182122efbb84126eca4926665d8d189e17c131c9
diff --git a/dev-lua/luasec/files/luasec-0.4_Makefile.patch b/dev-lua/luasec/files/luasec-0.4_Makefile.patch
new file mode 100644
index 000000000000..02d5247eb763
--- /dev/null
+++ b/dev-lua/luasec/files/luasec-0.4_Makefile.patch
@@ -0,0 +1,17 @@
+--- src/Makefile.old 2009-10-15 12:59:54.000000000 +0000
++++ src/Makefile 2009-10-26 14:29:26.000000000 +0000
+@@ -33,10 +33,10 @@
+ all:
+
+ install: $(CMOD) $(LMOD)
+- mkdir -p $(LUAPATH)/ssl
+- cp $(CMOD) $(LUACPATH)
+- cp $(LMOD) $(LUAPATH)
+- cp https.lua $(LUAPATH)/ssl
++ mkdir -p $(DESTDIR)$(LUAPATH)/ssl $(DESTDIR)$(LUACPATH)
++ cp $(CMOD) $(DESTDIR)$(LUACPATH)
++ cp $(LMOD) $(DESTDIR)$(LUAPATH)
++ cp https.lua $(DESTDIR)$(LUAPATH)/ssl
+
+ linux:
+ @$(MAKE) $(CMOD) MYCFLAGS="$(LNX_CFLAGS)" MYLDFLAGS="$(LNX_LDFLAGS)"
diff --git a/dev-lua/luasec/luasec-0.4.ebuild b/dev-lua/luasec/luasec-0.4.ebuild
new file mode 100644
index 000000000000..fe386d64c3df
--- /dev/null
+++ b/dev-lua/luasec/luasec-0.4.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-lua/luasec/luasec-0.4.ebuild,v 1.1 2010/11/05 21:07:54 rafaelmartins 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-libs/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}/${P}_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"
+}
diff --git a/dev-lua/luasec/metadata.xml b/dev-lua/luasec/metadata.xml
new file mode 100644
index 000000000000..310bf81ceb27
--- /dev/null
+++ b/dev-lua/luasec/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>djc@gentoo.org</email>
+ <description>
+ Required for net-im/prosody. Feel free to update/fix!
+ </description>
+ </maintainer>
+ <maintainer>
+ <email>rafaelmartins@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>