* [gentoo-commits] repo/gentoo:master commit in: profiles/, www-apache/mod_spdy/, www-apache/mod_spdy/files/
@ 2016-07-24 10:53 Michał Górny
0 siblings, 0 replies; only message in thread
From: Michał Górny @ 2016-07-24 10:53 UTC (permalink / raw
To: gentoo-commits
commit: bf50d4ee79ab79dd0c7d99901c13e74368002356
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 24 10:35:48 2016 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jul 24 10:52:44 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf50d4ee
www-apache/mod_spdy: Remove last-rited pkg, #587146
profiles/package.mask | 7 --
www-apache/mod_spdy/Manifest | 3 -
www-apache/mod_spdy/files/make-snapshot.sh | 47 ---------
.../mod_spdy/files/mod_spdy-0.9.3.3-execinfo.patch | 30 ------
.../files/mod_spdy-0.9.3.3-system-zlib.patch | 39 -------
www-apache/mod_spdy/metadata.xml | 7 --
www-apache/mod_spdy/mod_spdy-0.9.3.3.ebuild | 114 ---------------------
www-apache/mod_spdy/mod_spdy-0.9.4.2.ebuild | 114 ---------------------
www-apache/mod_spdy/mod_spdy-0.9.4.3.ebuild | 114 ---------------------
www-apache/mod_spdy/mod_spdy-9999.ebuild | 114 ---------------------
10 files changed, 589 deletions(-)
diff --git a/profiles/package.mask b/profiles/package.mask
index 0bbd5d0..94ddb18 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -715,13 +715,6 @@ www-plugins/chrome-binary-plugins:unstable
# Seems to break all deps - API change?
>=sci-libs/metis-5
-# Diego Elio Pettenò <flameeyes@gentoo.org> (13 Oct 2013)
-# Requires a NPN support in mod_ssl (www-server/apache) to work.
-# See #471512 for more details.
-# Michał Górny <mgorny@gentoo.org> (27 Jun 2016)
-# Replaced by mod_h2 (in Apache). Removal in 14 days, #587146.
-www-apache/mod_spdy
-
# Sergey Popov <pinkbyte@gentoo.org> (18 Sep 2013)
# Mask development releases of botan:
# - causes many API breakages
diff --git a/www-apache/mod_spdy/Manifest b/www-apache/mod_spdy/Manifest
deleted file mode 100644
index f519f81..0000000
--- a/www-apache/mod_spdy/Manifest
+++ /dev/null
@@ -1,3 +0,0 @@
-DIST mod_spdy-0.9.3.3.tar.xz 6537516 SHA256 39e64b0e8ef4dc6f41e2b6880040ef4d2485619653feafbc2b29cade7e49978b SHA512 079370642dbefde5da0bc4fbc98b57daa3c58bb7f4459b07d32b0807124aa31eaa702781be58597597cafc4d29df8b09cd189f2641c18590430ae4d2a667493e WHIRLPOOL 54363789d2f157fa6bef60314e04234a5341b730caaaa09233e986c8e795f0049f227845a3abce3e6e47a7cdef695adc3780b8e1c4568e6e426a9a4c17575836
-DIST mod_spdy-0.9.4.2.tar.xz 7333300 SHA256 009d5c10ffa08b805f86eac57dd08a84b8e0f25c0a3a5b14a4b1b4e6bb5d6d13 SHA512 2a03501af9ca5e5de573e0140676954b6ef184423d53a2d9d145d29766641e7921ba6adeb381c70a337f18adb4aa3680c6680811985c523b3ca14efb80a4d909 WHIRLPOOL b02f88109f0dce735c3a54929a88b11e79f0025d74b0028385420e369517be0dc677983da40fdaed49f3b5ea799a0d90c82525ba9c996e840046ecb7e2bec953
-DIST mod_spdy-0.9.4.3.tar.xz 7333484 SHA256 d58a640781e64ad6c9888deeb2b4830dc38869222de273c9f2129e8127ca5258 SHA512 2208616b07bc2a0b42813a256aeab889c093d9d77fe803be8858699ea6566c8fe2031f3bc2761fa7691a27f0b18ffdca01fe54502c83196d20016a650e9f0529 WHIRLPOOL d8d2f6f77eac7d9a1a89f2d0775cea991dd55eb7e32a73da1e9ec842dc87ce46ff95caddc6027426ea63cafc05b5e79f6e66d6452aca7da7984c87b34162b15d
diff --git a/www-apache/mod_spdy/files/make-snapshot.sh b/www-apache/mod_spdy/files/make-snapshot.sh
deleted file mode 100755
index 0fd294a..0000000
--- a/www-apache/mod_spdy/files/make-snapshot.sh
+++ /dev/null
@@ -1,47 +0,0 @@
-#!/bin/bash
-
-if [[ $# -gt 1 || $1 == -* ]] ; then
- echo "Usage: $0 [ver]"
- exit 1
-fi
-
-set -ex
-
-SPDY_URL_BASE="http://mod-spdy.googlecode.com/svn/tags"
-
-if [[ $# -eq 1 ]] ; then
- PV=$1
-else
- svnout=$(svn ls ${SPDY_URL_BASE} | grep -v current | sort -V | tail -1)
- PV=${svnout%/}
-fi
-
-PN="mod_spdy"
-P="${PN}-${PV}"
-
-: ${TMPDIR:=/tmp}
-
-tmp="${TMPDIR}/${PN}"
-rm -rf "${tmp}"
-mkdir "${tmp}"
-cd "${tmp}"
-
-DEPOT_TOOLS_URL="https://chromium.googlesource.com/chromium/tools/depot_tools.git"
-SPDY_URL="http://mod-spdy.googlecode.com/svn/tags/${PV}/src"
-
-git clone --single-branch --depth 1 ${DEPOT_TOOLS_URL}
-rm -rf depot_tools/.git
-PATH=${PWD}/depot_tools:${PATH}
-mkdir ${P}
-cd ${P}
-gclient config ${SPDY_URL}
-gclient sync --force --nohooks --delete_unversioned_trees
-cd ..
-
-tar cf - depot_tools ${P} | xz > ${P}.tar.xz
-
-mv ${P}.tar.xz "${TMPDIR}"/
-cd /
-rm -rf "${tmp}"
-
-du -hb "${TMPDIR}/${P}.tar.xz"
diff --git a/www-apache/mod_spdy/files/mod_spdy-0.9.3.3-execinfo.patch b/www-apache/mod_spdy/files/mod_spdy-0.9.3.3-execinfo.patch
deleted file mode 100644
index 67b83ad..0000000
--- a/www-apache/mod_spdy/files/mod_spdy-0.9.3.3-execinfo.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-not everyone has this header
-
---- a/src/third_party/chromium/src/base/debug/debugger_posix.cc
-+++ b/src/third_party/chromium/src/base/debug/debugger_posix.cc
-@@ -17,10 +17,6 @@
- #include <string>
- #include <vector>
-
--#if !defined(OS_ANDROID) && !defined(OS_NACL)
--#include <execinfo.h>
--#endif
--
- #if defined(__GLIBCXX__)
- #include <cxxabi.h>
- #endif
---- a/src/third_party/chromium/src/base/debug/stack_trace_posix.cc
-+++ b/src/third_party/chromium/src/base/debug/stack_trace_posix.cc
-@@ -5,7 +5,12 @@
- #include "base/debug/stack_trace.h"
-
- #include <errno.h>
-+#if defined(__GLIBC__) && !defined(__UCLIBC__)
- #include <execinfo.h>
-+#else
-+#define backtrace(array, size) 0
-+#define backtrace_symbols(array, size) NULL
-+#endif
- #include <fcntl.h>
- #include <stdio.h>
- #include <stdlib.h>
diff --git a/www-apache/mod_spdy/files/mod_spdy-0.9.3.3-system-zlib.patch b/www-apache/mod_spdy/files/mod_spdy-0.9.3.3-system-zlib.patch
deleted file mode 100644
index 7975668..0000000
--- a/www-apache/mod_spdy/files/mod_spdy-0.9.3.3-system-zlib.patch
+++ /dev/null
@@ -1,39 +0,0 @@
---- src/third_party/zlib/zlib.gyp
-+++ src/third_party/zlib/zlib.gyp
-@@ -81,14 +81,6 @@
- 'defines': [
- 'USE_SYSTEM_ZLIB',
- ],
-- 'sources': [
-- 'contrib/minizip/ioapi.c',
-- 'contrib/minizip/ioapi.h',
-- 'contrib/minizip/unzip.c',
-- 'contrib/minizip/unzip.h',
-- 'contrib/minizip/zip.c',
-- 'contrib/minizip/zip.h',
-- ],
- 'conditions': [
- ['OS=="android"', {
- 'toolsets': ['target', 'host'],
-@@ -97,6 +89,7 @@
- 'link_settings': {
- 'libraries': [
- '-lz',
-+ '-lminizip',
- ],
- },
- }],
-
-https://code.google.com/p/mod-spdy/issues/detail?id=71
-
---- src/build/common.gypi
-+++ src/build/common.gypi
-@@ -25,7 +25,7 @@
- # (Chromium already has transitive dependencies on these libraries
- # via gtk). We want to link these libraries into our binaries so
- # we change the default behavior.
-- 'use_system_zlib': 0,
-+ 'use_system_zlib%': 0,
- 'use_system_apache_dev%': 0,
-
- # Putting a variables dict inside another variables dict looks kind of
diff --git a/www-apache/mod_spdy/metadata.xml b/www-apache/mod_spdy/metadata.xml
deleted file mode 100644
index 1021f53..0000000
--- a/www-apache/mod_spdy/metadata.xml
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="person">
- <email>vapier@gentoo.org</email>
-</maintainer>
-</pkgmetadata>
diff --git a/www-apache/mod_spdy/mod_spdy-0.9.3.3.ebuild b/www-apache/mod_spdy/mod_spdy-0.9.3.3.ebuild
deleted file mode 100644
index 80c60e9..0000000
--- a/www-apache/mod_spdy/mod_spdy-0.9.3.3.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-inherit apache-module eutils python-any-r1
-
-if [[ ${PV} == 9999 ]] ; then
- ESVN_REPO_URI="https://mod-spdy.googlecode.com/svn/trunk/src"
- ESVN_RESTRICT="export"
- EGIT_REPO_URI="https://chromium.googlesource.com/chromium/tools/depot_tools.git"
- EGIT_SOURCEDIR="${WORKDIR}/depot_tools"
- inherit subversion git-2
-else
- SRC_URI="mirror://gentoo/${P}.tar.xz"
- KEYWORDS="~amd64 ~x86"
-fi
-
-DESCRIPTION="Apache module for rewriting web pages to reduce latency and bandwidth"
-HOMEPAGE="https://code.google.com/p/mod-spdy/"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="debug test"
-
-RDEPEND="sys-libs/zlib[minizip]"
-DEPEND="${RDEPEND}"
-if [[ ${PV} == 9999 ]] ; then
- DEPEND+=" net-misc/rsync"
-fi
-
-need_apache2_2
-
-e() { echo "$@"; "$@" || die; }
-
-EGCLIENT="${WORKDIR}/depot_tools/gclient"
-egclient() { set -- "${EGCLIENT}" "$@"; e "$@"; }
-
-src_unpack() {
- if [[ ${PV} == "9999" ]] ; then
- git-2_src_unpack
-
- subversion_src_unpack
- mkdir -p "${ESVN_STORE_DIR}/${PN}" || die
- cd "${ESVN_STORE_DIR}/${PN}" || die
-
- egclient config ${ESVN_REPO_URI}
- egclient sync --force --nohooks --delete_unversioned_trees
- e rsync -a --exclude=".svn/" ./ "${S}/"
- else
- default
- fi
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-0.9.3.3-execinfo.patch
-
- # Make sure the system zlib is used.
- epatch "${FILESDIR}"/${PN}-0.9.3.3-system-zlib.patch
- find src/third_party/zlib/ -name '*.[ch]' -delete
-}
-
-src_configure() {
- tc-export AR CC CXX RANLIB
- tc-export_build_env BUILD_AR BUILD_CC BUILD_CXX
-
- local myconf=(
- -Dlinux_fpic=1
- -Duse_system_zlib=1
- -Duse_system_ssl=1
- -Dwerror=
- )
- #egclient runhooks "${myconf[@]}"
- e python src/build/gyp_chromium "${myconf[@]}"
-}
-
-echo_tests() { echo base_unittests spdy_{apache,common}_test; }
-src_compile() {
- emake -C src \
- V=1 \
- BUILDTYPE=$(usex debug Debug Release) \
- mod_spdy \
- $(use test && echo_tests)
-}
-
-src_test() {
- cd src/out/Release
- local t
- for t in $(echo_tests) ; do
- e ./${t}
- done
-}
-
-src_install() {
- ln -sf src/out/*/libmod_spdy.so ${PN}.so || die
- APACHE2_MOD_FILE="${PWD}/${PN}.so"
- APACHE2_MOD_DEFINE="SPDY"
- apache-module_src_install
-
- # Workaround #471442
- cd "${S}/src"
- local conf="${T}/80_${PN}.conf"
- cat <<-EOF > "${conf}"
- <IfDefine SPDY>
- $(sed 's:@@APACHE_MODULEDIR@@:modules:' install/common/spdy.load.template)
-
- $(<install/common/spdy.conf.template)
- </IfDefine>
- EOF
- insinto "${APACHE_MODULES_CONFDIR}"
- doins "${conf}"
-}
diff --git a/www-apache/mod_spdy/mod_spdy-0.9.4.2.ebuild b/www-apache/mod_spdy/mod_spdy-0.9.4.2.ebuild
deleted file mode 100644
index 80c60e9..0000000
--- a/www-apache/mod_spdy/mod_spdy-0.9.4.2.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-inherit apache-module eutils python-any-r1
-
-if [[ ${PV} == 9999 ]] ; then
- ESVN_REPO_URI="https://mod-spdy.googlecode.com/svn/trunk/src"
- ESVN_RESTRICT="export"
- EGIT_REPO_URI="https://chromium.googlesource.com/chromium/tools/depot_tools.git"
- EGIT_SOURCEDIR="${WORKDIR}/depot_tools"
- inherit subversion git-2
-else
- SRC_URI="mirror://gentoo/${P}.tar.xz"
- KEYWORDS="~amd64 ~x86"
-fi
-
-DESCRIPTION="Apache module for rewriting web pages to reduce latency and bandwidth"
-HOMEPAGE="https://code.google.com/p/mod-spdy/"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="debug test"
-
-RDEPEND="sys-libs/zlib[minizip]"
-DEPEND="${RDEPEND}"
-if [[ ${PV} == 9999 ]] ; then
- DEPEND+=" net-misc/rsync"
-fi
-
-need_apache2_2
-
-e() { echo "$@"; "$@" || die; }
-
-EGCLIENT="${WORKDIR}/depot_tools/gclient"
-egclient() { set -- "${EGCLIENT}" "$@"; e "$@"; }
-
-src_unpack() {
- if [[ ${PV} == "9999" ]] ; then
- git-2_src_unpack
-
- subversion_src_unpack
- mkdir -p "${ESVN_STORE_DIR}/${PN}" || die
- cd "${ESVN_STORE_DIR}/${PN}" || die
-
- egclient config ${ESVN_REPO_URI}
- egclient sync --force --nohooks --delete_unversioned_trees
- e rsync -a --exclude=".svn/" ./ "${S}/"
- else
- default
- fi
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-0.9.3.3-execinfo.patch
-
- # Make sure the system zlib is used.
- epatch "${FILESDIR}"/${PN}-0.9.3.3-system-zlib.patch
- find src/third_party/zlib/ -name '*.[ch]' -delete
-}
-
-src_configure() {
- tc-export AR CC CXX RANLIB
- tc-export_build_env BUILD_AR BUILD_CC BUILD_CXX
-
- local myconf=(
- -Dlinux_fpic=1
- -Duse_system_zlib=1
- -Duse_system_ssl=1
- -Dwerror=
- )
- #egclient runhooks "${myconf[@]}"
- e python src/build/gyp_chromium "${myconf[@]}"
-}
-
-echo_tests() { echo base_unittests spdy_{apache,common}_test; }
-src_compile() {
- emake -C src \
- V=1 \
- BUILDTYPE=$(usex debug Debug Release) \
- mod_spdy \
- $(use test && echo_tests)
-}
-
-src_test() {
- cd src/out/Release
- local t
- for t in $(echo_tests) ; do
- e ./${t}
- done
-}
-
-src_install() {
- ln -sf src/out/*/libmod_spdy.so ${PN}.so || die
- APACHE2_MOD_FILE="${PWD}/${PN}.so"
- APACHE2_MOD_DEFINE="SPDY"
- apache-module_src_install
-
- # Workaround #471442
- cd "${S}/src"
- local conf="${T}/80_${PN}.conf"
- cat <<-EOF > "${conf}"
- <IfDefine SPDY>
- $(sed 's:@@APACHE_MODULEDIR@@:modules:' install/common/spdy.load.template)
-
- $(<install/common/spdy.conf.template)
- </IfDefine>
- EOF
- insinto "${APACHE_MODULES_CONFDIR}"
- doins "${conf}"
-}
diff --git a/www-apache/mod_spdy/mod_spdy-0.9.4.3.ebuild b/www-apache/mod_spdy/mod_spdy-0.9.4.3.ebuild
deleted file mode 100644
index 80c60e9..0000000
--- a/www-apache/mod_spdy/mod_spdy-0.9.4.3.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-inherit apache-module eutils python-any-r1
-
-if [[ ${PV} == 9999 ]] ; then
- ESVN_REPO_URI="https://mod-spdy.googlecode.com/svn/trunk/src"
- ESVN_RESTRICT="export"
- EGIT_REPO_URI="https://chromium.googlesource.com/chromium/tools/depot_tools.git"
- EGIT_SOURCEDIR="${WORKDIR}/depot_tools"
- inherit subversion git-2
-else
- SRC_URI="mirror://gentoo/${P}.tar.xz"
- KEYWORDS="~amd64 ~x86"
-fi
-
-DESCRIPTION="Apache module for rewriting web pages to reduce latency and bandwidth"
-HOMEPAGE="https://code.google.com/p/mod-spdy/"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="debug test"
-
-RDEPEND="sys-libs/zlib[minizip]"
-DEPEND="${RDEPEND}"
-if [[ ${PV} == 9999 ]] ; then
- DEPEND+=" net-misc/rsync"
-fi
-
-need_apache2_2
-
-e() { echo "$@"; "$@" || die; }
-
-EGCLIENT="${WORKDIR}/depot_tools/gclient"
-egclient() { set -- "${EGCLIENT}" "$@"; e "$@"; }
-
-src_unpack() {
- if [[ ${PV} == "9999" ]] ; then
- git-2_src_unpack
-
- subversion_src_unpack
- mkdir -p "${ESVN_STORE_DIR}/${PN}" || die
- cd "${ESVN_STORE_DIR}/${PN}" || die
-
- egclient config ${ESVN_REPO_URI}
- egclient sync --force --nohooks --delete_unversioned_trees
- e rsync -a --exclude=".svn/" ./ "${S}/"
- else
- default
- fi
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-0.9.3.3-execinfo.patch
-
- # Make sure the system zlib is used.
- epatch "${FILESDIR}"/${PN}-0.9.3.3-system-zlib.patch
- find src/third_party/zlib/ -name '*.[ch]' -delete
-}
-
-src_configure() {
- tc-export AR CC CXX RANLIB
- tc-export_build_env BUILD_AR BUILD_CC BUILD_CXX
-
- local myconf=(
- -Dlinux_fpic=1
- -Duse_system_zlib=1
- -Duse_system_ssl=1
- -Dwerror=
- )
- #egclient runhooks "${myconf[@]}"
- e python src/build/gyp_chromium "${myconf[@]}"
-}
-
-echo_tests() { echo base_unittests spdy_{apache,common}_test; }
-src_compile() {
- emake -C src \
- V=1 \
- BUILDTYPE=$(usex debug Debug Release) \
- mod_spdy \
- $(use test && echo_tests)
-}
-
-src_test() {
- cd src/out/Release
- local t
- for t in $(echo_tests) ; do
- e ./${t}
- done
-}
-
-src_install() {
- ln -sf src/out/*/libmod_spdy.so ${PN}.so || die
- APACHE2_MOD_FILE="${PWD}/${PN}.so"
- APACHE2_MOD_DEFINE="SPDY"
- apache-module_src_install
-
- # Workaround #471442
- cd "${S}/src"
- local conf="${T}/80_${PN}.conf"
- cat <<-EOF > "${conf}"
- <IfDefine SPDY>
- $(sed 's:@@APACHE_MODULEDIR@@:modules:' install/common/spdy.load.template)
-
- $(<install/common/spdy.conf.template)
- </IfDefine>
- EOF
- insinto "${APACHE_MODULES_CONFDIR}"
- doins "${conf}"
-}
diff --git a/www-apache/mod_spdy/mod_spdy-9999.ebuild b/www-apache/mod_spdy/mod_spdy-9999.ebuild
deleted file mode 100644
index 80c60e9..0000000
--- a/www-apache/mod_spdy/mod_spdy-9999.ebuild
+++ /dev/null
@@ -1,114 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-inherit apache-module eutils python-any-r1
-
-if [[ ${PV} == 9999 ]] ; then
- ESVN_REPO_URI="https://mod-spdy.googlecode.com/svn/trunk/src"
- ESVN_RESTRICT="export"
- EGIT_REPO_URI="https://chromium.googlesource.com/chromium/tools/depot_tools.git"
- EGIT_SOURCEDIR="${WORKDIR}/depot_tools"
- inherit subversion git-2
-else
- SRC_URI="mirror://gentoo/${P}.tar.xz"
- KEYWORDS="~amd64 ~x86"
-fi
-
-DESCRIPTION="Apache module for rewriting web pages to reduce latency and bandwidth"
-HOMEPAGE="https://code.google.com/p/mod-spdy/"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="debug test"
-
-RDEPEND="sys-libs/zlib[minizip]"
-DEPEND="${RDEPEND}"
-if [[ ${PV} == 9999 ]] ; then
- DEPEND+=" net-misc/rsync"
-fi
-
-need_apache2_2
-
-e() { echo "$@"; "$@" || die; }
-
-EGCLIENT="${WORKDIR}/depot_tools/gclient"
-egclient() { set -- "${EGCLIENT}" "$@"; e "$@"; }
-
-src_unpack() {
- if [[ ${PV} == "9999" ]] ; then
- git-2_src_unpack
-
- subversion_src_unpack
- mkdir -p "${ESVN_STORE_DIR}/${PN}" || die
- cd "${ESVN_STORE_DIR}/${PN}" || die
-
- egclient config ${ESVN_REPO_URI}
- egclient sync --force --nohooks --delete_unversioned_trees
- e rsync -a --exclude=".svn/" ./ "${S}/"
- else
- default
- fi
-}
-
-src_prepare() {
- epatch "${FILESDIR}"/${PN}-0.9.3.3-execinfo.patch
-
- # Make sure the system zlib is used.
- epatch "${FILESDIR}"/${PN}-0.9.3.3-system-zlib.patch
- find src/third_party/zlib/ -name '*.[ch]' -delete
-}
-
-src_configure() {
- tc-export AR CC CXX RANLIB
- tc-export_build_env BUILD_AR BUILD_CC BUILD_CXX
-
- local myconf=(
- -Dlinux_fpic=1
- -Duse_system_zlib=1
- -Duse_system_ssl=1
- -Dwerror=
- )
- #egclient runhooks "${myconf[@]}"
- e python src/build/gyp_chromium "${myconf[@]}"
-}
-
-echo_tests() { echo base_unittests spdy_{apache,common}_test; }
-src_compile() {
- emake -C src \
- V=1 \
- BUILDTYPE=$(usex debug Debug Release) \
- mod_spdy \
- $(use test && echo_tests)
-}
-
-src_test() {
- cd src/out/Release
- local t
- for t in $(echo_tests) ; do
- e ./${t}
- done
-}
-
-src_install() {
- ln -sf src/out/*/libmod_spdy.so ${PN}.so || die
- APACHE2_MOD_FILE="${PWD}/${PN}.so"
- APACHE2_MOD_DEFINE="SPDY"
- apache-module_src_install
-
- # Workaround #471442
- cd "${S}/src"
- local conf="${T}/80_${PN}.conf"
- cat <<-EOF > "${conf}"
- <IfDefine SPDY>
- $(sed 's:@@APACHE_MODULEDIR@@:modules:' install/common/spdy.load.template)
-
- $(<install/common/spdy.conf.template)
- </IfDefine>
- EOF
- insinto "${APACHE_MODULES_CONFDIR}"
- doins "${conf}"
-}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-07-24 10:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-24 10:53 [gentoo-commits] repo/gentoo:master commit in: profiles/, www-apache/mod_spdy/, www-apache/mod_spdy/files/ Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox