From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1055713-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id A4423138334
	for <garchives@archives.gentoo.org>; Mon,  5 Nov 2018 08:55:49 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 6B1B8E0B46;
	Mon,  5 Nov 2018 08:55:47 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 24C56E0B46
	for <gentoo-commits@lists.gentoo.org>; Mon,  5 Nov 2018 08:55:45 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 0EC17335C8D
	for <gentoo-commits@lists.gentoo.org>; Mon,  5 Nov 2018 08:55:44 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id BB5493DB
	for <gentoo-commits@lists.gentoo.org>; Mon,  5 Nov 2018 08:55:41 +0000 (UTC)
From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" <zmedico@gentoo.org>
Message-ID: <1541408133.dd20da991c23232cdf385de3083f7ecb921f5810.zmedico@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/civetweb/
X-VCS-Repository: repo/gentoo
X-VCS-Files: www-servers/civetweb/Manifest www-servers/civetweb/civetweb-1.11.ebuild www-servers/civetweb/metadata.xml
X-VCS-Directories: www-servers/civetweb/
X-VCS-Committer: zmedico
X-VCS-Committer-Name: Zac Medico
X-VCS-Revision: dd20da991c23232cdf385de3083f7ecb921f5810
X-VCS-Branch: master
Date: Mon,  5 Nov 2018 08:55:41 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: d72c2c4e-bfc8-4b5c-a637-3a12c7e162ae
X-Archives-Hash: 55d1a20b758b290e35c44c16b8e9a34b

commit:     dd20da991c23232cdf385de3083f7ecb921f5810
Author:     Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com>
AuthorDate: Sun Nov  4 15:31:36 2018 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Nov  5 08:55:33 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd20da99

www-servers/civetweb: bump to 1.11, add cxx/server USE flags

- Version bump to latest version.
- Add USE flags to enable/disable the optional C++ bindings and
  the standalone binary, which is not needed for development.
- Add the new USE flags to metadata.xml.

Closes: https://github.com/gentoo/gentoo/pull/10337
Package-Manager: Portage-2.3.51, Repoman-2.3.12
Signed-off-by: Holger Hoffstätte <holger <AT> applied-asynchrony.com>
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 www-servers/civetweb/Manifest             |  1 +
 www-servers/civetweb/civetweb-1.11.ebuild | 39 +++++++++++++++++++++++++++++++
 www-servers/civetweb/metadata.xml         |  3 +++
 3 files changed, 43 insertions(+)

diff --git a/www-servers/civetweb/Manifest b/www-servers/civetweb/Manifest
index e2487744435..d83660b0b20 100644
--- a/www-servers/civetweb/Manifest
+++ b/www-servers/civetweb/Manifest
@@ -1 +1,2 @@
 DIST civetweb-1.10.tar.gz 11350512 BLAKE2B b0a2ef514a0d9f821a1e05e72000901092f722a5628b759401ef4118301ef79ee8b00f44a9fe9e9f64a14b4af6511419d1684cbe9d2b7c0eb18dbd9d98cd7cbe SHA512 54035883fbec590f339a2b4b5bf1b9a93591ea50bff056830d0c45b874cf6e46ce5af39e9dd9d4e0e6c82bec844aa0f159503f337998e9e10e59099b8ecc3f79
+DIST civetweb-1.11.tar.gz 11421650 BLAKE2B 487044a313c2ff005a8dfa247b3d8a3c3b52ef048cbc3050ec8c0402ccef4e12e28de53fed5a3a91df1e7f59ba6c03bf545413ffdd0ce3e4d604148c16c661e9 SHA512 e1520fd2f4a54b6ab4838f4da2ce3f0956e9884059467d196078935a3fce61dad619f3bb1bc2b4c6a757e1a8abfed0e83cba38957c7c52fff235676e9dd1d428

diff --git a/www-servers/civetweb/civetweb-1.11.ebuild b/www-servers/civetweb/civetweb-1.11.ebuild
new file mode 100644
index 00000000000..b723333e365
--- /dev/null
+++ b/www-servers/civetweb/civetweb-1.11.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+HOMEPAGE="https://github.com/civetweb/civetweb/"
+DESCRIPTION="Embedded C/C++ web server"
+SRC_URI="https://github.com/civetweb/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="cxx +server ssl"
+
+RDEPEND="ssl? ( dev-libs/openssl:0= )"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+	sed -e 's|DESTINATION lib$|DESTINATION ${CMAKE_INSTALL_LIBDIR}|' \
+		-i src/CMakeLists.txt || die
+	cmake-utils_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DBUILD_TESTING=OFF
+		-DBUILD_SHARED_LIBS=ON
+		-DCIVETWEB_BUILD_TESTING=OFF
+		-DCIVETWEB_ENABLE_LUA=OFF
+		-DCIVETWEB_ENABLE_DUKTAPE=OFF
+		-DCIVETWEB_ENABLE_CXX="$(usex cxx)"
+		-DCIVETWEB_ENABLE_SERVER_EXECUTABLE="$(usex server)"
+		-DCIVETWEB_ENABLE_SSL="$(usex ssl)"
+	)
+
+	cmake-utils_src_configure
+}

diff --git a/www-servers/civetweb/metadata.xml b/www-servers/civetweb/metadata.xml
index da48c00830a..a80fa5cce40 100644
--- a/www-servers/civetweb/metadata.xml
+++ b/www-servers/civetweb/metadata.xml
@@ -7,4 +7,7 @@
 	<maintainer type="person">
 		<email>zmedico@gentoo.org</email>
 	</maintainer>
+    <use>
+        <flag name="server">Build standalone server</flag>
+    </use>
 </pkgmetadata>