summaryrefslogtreecommitdiff
path: root/net-libs/libmicrohttpd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /net-libs/libmicrohttpd
reinit the tree, so we can have metadata
Diffstat (limited to 'net-libs/libmicrohttpd')
-rw-r--r--net-libs/libmicrohttpd/Manifest14
-rw-r--r--net-libs/libmicrohttpd/files/libmicrohttpd-0.9.53-fix-build-without-epoll.patch21
-rw-r--r--net-libs/libmicrohttpd/libmicrohttpd-0.9.51.ebuild57
-rw-r--r--net-libs/libmicrohttpd/libmicrohttpd-0.9.52.ebuild57
-rw-r--r--net-libs/libmicrohttpd/libmicrohttpd-0.9.53.ebuild62
-rw-r--r--net-libs/libmicrohttpd/libmicrohttpd-0.9.54.ebuild57
-rw-r--r--net-libs/libmicrohttpd/libmicrohttpd-0.9.55.ebuild57
-rw-r--r--net-libs/libmicrohttpd/metadata.xml12
8 files changed, 337 insertions, 0 deletions
diff --git a/net-libs/libmicrohttpd/Manifest b/net-libs/libmicrohttpd/Manifest
new file mode 100644
index 000000000000..49ae5a585d6c
--- /dev/null
+++ b/net-libs/libmicrohttpd/Manifest
@@ -0,0 +1,14 @@
+AUX libmicrohttpd-0.9.53-fix-build-without-epoll.patch 702 SHA256 69aeb27a2bd4f6abe13a974f0a3a817ca139e49f419bfed428dd1c50b2cc7507 SHA512 d14269551ebc8c4f2f21da71cfbbeb82c8808e6daedda906f3e699350e52eaa14c55cc263343e25667f18d3ae703b86d413925b03c73a992d6358053165bbb02 WHIRLPOOL c834a9cdf37cadc11790a35fdf58326f68732e20fa39d4be4b4a74fc08df67a0e900ac2fdd7997310705cff09eaa03e7abf1d4ba81a6a88b7607083afa677561
+DIST libmicrohttpd-0.9.51.tar.gz 1114110 SHA256 3000bb0ba219061f2ea60251b8ea3d5f694e8c6ce1706bbff57e7e24867a23c7 SHA512 462178033d5fabc53885189a7f73a343a1a0d2f54e8ff6310a3e74ace3316567927c453773e62ff35150ec36658605d6d0a9c1c38c5d3186d543ca313f4a5912 WHIRLPOOL 9c68282e4f423f251e950f0016d3394c7ce97c85e86a57525a31f832fd2b6b32790a0395a0a0701ad0f4104ff575488ffaed547684d7c3f6f809a3e92bde464d
+DIST libmicrohttpd-0.9.52.tar.gz 1244489 SHA256 54797f6e763d417627f89f60e4ae0a431dab0523f92f83def23ea02d0defafea SHA512 2cb7fa6ed59ec5f48748cd2aedea8a68629f02ffcf8e86c6d5b57a6622bb5f0ffd7dabfd6c04cc99047ca81eb76efe2a79b34bd6e3de329261a319369232fcf4 WHIRLPOOL b70f91dba5e6e69fe42066345d51bb72248b1c4271fa88c0599d78adf17b3eb79144e5a83159f1636a79a6c9081ebb6274d90fa307d4f78a3edbfc7e0d6bd10a
+DIST libmicrohttpd-0.9.53.tar.gz 1301214 SHA256 9b15ec2d381f44936323adfd4f989fa35add517cccbbfa581896b02a393c2cc4 SHA512 2e29595c980cdcf12c1cead62f8938cc32e8c93d3a848e7473c5d5f596c6b6858732df0a3293b93d89577e5a325a62fe82adf3921a76d7184a647489364d7e2c WHIRLPOOL 940eb42aaca8581ab7c7f2f3f6c246bf001956965d5529491d780f377eb00cffbf28aec3069b6a8eb691a78d84e77555ec5554b10ce066a11333d6cae19641a4
+DIST libmicrohttpd-0.9.54.tar.gz 1309560 SHA256 bcc721895d4a114b0548a39d2241c35caacb9e2e072d40e11b55c60e3d5ddcbe SHA512 d3276ad3af123aacc5ff885786861ccc94397576b81999974456b9b803fe5d911115f6595281ffce2240087f98a6527a840506eabeec9f2589d555fd235b6c89 WHIRLPOOL 5d5c099ea269c3d767b6d3f706453ec31b584c74fc01cbfc55ba0a54ce902611853cfeca7f7c8cc3f3c47147cb3db7cea3730abc86174f5d857471d75013b2c5
+DIST libmicrohttpd-0.9.55.tar.gz 1308328 SHA256 0c1cab8dc9f2588bd3076a28f77a7f8de9560cbf2d80e53f9a8696ada80ed0f8 SHA512 b410e7253d7c98c40b5e8b8dcd1f93bcbb05c88717190e8dae73073d36465e8e5cfa53c6c5098de60051a5ec64dc423fd94f4b06537d8146b744aa99f5a0b173 WHIRLPOOL de74ff40e8795c562bd14c347a1b764d198762f7e1efac9279c1b366265a701c4867600efdb9f59eed1e833e080d166f22d34c6dae05c59d89ef311cdd50365b
+EBUILD libmicrohttpd-0.9.51.ebuild 1187 SHA256 ce6a0d0e55a77a6ab9a574d8f84caefd6c67f78656406d6095db0213480e83ed SHA512 74a4a07e0beb590bb10064c50402f504df59e4fdccb837f844b47d72e9ce1795fbf78f02e3ca7ef5948bffdc171e90240e5e98eb759fb756c5fc06eba7cf12e3 WHIRLPOOL a2339b16cd8664b70035f499d212cf768ebe1701c97bf795ca79e7f90e757f629cf60ffa47742b3fdb250bf21a290beaee69fd5d02c30dc85b48497814e24d6d
+EBUILD libmicrohttpd-0.9.52.ebuild 1187 SHA256 ce6a0d0e55a77a6ab9a574d8f84caefd6c67f78656406d6095db0213480e83ed SHA512 74a4a07e0beb590bb10064c50402f504df59e4fdccb837f844b47d72e9ce1795fbf78f02e3ca7ef5948bffdc171e90240e5e98eb759fb756c5fc06eba7cf12e3 WHIRLPOOL a2339b16cd8664b70035f499d212cf768ebe1701c97bf795ca79e7f90e757f629cf60ffa47742b3fdb250bf21a290beaee69fd5d02c30dc85b48497814e24d6d
+EBUILD libmicrohttpd-0.9.53.ebuild 1285 SHA256 15532c2239bc96787f2c0f8f842b032a1f2bbfbd127ddef5d95cbc93370273de SHA512 607b9dacb538b14616e77e33399d77928edb56b095ff52881d3758972f64dc1f49d489cf71341d36a09bc015d63019842461e10e1563c7711ed6c2cbfdf9dacf WHIRLPOOL 97694d156ae8a8776913e9f618aabec00ade579b47daa642080ae5231f3352f5dd4a8cfeb2b28b95ed8a0f9d5800c1709b7864465abf8a81d519912bd4376ef9
+EBUILD libmicrohttpd-0.9.54.ebuild 1196 SHA256 c142277df22faa28b5791126f40053adece509a11cf26de46e03c0ffc121e1a2 SHA512 12cad915d06bad003b8a879e9c4fb5a64abd55706e77210da5449f7b1eeb3f9cf6bf1d15762698365cf357d95597108548ff09c11ea29cd4ac9d54264d9a7d3b WHIRLPOOL 56e18a4e84a04275bff8ba6bddb0a692d2b6fbc0aa2826214a8e2cf3084c5e98afafbc3ed785f689ab06d1eb3c82e9de3e380909574c095e28b9bc826fcfb234
+EBUILD libmicrohttpd-0.9.55.ebuild 1203 SHA256 c1ca09e476db9a042d128e52cbe7b4c1f888f05febc167a1f112669874f86e73 SHA512 2facdd1a07cc4f9ca1d742ff40584ee1c2dd4317fc48850fdb04c06e110aab0e26db098dc612a672ef73bd42e085155dfd712b2dd58a7264bcd20efbd01cfb7a WHIRLPOOL ae395b577ce420f700e7c7ac7b29e14080d95f8fe7ef922e4358b725baa44a1b6e6ebde4330cc818aa34234ced5df045aa87ab286cd5a05cdc0c6ea4edf5ba68
+MISC ChangeLog 9671 SHA256 fa86df84ab358edc58a8c69802e060e28b73622fbc2b6ab4088307a4442228c7 SHA512 beaf9510bffd9a5527818a982f276ea21577b18d497638d60ba4a18f4feb6e35f7f17e23da3094f013cebe69d855c77e034b0d4ec79d07581f14b9617793224b WHIRLPOOL c20d31ad82ec48399f1faf74cb157a680e5bc29be1b99811d01a937ccf49cb3bb3c0964a7710a812a5d1347be6232453127a47560468e4b8777479b625b486e6
+MISC ChangeLog-2015 14730 SHA256 78359496e09bd7ebc5b2b2ec434edf7928da716fd87e39ab10ea5ff3f9f203a0 SHA512 64bd659b958bd5cff4bb1665198cf289c2019b5066e191cbede34d58f94e55580e4357766c311adfdb23550999c8f48fa1e6cb264269e0ae2b75b9ba892001e9 WHIRLPOOL 7b36c3e16600280223a2e02a0bb36f3de3c0fdbe2ec09b38deaa23321c28512206d7ab239f60f40b660cfefd9b69cc1a402087e5093192779c19ae2eecb5efa4
+MISC metadata.xml 372 SHA256 fbeb88d8c441ba77e0b0e3aa9121668f01a7cd2bb2d49797adec90e1d0fc8a66 SHA512 dfa7081c0ae502a60c5b86d7fb2aab3a23f77b08d0e638686fddba3e7976c917dd2392ba150365ffa411f2fcdd10483856b051bf1ee0ac519b74ce7b2672a8d7 WHIRLPOOL b508d38acf7f48f52fa3ed6997e32902527ac4dcf09d04ab611cc3cff2b58d53b1df0150a0ec724a7fd5d838384667706eac62a940be3f215d5283ea28f5c42e
diff --git a/net-libs/libmicrohttpd/files/libmicrohttpd-0.9.53-fix-build-without-epoll.patch b/net-libs/libmicrohttpd/files/libmicrohttpd-0.9.53-fix-build-without-epoll.patch
new file mode 100644
index 000000000000..ff27c26e3e6d
--- /dev/null
+++ b/net-libs/libmicrohttpd/files/libmicrohttpd-0.9.53-fix-build-without-epoll.patch
@@ -0,0 +1,21 @@
+commit 01df8861c19a203cea9ef26570893c2b9c0e48b2
+Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
+Date: Wed Apr 12 21:11:28 2017 +0300
+
+ Fixed GNU/Linux builds without epoll
+
+diff --git a/src/microhttpd/daemon.c b/src/microhttpd/daemon.c
+index 49a1b82..02713e3 100644
+--- a/src/microhttpd/daemon.c
++++ b/src/microhttpd/daemon.c
+@@ -2251,8 +2251,10 @@ send_param_adapter (struct MHD_Connection *connection,
+ if (0 < ret)
+ {
+ /* write successful */
++#ifdef EPOLL_SUPPORT
+ if (left > (uint64_t)ret)
+ connection->epoll_state &= ~MHD_EPOLL_STATE_WRITE_READY;
++#endif /* EPOLL_SUPPORT */
+ return ret;
+ }
+ err = MHD_socket_get_error_();
diff --git a/net-libs/libmicrohttpd/libmicrohttpd-0.9.51.ebuild b/net-libs/libmicrohttpd/libmicrohttpd-0.9.51.ebuild
new file mode 100644
index 000000000000..a31f258f10f8
--- /dev/null
+++ b/net-libs/libmicrohttpd/libmicrohttpd-0.9.51.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+MY_P="${P/_/}"
+
+DESCRIPTION="Small C library to run an HTTP server as part of another application"
+HOMEPAGE="https://www.gnu.org/software/libmicrohttpd/"
+SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/12"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86"
+IUSE="epoll messages ssl static-libs test"
+
+RDEPEND="ssl? (
+ dev-libs/libgcrypt:0=
+ net-libs/gnutls
+ )"
+
+# We disable tests below because they're broken,
+# but if enabled, we'll need this.
+DEPEND="${RDEPEND}
+ test? (
+ ssl? ( net-misc/curl[ssl] )
+ )"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS="AUTHORS NEWS README ChangeLog"
+
+src_configure() {
+ econf \
+ --enable-bauth \
+ --enable-dauth \
+ --disable-examples \
+ --enable-postprocessor \
+ --disable-thread-names \
+ $(use_enable epoll) \
+ $(use_enable test curl) \
+ $(use_enable messages) \
+ $(use_enable ssl https) \
+ $(use_with ssl gnutls) \
+ $(use_enable static-libs static)
+}
+
+# tests are broken in the portage environment.
+src_test() {
+ :
+}
+
+src_install() {
+ default
+
+ use static-libs || find "${ED}" -name '*.la' -delete
+}
diff --git a/net-libs/libmicrohttpd/libmicrohttpd-0.9.52.ebuild b/net-libs/libmicrohttpd/libmicrohttpd-0.9.52.ebuild
new file mode 100644
index 000000000000..a31f258f10f8
--- /dev/null
+++ b/net-libs/libmicrohttpd/libmicrohttpd-0.9.52.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+MY_P="${P/_/}"
+
+DESCRIPTION="Small C library to run an HTTP server as part of another application"
+HOMEPAGE="https://www.gnu.org/software/libmicrohttpd/"
+SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/12"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sparc x86"
+IUSE="epoll messages ssl static-libs test"
+
+RDEPEND="ssl? (
+ dev-libs/libgcrypt:0=
+ net-libs/gnutls
+ )"
+
+# We disable tests below because they're broken,
+# but if enabled, we'll need this.
+DEPEND="${RDEPEND}
+ test? (
+ ssl? ( net-misc/curl[ssl] )
+ )"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS="AUTHORS NEWS README ChangeLog"
+
+src_configure() {
+ econf \
+ --enable-bauth \
+ --enable-dauth \
+ --disable-examples \
+ --enable-postprocessor \
+ --disable-thread-names \
+ $(use_enable epoll) \
+ $(use_enable test curl) \
+ $(use_enable messages) \
+ $(use_enable ssl https) \
+ $(use_with ssl gnutls) \
+ $(use_enable static-libs static)
+}
+
+# tests are broken in the portage environment.
+src_test() {
+ :
+}
+
+src_install() {
+ default
+
+ use static-libs || find "${ED}" -name '*.la' -delete
+}
diff --git a/net-libs/libmicrohttpd/libmicrohttpd-0.9.53.ebuild b/net-libs/libmicrohttpd/libmicrohttpd-0.9.53.ebuild
new file mode 100644
index 000000000000..9afe482cd6bf
--- /dev/null
+++ b/net-libs/libmicrohttpd/libmicrohttpd-0.9.53.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+MY_P="${P/_/}"
+
+DESCRIPTION="Small C library to run an HTTP server as part of another application"
+HOMEPAGE="https://www.gnu.org/software/libmicrohttpd/"
+SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/12"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="epoll messages ssl static-libs test"
+
+RDEPEND="ssl? (
+ dev-libs/libgcrypt:0=
+ net-libs/gnutls
+ )"
+
+# We disable tests below because they're broken,
+# but if enabled, we'll need this.
+DEPEND="${RDEPEND}
+ test? (
+ ssl? ( net-misc/curl[ssl] )
+ )"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS="AUTHORS NEWS README ChangeLog"
+
+src_prepare() {
+ eapply "${FILESDIR}"/${P}-fix-build-without-epoll.patch
+ eapply_user
+}
+
+src_configure() {
+ econf \
+ --enable-bauth \
+ --enable-dauth \
+ --disable-examples \
+ --enable-postprocessor \
+ --disable-thread-names \
+ $(use_enable epoll) \
+ $(use_enable test curl) \
+ $(use_enable messages) \
+ $(use_enable ssl https) \
+ $(use_with ssl gnutls) \
+ $(use_enable static-libs static)
+}
+
+# tests are broken in the portage environment.
+src_test() {
+ :
+}
+
+src_install() {
+ default
+
+ use static-libs || find "${ED}" -name '*.la' -delete
+}
diff --git a/net-libs/libmicrohttpd/libmicrohttpd-0.9.54.ebuild b/net-libs/libmicrohttpd/libmicrohttpd-0.9.54.ebuild
new file mode 100644
index 000000000000..d782c539ac31
--- /dev/null
+++ b/net-libs/libmicrohttpd/libmicrohttpd-0.9.54.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+MY_P="${P/_/}"
+
+DESCRIPTION="Small C library to run an HTTP server as part of another application"
+HOMEPAGE="https://www.gnu.org/software/libmicrohttpd/"
+SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/12"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="epoll messages ssl static-libs test"
+
+RDEPEND="ssl? (
+ dev-libs/libgcrypt:0=
+ net-libs/gnutls
+ )"
+
+# We disable tests below because they're broken,
+# but if enabled, we'll need this.
+DEPEND="${RDEPEND}
+ test? (
+ ssl? ( net-misc/curl[ssl] )
+ )"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS="AUTHORS NEWS README ChangeLog"
+
+src_configure() {
+ econf \
+ --enable-bauth \
+ --enable-dauth \
+ --disable-examples \
+ --enable-postprocessor \
+ --disable-thread-names \
+ $(use_enable epoll) \
+ $(use_enable test curl) \
+ $(use_enable messages) \
+ $(use_enable ssl https) \
+ $(use_with ssl gnutls) \
+ $(use_enable static-libs static)
+}
+
+# tests are broken in the portage environment.
+src_test() {
+ :
+}
+
+src_install() {
+ default
+
+ use static-libs || find "${ED}" -name '*.la' -delete
+}
diff --git a/net-libs/libmicrohttpd/libmicrohttpd-0.9.55.ebuild b/net-libs/libmicrohttpd/libmicrohttpd-0.9.55.ebuild
new file mode 100644
index 000000000000..345c5cd7e462
--- /dev/null
+++ b/net-libs/libmicrohttpd/libmicrohttpd-0.9.55.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+MY_P="${P/_/}"
+
+DESCRIPTION="Small C library to run an HTTP server as part of another application"
+HOMEPAGE="https://www.gnu.org/software/libmicrohttpd/"
+SRC_URI="mirror://gnu/${PN}/${MY_P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/12"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="epoll messages ssl static-libs test"
+
+RDEPEND="ssl? (
+ dev-libs/libgcrypt:0=
+ net-libs/gnutls
+ )"
+
+# We disable tests below because they're broken,
+# but if enabled, we'll need this.
+DEPEND="${RDEPEND}
+ test? (
+ ssl? ( net-misc/curl[ssl] )
+ )"
+
+S=${WORKDIR}/${MY_P}
+
+DOCS="AUTHORS NEWS README ChangeLog"
+
+src_configure() {
+ econf \
+ --enable-bauth \
+ --enable-dauth \
+ --disable-examples \
+ --enable-postprocessor \
+ --disable-thread-names \
+ $(use_enable epoll) \
+ $(use_enable test curl) \
+ $(use_enable messages) \
+ $(use_enable ssl https) \
+ $(use_with ssl gnutls) \
+ $(use_enable static-libs static)
+}
+
+# tests are broken in the portage environment.
+src_test() {
+ :
+}
+
+src_install() {
+ default
+
+ use static-libs || find "${ED}" -name '*.la' -delete
+}
diff --git a/net-libs/libmicrohttpd/metadata.xml b/net-libs/libmicrohttpd/metadata.xml
new file mode 100644
index 000000000000..05dae46c493a
--- /dev/null
+++ b/net-libs/libmicrohttpd/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>blueness@gentoo.org</email>
+ <name>Anthony G. Basile</name>
+ </maintainer>
+ <use>
+ <flag name="messages">enable error messages</flag>
+ <flag name="epoll">use epoll() system call</flag>
+ </use>
+</pkgmetadata>