www-servers/h2o: drop insecure version (2.2.3)

Package-Manager: Portage-2.3.16, Repoman-2.3.6
This commit is contained in:
Ian Moone
2017-12-16 09:43:51 +09:00
committed by Craig Andrews
parent a57146b18b
commit 516e3b23e8
2 changed files with 0 additions and 67 deletions

View File

@@ -1,2 +1 @@
DIST h2o-2.2.3.tar.gz 16207150 BLAKE2B 847f515efe0b73b49502cad64ac8f02316c35bfb84f3613180a7747a0ae61d7ad45f166200e7d603c1a3016389aa290410d3475bf248f65014e7eadba8c1d43c SHA512 f138667e8e4370102028da469e09e8b2ee2e5dc92f4513b35467aa2a2fb7b02bbda2b2d158bbf3198b26faeea48d5ec07a7ebab1d0cb3032c532d4e6323630f1
DIST h2o-2.2.4.tar.gz 16212596 BLAKE2B 0c2702fb3c7e85e7eae107294794f80cee02b6b2488bbc2e880ea356d8362f0de8f08c3c3d686512cbf9ae1558aed23354f44e27edaf449e43d5876940248296 SHA512 508ebe93b890f573e735d9b1f9c91a669144be3523e34fb7455227fd10b38e04a5db73e706fe8d05849fea3019e792754097871c073715c9eef4eae7c33560b5

View File

@@ -1,66 +0,0 @@
# 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
}