public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Craig Andrews" <candrews@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/h2o/
Date: Wed, 20 Dec 2017 19:31:40 +0000 (UTC)	[thread overview]
Message-ID: <1513798291.a57146b18b6129e6b45d0674784c4cf607b71fd6.candrews@gentoo> (raw)

commit:     a57146b18b6129e6b45d0674784c4cf607b71fd6
Author:     Ian Moone <csmk+gentoo <AT> chaoslab <DOT> org>
AuthorDate: Sat Dec 16 00:43:12 2017 +0000
Commit:     Craig Andrews <candrews <AT> gentoo <DOT> org>
CommitDate: Wed Dec 20 19:31:31 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a57146b1

www-servers/h2o: security bump to 2.2.4

CVE-2017-10872
CVE-2017-10908

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 www-servers/h2o/Manifest         |  1 +
 www-servers/h2o/h2o-2.2.4.ebuild | 66 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 67 insertions(+)

diff --git a/www-servers/h2o/Manifest b/www-servers/h2o/Manifest
index 731d0a20d1d..dd98073bcb8 100644
--- a/www-servers/h2o/Manifest
+++ b/www-servers/h2o/Manifest
@@ -1 +1,2 @@
 DIST h2o-2.2.3.tar.gz 16207150 BLAKE2B 847f515efe0b73b49502cad64ac8f02316c35bfb84f3613180a7747a0ae61d7ad45f166200e7d603c1a3016389aa290410d3475bf248f65014e7eadba8c1d43c SHA512 f138667e8e4370102028da469e09e8b2ee2e5dc92f4513b35467aa2a2fb7b02bbda2b2d158bbf3198b26faeea48d5ec07a7ebab1d0cb3032c532d4e6323630f1
+DIST h2o-2.2.4.tar.gz 16212596 BLAKE2B 0c2702fb3c7e85e7eae107294794f80cee02b6b2488bbc2e880ea356d8362f0de8f08c3c3d686512cbf9ae1558aed23354f44e27edaf449e43d5876940248296 SHA512 508ebe93b890f573e735d9b1f9c91a669144be3523e34fb7455227fd10b38e04a5db73e706fe8d05849fea3019e792754097871c073715c9eef4eae7c33560b5

diff --git a/www-servers/h2o/h2o-2.2.4.ebuild b/www-servers/h2o/h2o-2.2.4.ebuild
new file mode 100644
index 00000000000..1ad16970758
--- /dev/null
+++ b/www-servers/h2o/h2o-2.2.4.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby22 ruby23 ruby24"
+
+inherit cmake-utils ruby-single systemd user
+
+DESCRIPTION="An optimized HTTP server with support for HTTP/1.x and HTTP/2"
+HOMEPAGE="https://h2o.examp1e.net"
+SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libressl +mruby"
+
+RDEPEND="
+	!libressl? ( dev-libs/openssl:0= )
+	libressl? ( dev-libs/libressl:0= )"
+DEPEND="${RDEPEND}
+	mruby? (
+		sys-devel/bison
+		${RUBY_DEPS}
+	)"
+
+pkg_setup() {
+	enewgroup h2o
+	enewuser h2o -1 -1 -1 h2o
+}
+
+src_prepare() {
+	# Leave optimization level to user CFLAGS
+	sed -i 's/-O2 -g ${CC_WARNING_FLAGS} //g' ./CMakeLists.txt \
+		|| die "sed fix failed!"
+
+	cmake-utils_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}"/etc/h2o
+		-DWITH_MRUBY="$(usex mruby)"
+		-DWITHOUT_LIBS=ON
+	)
+	cmake-utils_src_configure
+}
+
+src_install() {
+	cmake-utils_src_install
+
+	newinitd "${FILESDIR}"/h2o.initd h2o
+	systemd_dounit "${FILESDIR}"/h2o.service
+
+	insinto /etc/h2o
+	doins "${FILESDIR}"/h2o.conf
+
+	keepdir /var/log/h2o
+	fperms 0700 /var/log/h2o
+
+	keepdir /var/www/localhost/htdocs
+
+	insinto /etc/logrotate.d
+	newins "${FILESDIR}"/h2o.logrotate h2o
+}


             reply	other threads:[~2017-12-20 19:31 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-20 19:31 Craig Andrews [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-28 12:23 [gentoo-commits] repo/gentoo:master commit in: www-servers/h2o/ Arthur Zamarin
2025-05-28 12:23 Arthur Zamarin
2025-02-16 17:49 Arthur Zamarin
2025-02-16  9:37 Sam James
2025-02-16  8:54 Akinori Hattori
2024-11-16 14:02 Akinori Hattori
2024-11-16 14:02 Akinori Hattori
2024-11-16 14:02 Akinori Hattori
2024-06-05 19:59 Arthur Zamarin
2024-06-05 19:59 Arthur Zamarin
2024-01-08 12:28 Sam James
2023-10-22 13:44 Akinori Hattori
2023-03-18  2:21 Akinori Hattori
2022-12-07 17:57 Hans de Graaff
2022-08-06  0:45 Akinori Hattori
2021-10-30  7:16 Akinori Hattori
2021-10-30  7:16 Akinori Hattori
2021-07-23 20:37 Conrad Kostecki
2021-07-23 20:37 Conrad Kostecki
2021-05-02 20:26 Mikle Kolyada
2020-09-20  8:35 Michał Górny
2020-04-30 13:07 Akinori Hattori
2020-04-30 13:07 Akinori Hattori
2020-01-09 13:16 Akinori Hattori
2019-10-03 12:19 Akinori Hattori
2019-10-03 12:19 Akinori Hattori
2019-10-03 12:19 Akinori Hattori
2018-07-13 14:14 Akinori Hattori
2018-07-11 13:24 Akinori Hattori
2018-07-04 13:24 Akinori Hattori
2018-07-04 13:24 Akinori Hattori
2018-06-30  2:36 Akinori Hattori
2018-06-27 21:59 Patrice Clement
2018-05-24  5:20 Michał Górny
2018-04-29  7:35 Michał Górny
2017-12-20 19:31 Craig Andrews
2017-10-27 21:02 Patrice Clement
2017-10-27 21:02 Patrice Clement
2017-10-27 21:02 Patrice Clement
2017-10-16  3:34 David Seifert
2017-08-27 15:36 Michael Palimaka
2017-07-30  9:44 Michał Górny
2017-07-20 21:43 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1513798291.a57146b18b6129e6b45d0674784c4cf607b71fd6.candrews@gentoo \
    --to=candrews@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox