[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2022-08-30 Thread Conrad Kostecki
commit: 71e6e18c8a84c6aa24c62329a771da6dc6bfd1ca
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Tue Aug 30 08:02:56 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Tue Aug 30 08:08:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71e6e18c

dev-lua/luasocket: drop 3.0.0-r1

Signed-off-by: Conrad Kostecki  gentoo.org>

 dev-lua/luasocket/Manifest  |  1 -
 dev-lua/luasocket/luasocket-3.0.0-r1.ebuild | 93 -
 2 files changed, 94 deletions(-)

diff --git a/dev-lua/luasocket/Manifest b/dev-lua/luasocket/Manifest
index 072cf68d52db..224c295616e1 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.1.0.tar.gz 336542 BLAKE2B 
64d3ab7028050a93a93db444a4d1757f579f111e79c2f84629d0eb9558fc594918614a48cd1cb522d573b84bb4096537fb7950834adeacfffb3e060721402f71
 SHA512 
1e9e98484740ec6538fe3d2b0dab74d31f052956ecf9ee3b60e229f2d0b13fcc6d4aaf74cd2a3e2ee330333dabb316fe6a43c60baaea26f0cc01069b6aa4519b

diff --git a/dev-lua/luasocket/luasocket-3.0.0-r1.ebuild 
b/dev-lua/luasocket/luasocket-3.0.0-r1.ebuild
deleted file mode 100644
index f89c5c8c85b8..
--- a/dev-lua/luasocket/luasocket-3.0.0-r1.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-LUA_COMPAT=( lua5-{1..4} luajit )
-MY_P="${PN}-${EGIT_COMMIT}"
-
-inherit lua toolchain-funcs
-
-DESCRIPTION="Networking support 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/refs/tags/v${PV}.tar.gz 
-> ${P}.tar.gz"
-
-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="docs/."
-
-PATCHES=(
-   "${FILESDIR}/${PN}-3.0_rc1_p20200328_publish_API.patch"
-   "${FILESDIR}/${PN}-3.0.0_makefile.patch"
-)
-
-src_prepare() {
-   default
-
-   # Set correct version, as upstream shows wrongly '-rc1'.
-   # This has been already changed by upstream, but no new release.
-sed -e 's/-rc1/.0/g' -i src/luasocket.h || die
-
-   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.0-${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.0-${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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2022-08-29 Thread Joonas Niilola
commit: 82ad58a31a1cdd4257292b77d22dc88d4550223d
Author: Joonas Niilola  gentoo  org>
AuthorDate: Tue Aug 30 05:42:15 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Aug 30 05:42:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82ad58a3

dev-lua/luasocket: Stabilize 3.1.0 amd64, #867379

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-lua/luasocket/luasocket-3.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.1.0.ebuild 
b/dev-lua/luasocket/luasocket-3.1.0.ebuild
index 9e9b616677e7..ba54f605290c 100644
--- a/dev-lua/luasocket/luasocket-3.1.0.ebuild
+++ b/dev-lua/luasocket/luasocket-3.1.0.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/lunarmodules/${PN}/archive/refs/tags/v${PV}.tar.gz -
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86"
 IUSE="doc"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2022-08-29 Thread Joonas Niilola
commit: bed8aaf43809b3e8ef45ce1d457df12b0e622235
Author: Joonas Niilola  gentoo  org>
AuthorDate: Tue Aug 30 05:41:28 2022 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Tue Aug 30 05:42:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bed8aaf4

dev-lua/luasocket: Stabilize 3.1.0 x86, #867379

Signed-off-by: Joonas Niilola  gentoo.org>

 dev-lua/luasocket/luasocket-3.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.1.0.ebuild 
b/dev-lua/luasocket/luasocket-3.1.0.ebuild
index 66a3e70ca739..9e9b616677e7 100644
--- a/dev-lua/luasocket/luasocket-3.1.0.ebuild
+++ b/dev-lua/luasocket/luasocket-3.1.0.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/lunarmodules/${PN}/archive/refs/tags/v${PV}.tar.gz -
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc ~x86"
+KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86"
 IUSE="doc"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2022-08-29 Thread Arthur Zamarin
commit: 22f1b0d6fd7a2c1f3c2fc1da079434ae6cffb5a7
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Aug 30 04:34:58 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Aug 30 04:34:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22f1b0d6

dev-lua/luasocket: Stabilize 3.1.0 arm, #867379

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-lua/luasocket/luasocket-3.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.1.0.ebuild 
b/dev-lua/luasocket/luasocket-3.1.0.ebuild
index 6c290a2973ed..66a3e70ca739 100644
--- a/dev-lua/luasocket/luasocket-3.1.0.ebuild
+++ b/dev-lua/luasocket/luasocket-3.1.0.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/lunarmodules/${PN}/archive/refs/tags/v${PV}.tar.gz -
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc ~x86"
+KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc ~x86"
 IUSE="doc"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2022-08-29 Thread Arthur Zamarin
commit: 04ef07ea4a0a467c9354500e6f5fee65bc49e4bb
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Aug 30 04:34:56 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Aug 30 04:34:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04ef07ea

dev-lua/luasocket: Stabilize 3.1.0 ppc, #867379

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-lua/luasocket/luasocket-3.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.1.0.ebuild 
b/dev-lua/luasocket/luasocket-3.1.0.ebuild
index 8c905144fbd8..a5bfcfe8d2f8 100644
--- a/dev-lua/luasocket/luasocket-3.1.0.ebuild
+++ b/dev-lua/luasocket/luasocket-3.1.0.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/lunarmodules/${PN}/archive/refs/tags/v${PV}.tar.gz -
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~sparc ~x86"
 IUSE="doc"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2022-08-29 Thread Arthur Zamarin
commit: 2abfadb03d1be35230cb49ff40a570f40eca00f6
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Aug 30 04:34:55 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Aug 30 04:34:55 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2abfadb0

dev-lua/luasocket: Stabilize 3.1.0 arm64, #867379

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-lua/luasocket/luasocket-3.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.1.0.ebuild 
b/dev-lua/luasocket/luasocket-3.1.0.ebuild
index d46fffc97228..8c905144fbd8 100644
--- a/dev-lua/luasocket/luasocket-3.1.0.ebuild
+++ b/dev-lua/luasocket/luasocket-3.1.0.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/lunarmodules/${PN}/archive/refs/tags/v${PV}.tar.gz -
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
 IUSE="doc"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2022-08-29 Thread Arthur Zamarin
commit: 9486f39e583e40145ae58fa894e318038fa13138
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Aug 30 04:34:57 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Aug 30 04:34:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9486f39e

dev-lua/luasocket: Stabilize 3.1.0 ppc64, #867379

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-lua/luasocket/luasocket-3.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.1.0.ebuild 
b/dev-lua/luasocket/luasocket-3.1.0.ebuild
index a5bfcfe8d2f8..e9e821883b5a 100644
--- a/dev-lua/luasocket/luasocket-3.1.0.ebuild
+++ b/dev-lua/luasocket/luasocket-3.1.0.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/lunarmodules/${PN}/archive/refs/tags/v${PV}.tar.gz -
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc ~x86"
 IUSE="doc"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2022-08-29 Thread Arthur Zamarin
commit: 8969c557915a621cc957075dac5cdc7b5a7d0348
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue Aug 30 04:34:58 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Aug 30 04:34:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8969c557

dev-lua/luasocket: Stabilize 3.1.0 sparc, #867379

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-lua/luasocket/luasocket-3.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.1.0.ebuild 
b/dev-lua/luasocket/luasocket-3.1.0.ebuild
index e9e821883b5a..6c290a2973ed 100644
--- a/dev-lua/luasocket/luasocket-3.1.0.ebuild
+++ b/dev-lua/luasocket/luasocket-3.1.0.ebuild
@@ -16,7 +16,7 @@ 
SRC_URI="https://github.com/lunarmodules/${PN}/archive/refs/tags/v${PV}.tar.gz -
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc ~x86"
 IUSE="doc"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 RESTRICT="test"



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2022-07-27 Thread Conrad Kostecki
commit: f8f793322dd2074ffc429e43ae10e394b8b8d895
Author: Azamat H. Hackimov  gmail  com>
AuthorDate: Wed Jul 27 16:23:01 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Wed Jul 27 18:48:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8f79332

dev-lua/luasocket: add 3.1.0

Signed-off-by: Azamat H. Hackimov  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/26623
Signed-off-by: Conrad Kostecki  gentoo.org>

 dev-lua/luasocket/Manifest   |  1 +
 dev-lua/luasocket/luasocket-3.1.0.ebuild | 84 
 2 files changed, 85 insertions(+)

diff --git a/dev-lua/luasocket/Manifest b/dev-lua/luasocket/Manifest
index 3a3d05df3569..072cf68d52db 100644
--- a/dev-lua/luasocket/Manifest
+++ b/dev-lua/luasocket/Manifest
@@ -1 +1,2 @@
 DIST luasocket-3.0.0.tar.gz 336231 BLAKE2B 
71b87041a1edb2616ba269160382ac5cea6ba9b623281e8069e8adf97b6898d7836add7eff949010a1bc890bff8d2e4797a2ff5c619b45f8ee3adee5d6633843
 SHA512 
4f93d6c0b602333df50ee4f939cd0419243f6de333472ffebf99334e301143e8cdee3bc1655c29f81608622d6e7850a9bcf6929a6d4748210a70cdb8218a1ec6
+DIST luasocket-3.1.0.tar.gz 336542 BLAKE2B 
64d3ab7028050a93a93db444a4d1757f579f111e79c2f84629d0eb9558fc594918614a48cd1cb522d573b84bb4096537fb7950834adeacfffb3e060721402f71
 SHA512 
1e9e98484740ec6538fe3d2b0dab74d31f052956ecf9ee3b60e229f2d0b13fcc6d4aaf74cd2a3e2ee330333dabb316fe6a43c60baaea26f0cc01069b6aa4519b

diff --git a/dev-lua/luasocket/luasocket-3.1.0.ebuild 
b/dev-lua/luasocket/luasocket-3.1.0.ebuild
new file mode 100644
index ..d46fffc97228
--- /dev/null
+++ b/dev-lua/luasocket/luasocket-3.1.0.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-{1..4} luajit )
+
+inherit lua toolchain-funcs
+
+DESCRIPTION="Networking support for the Lua language"
+HOMEPAGE="
+   https://lunarmodules.github.io/luasocket/
+   https://github.com/lunarmodules/luasocket
+"
+SRC_URI="https://github.com/lunarmodules/${PN}/archive/refs/tags/v${PV}.tar.gz 
-> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+RESTRICT="test"
+
+RDEPEND="${LUA_DEPS}"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+HTML_DOCS="docs/."
+
+PATCHES=(
+   "${FILESDIR}/${PN}-3.0_rc1_p20200328_publish_API.patch"
+   "${FILESDIR}/${PN}-3.0.0_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}"
+   "MYCFLAGS=${CFLAGS}"
+   "MYLDFLAGS=${LDFLAGS}"
+   )
+
+   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="
+   )
+
+   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
+
+   use doc && einstalldocs
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2022-05-14 Thread Conrad Kostecki
commit: a3388b2a834bc3fbfafcc7dbb6d1f62aa0ebda3a
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sat May 14 14:44:48 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sat May 14 14:45:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3388b2a

dev-lua/luasocket: use correct version

Signed-off-by: Conrad Kostecki  gentoo.org>

 .../luasocket/{luasocket-3.0.0.ebuild => luasocket-3.0.0-r1.ebuild}  | 5 +
 1 file changed, 5 insertions(+)

diff --git a/dev-lua/luasocket/luasocket-3.0.0.ebuild 
b/dev-lua/luasocket/luasocket-3.0.0-r1.ebuild
similarity index 90%
rename from dev-lua/luasocket/luasocket-3.0.0.ebuild
rename to dev-lua/luasocket/luasocket-3.0.0-r1.ebuild
index ebbca46770e8..f89c5c8c85b8 100644
--- a/dev-lua/luasocket/luasocket-3.0.0.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0.0-r1.ebuild
@@ -34,6 +34,11 @@ PATCHES=(
 
 src_prepare() {
default
+
+   # Set correct version, as upstream shows wrongly '-rc1'.
+   # This has been already changed by upstream, but no new release.
+sed -e 's/-rc1/.0/g' -i src/luasocket.h || die
+
lua_copy_sources
 }
 



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/, dev-lua/luasocket/files/

2022-05-05 Thread Conrad Kostecki
commit: b61097f7317442a9ffe1e79e1a7b0cfa200719f7
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Thu May  5 16:14:43 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Thu May  5 16:14:43 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b61097f7

dev-lua/luasocket: drop 3.0_rc1_p20200328-r103

Signed-off-by: Conrad Kostecki  gentoo.org>

 dev-lua/luasocket/Manifest |  1 -
 .../luasocket-3.0_rc1_p20200328_makefile.patch | 89 -
 .../luasocket-3.0_rc1_p20200328-r103.ebuild| 90 --
 3 files changed, 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..
--- 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" 
-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..
--- 

[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2022-05-03 Thread Arthur Zamarin
commit: f2778cf51c41fa8a76b7edca67458704f9b4a384
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Tue May  3 18:09:10 2022 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue May  3 18:09:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2778cf5

dev-lua/luasocket: Stabilize 3.0.0 sparc, #841764

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-lua/luasocket/luasocket-3.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.0.0.ebuild 
b/dev-lua/luasocket/luasocket-3.0.0.ebuild
index 5669bee2a881..d3ff93d3c7b9 100644
--- a/dev-lua/luasocket/luasocket-3.0.0.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0.0.ebuild
@@ -17,7 +17,7 @@ 
SRC_URI="https://github.com/lunarmodules/${PN}/archive/refs/tags/v${PV}.tar.gz -
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2022-04-30 Thread Sam James
commit: 0179e3b68c3b0b0f703d23e32588ba8d3c1a803f
Author: Sam James  gentoo  org>
AuthorDate: Sat Apr 30 19:08:31 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Apr 30 19:09:11 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0179e3b6

dev-lua/luasocket: Stabilize 3.0.0 amd64, #841764

Signed-off-by: Sam James  gentoo.org>

 dev-lua/luasocket/luasocket-3.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.0.0.ebuild 
b/dev-lua/luasocket/luasocket-3.0.0.ebuild
index 0c96acb1a3ae..5669bee2a881 100644
--- a/dev-lua/luasocket/luasocket-3.0.0.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0.0.ebuild
@@ -17,7 +17,7 @@ 
SRC_URI="https://github.com/lunarmodules/${PN}/archive/refs/tags/v${PV}.tar.gz -
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2022-04-29 Thread Sam James
commit: 31c588e679b5719a54e3b8d6c6f02df709f91118
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr 29 21:39:22 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr 29 21:39:22 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31c588e6

dev-lua/luasocket: Stabilize 3.0.0 x86, #841764

Signed-off-by: Sam James  gentoo.org>

 dev-lua/luasocket/luasocket-3.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.0.0.ebuild 
b/dev-lua/luasocket/luasocket-3.0.0.ebuild
index 39eaf35b1d37..0c96acb1a3ae 100644
--- a/dev-lua/luasocket/luasocket-3.0.0.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0.0.ebuild
@@ -17,7 +17,7 @@ 
SRC_URI="https://github.com/lunarmodules/${PN}/archive/refs/tags/v${PV}.tar.gz -
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc x86"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2022-04-29 Thread Sam James
commit: a79c252e7d53f982ba01d906a445dbd3d4dc9861
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr 29 21:36:00 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr 29 21:36:00 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a79c252e

dev-lua/luasocket: Stabilize 3.0.0 ppc64, #841764

Signed-off-by: Sam James  gentoo.org>

 dev-lua/luasocket/luasocket-3.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.0.0.ebuild 
b/dev-lua/luasocket/luasocket-3.0.0.ebuild
index 9c989a186eaf..fbdd8d535073 100644
--- a/dev-lua/luasocket/luasocket-3.0.0.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0.0.ebuild
@@ -17,7 +17,7 @@ 
SRC_URI="https://github.com/lunarmodules/${PN}/archive/refs/tags/v${PV}.tar.gz -
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~sparc ~x86"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2022-04-29 Thread Sam James
commit: d68e13bcfa86bd5076441a665b4b74cfa8f78297
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr 29 21:36:04 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Apr 29 21:36:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d68e13bc

dev-lua/luasocket: Stabilize 3.0.0 ppc, #841764

Signed-off-by: Sam James  gentoo.org>

 dev-lua/luasocket/luasocket-3.0.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.0.0.ebuild 
b/dev-lua/luasocket/luasocket-3.0.0.ebuild
index fbdd8d535073..39eaf35b1d37 100644
--- a/dev-lua/luasocket/luasocket-3.0.0.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0.0.ebuild
@@ -17,7 +17,7 @@ 
SRC_URI="https://github.com/lunarmodules/${PN}/archive/refs/tags/v${PV}.tar.gz -
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc ~x86"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/files/, dev-lua/luasocket/

2022-03-27 Thread Conrad Kostecki
commit: c2dd3b753ecc9377ce4e21d30f6175e8f9ee46be
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Mar 27 15:13:47 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Mar 27 15:15:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c2dd3b75

dev-lua/luasocket: add 3.0.0

Signed-off-by: Conrad Kostecki  gentoo.org>

 dev-lua/luasocket/Manifest |  1 +
 .../luasocket/files/luasocket-3.0.0_makefile.patch | 73 ++
 dev-lua/luasocket/luasocket-3.0.0.ebuild   | 88 ++
 3 files changed, 162 insertions(+)

diff --git a/dev-lua/luasocket/Manifest b/dev-lua/luasocket/Manifest
index 8e11fe11f0a8..9c1c2992f0e5 100644
--- a/dev-lua/luasocket/Manifest
+++ b/dev-lua/luasocket/Manifest
@@ -1 +1,2 @@
+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.0_makefile.patch 
b/dev-lua/luasocket/files/luasocket-3.0.0_makefile.patch
new file mode 100644
index ..8f6c9de42697
--- /dev/null
+++ b/dev-lua/luasocket/files/luasocket-3.0.0_makefile.patch
@@ -0,0 +1,73 @@
+--- a/src/makefile
 b/src/makefile
+@@ -162,7 +162,7 @@
+ 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 @@
+ 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 @@
+ 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 @@
+ O_solaris=o
+ CC_solaris=gcc
+ DEF_solaris=-DLUASOCKET_$(DEBUG)
+-CFLAGS_solaris=$(LUAINC:%=-I%) $(DEF) -Wall -Wshadow -Wextra \
+-  -Wimplicit -O2 -ggdb3 -fpic
++CFLAGS_freebsd=$(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 @@
+ 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 @@
+ 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)

diff --git a/dev-lua/luasocket/luasocket-3.0.0.ebuild 
b/dev-lua/luasocket/luasocket-3.0.0.ebuild
new file mode 100644
index ..9c989a186eaf
--- /dev/null
+++ b/dev-lua/luasocket/luasocket-3.0.0.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( lua5-{1..4} luajit )
+MY_P="${PN}-${EGIT_COMMIT}"
+
+inherit lua toolchain-funcs
+
+DESCRIPTION="Networking support 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/refs/tags/v${PV}.tar.gz 
-> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc 

[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2021-11-19 Thread Conrad Kostecki
commit: 8f69f8c23685d6d006c851eb172062aaca8b0069
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sat Nov 20 01:07:22 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sat Nov 20 01:07:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f69f8c2

dev-lua/luasocket: drop old version

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../luasocket-3.0_rc1_p20200328-r102.ebuild| 93 --
 1 file changed, 93 deletions(-)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r102.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r102.ebuild
deleted file mode 100644
index 5b124acb9064..
--- a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r102.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-EGIT_COMMIT="5b18e475f38fcf28429b1cc4b17baee3b9793a62"
-LUA_COMPAT=( lua5-{1..4} luajit )
-MY_P="${PN}-${EGIT_COMMIT}"
-
-inherit flag-o-matic lua toolchain-funcs
-
-DESCRIPTION="Networking support library for the Lua language"
-HOMEPAGE="
-   http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/
-   https://github.com/diegonehab/luasocket
-"
-SRC_URI="https://github.com/diegonehab/${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/."
-
-src_prepare() {
-   default
-
-   # Respect users CFLAGS
-   sed -e 's/-O2 -ggdb3//g' -i src/makefile || die
-
-   # Workaround for 32-bit systems
-   append-cflags -fno-stack-protector
-
-   lua_copy_sources
-}
-
-lua_src_compile() {
-   pushd "${BUILD_DIR}" || die
-
-   local myemakeargs=(
-   "CC=$(tc-getCC)"
-   "LD=$(tc-getCC)"
-   "LDFLAGS_linux=-O -fpic -shared -o"
-   "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
-}



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2021-11-19 Thread Jakov Smolić
commit: 399c07ea1050371aa680a4be711567c7143a68e1
Author: Jakov Smolić  gentoo  org>
AuthorDate: Fri Nov 19 17:48:50 2021 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Fri Nov 19 17:49:32 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=399c07ea

dev-lua/luasocket: Stabilize 3.0_rc1_p20200328-r103 x86, #824606

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild
index 015fe3566df1..58fe8d5c2285 100644
--- a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2021-11-19 Thread Agostino Sarubbo
commit: cebe2f11038a42cdc53d8717b0e5ea06f4cb3e36
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Nov 19 08:10:30 2021 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Nov 19 08:10:30 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cebe2f11

dev-lua/luasocket: amd64 stable wrt bug #824606

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild
index 64a2300405de..015fe3566df1 100644
--- a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc ~x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc ~x86"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2021-11-18 Thread Arthur Zamarin
commit: c0eb308d5838941e90b9015b3a59ac06a174fc13
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Nov 19 07:57:17 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Nov 19 07:58:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0eb308d

dev-lua/luasocket: Stabilize 3.0_rc1_p20200328-r103 sparc, #824606

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild
index eb124669493c..64a2300405de 100644
--- a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc ~x86"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2021-11-18 Thread Arthur Zamarin
commit: 149427752b7614d9d07a7d9a5a4dd91e1a542c05
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Nov 19 06:18:01 2021 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Nov 19 06:18:20 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14942775

dev-lua/luasocket: Stabilize 3.0_rc1_p20200328-r103 arm64, #824606

Signed-off-by: Arthur Zamarin  gentoo.org>

 dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild
index 624ef8732545..eb124669493c 100644
--- a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc ~x86"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2021-11-18 Thread Sam James
commit: e1e2ffbdd8ea22630d7515cddba76cb7a92eaa36
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 19 02:42:05 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 19 02:42:05 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1e2ffbd

dev-lua/luasocket: Stabilize 3.0_rc1_p20200328-r103 ppc, #824606

Signed-off-by: Sam James  gentoo.org>

 dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild
index a2ff2f29ffc0..7d8fcfa3d229 100644
--- a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~sparc ~x86"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2021-11-18 Thread Sam James
commit: 4204da49a5b9a2b1852293c495708cf465ea71bb
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 19 02:42:15 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 19 02:42:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4204da49

dev-lua/luasocket: Stabilize 3.0_rc1_p20200328-r103 ppc64, #824606

Signed-off-by: Sam James  gentoo.org>

 dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild
index 7d8fcfa3d229..624ef8732545 100644
--- a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~sparc ~x86"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2021-11-18 Thread Sam James
commit: 13cc4542efdbf8696a0a1732feef8751f32af521
Author: Sam James  gentoo  org>
AuthorDate: Fri Nov 19 02:09:06 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Nov 19 02:09:06 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13cc4542

dev-lua/luasocket: Stabilize 3.0_rc1_p20200328-r103 arm, #824606

Signed-off-by: Sam James  gentoo.org>

 dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild
index 6011ad7d5976..a2ff2f29ffc0 100644
--- a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r103.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/files/, dev-lua/luasocket/

2021-10-19 Thread Conrad Kostecki
commit: 634e9eb09ef7db117ac05ad24926a6078eb07170
Author: Azamat H. Hackimov  gmail  com>
AuthorDate: Mon Oct 18 22:29:34 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Tue Oct 19 19:55:44 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=634e9eb0

dev-lua/luasocket: publish API and sonames

Add patches to publish API and sonames for external linking (see #730352 for
rationale).
Patches available at https://github.com/winterheart/luasocket/tree/public-api

Closes: https://github.com/gentoo/gentoo/pull/22631
Bug: https://bugs.gentoo.org/730352
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Azamat H. Hackimov  gmail.com>
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../luasocket-3.0_rc1_p20200328_makefile.patch |  89 +++
 .../luasocket-3.0_rc1_p20200328_publish_API.patch  | 294 +
 .../luasocket-3.0_rc1_p20200328-r103.ebuild|  90 +++
 3 files changed, 473 insertions(+)

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
new file mode 100644
index 000..c6e25d7969f
--- /dev/null
+++ b/dev-lua/luasocket/files/luasocket-3.0_rc1_p20200328_makefile.patch
@@ -0,0 +1,89 @@
+From 49f935a774661d5d0d9b1727c2eee12d11f3b692 Mon Sep 17 00:00:00 2001
+From: "Azamat H. Hackimov" 
+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/files/luasocket-3.0_rc1_p20200328_publish_API.patch 
b/dev-lua/luasocket/files/luasocket-3.0_rc1_p20200328_publish_API.patch
new file mode 100644
index 000..874f0eb26a7
--- /dev/null
+++ b/dev-lua/luasocket/files/luasocket-3.0_rc1_p20200328_publish_API.patch
@@ -0,0 +1,294 @@
+From 88cefd1ff8e70c10661c81b96baf5da1fc49feef Mon Sep 17 00:00:00 2001
+From: Jonas Wielicki 
+Date: Wed, 31 Jul 2013 14:25:23 +0200
+Subject: [PATCH 1/2] Make the API more accessible by publishing constants
+
+---
+ src/buffer.h  | 15 ---
+ src/common.h  | 16 
+ src/io.h  |  7 ---
+ src/socket.h  | 51 

[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2021-04-20 Thread Sergei Trofimovich
commit: 57079e8dc131105da8cef91f841cfa3f8849f621
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Tue Apr 20 21:16:21 2021 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Tue Apr 20 21:20:36 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57079e8d

dev-lua/luasocket: keyworded 3.0_rc1_p20200328-r102 for ia64

keyworded wrt bug #783420

Package-Manager: Portage-3.0.18, Repoman-3.0.3
RepoMan-Options: --include-arches="ia64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r102.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r102.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r102.ebuild
index 8d577ce5ec2..5b124acb906 100644
--- a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r102.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r102.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ~mips ppc ppc64 sparc x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2021-02-21 Thread Conrad Kostecki
commit: 8f540ffe727d51c588a89e10e7bb1f78bd42b293
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Feb 21 20:39:53 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Feb 21 21:21:17 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f540ffe

dev-lua/luasocket: add lua5-4 support

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Conrad Kostecki  gentoo.org>

 dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r102.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r102.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r102.ebuild
index 75b81365cf9..8d577ce5ec2 100644
--- a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r102.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r102.ebuild
@@ -4,7 +4,7 @@
 EAPI=7
 
 EGIT_COMMIT="5b18e475f38fcf28429b1cc4b17baee3b9793a62"
-LUA_COMPAT=( lua5-{1..3} luajit )
+LUA_COMPAT=( lua5-{1..4} luajit )
 MY_P="${PN}-${EGIT_COMMIT}"
 
 inherit flag-o-matic lua toolchain-funcs



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/files/, dev-lua/luasocket/

2021-01-27 Thread Conrad Kostecki
commit: 8e426ef2f798dccad5ae3140be21f3eb4cd6f56c
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Jan 24 18:12:20 2021 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Wed Jan 27 19:40:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e426ef2

dev-lua/luasocket: drop old version

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Conrad Kostecki  gentoo.org>

 dev-lua/luasocket/Manifest |  1 -
 dev-lua/luasocket/files/proxy-fix.patch| 31 --
 dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild  | 58 -
 .../luasocket-3.0_rc1_p20200328-r1.ebuild  | 72 --
 4 files changed, 162 deletions(-)

diff --git a/dev-lua/luasocket/Manifest b/dev-lua/luasocket/Manifest
index ee78a733186..8e11fe11f0a 100644
--- a/dev-lua/luasocket/Manifest
+++ b/dev-lua/luasocket/Manifest
@@ -1,2 +1 @@
-DIST luasocket-3.0_rc1.tar.gz 328598 BLAKE2B 
9cc382d909cfa018edec237ac901220cccb0cf0e3a775b9cd8083487ace42a94dfd280f9423097f677f37ee9f85afcfff844250cd49c0f813b7c50c3adc532c5
 SHA512 
f6efce259aaacaa11472911471f8a13b118fe009b8953a82c6aa18b9ec829cd1293180904e56935cb130d36d267e3f27c91db2d78e03f7488f3e100571ed0540
 DIST luasocket-3.0_rc1_p20200328.tar.gz 335628 BLAKE2B 
9e5d3e415337903b689705669b586c4481179a319b4e3428823c8f442d04f26db86bfeca66db7e58d157e31431c31e4f687403f7163b75f57d6f87cdb934717f
 SHA512 
bdf7086a0504b0072b9cfd1266fc4ae89504053801722859a426f567fca00ed76f4c295c2a3a968e93f0036d9b792cf97561e9baa82c09ea23999cfd473227eb

diff --git a/dev-lua/luasocket/files/proxy-fix.patch 
b/dev-lua/luasocket/files/proxy-fix.patch
deleted file mode 100644
index 302e63663ff..000
--- a/dev-lua/luasocket/files/proxy-fix.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From 1f9ccb2b586c3a7e29db3c99a23ac1cee6907cf2 Mon Sep 17 00:00:00 2001
-From: Pierre Chapuis 
-Date: Fri, 5 Jul 2013 18:00:29 +0200
-Subject: [PATCH] http: look for PROXY in _M, not as a global
-

- src/http.lua | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/src/http.lua b/src/http.lua
-index 5f70a374..f83dcc55 100644
 a/src/http.lua
-+++ b/src/http.lua
-@@ -186,7 +186,7 @@ end
- local function adjusturi(reqt)
- local u = reqt
- -- if there is a proxy, we need the full url. otherwise, just a part.
--if not reqt.proxy and not PROXY then
-+if not reqt.proxy and not _M.PROXY then
- u = {
-path = socket.try(reqt.path, "invalid path 'nil'"),
-params = reqt.params,
-@@ -198,7 +198,7 @@ local function adjusturi(reqt)
- end
- 
- local function adjustproxy(reqt)
--local proxy = reqt.proxy or PROXY
-+local proxy = reqt.proxy or _M.PROXY
- if proxy then
- proxy = url.parse(proxy)
- return proxy.host, proxy.port or 3128

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild
deleted file mode 100644
index 8a12093b847..000
--- a/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit multilib multilib-minimal flag-o-matic toolchain-funcs
-
-DESCRIPTION="Networking support library for the Lua language"
-HOMEPAGE="http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/
-   https://github.com/diegonehab/luasocket;
-SRC_URI="https://github.com/diegonehab/${PN}/archive/v${PV/_/-}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 arm arm64 ~hppa ~mips ppc ppc64 sparc x86"
-IUSE="debug"
-
-RDEPEND=">=dev-lang/lua-5.1.5-r2:0[${MULTILIB_USEDEP}]"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-S=${WORKDIR}/${PN}-${PV/_/-}
-
-RESTRICT="test"
-
-PATCHES=(
-   "${FILESDIR}"/proxy-fix.patch
-)
-
-src_prepare() {
-   default
-   multilib_copy_sources
-}
-
-multilib_src_compile() {
-   emake \
-   CC="$(tc-getCC) ${CFLAGS}" \
-   LD="$(tc-getCC) ${LDFLAGS}"\
-   $(usex debug DEBUG="DEBUG" "")
-}
-
-multilib_src_install() {
-   local luav=$($(tc-getPKG_CONFIG) --variable V lua)
-   emake \
-   DESTDIR="${D}" \
-   LUAPREFIX_linux="${EPREFIX}/usr" \
-   LUAV=${luav} \
-   CDIR_linux=$(get_libdir)/lua/${luav} \
-   install-unix
-   insinto /usr/include/lua${luav}/luasocket
-   doins src/*.h
-}
-
-multilib_src_install_all() {
-   dodoc NEW README
-   docinto html
-   dodoc -r doc/.
-}

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r1.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r1.ebuild
deleted file mode 100644
index b05a982025b..000
--- a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r1.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-

[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2021-01-23 Thread Sam James
commit: ce0b51110d860bcb970897cf3bccb60924db23e4
Author: Sam James  gentoo  org>
AuthorDate: Sat Jan 23 22:51:39 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan 23 22:51:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce0b5111

dev-lua/luasocket: Stabilize 3.0_rc1_p20200328-r102 arm64, #766528

Signed-off-by: Sam James  gentoo.org>

 dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r102.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r102.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r102.ebuild
index ef2512b71b3..0e826caa767 100644
--- a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r102.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r102.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm ~arm64 ~hppa ~mips ~ppc ~ppc64 sparc x86"
+KEYWORDS="amd64 arm arm64 ~hppa ~mips ~ppc ~ppc64 sparc x86"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2021-01-23 Thread Sam James
commit: f1dba89ca047e22cba85ab59538f3e9d2f3efc34
Author: Sam James  gentoo  org>
AuthorDate: Sat Jan 23 22:50:12 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan 23 22:50:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1dba89c

dev-lua/luasocket: Stabilize 3.0_rc1_p20200328-r102 arm, #766528

Signed-off-by: Sam James  gentoo.org>

 dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r102.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r102.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r102.ebuild
index 74690db9d7a..ef2512b71b3 100644
--- a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r102.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r102.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 sparc x86"
+KEYWORDS="amd64 arm ~arm64 ~hppa ~mips ~ppc ~ppc64 sparc x86"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2021-01-23 Thread Sam James
commit: e42cc028f7e4523a0f1e22195f420a2d3ba93251
Author: Sam James  gentoo  org>
AuthorDate: Sat Jan 23 22:42:00 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jan 23 22:42:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e42cc028

dev-lua/luasocket: Stabilize 3.0_rc1_p20200328-r102 sparc, #766528

Signed-off-by: Sam James  gentoo.org>

 dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r102.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r102.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r102.ebuild
index c4918688a91..74690db9d7a 100644
--- a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r102.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r102.ebuild
@@ -19,7 +19,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc x86"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 sparc x86"
 REQUIRED_USE="${LUA_REQUIRED_USE}"
 RESTRICT="test"
 



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2020-12-14 Thread Conrad Kostecki
commit: f44df3f740c887ba075955f1213c1723d9fc7831
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Mon Dec 14 17:35:54 2020 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Mon Dec 14 17:57:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f44df3f7

dev-lua/luasocket: drop old version

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../luasocket-3.0_rc1_p20200328-r101.ebuild| 97 --
 .../luasocket/luasocket-3.0_rc1_p20200328.ebuild   | 73 
 2 files changed, 170 deletions(-)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r101.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r101.ebuild
deleted file mode 100644
index dab20430d3c..000
--- a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r101.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-EGIT_COMMIT="5b18e475f38fcf28429b1cc4b17baee3b9793a62"
-LUA_COMPAT=( lua5-{1..3} )
-LUA_REQ_USE="${MULTILIB_USEDEP}"
-MY_P="${PN}-${EGIT_COMMIT}"
-
-inherit flag-o-matic lua multilib-minimal toolchain-funcs
-
-DESCRIPTION="Networking support library for the Lua language"
-HOMEPAGE="
-   http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/
-   https://github.com/diegonehab/luasocket
-"
-SRC_URI="https://github.com/diegonehab/${PN}/archive/${EGIT_COMMIT}.tar.gz -> 
${P}.tar.gz"
-S="${WORKDIR}/${MY_P}"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
-REQUIRED_USE="${LUA_REQUIRED_USE}"
-RESTRICT="test"
-
-RDEPEND="${LUA_DEPS}"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-HTML_DOCS="doc/."
-
-src_prepare() {
-   default
-
-   # Respect users CFLAGS
-   sed -e 's/-O2 -ggdb3//g' -i src/makefile || die
-
-   # Workaround for 32-bit systems
-   append-cflags -fno-stack-protector
-
-   lua_copy_sources
-   lua_foreach_impl multilib_copy_sources
-}
-
-lua_multilib_src_compile() {
-   pushd "${WORKDIR}/${MY_P}-${ELUA/./-}-${MULTILIB_ABI_FLAG}.${ABI}" || 
die
-
-   local myemakeargs=(
-   "CC=$(tc-getCC)"
-   "LD=$(tc-getCC)"
-   "LDFLAGS_linux=-O -fpic -shared -o"
-   "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
-}
-
-multilib_src_compile() {
-   lua_foreach_impl lua_multilib_src_compile
-}
-
-lua_multilib_src_install() {
-   pushd "${WORKDIR}/${MY_P}-${ELUA/./-}-${MULTILIB_ABI_FLAG}.${ABI}" || 
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
-}
-
-multilib_src_install() {
-   lua_foreach_impl lua_multilib_src_install
-}
-
-multilib_src_install_all() {
-   einstalldocs
-}

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328.ebuild
deleted file mode 100644
index 4591859cc60..000
--- a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-EGIT_COMMIT="5b18e475f38fcf28429b1cc4b17baee3b9793a62"
-LUA_REQ_USE="${MULTILIB_USEDEP}"
-
-inherit flag-o-matic multilib multilib-minimal toolchain-funcs
-
-DESCRIPTION="Networking support library for the Lua language"
-HOMEPAGE="
-   http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/
-   https://github.com/diegonehab/luasocket
-"
-SRC_URI="https://github.com/diegonehab/${PN}/archive/${EGIT_COMMIT}.tar.gz -> 
${P}.tar.gz"
-S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
-RESTRICT="test"
-
-RDEPEND=">=dev-lang/lua-5.1.5-r2:0[${MULTILIB_USEDEP}]"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-HTML_DOCS="doc/."
-
-src_prepare() {
-   default
-
-   # Respect users CFLAGS
-   sed -e 's/-O2 -ggdb3//g' -i src/makefile || die
-
-   # Workaround for 32-bit systems
-   append-cflags -fno-stack-protector
-
-   multilib_copy_sources
-}
-
-multilib_src_compile() {
-   local myemakeargs=(
-   "CC=$(tc-getCC)"
-   "LD=$(tc-getCC)"
-   "LDFLAGS_linux=-O -fpic -shared -o"
-   

[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2020-12-14 Thread Conrad Kostecki
commit: 7784d0c17abf4150f4598bb2b6ab2111c363d1f2
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Mon Dec 14 17:34:49 2020 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Mon Dec 14 17:57:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7784d0c1

dev-lua/luasocket: add luajit (slotted)

Dropping also multilib, as no package, which depends on this package,
needs multilib.

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../luasocket-3.0_rc1_p20200328-r1.ebuild  | 72 +
 .../luasocket-3.0_rc1_p20200328-r102.ebuild| 93 ++
 2 files changed, 165 insertions(+)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r1.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r1.ebuild
new file mode 100644
index 000..b05a982025b
--- /dev/null
+++ b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGIT_COMMIT="5b18e475f38fcf28429b1cc4b17baee3b9793a62"
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Networking support library for the Lua language"
+HOMEPAGE="
+   http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/
+   https://github.com/diegonehab/luasocket
+"
+SRC_URI="https://github.com/diegonehab/${PN}/archive/${EGIT_COMMIT}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="luajit"
+RESTRICT="test"
+
+RDEPEND="
+   luajit? ( dev-lang/luajit:2 )
+   !luajit? ( dev-lang/lua:0 )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+HTML_DOCS="doc/."
+
+src_prepare() {
+   default
+
+   # Respect users CFLAGS
+   sed -e 's/-O2 -ggdb3//g' -i src/makefile || die
+
+   # Workaround for 32-bit systems
+   append-cflags -fno-stack-protector
+}
+
+src_compile() {
+   local myemakeargs=(
+   "CC=$(tc-getCC)"
+   "LD=$(tc-getCC)"
+   "LDFLAGS_linux=-O -fpic -shared -o"
+   "LUAINC_linux=$($(tc-getPKG_CONFIG) --variable includedir 
$(usex luajit 'luajit' 'lua'))"
+   "LUAV=5.1"
+   "MYCFLAGS=${CFLAGS}"
+   "MYLDFLAGS=${LDFLAGS}"
+   )
+
+   emake "${myemakeargs[@]}" all
+}
+
+src_install() {
+   local myemakeargs=(
+   "CDIR=$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex 
luajit 'luajit' 'lua'))"
+   "DESTDIR=${ED}"
+   "LDIR=$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD $(usex 
luajit 'luajit' 'lua'))"
+   "LUAPREFIX_linux="
+   )
+
+   emake "${myemakeargs[@]}" install
+   emake "${myemakeargs[@]}" install-unix
+
+   insinto "$($(tc-getPKG_CONFIG) --variable includedir $(usex luajit 
'luajit' 'lua'))/luasocket"
+   doins src/*.h
+
+   einstalldocs
+}

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r102.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r102.ebuild
new file mode 100644
index 000..7020672331f
--- /dev/null
+++ b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r102.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGIT_COMMIT="5b18e475f38fcf28429b1cc4b17baee3b9793a62"
+LUA_COMPAT=( lua5-{1..3} luajit )
+MY_P="${PN}-${EGIT_COMMIT}"
+
+inherit flag-o-matic lua toolchain-funcs
+
+DESCRIPTION="Networking support library for the Lua language"
+HOMEPAGE="
+   http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/
+   https://github.com/diegonehab/luasocket
+"
+SRC_URI="https://github.com/diegonehab/${PN}/archive/${EGIT_COMMIT}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+RESTRICT="test"
+
+RDEPEND="${LUA_DEPS}"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+HTML_DOCS="doc/."
+
+src_prepare() {
+   default
+
+   # Respect users CFLAGS
+   sed -e 's/-O2 -ggdb3//g' -i src/makefile || die
+
+   # Workaround for 32-bit systems
+   append-cflags -fno-stack-protector
+
+   lua_copy_sources
+}
+
+lua_src_compile() {
+   pushd "${BUILD_DIR}" || die
+
+   local myemakeargs=(
+   "CC=$(tc-getCC)"
+   "LD=$(tc-getCC)"
+   "LDFLAGS_linux=-O -fpic -shared -o"
+   "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 

[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2020-11-29 Thread Conrad Kostecki
commit: 976a6fb5d4eb02c9757206713c755205a5b4efd9
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Nov 29 15:35:38 2020 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Nov 29 15:35:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=976a6fb5

dev-lua/luasocket: drop old version

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../luasocket-3.0_rc1_p20200328-r100.ebuild| 90 --
 1 file changed, 90 deletions(-)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r100.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r100.ebuild
deleted file mode 100644
index 479cb3ff4ee..000
--- a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r100.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-EGIT_COMMIT="5b18e475f38fcf28429b1cc4b17baee3b9793a62"
-LUA_COMPAT=( lua5-{1..3} )
-LUA_REQ_USE="${MULTILIB_USEDEP}"
-
-inherit flag-o-matic lua multilib multilib-minimal toolchain-funcs
-
-DESCRIPTION="Networking support library for the Lua language"
-HOMEPAGE="
-   http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/
-   https://github.com/diegonehab/luasocket
-"
-SRC_URI="https://github.com/diegonehab/${PN}/archive/${EGIT_COMMIT}.tar.gz -> 
${P}.tar.gz"
-S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
-REQUIRED_USE="${LUA_REQUIRED_USE}"
-RESTRICT="test"
-
-RDEPEND="${LUA_DEPS}"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-HTML_DOCS="doc/."
-
-src_prepare() {
-   default
-
-   # Respect users CFLAGS
-   sed -e 's/-O2 -ggdb3//g' -i src/makefile || die
-
-   # Workaround for 32-bit systems
-   append-cflags -fno-stack-protector
-
-   multilib_copy_sources
-}
-
-lua_multilib_src_compile() {
-   # Clean project, to compile it for every lua slot
-   emake clean
-
-   local myemakeargs=(
-   "CC=$(tc-getCC)"
-   "LD=$(tc-getCC)"
-   "LDFLAGS_linux=-O -fpic -shared -o"
-   "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
-}
-
-multilib_src_compile() {
-   lua_foreach_impl lua_multilib_src_compile
-}
-
-lua_multilib_src_install() {
-   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
-}
-
-multilib_src_install() {
-   lua_foreach_impl lua_multilib_src_install
-}
-
-multilib_src_install_all() {
-   einstalldocs
-}



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2020-11-29 Thread Conrad Kostecki
commit: df3228a18387762af34cc6f487583336abfff1d5
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Nov 29 15:34:38 2020 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Nov 29 15:34:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df3228a1

dev-lua/luasocket: update ebuild

Updated ebuild not to use clean.

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../luasocket-3.0_rc1_p20200328-r101.ebuild| 97 ++
 1 file changed, 97 insertions(+)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r101.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r101.ebuild
new file mode 100644
index 000..dab20430d3c
--- /dev/null
+++ b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328-r101.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGIT_COMMIT="5b18e475f38fcf28429b1cc4b17baee3b9793a62"
+LUA_COMPAT=( lua5-{1..3} )
+LUA_REQ_USE="${MULTILIB_USEDEP}"
+MY_P="${PN}-${EGIT_COMMIT}"
+
+inherit flag-o-matic lua multilib-minimal toolchain-funcs
+
+DESCRIPTION="Networking support library for the Lua language"
+HOMEPAGE="
+   http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/
+   https://github.com/diegonehab/luasocket
+"
+SRC_URI="https://github.com/diegonehab/${PN}/archive/${EGIT_COMMIT}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+RESTRICT="test"
+
+RDEPEND="${LUA_DEPS}"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+HTML_DOCS="doc/."
+
+src_prepare() {
+   default
+
+   # Respect users CFLAGS
+   sed -e 's/-O2 -ggdb3//g' -i src/makefile || die
+
+   # Workaround for 32-bit systems
+   append-cflags -fno-stack-protector
+
+   lua_copy_sources
+   lua_foreach_impl multilib_copy_sources
+}
+
+lua_multilib_src_compile() {
+   pushd "${WORKDIR}/${MY_P}-${ELUA/./-}-${MULTILIB_ABI_FLAG}.${ABI}" || 
die
+
+   local myemakeargs=(
+   "CC=$(tc-getCC)"
+   "LD=$(tc-getCC)"
+   "LDFLAGS_linux=-O -fpic -shared -o"
+   "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
+}
+
+multilib_src_compile() {
+   lua_foreach_impl lua_multilib_src_compile
+}
+
+lua_multilib_src_install() {
+   pushd "${WORKDIR}/${MY_P}-${ELUA/./-}-${MULTILIB_ABI_FLAG}.${ABI}" || 
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
+}
+
+multilib_src_install() {
+   lua_foreach_impl lua_multilib_src_install
+}
+
+multilib_src_install_all() {
+   einstalldocs
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2020-11-22 Thread Conrad Kostecki
commit: 2e5274c088fea28e6f97f7f7a7396870b7388b94
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Nov 22 17:44:18 2020 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Nov 22 17:44:32 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e5274c0

dev-lua/luasocket: bump to newest snapshot

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../luasocket/luasocket-3.0_rc1_p20200328.ebuild   | 73 ++
 1 file changed, 73 insertions(+)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1_p20200328.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328.ebuild
new file mode 100644
index 000..4591859cc60
--- /dev/null
+++ b/dev-lua/luasocket/luasocket-3.0_rc1_p20200328.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+EGIT_COMMIT="5b18e475f38fcf28429b1cc4b17baee3b9793a62"
+LUA_REQ_USE="${MULTILIB_USEDEP}"
+
+inherit flag-o-matic multilib multilib-minimal toolchain-funcs
+
+DESCRIPTION="Networking support library for the Lua language"
+HOMEPAGE="
+   http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/
+   https://github.com/diegonehab/luasocket
+"
+SRC_URI="https://github.com/diegonehab/${PN}/archive/${EGIT_COMMIT}.tar.gz -> 
${P}.tar.gz"
+S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+RESTRICT="test"
+
+RDEPEND=">=dev-lang/lua-5.1.5-r2:0[${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+HTML_DOCS="doc/."
+
+src_prepare() {
+   default
+
+   # Respect users CFLAGS
+   sed -e 's/-O2 -ggdb3//g' -i src/makefile || die
+
+   # Workaround for 32-bit systems
+   append-cflags -fno-stack-protector
+
+   multilib_copy_sources
+}
+
+multilib_src_compile() {
+   local myemakeargs=(
+   "CC=$(tc-getCC)"
+   "LD=$(tc-getCC)"
+   "LDFLAGS_linux=-O -fpic -shared -o"
+   "LUAINC_linux=$($(tc-getPKG_CONFIG) --variable INSTALL_INC 
lua)/lua$($(tc-getPKG_CONFIG) --variable V lua)"
+   "LUAV=$($(tc-getPKG_CONFIG) --variable V lua)"
+   "MYCFLAGS=${CFLAGS}"
+   "MYLDFLAGS=${LDFLAGS}"
+   )
+
+   emake "${myemakeargs[@]}" all
+}
+
+multilib_src_install() {
+   local myemakeargs=(
+   "CDIR=$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua)"
+   "DESTDIR=${ED}"
+   "LDIR=$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)"
+   "LUAPREFIX_linux="
+   )
+
+   emake "${myemakeargs[@]}" install
+   emake "${myemakeargs[@]}" install-unix
+
+   insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_INC 
lua)/$($(tc-getPKG_CONFIG) --variable V lua)"/luasocket
+   doins src/*.h
+}
+
+multilib_src_install_all() {
+   einstalldocs
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2020-11-22 Thread Conrad Kostecki
commit: f64d7508c49c89aea9800602ef1015fd0306f09f
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sun Nov 22 16:34:59 2020 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Nov 22 17:44:30 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f64d7508

dev-lua/luasocket: add myself as co-maintainer

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Conrad Kostecki  gentoo.org>

 dev-lua/luasocket/metadata.xml | 26 +++---
 1 file changed, 15 insertions(+), 11 deletions(-)

diff --git a/dev-lua/luasocket/metadata.xml b/dev-lua/luasocket/metadata.xml
index 2af4fc2a4ac..a173d508886 100644
--- a/dev-lua/luasocket/metadata.xml
+++ b/dev-lua/luasocket/metadata.xml
@@ -1,15 +1,19 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-  
-azamat.hacki...@gmail.com
-Azamat H. Hackimov
-  
-  
-proxy-ma...@gentoo.org
-Proxy Maintainers
-  
-  
-diegonehab/luasocket
-  
+   
+   azamat.hacki...@gmail.com
+   Azamat H. Hackimov
+   
+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   
+   
+   conik...@gentoo.org
+   Conrad Kostecki
+   
+   
+   diegonehab/luasocket
+   
 



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2020-11-14 Thread Conrad Kostecki
commit: f8635f43dc77f83c2566ee0ca042ebd49bf6f74e
Author: Conrad Kostecki  gentoo  org>
AuthorDate: Sat Nov 14 15:19:16 2020 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sat Nov 14 15:19:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8635f43

dev-lua/luasocket: drop old version

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Conrad Kostecki  gentoo.org>

 dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild | 56 ---
 1 file changed, 56 deletions(-)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild
deleted file mode 100644
index edede5c979e..000
--- a/dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit multilib multilib-minimal flag-o-matic toolchain-funcs
-
-DESCRIPTION="Networking support library for the Lua language"
-HOMEPAGE="http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/
-   https://github.com/diegonehab/luasocket;
-SRC_URI="https://github.com/diegonehab/${PN}/archive/v${PV/_/-}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 arm ~arm64 hppa ~mips ppc ppc64 sparc x86"
-IUSE="debug"
-
-RDEPEND=">=dev-lang/lua-5.1.5-r2:0[${MULTILIB_USEDEP}]"
-DEPEND="${RDEPEND}"
-BDEPEND="virtual/pkgconfig"
-
-S=${WORKDIR}/${PN}-${PV/_/-}
-
-RESTRICT="test"
-
-PATCHES=(
-   "${FILESDIR}"/proxy-fix.patch
-)
-
-src_prepare() {
-   default
-   multilib_copy_sources
-}
-
-multilib_src_compile() {
-   emake \
-   CC="$(tc-getCC) ${CFLAGS}" \
-   LD="$(tc-getCC) ${LDFLAGS}"\
-   $(usex debug DEBUG="DEBUG" "")
-}
-
-multilib_src_install() {
-   local luav=$($(tc-getPKG_CONFIG) --variable V lua)
-   emake \
-   DESTDIR="${D}" \
-   LUAPREFIX_linux=/usr \
-   LUAV=${luav} \
-   CDIR_linux=$(get_libdir)/lua/${luav} \
-   install-unix
-}
-
-multilib_src_install_all() {
-   dodoc NEW README
-   docinto html
-   dodoc -r doc/.
-}



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2020-08-12 Thread Agostino Sarubbo
commit: abe5ce6e0435320e3175be13a4f93de28ee21456
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Wed Aug 12 06:01:01 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Wed Aug 12 06:01:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abe5ce6e

dev-lua/luasocket: x86 stable wrt bug #733538

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild
index 02356266e3c..f6af809d1b9 100644
--- a/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/diegonehab/${PN}/archive/v${PV/_/-}.tar.gz -> ${P}.t
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm arm64 hppa ~mips ppc ppc64 sparc ~x86"
+KEYWORDS="amd64 arm arm64 hppa ~mips ppc ppc64 sparc x86"
 IUSE="debug"
 
 RDEPEND=">=dev-lang/lua-5.1.5-r2:0[${MULTILIB_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2020-08-11 Thread Agostino Sarubbo
commit: 16ce7d0005100aa49d3effbe8ae4421a1cdace43
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Aug 11 11:00:28 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Aug 11 11:00:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16ce7d00

dev-lua/luasocket: amd64 stable wrt bug #733538

Package-Manager: Portage-2.3.103, Repoman-2.3.23
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild
index 96adabb8c97..02356266e3c 100644
--- a/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/diegonehab/${PN}/archive/v${PV/_/-}.tar.gz -> ${P}.t
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 arm arm64 hppa ~mips ppc ppc64 sparc ~x86"
+KEYWORDS="amd64 arm arm64 hppa ~mips ppc ppc64 sparc ~x86"
 IUSE="debug"
 
 RDEPEND=">=dev-lang/lua-5.1.5-r2:0[${MULTILIB_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2020-08-09 Thread Sergei Trofimovich
commit: f9117cdf458b307a1f20c06bf19f4689f61f4581
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sun Aug  9 16:49:51 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sun Aug  9 16:50:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9117cdf

dev-lua/luasocket: stable 3.0_rc1-r5 for hppa

stable wrt bug #733538

Package-Manager: Portage-3.0.1, Repoman-2.3.23
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild
index 596af3a0dec..96adabb8c97 100644
--- a/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/diegonehab/${PN}/archive/v${PV/_/-}.tar.gz -> ${P}.t
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 arm arm64 ~hppa ~mips ppc ppc64 sparc ~x86"
+KEYWORDS="~amd64 arm arm64 hppa ~mips ppc ppc64 sparc ~x86"
 IUSE="debug"
 
 RDEPEND=">=dev-lang/lua-5.1.5-r2:0[${MULTILIB_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2020-08-08 Thread Sergei Trofimovich
commit: ce1dd2888244832ed15b367fabc9d4ccb5c69acc
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Aug  8 10:31:10 2020 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Aug  8 10:31:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ce1dd288

dev-lua/luasocket: stable 3.0_rc1-r5 for sparc

stable wrt bug #733538

Package-Manager: Portage-3.0.1, Repoman-2.3.23
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild
index 3b1713e50ad..596af3a0dec 100644
--- a/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/diegonehab/${PN}/archive/v${PV/_/-}.tar.gz -> ${P}.t
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 arm arm64 ~hppa ~mips ppc ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 arm arm64 ~hppa ~mips ppc ppc64 sparc ~x86"
 IUSE="debug"
 
 RDEPEND=">=dev-lang/lua-5.1.5-r2:0[${MULTILIB_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2020-08-07 Thread Sam James
commit: 22b52269d027cf08d05edbce41cf79aabe5e5f06
Author: Sam James  gentoo  org>
AuthorDate: Fri Aug  7 18:05:03 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Aug  7 18:05:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22b52269

dev-lua/luasocket: Stabilize 3.0_rc1-r5 arm64, #733538

Signed-off-by: Sam James  gentoo.org>

 dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild
index 761d41dcde8..3b1713e50ad 100644
--- a/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/diegonehab/${PN}/archive/v${PV/_/-}.tar.gz -> ${P}.t
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 arm ~arm64 ~hppa ~mips ppc ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 arm arm64 ~hppa ~mips ppc ppc64 ~sparc ~x86"
 IUSE="debug"
 
 RDEPEND=">=dev-lang/lua-5.1.5-r2:0[${MULTILIB_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2020-08-07 Thread Agostino Sarubbo
commit: b10e99f2f72bf7c5e8407312d51986752a960059
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Aug  7 11:48:04 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Aug  7 11:48:04 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b10e99f2

dev-lua/luasocket: ppc64 stable wrt bug #733538

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild
index 71570897606..761d41dcde8 100644
--- a/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/diegonehab/${PN}/archive/v${PV/_/-}.tar.gz -> ${P}.t
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 arm ~arm64 ~hppa ~mips ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 arm ~arm64 ~hppa ~mips ppc ppc64 ~sparc ~x86"
 IUSE="debug"
 
 RDEPEND=">=dev-lang/lua-5.1.5-r2:0[${MULTILIB_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2020-08-07 Thread Agostino Sarubbo
commit: 12a2a0b3d38ffde770554083f081fc87df95222b
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Aug  7 11:47:15 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Aug  7 11:47:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12a2a0b3

dev-lua/luasocket: ppc stable wrt bug #733538

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild
index 3b9bacd3dac..71570897606 100644
--- a/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/diegonehab/${PN}/archive/v${PV/_/-}.tar.gz -> ${P}.t
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 arm ~arm64 ~hppa ~mips ppc ~ppc64 ~sparc ~x86"
 IUSE="debug"
 
 RDEPEND=">=dev-lang/lua-5.1.5-r2:0[${MULTILIB_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2020-08-06 Thread Sam James
commit: 10f9fb07b9eda23030a280817ed92728d59a8777
Author: Sam James  gentoo  org>
AuthorDate: Thu Aug  6 19:02:40 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Aug  6 19:02:40 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10f9fb07

dev-lua/luasocket: Stabilize 3.0_rc1-r5 arm, #733538

Signed-off-by: Sam James  gentoo.org>

 dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild
index f47e443b228..3b9bacd3dac 100644
--- a/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/diegonehab/${PN}/archive/v${PV/_/-}.tar.gz -> ${P}.t
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
 IUSE="debug"
 
 RDEPEND=">=dev-lang/lua-5.1.5-r2:0[${MULTILIB_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2020-08-05 Thread Joonas Niilola
commit: 25056b7469f51dece5a45269684723049194d058
Author: Azamat H. Hackimov  gmail  com>
AuthorDate: Fri Jul 24 10:05:54 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Wed Aug  5 12:18:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25056b74

dev-lua/luasocket: fix building for prefix

Closes: https://bugs.gentoo.org/501168
Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Azamat H. Hackimov  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16795
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild
index 5ed5cbf5204..f47e443b228 100644
--- a/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild
@@ -43,7 +43,7 @@ multilib_src_install() {
local luav=$($(tc-getPKG_CONFIG) --variable V lua)
emake \
DESTDIR="${D}" \
-   LUAPREFIX_linux=/usr \
+   LUAPREFIX_linux="${EPREFIX}/usr" \
LUAV=${luav} \
CDIR_linux=$(get_libdir)/lua/${luav} \
install-unix



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2020-07-09 Thread Joonas Niilola
commit: 8009d29b45f2dd94abcc04b34a98d8737440a62b
Author: Azamat H. Hackimov  gmail  com>
AuthorDate: Wed Jul  1 12:11:19 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Jul  9 07:54:27 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8009d29b

dev-lua/luasocket: new maintainer

Minor fixes to ebuild.
Closes: https://bugs.gentoo.org/730348
Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Azamat H. Hackimov  gmail.com>
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild | 9 +
 dev-lua/luasocket/metadata.xml| 9 -
 2 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild
index 445630ad79d..edede5c979e 100644
--- a/dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild
@@ -6,7 +6,8 @@ EAPI=7
 inherit multilib multilib-minimal flag-o-matic toolchain-funcs
 
 DESCRIPTION="Networking support library for the Lua language"
-HOMEPAGE="http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/;
+HOMEPAGE="http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/
+   https://github.com/diegonehab/luasocket;
 SRC_URI="https://github.com/diegonehab/${PN}/archive/v${PV/_/-}.tar.gz -> 
${P}.tar.gz"
 
 LICENSE="MIT"
@@ -14,9 +15,9 @@ SLOT="0"
 KEYWORDS="amd64 arm ~arm64 hppa ~mips ppc ppc64 sparc x86"
 IUSE="debug"
 
-RDEPEND=">=dev-lang/lua-5.1.5-r2[deprecated,${MULTILIB_USEDEP}]"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig"
+RDEPEND=">=dev-lang/lua-5.1.5-r2:0[${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
 
 S=${WORKDIR}/${PN}-${PV/_/-}
 

diff --git a/dev-lua/luasocket/metadata.xml b/dev-lua/luasocket/metadata.xml
index 409d430eb57..2af4fc2a4ac 100644
--- a/dev-lua/luasocket/metadata.xml
+++ b/dev-lua/luasocket/metadata.xml
@@ -1,7 +1,14 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-  
+  
+azamat.hacki...@gmail.com
+Azamat H. Hackimov
+  
+  
+proxy-ma...@gentoo.org
+Proxy Maintainers
+  
   
 diegonehab/luasocket
   



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2020-07-09 Thread Joonas Niilola
commit: f1bbe799e8f7ed31a8a6bc2c6651215bf9d06fac
Author: Azamat H. Hackimov  gmail  com>
AuthorDate: Tue Jul  7 09:23:57 2020 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Jul  9 07:54:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1bbe799

dev-lua/luasocket: install headers

Install headers needed for other packages.
Bug: https://bugs.gentoo.org/730352
Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Azamat H. Hackimov  gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/16527
Signed-off-by: Joonas Niilola  gentoo.org>

 dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild | 58 +++
 1 file changed, 58 insertions(+)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild
new file mode 100644
index 000..5ed5cbf5204
--- /dev/null
+++ b/dev-lua/luasocket/luasocket-3.0_rc1-r5.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit multilib multilib-minimal flag-o-matic toolchain-funcs
+
+DESCRIPTION="Networking support library for the Lua language"
+HOMEPAGE="http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/
+   https://github.com/diegonehab/luasocket;
+SRC_URI="https://github.com/diegonehab/${PN}/archive/v${PV/_/-}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="debug"
+
+RDEPEND=">=dev-lang/lua-5.1.5-r2:0[${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+S=${WORKDIR}/${PN}-${PV/_/-}
+
+RESTRICT="test"
+
+PATCHES=(
+   "${FILESDIR}"/proxy-fix.patch
+)
+
+src_prepare() {
+   default
+   multilib_copy_sources
+}
+
+multilib_src_compile() {
+   emake \
+   CC="$(tc-getCC) ${CFLAGS}" \
+   LD="$(tc-getCC) ${LDFLAGS}"\
+   $(usex debug DEBUG="DEBUG" "")
+}
+
+multilib_src_install() {
+   local luav=$($(tc-getPKG_CONFIG) --variable V lua)
+   emake \
+   DESTDIR="${D}" \
+   LUAPREFIX_linux=/usr \
+   LUAV=${luav} \
+   CDIR_linux=$(get_libdir)/lua/${luav} \
+   install-unix
+   insinto /usr/include/lua${luav}/luasocket
+   doins src/*.h
+}
+
+multilib_src_install_all() {
+   dodoc NEW README
+   docinto html
+   dodoc -r doc/.
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2019-02-19 Thread Markus Meier
commit: 02bee5ce38e2f8bc7a1a9b29e0a22c45a4d7f0af
Author: Markus Meier  gentoo  org>
AuthorDate: Tue Feb 19 21:12:35 2019 +
Commit: Markus Meier  gentoo  org>
CommitDate: Tue Feb 19 21:12:35 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02bee5ce

dev-lua/luasocket: arm stable, bug #676488

Signed-off-by: Markus Meier  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="arm"

 dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild
index e94dc2ca5fb..2eb6498053e 100644
--- a/dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/diegonehab/${PN}/archive/v${PV/_/-}.tar.gz -> ${P}.t
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 hppa ~mips ppc ppc64 sparc x86"
+KEYWORDS="amd64 arm ~arm64 hppa ~mips ppc ppc64 sparc x86"
 IUSE="debug"
 
 RDEPEND=">=dev-lang/lua-5.1.5-r2[deprecated,${MULTILIB_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2019-02-09 Thread Thomas Deutschmann
commit: 2afde2f26e6f7760e8f631434852ddd042c4ef58
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Sat Feb  9 18:15:05 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Sat Feb  9 18:36:08 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2afde2f2

dev-lua/luasocket: x86 stable (bug #676488)

Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann  gentoo.org>

 dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild
index 88c72a50b06..e94dc2ca5fb 100644
--- a/dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/diegonehab/${PN}/archive/v${PV/_/-}.tar.gz -> ${P}.t
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 hppa ~mips ppc ppc64 sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 hppa ~mips ppc ppc64 sparc x86"
 IUSE="debug"
 
 RDEPEND=">=dev-lang/lua-5.1.5-r2[deprecated,${MULTILIB_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2019-02-07 Thread Mikle Kolyada
commit: 7f7f5c64e93393f10739a3387198dac8531a8d71
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Thu Feb  7 10:52:24 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Thu Feb  7 10:52:24 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f7f5c64

dev-lua/luasocket: amd64 stable wrt bug #676488

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild
index a67fcd05387..88c72a50b06 100644
--- a/dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/diegonehab/${PN}/archive/v${PV/_/-}.tar.gz -> ${P}.t
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 hppa ~mips ppc ppc64 sparc ~x86"
+KEYWORDS="amd64 ~arm ~arm64 hppa ~mips ppc ppc64 sparc ~x86"
 IUSE="debug"
 
 RDEPEND=">=dev-lang/lua-5.1.5-r2[deprecated,${MULTILIB_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2019-02-02 Thread Sergei Trofimovich
commit: 158f02c1a38a0811ad506d9366a27725466322e0
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Feb  2 21:13:48 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Feb  2 21:13:48 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=158f02c1

dev-lua/luasocket: stable 3.0_rc1-r4 for ppc64, bug #676488

Package-Manager: Portage-2.3.59, Repoman-2.3.12
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild
index ec52c91a60e..a67fcd05387 100644
--- a/dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/diegonehab/${PN}/archive/v${PV/_/-}.tar.gz -> ${P}.t
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 hppa ~mips ppc ~ppc64 sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 hppa ~mips ppc ppc64 sparc ~x86"
 IUSE="debug"
 
 RDEPEND=">=dev-lang/lua-5.1.5-r2[deprecated,${MULTILIB_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2019-02-02 Thread Sergei Trofimovich
commit: f979b0bf770eb324a0b62c4bc9b7490a1109b8d2
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Sat Feb  2 18:59:30 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Sat Feb  2 18:59:30 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f979b0bf

dev-lua/luasocket: stable 3.0_rc1-r4 for hppa, bug #676488

Package-Manager: Portage-2.3.59, Repoman-2.3.12
RepoMan-Options: --include-arches="hppa"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild
index 8a71a135873..ccf91e43e6a 100644
--- a/dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/diegonehab/${PN}/archive/v${PV/_/-}.tar.gz -> ${P}.t
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 hppa ~mips ~ppc ~ppc64 sparc ~x86"
 IUSE="debug"
 
 RDEPEND=">=dev-lang/lua-5.1.5-r2[deprecated,${MULTILIB_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2019-01-28 Thread Sergei Trofimovich
commit: 7f8865abe6f5b4d8b9505882989f0782f258a144
Author: Rolf Eike Beer  sf-mail  de>
AuthorDate: Mon Jan 28 16:26:23 2019 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Mon Jan 28 19:37:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f8865ab

dev-lua/luasocket: stable 3.0_rc1-r4 for sparc, bug #676488

Signed-off-by: Rolf Eike Beer  sf-mail.de>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="sparc"
Signed-off-by: Sergei Trofimovich  gentoo.org>

 dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild
index 9789a03154f..8a71a135873 100644
--- a/dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/diegonehab/${PN}/archive/v${PV/_/-}.tar.gz -> ${P}.t
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 sparc ~x86"
 IUSE="debug"
 
 RDEPEND=">=dev-lang/lua-5.1.5-r2[deprecated,${MULTILIB_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/, dev-lua/luasocket/files/

2018-09-01 Thread James Le Cuirot
commit: 44350e8fd19acc4020b7524768ffdb4dfcd06f38
Author: James Le Cuirot  gentoo  org>
AuthorDate: Sat Sep  1 12:33:09 2018 +
Commit: James Le Cuirot  gentoo  org>
CommitDate: Sat Sep  1 12:33:53 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44350e8f

dev-lua/luasocket: Patch to fix proxy variable issue, EAPI 7

This is needed for games-simulation/corsix-th, which I will add back
into the repository.

Closes: https://bugs.gentoo.org/585962
Package-Manager: Portage-2.3.48, Repoman-2.3.10

 dev-lua/luasocket/files/proxy-fix.patch   | 31 +++
 dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild | 55 +++
 2 files changed, 86 insertions(+)

diff --git a/dev-lua/luasocket/files/proxy-fix.patch 
b/dev-lua/luasocket/files/proxy-fix.patch
new file mode 100644
index 000..302e63663ff
--- /dev/null
+++ b/dev-lua/luasocket/files/proxy-fix.patch
@@ -0,0 +1,31 @@
+From 1f9ccb2b586c3a7e29db3c99a23ac1cee6907cf2 Mon Sep 17 00:00:00 2001
+From: Pierre Chapuis 
+Date: Fri, 5 Jul 2013 18:00:29 +0200
+Subject: [PATCH] http: look for PROXY in _M, not as a global
+
+---
+ src/http.lua | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/http.lua b/src/http.lua
+index 5f70a374..f83dcc55 100644
+--- a/src/http.lua
 b/src/http.lua
+@@ -186,7 +186,7 @@ end
+ local function adjusturi(reqt)
+ local u = reqt
+ -- if there is a proxy, we need the full url. otherwise, just a part.
+-if not reqt.proxy and not PROXY then
++if not reqt.proxy and not _M.PROXY then
+ u = {
+path = socket.try(reqt.path, "invalid path 'nil'"),
+params = reqt.params,
+@@ -198,7 +198,7 @@ local function adjusturi(reqt)
+ end
+ 
+ local function adjustproxy(reqt)
+-local proxy = reqt.proxy or PROXY
++local proxy = reqt.proxy or _M.PROXY
+ if proxy then
+ proxy = url.parse(proxy)
+ return proxy.host, proxy.port or 3128

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild
new file mode 100644
index 000..9789a03154f
--- /dev/null
+++ b/dev-lua/luasocket/luasocket-3.0_rc1-r4.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit multilib multilib-minimal flag-o-matic
+
+DESCRIPTION="Networking support library for the Lua language"
+HOMEPAGE="http://www.tecgraf.puc-rio.br/~diego/professional/luasocket/;
+SRC_URI="https://github.com/diegonehab/${PN}/archive/v${PV/_/-}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="debug"
+
+RDEPEND=">=dev-lang/lua-5.1.5-r2[deprecated,${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}
+   >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]"
+
+S=${WORKDIR}/${PN}-${PV/_/-}
+
+RESTRICT="test"
+
+PATCHES=(
+   "${FILESDIR}"/proxy-fix.patch
+)
+
+src_prepare() {
+   default
+   multilib_copy_sources
+}
+
+multilib_src_compile() {
+   emake \
+   CC="$(tc-getCC) ${CFLAGS}" \
+   LD="$(tc-getCC) ${LDFLAGS}"\
+   $(usex debug DEBUG="DEBUG" "")
+}
+
+multilib_src_install() {
+   local luav=$($(tc-getPKG_CONFIG) --variable V lua)
+   emake \
+   DESTDIR="${D}" \
+   LUAPREFIX_linux=/usr \
+   LUAV=${luav} \
+   CDIR_linux=$(get_libdir)/lua/${luav} \
+   install-unix
+}
+
+multilib_src_install_all() {
+   dodoc NEW README
+   docinto html
+   dodoc -r doc/.
+}



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/files/

2017-08-10 Thread Michał Górny
commit: e6be044ad012e6282371f06d7d166ac90ce226c1
Author: Michael Mair-Keimberger (asterix)  gmail 
 com>
AuthorDate: Tue Aug  8 08:28:09 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Aug 10 12:24:38 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6be044a

dev-lua/luasocket: remove unused patch

 .../files/luasocket-2.0.2-unixsocket.patch | 25 --
 1 file changed, 25 deletions(-)

diff --git a/dev-lua/luasocket/files/luasocket-2.0.2-unixsocket.patch 
b/dev-lua/luasocket/files/luasocket-2.0.2-unixsocket.patch
deleted file mode 100644
index 15f4fe01496..000
--- a/dev-lua/luasocket/files/luasocket-2.0.2-unixsocket.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-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)



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2017-07-29 Thread Alexis Ballier
commit: 594dcd9b5b316a66fffd56a3ed5aff35abb4bf60
Author: Alexis Ballier  gentoo  org>
AuthorDate: Sat Jul 29 12:31:30 2017 +
Commit: Alexis Ballier  gentoo  org>
CommitDate: Sat Jul 29 12:34:07 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=594dcd9b

dev-lua/luasocket: keyword ~arm64

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 dev-lua/luasocket/luasocket-3.0_rc1-r3.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-lua/luasocket/luasocket-3.0_rc1-r3.ebuild 
b/dev-lua/luasocket/luasocket-3.0_rc1-r3.ebuild
index aba778da643..b2b42fd1b64 100644
--- a/dev-lua/luasocket/luasocket-3.0_rc1-r3.ebuild
+++ b/dev-lua/luasocket/luasocket-3.0_rc1-r3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/diegonehab/${PN}/archive/v${PV/_/-}.tar.gz -> ${P}.t
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm hppa ~mips ppc ppc64 sparc x86"
+KEYWORDS="amd64 arm ~arm64 hppa ~mips ppc ppc64 sparc x86"
 IUSE="debug"
 
 RDEPEND=">=dev-lang/lua-5.1.5-r2[deprecated,${MULTILIB_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2017-07-23 Thread Manuel Rüger
commit: 4aa0911b7cc71ec8fc71fd706956c342911cff96
Author: Manuel Rüger  gentoo  org>
AuthorDate: Sun Jul 23 12:11:11 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Sun Jul 23 12:12:25 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4aa0911b

dev-lua/luasocket: Drop myself as a maintainer

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 dev-lua/luasocket/metadata.xml | 5 +
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/dev-lua/luasocket/metadata.xml b/dev-lua/luasocket/metadata.xml
index 36e141f3560..409d430eb57 100644
--- a/dev-lua/luasocket/metadata.xml
+++ b/dev-lua/luasocket/metadata.xml
@@ -1,10 +1,7 @@
 
 http://www.gentoo.org/dtd/metadata.dtd;>
 
-  
-mr...@gentoo.org
-Manuel Rüger
-  
+  
   
 diegonehab/luasocket
   



[gentoo-commits] repo/gentoo:master commit in: dev-lua/luasocket/

2017-01-21 Thread Manuel Rüger
commit: a3c8ab66ac8e42381e7b3afc4ad4df38c8e49a9a
Author: Manuel Rüger  gentoo  org>
AuthorDate: Sun Jan 22 01:27:12 2017 +
Commit: Manuel Rüger  gentoo  org>
CommitDate: Sun Jan 22 01:27:12 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3c8ab66

dev-lua/luasocket: Remove old

Package-Manager: portage-2.3.3

 dev-lua/luasocket/Manifest   |  1 -
 dev-lua/luasocket/luasocket-2.0.2.ebuild | 49 
 2 files changed, 50 deletions(-)

diff --git a/dev-lua/luasocket/Manifest b/dev-lua/luasocket/Manifest
index 5dfeba3..dca5531 100644
--- a/dev-lua/luasocket/Manifest
+++ b/dev-lua/luasocket/Manifest
@@ -1,2 +1 @@
-DIST luasocket-2.0.2.tar.gz 115443 SHA256 
4fd9c775cfd98841299851e29b30176caf289370fea1ff1e00bb67c2d6842ca6 SHA512 
3ea46dc96a4530def11c2c0ad34c9e2e9d2095b1b671ca7dd29c91953adcb22d621de3960f65045d15fd0a16b1c75c629c8cef1218281fd2d3373c76dc4759f3
 WHIRLPOOL 
34d68f1f7cbe2c56108d038af9f776c38917deb759398b13fc7f9b879505699a710f9a8c815e3f05a23d840777bebf84eddf8555edc5f948e26338a8f246c4c9
 DIST luasocket-3.0_rc1.tar.gz 328598 SHA256 
8b67d9b5b545e1b694753dab7bd6cdbc24c290f2b21ba1e14c77b32817ea1249 SHA512 
f6efce259aaacaa11472911471f8a13b118fe009b8953a82c6aa18b9ec829cd1293180904e56935cb130d36d267e3f27c91db2d78e03f7488f3e100571ed0540
 WHIRLPOOL 
31870d4450f0dffbf74669450188c0e491c916ec5b1df853ce8400987bc99528b730b5de9063183d9e75433af412ccacaa8c41ed9c34720f2c2f63c62c817923

diff --git a/dev-lua/luasocket/luasocket-2.0.2.ebuild 
b/dev-lua/luasocket/luasocket-2.0.2.ebuild
deleted file mode 100644
index 9d75d8c..
--- a/dev-lua/luasocket/luasocket-2.0.2.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-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 ~arm x86"
-IUSE="debug"
-
-RDEPEND=">=dev-lang/lua-5.1[deprecated]"
-DEPEND="${RDEPEND}
-   virtual/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
-}