summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAzamat H. Hackimov <azamat.hackimov@gmail.com>2020-01-13 01:41:43 +0300
committerJoonas Niilola <juippis@gentoo.org>2020-07-09 10:54:26 +0300
commitf725d0c8a14379a03f42e9d55e5e6fa00f7af193 (patch)
treeb114ccd118d9cc28e99822e8a0d87ca9b08bfae5 /dev-lua
parentapp-misc/physlock: typofix in DESCRIPTION (diff)
downloadgentoo-f725d0c8a14379a03f42e9d55e5e6fa00f7af193.tar.gz
gentoo-f725d0c8a14379a03f42e9d55e5e6fa00f7af193.tar.bz2
gentoo-f725d0c8a14379a03f42e9d55e5e6fa00f7af193.zip
dev-lua/luasec: new maintainer
Added myself to list of maintainers, removed old versions. Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'dev-lua')
-rw-r--r--dev-lua/luasec/Manifest2
-rw-r--r--dev-lua/luasec/files/luasec-0.5.1-compdefine.patch36
-rw-r--r--dev-lua/luasec/luasec-0.5.1.ebuild39
-rw-r--r--dev-lua/luasec/luasec-0.6.ebuild43
-rw-r--r--dev-lua/luasec/metadata.xml9
5 files changed, 8 insertions, 121 deletions
diff --git a/dev-lua/luasec/Manifest b/dev-lua/luasec/Manifest
index 3ed43bd34149..252656323dc7 100644
--- a/dev-lua/luasec/Manifest
+++ b/dev-lua/luasec/Manifest
@@ -1,3 +1 @@
-DIST luasec-0.5.1.tar.gz 46820 BLAKE2B 3b3d33c59c6817a810bb4ab5968657e29d123d5496e9ba28f03636ce389b99fb1e7724d9f2531fc651c86c8252a08973e76ae65ee5ab551cfe4d450519982053 SHA512 c7c92c79d0ec3e12b69f88d810a19397eaf570957d1f13b9695ee435cb6f0f9c31f5bc20a7252aac93d18eed98a5d3fc8a181cd85845a704e469055f215609a8
-DIST luasec-0.6.tar.gz 51071 BLAKE2B d10761399e074eaa657abad2788936296a6fd33db64291663e385b21fc4a4a19ff96fe1a88db9805a3794406f08c597a03c048cfc8675949baf9eaa9368b8b7f SHA512 f7004a329153d0126a3ea27b4986e9d83fb8f2de9c5c2f0c96427c50cc42e1252c69fd8cc69e2e8d423745d2dbfdb5a781b609938f7f502c7aedeb99fd0778cd
DIST luasec-0.7.tar.gz 47965 BLAKE2B 5bd19cfb5c2529a6fbee221442730c87394f1bf3d5089dd83d18e91ef1a2b88cde19c59988e438eb37e50c02c40a8906ad11ce9b3247b03ea11ed6d9e890b7d6 SHA512 6adf5241aa5a0d92c9dd7fc7f7e426969475548f47979ccc28187471b3bad4132c215de6da1f471d21b05c6558d36309264512c9c4ac70a53d6f6e204cac1358
diff --git a/dev-lua/luasec/files/luasec-0.5.1-compdefine.patch b/dev-lua/luasec/files/luasec-0.5.1-compdefine.patch
deleted file mode 100644
index 951b6fb11dbf..000000000000
--- a/dev-lua/luasec/files/luasec-0.5.1-compdefine.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff -ru luasec-0.5.1/src/ssl.c luasec-0.5.1-fixed/src/ssl.c
---- luasec-0.5.1/src/ssl.c 2015-11-20 22:39:32.000000000 +0100
-+++ luasec-0.5.1-fixed/src/ssl.c 2016-03-02 15:48:09.439005988 +0100
-@@ -395,24 +395,30 @@
- }
- return 1;
- }
--
-+
- /**
- * Return the compression method used.
- */
- static int meth_compression(lua_State *L)
- {
-+#if !defined(OPENSSL_NO_COMP)
- const COMP_METHOD *comp;
-+#endif
- p_ssl ssl = (p_ssl)luaL_checkudata(L, 1, "SSL:Connection");
- if (ssl->state != LSEC_STATE_CONNECTED) {
- lua_pushnil(L);
- lua_pushstring(L, "closed");
- return 2;
- }
-+#if !defined(OPENSSL_NO_COMP)
- comp = SSL_get_current_compression(ssl->ssl);
- if (comp)
- lua_pushstring(L, SSL_COMP_get_name(comp));
- else
- lua_pushnil(L);
-+#else
-+ lua_pushnil(L);
-+#endif
- return 1;
- }
-
-Only in luasec-0.5.1-fixed/src: ssl.c.orig
diff --git a/dev-lua/luasec/luasec-0.5.1.ebuild b/dev-lua/luasec/luasec-0.5.1.ebuild
deleted file mode 100644
index f8cdd3945dd0..000000000000
--- a/dev-lua/luasec/luasec-0.5.1.ebuild
+++ /dev/null
@@ -1,39 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit multilib toolchain-funcs eutils
-
-DESCRIPTION="Lua binding for OpenSSL library to provide TLS/SSL communication"
-HOMEPAGE="https://github.com/brunoos/luasec http://www.inf.puc-rio.br/~brunoos/luasec/"
-SRC_URI="https://github.com/brunoos/luasec/archive/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 arm x86"
-IUSE="libressl"
-
-RDEPEND="
- >=dev-lang/lua-5.1:0[deprecated]
- dev-lua/luasocket
- !libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl:= )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-S=${WORKDIR}/${PN}-${P}
-
-src_prepare() {
- sed -i -e "s#^LUAPATH.*#LUAPATH=$(pkg-config --variable INSTALL_LMOD lua)#"\
- -e "s#^LUACPATH.*#LUACPATH=$(pkg-config --variable INSTALL_CMOD lua)#" Makefile || die
- sed -i -e "s/-O2//" src/Makefile || die
- lua src/options.lua -g /usr/include/openssl/ssl.h > src/options.h || die
- epatch "${FILESDIR}/${PN}-0.5.1-compdefine.patch"
-}
-
-src_compile() {
- emake \
- CC="$(tc-getCC)" \
- LD="$(tc-getCC)" \
- linux
-}
diff --git a/dev-lua/luasec/luasec-0.6.ebuild b/dev-lua/luasec/luasec-0.6.ebuild
deleted file mode 100644
index 40f367fc02d4..000000000000
--- a/dev-lua/luasec/luasec-0.6.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit multilib toolchain-funcs eutils
-
-DESCRIPTION="Lua binding for OpenSSL library to provide TLS/SSL communication"
-HOMEPAGE="https://github.com/brunoos/luasec http://www.inf.puc-rio.br/~brunoos/luasec/"
-SRC_URI="https://github.com/brunoos/luasec/archive/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
-IUSE="libressl"
-
-RDEPEND="
- >=dev-lang/lua-5.1:0[deprecated]
- dev-lua/luasocket
- !libressl? ( dev-libs/openssl:0 ) libressl? ( dev-libs/libressl:= )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-S=${WORKDIR}/${PN}-${P}
-
-src_prepare() {
- sed -i -e "s/-O2//" src/Makefile || die
- lua src/options.lua -g /usr/include/openssl/ssl.h > src/options.h || die
-}
-
-src_compile() {
- emake \
- CC="$(tc-getCC)" \
- LD="$(tc-getCC)" \
- linux
-}
-
-src_install() {
- emake \
- LUAPATH="${D}/$(pkg-config --variable INSTALL_LMOD lua)" \
- LUACPATH="${D}/$(pkg-config --variable INSTALL_CMOD lua)" \
- install
-}
diff --git a/dev-lua/luasec/metadata.xml b/dev-lua/luasec/metadata.xml
index 46794a8d4e3f..e33b533b4b13 100644
--- a/dev-lua/luasec/metadata.xml
+++ b/dev-lua/luasec/metadata.xml
@@ -1,7 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person">
+ <email>azamat.hackimov@gmail.com</email>
+ <name>Azamat H. Hackimov</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
<upstream>
<remote-id type="github">brunoos/luasec</remote-id>
</upstream>