summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lua')
-rw-r--r--dev-lua/luasocket/Manifest1
-rw-r--r--dev-lua/luasocket/files/luasocket-3.0_rc1_p20200328_makefile.patch89
-rw-r--r--dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild90
3 files changed, 0 insertions, 180 deletions
diff --git a/dev-lua/luasocket/Manifest b/dev-lua/luasocket/Manifest
index 9c1c2992f0e5..3a3d05df3569 100644
--- a/dev-lua/luasocket/Manifest
+++ b/dev-lua/luasocket/Manifest
@@ -1,2 +1 @@
DIST luasocket-3.0.0.tar.gz 336231 BLAKE2B 71b87041a1edb2616ba269160382ac5cea6ba9b623281e8069e8adf97b6898d7836add7eff949010a1bc890bff8d2e4797a2ff5c619b45f8ee3adee5d6633843 SHA512 4f93d6c0b602333df50ee4f939cd0419243f6de333472ffebf99334e301143e8cdee3bc1655c29f81608622d6e7850a9bcf6929a6d4748210a70cdb8218a1ec6
-DIST luasocket-3.0_rc1_p20200328.tar.gz 335628 BLAKE2B 9e5d3e415337903b689705669b586c4481179a319b4e3428823c8f442d04f26db86bfeca66db7e58d157e31431c31e4f687403f7163b75f57d6f87cdb934717f SHA512 bdf7086a0504b0072b9cfd1266fc4ae89504053801722859a426f567fca00ed76f4c295c2a3a968e93f0036d9b792cf97561e9baa82c09ea23999cfd473227eb
diff --git a/dev-lua/luasocket/files/luasocket-3.0_rc1_p20200328_makefile.patch b/dev-lua/luasocket/files/luasocket-3.0_rc1_p20200328_makefile.patch
deleted file mode 100644
index c6e25d7969f6..000000000000
--- a/dev-lua/luasocket/files/luasocket-3.0_rc1_p20200328_makefile.patch
+++ /dev/null
@@ -1,89 +0,0 @@
-From 49f935a774661d5d0d9b1727c2eee12d11f3b692 Mon Sep 17 00:00:00 2001
-From: "Azamat H. Hackimov" <azamat.hackimov@gmail.com>
-Date: Tue, 19 Oct 2021 01:13:28 +0300
-Subject: [PATCH 2/2] Fix CFLAGS and LDFLAGS options
-
-Remove CFLAGS optimization overrides, add -Wl,-soname option to LDFLAGS
-for external linking.
----
- src/makefile | 21 +++++++++------------
- 1 file changed, 9 insertions(+), 12 deletions(-)
-
-diff --git a/src/makefile b/src/makefile
-index 522d378..cf4a571 100755
---- a/src/makefile
-+++ b/src/makefile
-@@ -162,7 +162,7 @@ SO_macosx=so
- O_macosx=o
- CC_macosx=gcc
- DEF_macosx= -DLUASOCKET_$(DEBUG) -DUNIX_HAS_SUN_LEN
--CFLAGS_macosx=$(LUAINC:%=-I%) $(DEF) -Wall -O2 -fno-common
-+CFLAGS_macosx=$(LUAINC:%=-I%) $(DEF) -Wall -fno-common
- LDFLAGS_macosx= -bundle -undefined dynamic_lookup -o
- LD_macosx=gcc
- SOCKET_macosx=usocket.o
-@@ -174,8 +174,7 @@ SO_linux=so
- O_linux=o
- CC_linux=gcc
- DEF_linux=-DLUASOCKET_$(DEBUG)
--CFLAGS_linux=$(LUAINC:%=-I%) $(DEF) -Wall -Wshadow -Wextra \
-- -Wimplicit -O2 -ggdb3 -fpic
-+CFLAGS_linux=$(LUAINC:%=-I%) $(DEF) -Wall -Wshadow -Wextra -Wimplicit -fpic
- LDFLAGS_linux=-O -shared -fpic -o
- LD_linux=gcc
- SOCKET_linux=usocket.o
-@@ -187,8 +186,7 @@ SO_freebsd=so
- O_freebsd=o
- CC_freebsd=gcc
- DEF_freebsd=-DLUASOCKET_$(DEBUG) -DUNIX_HAS_SUN_LEN
--CFLAGS_freebsd=$(LUAINC:%=-I%) $(DEF) -Wall -Wshadow -Wextra \
-- -Wimplicit -O2 -ggdb3 -fpic
-+CFLAGS_freebsd=$(LUAINC:%=-I%) $(DEF) -Wall -Wshadow -Wextra -Wimplicit -fpic
- LDFLAGS_freebsd=-O -shared -fpic -o
- LD_freebsd=gcc
- SOCKET_freebsd=usocket.o
-@@ -200,8 +198,7 @@ SO_solaris=so
- O_solaris=o
- CC_solaris=gcc
- DEF_solaris=-DLUASOCKET_$(DEBUG)
--CFLAGS_solaris=$(LUAINC:%=-I%) $(DEF) -Wall -Wshadow -Wextra \
-- -Wimplicit -O2 -ggdb3 -fpic
-+CFLAGS_solaris=$(LUAINC:%=-I%) $(DEF) -Wall -Wshadow -Wextra -Wimplicit -fpic
- LDFLAGS_solaris=-lnsl -lsocket -lresolv -O -shared -fpic -o
- LD_solaris=gcc
- SOCKET_solaris=usocket.o
-@@ -214,7 +211,7 @@ O_mingw=o
- CC_mingw=gcc
- DEF_mingw= -DLUASOCKET_$(DEBUG) \
- -DWINVER=0x0501
--CFLAGS_mingw=$(LUAINC:%=-I%) $(DEF) -Wall -O2 -fno-common
-+CFLAGS_mingw=$(LUAINC:%=-I%) $(DEF) -Wall -fno-common
- LDFLAGS_mingw= $(LUALIB) -shared -Wl,-s -lws2_32 -o
- LD_mingw=gcc
- SOCKET_mingw=wsocket.o
-@@ -396,18 +393,18 @@ none:
- all: $(SOCKET_SO) $(MIME_SO)
-
- $(SOCKET_SO): $(SOCKET_OBJS)
-- $(LD) $(SOCKET_OBJS) $(LDFLAGS)$@
-+ $(LD) $(SOCKET_OBJS) -Wl,-soname,socket/core.so $(LDFLAGS)$@
-
- $(MIME_SO): $(MIME_OBJS)
-- $(LD) $(MIME_OBJS) $(LDFLAGS)$@
-+ $(LD) $(MIME_OBJS) -Wl,-soname,mime/core.so $(LDFLAGS)$@
-
- all-unix: all $(UNIX_SO) $(SERIAL_SO)
-
- $(UNIX_SO): $(UNIX_OBJS)
-- $(LD) $(UNIX_OBJS) $(LDFLAGS)$@
-+ $(LD) $(UNIX_OBJS) -Wl,-soname,socket/unix.so $(LDFLAGS)$@
-
- $(SERIAL_SO): $(SERIAL_OBJS)
-- $(LD) $(SERIAL_OBJS) $(LDFLAGS)$@
-+ $(LD) $(SERIAL_OBJS) -Wl,-soname,socket/serial.so $(LDFLAGS)$@
-
- install:
- $(INSTALL_DIR) $(INSTALL_TOP_LDIR)
---
-2.32.0
-
diff --git a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild
deleted file mode 100644
index 283cd08f0c64..000000000000
--- a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-EGIT_COMMIT="5b18e475f38fcf28429b1cc4b17baee3b9793a62"
-LUA_COMPAT=( lua5-{1..4} luajit )
-MY_P="${PN}-${EGIT_COMMIT}"
-
-inherit lua toolchain-funcs
-
-DESCRIPTION="Networking support library for the Lua language"
-HOMEPAGE="
- http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/
- https://github.com/lunarmodules/luasocket
-"
-SRC_URI="https://github.com/lunarmodules/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86"
-REQUIRED_USE="${LUA_REQUIRED_USE}"
-RESTRICT="test"
-
-RDEPEND="${LUA_DEPS}"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-HTML_DOCS="doc/."
-
-PATCHES=(
- "${FILESDIR}/${P}_publish_API.patch"
- "${FILESDIR}/${P}_makefile.patch"
-)
-
-src_prepare() {
- default
- lua_copy_sources
-}
-
-lua_src_compile() {
- pushd "${BUILD_DIR}" || die
-
- local myemakeargs=(
- "CC=$(tc-getCC)"
- "LD=$(tc-getCC)"
- "LUAINC_linux=$(lua_get_include_dir)"
- "LUAV=${ELUA}"
- "MIME_V=1.0.3-${ELUA}"
- "MYCFLAGS=${CFLAGS}"
- "MYLDFLAGS=${LDFLAGS}"
- "SOCKET_V=3.0-rc1-${ELUA}"
- )
-
- emake "${myemakeargs[@]}" all
-
- popd
-}
-
-src_compile() {
- lua_foreach_impl lua_src_compile
-}
-
-lua_src_install() {
- pushd "${BUILD_DIR}" || die
-
- local myemakeargs=(
- "CDIR=$(lua_get_cmod_dir)"
- "DESTDIR=${ED}"
- "LDIR=$(lua_get_lmod_dir)"
- "LUAPREFIX_linux="
- "MIME_V=1.0.3-${ELUA}"
- "SOCKET_V=3.0-rc1-${ELUA}"
- )
-
- emake "${myemakeargs[@]}" install
- emake "${myemakeargs[@]}" install-unix
-
- insinto "$(lua_get_include_dir)"/luasocket
- doins src/*.h
-
- popd
-}
-
-src_install() {
- lua_foreach_impl lua_src_install
-
- einstalldocs
-}