diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-12-22 14:08:05 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-12-22 14:08:05 +0000 |
commit | 93a93e9a3b53c1a73142a305ea1f8136846942ee (patch) | |
tree | b9791a06ab3284e27b568412c59316c66240c682 /net-libs/onion | |
parent | 2771f79232c273bc2a57d23bf335dd81ccf6af28 (diff) |
gentoo resync : 22.12.2021
Diffstat (limited to 'net-libs/onion')
-rw-r--r-- | net-libs/onion/Manifest | 5 | ||||
-rw-r--r-- | net-libs/onion/files/protos.patch | 28 | ||||
-rw-r--r-- | net-libs/onion/metadata.xml | 17 | ||||
-rw-r--r-- | net-libs/onion/onion-0.8.ebuild | 71 | ||||
-rw-r--r-- | net-libs/onion/onion-9999.ebuild | 69 |
5 files changed, 0 insertions, 190 deletions
diff --git a/net-libs/onion/Manifest b/net-libs/onion/Manifest deleted file mode 100644 index ef768b3d14b1..000000000000 --- a/net-libs/onion/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX protos.patch 1239 BLAKE2B e20e0efee1cbbb04caee2d1754164e54545d17ff79a36100b5abc5de2f6174dc49daf776fff137dadb9a298977083a2dccb09286c7f1acaf5c8e8a784fba8712 SHA512 0dd7f95dab267b1df6279fc60869696d506b62756a863c86ade9725dc17e48bc4b71b984d53bce94e88448ab295673fbe27e7687e2807d32841d0ad5ddf6b018 -DIST onion-0.8.tar.gz 344347 BLAKE2B c43bbbf31d29ccc99d2969c7c8dc9aec8d5e514cc785091e3e0e6d1fc1d5db5f8561d5c2c745b4150a493b607c6c271d669e7ca541f72bf4d8872beeba00b220 SHA512 c40a36346de7dee6e98d0b5c38b5e133606046e29bacb06a0055a361013077ec0f6adb04dfcbf2f4ce0b72317c9ed918573299aed8760f069dcfd7c211a302d7 -EBUILD onion-0.8.ebuild 1896 BLAKE2B 55d5f6f8859c0112633bff5c7029487cbcaf0ccaf8709b9fda67fe5f80c3b1ee43d388bb0494c168ed30155e4749a67946ff1437cea61e67424b8d436f8e6eb0 SHA512 63fec9eb50f04791b1e5a38b95da998b0c157abb90a6e0ec0d34bd6f3716a0b4f97ed8f1f23f70ee265ebe13e51c30c46abae2b8c191d082ea31229c4acd52bb -EBUILD onion-9999.ebuild 1856 BLAKE2B e1d9c0f34a4d36f36f4bf60c3f9503b05d73a635f057a1b4bb62e7eea882e266049a624e6e42e021605af797c49915f2eaf4de1500ebdaee1f5f2a3ea0b5ced1 SHA512 0762467d259eb558913cc1bede82503266c5885826084314a9318d62b0c6f32b11551c44a564bbf5021e4a66a68e82efb11e35cf0a3b8c4f1fbb6806728d56ca -MISC metadata.xml 720 BLAKE2B 12e01dffcb43e37d32796c1cf178eb1979676b2abb359fdbf92e10827892d62a4237b318fcd65d3cd07d0a3f57e425254b85eb61da12dcc0fc3246f09f7e45a9 SHA512 734bc5d7f363668047b179c019458873949339a6affaa40ff407adf33e4b2f34ea78b4e0ae38bcd7bc30eb1932fd54f446ab884ac07f8590751e8d57e444917f diff --git a/net-libs/onion/files/protos.patch b/net-libs/onion/files/protos.patch deleted file mode 100644 index 59050a95c4e6..000000000000 --- a/net-libs/onion/files/protos.patch +++ /dev/null @@ -1,28 +0,0 @@ -Prototypes do not match, fixes some build failures. - -Index: onion-0.8/src/onion/poller_libev.c -=================================================================== ---- onion-0.8.orig/src/onion/poller_libev.c -+++ onion-0.8/src/onion/poller_libev.c -@@ -75,7 +75,7 @@ void onion_poller_slot_set_timeout(onion - el->timeout=timeout_ms; - } - /// Sets the polling type: read/write/other. O_POLL_READ | O_POLL_WRITE | O_POLL_OTHER --void onion_poller_slot_set_type(onion_poller_slot *el, int type){ -+void onion_poller_slot_set_type(onion_poller_slot *el, onion_poller_slot_type_e type){ - el->type=0; - if (type&O_POLL_READ) - el->type|=EV_READ; -Index: onion-0.8/src/onion/poller_libevent.c -=================================================================== ---- onion-0.8.orig/src/onion/poller_libevent.c -+++ onion-0.8/src/onion/poller_libevent.c -@@ -77,7 +77,7 @@ void onion_poller_slot_set_timeout(onion - el->timeout=timeout_ms; - } - /// Sets the polling type: read/write/other. O_POLL_READ | O_POLL_WRITE | O_POLL_OTHER --void onion_poller_slot_set_type(onion_poller_slot *el, int type){ -+void onion_poller_slot_set_type(onion_poller_slot *el, onion_poller_slot_type_e type){ - el->type=EV_PERSIST; - if (type&O_POLL_READ) - el->type|=EV_READ; diff --git a/net-libs/onion/metadata.xml b/net-libs/onion/metadata.xml deleted file mode 100644 index a9a869a84ec7..000000000000 --- a/net-libs/onion/metadata.xml +++ /dev/null @@ -1,17 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>aballier@gentoo.org</email> - <name>Alexis Ballier</name> - </maintainer> - <use> - <flag name="libev">Use <pkg>dev-libs/libev</pkg> as thread poller instead of Linux's epoll.</flag> - <flag name="libevent">Use <pkg>dev-libs/libevent</pkg> as thread poller instead of libev or Linux's epoll.</flag> - <flag name="boehm-gc">Add <pkg>dev-libs/boehm-gc</pkg> support for memory allocations.</flag> - <flag name="redis">Add support for redis sessions.</flag> - </use> - <upstream> - <remote-id type="github">davidmoreno/onion</remote-id> - </upstream> -</pkgmetadata> diff --git a/net-libs/onion/onion-0.8.ebuild b/net-libs/onion/onion-0.8.ebuild deleted file mode 100644 index a283da472b81..000000000000 --- a/net-libs/onion/onion-0.8.ebuild +++ /dev/null @@ -1,71 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -SCM="" -if [ "${PV#9999}" != "${PV}" ] ; then - SCM="git-r3" - EGIT_REPO_URI="https://github.com/davidmoreno/onion" -fi - -inherit ${SCM} cmake-utils - -DESCRIPTION="C library to create simple HTTP servers and Web Applications" -HOMEPAGE="https://www.coralbits.com/libonion/ https://github.com/davidmoreno/onion" - -if [ "${PV#9999}" != "${PV}" ] ; then - SRC_URI="" -else - KEYWORDS="~amd64" - SRC_URI="https://github.com/davidmoreno/onion/archive/v${PV}.tar.gz -> ${P}.tar.gz" -fi - -LICENSE="|| ( GPL-2+ Apache-2.0 ) AGPL-3" -SLOT="0" -IUSE=" - gnutls pam png jpeg xml systemd sqlite boehm-gc - test examples cxx libev libevent - redis -" -RESTRICT="!test? ( test )" - -RDEPEND=" - gnutls? ( net-libs/gnutls dev-libs/libgcrypt:0= ) - pam? ( sys-libs/pam ) - png? ( media-libs/libpng:0= x11-libs/cairo ) - jpeg? ( virtual/jpeg:0 ) - xml? ( dev-libs/libxml2:2 sys-libs/zlib ) - systemd? ( sys-apps/systemd ) - sqlite? ( dev-db/sqlite:3 ) - boehm-gc? ( dev-libs/boehm-gc ) - libev? ( dev-libs/libev ) - !libev? ( libevent? ( dev-libs/libevent ) ) - redis? ( dev-libs/hiredis ) -" -DEPEND="${RDEPEND} - test? ( net-misc/curl ) -" -REQUIRED_USE="test? ( examples )" - -PATCHES=( "${FILESDIR}/protos.patch" ) - -src_configure() { - use test || echo '' > tests/CMakeLists.txt - local mycmakeargs=( - "-DONION_USE_SSL=$(usex gnutls)" - "-DONION_USE_PAM=$(usex pam)" - "-DONION_USE_PNG=$(usex png)" - "-DONION_USE_JPEG=$(usex jpeg)" - "-DONION_USE_XML2=$(usex xml)" - "-DONION_USE_SYSTEMD=$(usex systemd)" - "-DONION_USE_SQLITE3=$(usex sqlite)" - "-DONION_USE_GC=$(usex boehm-gc)" - "-DONION_USE_TESTS=$(usex test)" - "-DONION_EXAMPLES=$(usex examples)" - "-DONION_USE_BINDINGS_CPP=$(usex cxx)" - "-DONION_USE_REDIS=$(usex redis)" - "-DONION_POLLER=$(usex libev libev "$(usex libevent libevent default)")" - ) - cmake-utils_src_configure -} diff --git a/net-libs/onion/onion-9999.ebuild b/net-libs/onion/onion-9999.ebuild deleted file mode 100644 index 10ba2b76bbf0..000000000000 --- a/net-libs/onion/onion-9999.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -SCM="" -if [ "${PV#9999}" != "${PV}" ] ; then - SCM="git-r3" - EGIT_REPO_URI="https://github.com/davidmoreno/onion" -fi - -inherit ${SCM} cmake-utils - -DESCRIPTION="C library to create simple HTTP servers and Web Applications" -HOMEPAGE="https://www.coralbits.com/libonion/ https://github.com/davidmoreno/onion" - -if [ "${PV#9999}" != "${PV}" ] ; then - SRC_URI="" -else - KEYWORDS="~amd64" - SRC_URI="https://github.com/davidmoreno/onion/archive/v${PV}.tar.gz -> ${P}.tar.gz" -fi - -LICENSE="|| ( GPL-2+ Apache-2.0 ) AGPL-3" -SLOT="0" -IUSE=" - gnutls pam png jpeg xml systemd sqlite boehm-gc - test examples cxx libev libevent - redis -" -RESTRICT="!test? ( test )" - -RDEPEND=" - gnutls? ( net-libs/gnutls dev-libs/libgcrypt:0= ) - pam? ( sys-libs/pam ) - png? ( media-libs/libpng:0= x11-libs/cairo ) - jpeg? ( virtual/jpeg:0 ) - xml? ( dev-libs/libxml2:2 sys-libs/zlib ) - systemd? ( sys-apps/systemd ) - sqlite? ( dev-db/sqlite:3 ) - boehm-gc? ( dev-libs/boehm-gc ) - libev? ( dev-libs/libev ) - !libev? ( libevent? ( dev-libs/libevent ) ) - redis? ( dev-libs/hiredis ) -" -DEPEND="${RDEPEND} - test? ( net-misc/curl ) -" -REQUIRED_USE="test? ( examples )" - -src_configure() { - use test || echo '' > tests/CMakeLists.txt - local mycmakeargs=( - "-DONION_USE_SSL=$(usex gnutls)" - "-DONION_USE_PAM=$(usex pam)" - "-DONION_USE_PNG=$(usex png)" - "-DONION_USE_JPEG=$(usex jpeg)" - "-DONION_USE_XML2=$(usex xml)" - "-DONION_USE_SYSTEMD=$(usex systemd)" - "-DONION_USE_SQLITE3=$(usex sqlite)" - "-DONION_USE_GC=$(usex boehm-gc)" - "-DONION_USE_TESTS=$(usex test)" - "-DONION_EXAMPLES=$(usex examples)" - "-DONION_USE_BINDINGS_CPP=$(usex cxx)" - "-DONION_USE_REDIS=$(usex redis)" - "-DONION_POLLER=$(usex libev libev "$(usex libevent libevent default)")" - ) - cmake-utils_src_configure -} |