diff options
author | Rafael Martins <rafaelmartins@gentoo.org> | 2010-11-05 21:31:09 +0000 |
---|---|---|
committer | Rafael Martins <rafaelmartins@gentoo.org> | 2010-11-05 21:31:09 +0000 |
commit | 71e4017195d0d687b5019bf8a90b219bc8cc53d1 (patch) | |
tree | a77a317ca482674eae3b169cf100b28bb73625b8 /dev-lua | |
parent | Stable on amd64 (#342431) (diff) | |
download | historical-71e4017195d0d687b5019bf8a90b219bc8cc53d1.tar.gz historical-71e4017195d0d687b5019bf8a90b219bc8cc53d1.tar.bz2 historical-71e4017195d0d687b5019bf8a90b219bc8cc53d1.zip |
Moved from dev-libs to dev-lua.
Package-Manager: portage-2.2.0_alpha3/cvs/Linux x86_64
Diffstat (limited to 'dev-lua')
-rw-r--r-- | dev-lua/luasec/Manifest | 4 | ||||
-rw-r--r-- | dev-lua/luasocket/ChangeLog | 17 | ||||
-rw-r--r-- | dev-lua/luasocket/Manifest | 5 | ||||
-rw-r--r-- | dev-lua/luasocket/files/luasocket-2.0.2-unixsocket.patch | 25 | ||||
-rw-r--r-- | dev-lua/luasocket/luasocket-2.0.2.ebuild | 49 | ||||
-rw-r--r-- | dev-lua/luasocket/metadata.xml | 13 |
6 files changed, 111 insertions, 2 deletions
diff --git a/dev-lua/luasec/Manifest b/dev-lua/luasec/Manifest index edc8351bf685..2ddbd64494fe 100644 --- a/dev-lua/luasec/Manifest +++ b/dev-lua/luasec/Manifest @@ -1,5 +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 +EBUILD luasec-0.4.ebuild 1156 RMD160 ffda4a41a366fb72a2428d0cc94ee0d75d9ea274 SHA1 45a0071f7969f57609d1909bb7adb5b095550d0c SHA256 6b2763238784c40cb641d9ea464a875bc1c2329315e1133693d2d8dea8ed1cad +MISC ChangeLog 962 RMD160 3d12f4a64e6cbe81bce3e80a993e316b3e9744d8 SHA1 ebc1bfb83eedd26b63eff43cbe9fd6ab6f41363c SHA256 93a060ea8d86b7ca4861e242545a095e2852898fc19c27bc35f3b3a618b58f7d MISC metadata.xml 396 RMD160 64a064efed5b62ed56600ac9f38ba623ba6cd8e5 SHA1 702a2a23567af164a2143049e450c469f34c0f45 SHA256 e7857476e3af01c6855d70e5182122efbb84126eca4926665d8d189e17c131c9 diff --git a/dev-lua/luasocket/ChangeLog b/dev-lua/luasocket/ChangeLog new file mode 100644 index 000000000000..11d3e1c0b2e0 --- /dev/null +++ b/dev-lua/luasocket/ChangeLog @@ -0,0 +1,17 @@ +# ChangeLog for dev-lua/luasocket +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lua/luasocket/ChangeLog,v 1.1 2010/11/05 21:31:09 rafaelmartins Exp $ + + 05 Nov 2010; Rafael G. Martins <rafaelmartins@gentoo.org> + +luasocket-2.0.2.ebuild, +files/luasocket-2.0.2-unixsocket.patch, + +metadata.xml: + Moved from dev-libs to dev-lua. + +*luasocket-2.0.2 (28 Sep 2009) + + 28 Sep 2009; Diego E. Pettenò <flameeyes@gentoo.org> + +luasocket-2.0.2.ebuild, +files/luasocket-2.0.2-unixsocket.patch, + +metadata.xml: + Initial import of luasocket (needed for ekeyd); thanks to Pierre + Guinoiseau in bug #239540 for the basic ebuild. + diff --git a/dev-lua/luasocket/Manifest b/dev-lua/luasocket/Manifest new file mode 100644 index 000000000000..d525cbe2d85c --- /dev/null +++ b/dev-lua/luasocket/Manifest @@ -0,0 +1,5 @@ +AUX luasocket-2.0.2-unixsocket.patch 844 RMD160 735acde9773db8d3cfc833f077889038b194201e SHA1 56b9cd454728d145e1ba2438568bd6bc414b2ebe SHA256 63b846797304ebc1060dd22cf7e5cf63f1dc6dd3f980bccca67024e9cc8966d4 +DIST luasocket-2.0.2.tar.gz 115443 RMD160 24d7e4fb1c9cf0c3d94f8b36e82d494ae922e268 SHA1 5ce521fc5c6efb7c1eba7f36dfeafa9e4d745464 SHA256 4fd9c775cfd98841299851e29b30176caf289370fea1ff1e00bb67c2d6842ca6 +EBUILD luasocket-2.0.2.ebuild 1328 RMD160 5cf23ac9d19d57458b5b2e35cb5e7f7858dd39a1 SHA1 65dcc387cd692e4aefa6538c94286f90896c7d2b SHA256 39ad1ee9e1468006639dd739126bd142b1bd8a43ec7072f18071439ad34a24a5 +MISC ChangeLog 685 RMD160 c376362ef225728e5c95281724022d27e22044b2 SHA1 aa8e64811129769bfbe9ee4c36441360a202a2b9 SHA256 cdb4e52afa7a6f2f52aa72b5a55465dc33b8a89422712201eabf92f0e36505df +MISC metadata.xml 459 RMD160 1c1f88a2463eb0ad60ffabdababf70f75a984ec5 SHA1 92065f6a39620fc5e1efbe85d1c460859775ab56 SHA256 9683b47c17d7327518600beebed73b5648cd0492bb81506688527fcf63b19425 diff --git a/dev-lua/luasocket/files/luasocket-2.0.2-unixsocket.patch b/dev-lua/luasocket/files/luasocket-2.0.2-unixsocket.patch new file mode 100644 index 000000000000..15f4fe01496c --- /dev/null +++ b/dev-lua/luasocket/files/luasocket-2.0.2-unixsocket.patch @@ -0,0 +1,25 @@ +Index: luasocket-2.0.2/makefile +=================================================================== +--- luasocket-2.0.2.orig/makefile ++++ luasocket-2.0.2/makefile +@@ -45,6 +47,7 @@ install: all + #cd src; $(INSTALL_DATA) $(TO_MIME_SHARE) $(INSTALL_MIME_SHARE) + cd src; mkdir -p $(INSTALL_MIME_LIB) + cd src; $(INSTALL_EXEC) $(MIME_SO) $(INSTALL_MIME_LIB)/core.$(EXT) ++ cd src; $(INSTALL_EXEC) $(UNIX_SO) $(INSTALL_SOCKET_LIB)/unix.$(EXT) + + #------ + # End of makefile +Index: luasocket-2.0.2/src/makefile +=================================================================== +--- luasocket-2.0.2.orig/src/makefile ++++ luasocket-2.0.2/src/makefile +@@ -47,7 +47,7 @@ UNIX_OBJS:=\ + usocket.o \ + unix.o + +-all: $(SOCKET_SO) $(MIME_SO) ++all: $(SOCKET_SO) $(MIME_SO) $(UNIX_SO) + + $(SOCKET_SO): $(SOCKET_OBJS) + $(LD) $(LDFLAGS) -o $@ $(SOCKET_OBJS) diff --git a/dev-lua/luasocket/luasocket-2.0.2.ebuild b/dev-lua/luasocket/luasocket-2.0.2.ebuild new file mode 100644 index 000000000000..e548b9581cd5 --- /dev/null +++ b/dev-lua/luasocket/luasocket-2.0.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lua/luasocket/luasocket-2.0.2.ebuild,v 1.1 2010/11/05 21:31:09 rafaelmartins Exp $ + +EAPI=2 + +inherit multilib toolchain-funcs flag-o-matic eutils + +DESCRIPTION="Networking support library for the Lua language." +HOMEPAGE="http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/" +SRC_URI="http://luaforge.net/frs/download.php/2664/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +RDEPEND=">=dev-lang/lua-5.1[deprecated]" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + +src_prepare() { + # Unix socket support is needed by app-crypt/ekeyd, but upstream + # does not seem to enable it by default. + epatch "${FILESDIR}"/${P}-unixsocket.patch +} + +src_compile() { + # We append flags here to avoid editing the config file + use debug && append-flags -DLUASOCKET_DEBUG + append-flags -fPIC + + emake \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + CC="$(tc-getCC)" \ + LD="$(tc-getCC) -shared" \ + || die +} + +src_install() { + emake install \ + INSTALL_TOP_SHARE="${D}/$(pkg-config --variable INSTALL_LMOD lua)" \ + INSTALL_TOP_LIB="${D}/$(pkg-config --variable INSTALL_CMOD lua | sed -e "s:lib/:$(get_libdir)/:")" \ + || die + + dodoc NEW README || die + dohtml doc/* || die +} diff --git a/dev-lua/luasocket/metadata.xml b/dev-lua/luasocket/metadata.xml new file mode 100644 index 000000000000..051ccf425cda --- /dev/null +++ b/dev-lua/luasocket/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>flameeyes@gentoo.org</email> + <description> + I need this for app-crypt/ekeyd, if you care about this for LUA, + or for any other reason, you're free to pick it up; please just + leave the unix socket support in, thanks! + </description> + </maintainer> +</pkgmetadata> |