summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolic <jakov.smolic@sartura.hr>2020-12-03 09:21:11 +0100
committerJoonas Niilola <juippis@gentoo.org>2020-12-09 11:42:40 +0200
commitba6ab6d1d7becf91867f7ab6f121d44d0a9cd2f1 (patch)
tree305294d4da3bdde8c142af9f7b7bd5c5e2c278c2
parentnet-libs/libwebsockets: Bump to 4.1.6 (diff)
downloadgentoo-ba6ab6d1d7becf91867f7ab6f121d44d0a9cd2f1.tar.gz
gentoo-ba6ab6d1d7becf91867f7ab6f121d44d0a9cd2f1.tar.bz2
gentoo-ba6ab6d1d7becf91867f7ab6f121d44d0a9cd2f1.zip
net-libs/libwebsockets: Cleanup old versions
Package-Manager: Portage-3.0.9, Repoman-3.0.1 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Closes: https://github.com/gentoo/gentoo/pull/18477 Signed-off-by: Joonas Niilola <juippis@gentoo.org>
-rw-r--r--net-libs/libwebsockets/Manifest2
-rw-r--r--net-libs/libwebsockets/libwebsockets-3.2.1.ebuild78
-rw-r--r--net-libs/libwebsockets/libwebsockets-4.0.20.ebuild89
3 files changed, 0 insertions, 169 deletions
diff --git a/net-libs/libwebsockets/Manifest b/net-libs/libwebsockets/Manifest
index a462c7c9e736..077854446b6b 100644
--- a/net-libs/libwebsockets/Manifest
+++ b/net-libs/libwebsockets/Manifest
@@ -1,4 +1,2 @@
-DIST libwebsockets-3.2.1.tar.gz 9868342 BLAKE2B d822552c611f7cd0ee416bf9b9576c6052e196c1aa68b12c46a00865d3dcd131840218394317f191485fc61d8f3b7654d4a652a47f11d279a555522df84a2350 SHA512 a2d30a7a0416a26484743efdaa8635542480a74b0ef0f6e172dab5de4688486efb13457fc8a884d9916f76322cab0cbc9ab675f496558edd1dd9b833d087207d
-DIST libwebsockets-4.0.20.tar.gz 12342036 BLAKE2B 983190f7f63eb9db09b688ae056c6fdee32ac6d57f4afe3fb42cd662202c290c21a28e9c107d61cd3b2ddb25478f93b56008dc939ced28cd1c5abd6314fb1b32 SHA512 b2ab19623557b67abf157aed0317fb2305304e72c7e40c202c0bc855a499bbef64978e9187adcfdd2ef251497144db4a9fbaebaf37a320c7190720e9d194b67a
DIST libwebsockets-4.1.4.tar.gz 12698800 BLAKE2B 78cb9587af7a5cc368c3c4ce7b8c8cba7d25961595ae8853f52d374b73404e5fbd99ff9b552dc9d6370fd425d6bd28fc69b71be37f2f045817f2cb8f5354dcbc SHA512 4da84f612ad427465c4eea0bdd0db59c21c9e42bb21eb46b904f544dc4078af2c9a957e61430f3569b87cfc96b3addee50ac7a7c77777dcf16350fe441dd8854
DIST libwebsockets-4.1.6.tar.gz 12912895 BLAKE2B d6b8c96b8da4c177e7c730acb13bbba63996b1817bc0e0df36923c7ad3aabb6823f852c84bef865e85ed7eac1855273527ff6e92e413bbed8576388ce2ec7e3f SHA512 b83059b5405fe5c8bbfb6ef4cdfb66ce8b3fa2a660c013e64fa579f3ae09c70a6e3807d37ad4cff1d37b0c797959ba4e9c527be7e31520b3853161cfd6224a54
diff --git a/net-libs/libwebsockets/libwebsockets-3.2.1.ebuild b/net-libs/libwebsockets/libwebsockets-3.2.1.ebuild
deleted file mode 100644
index 57ab8eb8aed2..000000000000
--- a/net-libs/libwebsockets/libwebsockets-3.2.1.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-DESCRIPTION="A flexible pure-C library for implementing network protocols"
-HOMEPAGE="https://libwebsockets.org/"
-SRC_URI="https://github.com/warmcat/libwebsockets/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="LGPL-2.1"
-SLOT="0/15" # libwebsockets.so.15
-KEYWORDS="amd64 arm x86"
-IUSE="access-log caps cgi client dbus generic-sessions http-proxy http2 ipv6
- +lejp libev libevent libressl libuv peer-limits server-status smtp socks5
- sqlite3 ssl static-libs threads zip"
-
-REQUIRED_USE="
- generic-sessions? ( smtp sqlite3 )
- http-proxy? ( client )
- smtp? ( libuv )
- ?? ( libev libevent )
-"
-
-RDEPEND="
- sys-libs/zlib
- caps? ( sys-libs/libcap )
- http-proxy? ( net-libs/libhubbub )
- libev? ( dev-libs/libev )
- libevent? ( dev-libs/libevent:= )
- libuv? ( dev-libs/libuv:= )
- sqlite3? ( dev-db/sqlite:= )
- ssl? (
- !libressl? ( dev-libs/openssl:0= )
- libressl? ( dev-libs/libressl:0= )
- )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="dev-lang/perl"
-
-PATCHES=(
- "${FILESDIR}/libwebsockets-3.2.0-check_chown_result.patch"
- "${FILESDIR}/libwebsockets-3.2.1-socks5-noclient-compilefailure.patch"
-)
-
-src_configure() {
- local mycmakeargs=(
- -DCMAKE_DISABLE_FIND_PACKAGE_Git=ON
- -DLWS_HAVE_LIBCAP=$(usex caps)
- -DLWS_IPV6=$(usex ipv6)
- -DLWS_ROLE_DBUS=$(usex dbus)
- -DLWS_WITHOUT_CLIENT=$(usex !client)
- -DLWS_WITHOUT_TEST_CLIENT=$(usex !client)
- -DLWS_WITH_ACCESS_LOG=$(usex access-log)
- -DLWS_WITH_CGI=$(usex cgi)
- -DLWS_WITH_GENERIC_SESSIONS=$(usex generic-sessions)
- -DLWS_WITH_HTTP2=$(usex http2)
- -DLWS_WITH_HTTP_PROXY=$(usex http-proxy)
- -DLWS_WITH_HUBBUB=$(usex http-proxy)
- -DLWS_WITH_LEJP=$(usex lejp)
- -DLWS_WITH_LIBEV=$(usex libev)
- -DLWS_WITH_LIBEVENT=$(usex libevent)
- -DLWS_WITH_LIBUV=$(usex libuv)
- -DLWS_WITH_PEER_LIMITS=$(usex peer-limits)
- -DLWS_WITH_SERVER_STATUS=$(usex server-status)
- -DLWS_WITH_SMTP=$(usex smtp)
- -DLWS_WITH_SOCKS5=$(usex socks5)
- -DLWS_WITH_SQLITE3=$(usex sqlite3)
- -DLWS_WITH_SSL=$(usex ssl)
- -DLWS_WITH_STATIC=$(usex static-libs)
- -DLWS_WITH_THREADPOOL=$(usex threads)
- -DLWS_WITH_ZIP_FOPS=$(usex zip)
- -DLWS_WITHOUT_TESTAPPS=ON
- )
-
- cmake_src_configure
-}
diff --git a/net-libs/libwebsockets/libwebsockets-4.0.20.ebuild b/net-libs/libwebsockets/libwebsockets-4.0.20.ebuild
deleted file mode 100644
index 134f80a69943..000000000000
--- a/net-libs/libwebsockets/libwebsockets-4.0.20.ebuild
+++ /dev/null
@@ -1,89 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake flag-o-matic
-
-DESCRIPTION="A flexible pure-C library for implementing network protocols"
-HOMEPAGE="https://libwebsockets.org/"
-SRC_URI="https://github.com/warmcat/libwebsockets/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0/16" # libwebsockets.so.16
-KEYWORDS="amd64 arm arm64 x86"
-IUSE="access-log caps cgi client dbus generic-sessions http-proxy http2 ipv6
- +lejp libev libevent libressl libuv mbedtls peer-limits server-status smtp socks5
- sqlite3 ssl static-libs threads zip"
-
-REQUIRED_USE="
- access-log? ( http2 )
- generic-sessions? ( smtp sqlite3 )
- http-proxy? ( client )
- smtp? ( libuv )
- socks5? ( client http-proxy )
- ssl? ( ?? ( libressl mbedtls ) )
- mbedtls? ( ssl )
- ?? ( libev libevent )
-"
-
-RDEPEND="
- sys-libs/zlib
- caps? ( sys-libs/libcap )
- dbus? ( sys-apps/dbus )
- http-proxy? ( net-libs/libhubbub )
- libev? ( dev-libs/libev )
- libevent? ( dev-libs/libevent:= )
- libuv? ( dev-libs/libuv:= )
- sqlite3? ( dev-db/sqlite:= )
- ssl? (
- !libressl? (
- !mbedtls? ( dev-libs/openssl:0= )
- mbedtls? ( >net-libs/mbedtls-2.0.0 )
- )
- )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="dev-lang/perl"
-
-PATCHES=(
- "${FILESDIR}/libwebsockets-3.2.0-check_chown_result.patch"
-)
-
-src_configure() {
- append-cflags -Wno-error
- local mycmakeargs=(
- -DCMAKE_DISABLE_FIND_PACKAGE_Git=ON
- -DLWS_HAVE_LIBCAP=$(usex caps)
- -DLWS_IPV6=$(usex ipv6)
- -DLWS_ROLE_DBUS=$(usex dbus)
- -DLWS_WITHOUT_CLIENT=$(usex !client)
- -DLWS_WITHOUT_TEST_CLIENT=$(usex !client)
- -DLWS_WITH_ACCESS_LOG=$(usex access-log)
- -DLWS_WITH_CGI=$(usex cgi)
- -DLWS_WITH_GENERIC_SESSIONS=$(usex generic-sessions)
- -DLWS_WITH_HTTP2=$(usex http2)
- -DLWS_WITH_HTTP_PROXY=$(usex http-proxy)
- -DLWS_WITH_HUBBUB=$(usex http-proxy)
- -DLWS_WITH_LEJP=$(usex lejp)
- -DLWS_WITH_LIBEV=$(usex libev)
- -DLWS_WITH_LIBEVENT=$(usex libevent)
- -DLWS_WITH_LIBUV=$(usex libuv)
- -DLWS_WITH_MBEDTLS=$(usex mbedtls)
- -DLWS_WITH_PEER_LIMITS=$(usex peer-limits)
- -DLWS_WITH_SERVER_STATUS=$(usex server-status)
- -DLWS_WITH_SMTP=$(usex smtp)
- -DLWS_WITH_SOCKS5=$(usex socks5)
- -DLWS_WITH_SQLITE3=$(usex sqlite3)
- -DLWS_WITH_SSL=$(usex ssl)
- -DLWS_WITH_STATIC=$(usex static-libs)
- -DLWS_WITH_STRUCT_JSON=$(usex lejp)
- -DLWS_WITH_THREADPOOL=$(usex threads)
- -DLWS_WITH_ZIP_FOPS=$(usex zip)
- -DLWS_WITHOUT_TESTAPPS=ON
- )
-
- use dbus && mycmakeargs+=( -DLWS_DBUS_INCLUDE2="/usr/$(get_libdir)/dbus-1.0/include" )
-
- cmake_src_configure
-}