From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 A95A1138334 for ; Mon, 30 Jul 2018 20:23:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8EC6DE0923; Mon, 30 Jul 2018 20:23:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 66C89E0923 for ; Mon, 30 Jul 2018 20:23:06 +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 E4B74335C94 for ; Mon, 30 Jul 2018 20:23:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 456C8373 for ; Mon, 30 Jul 2018 20:23:02 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1532982179.53c6a8409e3078aa92d8e7e9003bd287c8831150.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/nginx-unit/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-servers/nginx-unit/nginx-unit-1.3-r1.ebuild X-VCS-Directories: www-servers/nginx-unit/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 53c6a8409e3078aa92d8e7e9003bd287c8831150 X-VCS-Branch: master Date: Mon, 30 Jul 2018 20:23:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 2953c3cf-74ee-4161-8367-7b931325933e X-Archives-Hash: 92c0a1a4269b898d77c63424bfff041a commit: 53c6a8409e3078aa92d8e7e9003bd287c8831150 Author: Ralph Seichter seichter de> AuthorDate: Wed Jul 18 19:14:23 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Jul 30 20:22:59 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53c6a840 www-servers/nginx-unit: Added 'ruby' use flag Package-Manager: Portage-2.3.40, Repoman-2.3.9 www-servers/nginx-unit/nginx-unit-1.3-r1.ebuild | 43 +++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/www-servers/nginx-unit/nginx-unit-1.3-r1.ebuild b/www-servers/nginx-unit/nginx-unit-1.3-r1.ebuild new file mode 100644 index 00000000000..9a9a22e39cd --- /dev/null +++ b/www-servers/nginx-unit/nginx-unit-1.3-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_P="unit-${PV}" + +DESCRIPTION="A dynamic web and application server" +HOMEPAGE="https://unit.nginx.org" +SRC_URI="https://unit.nginx.org/download/${MY_P}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="perl python ruby" +REQUIRED_USE="|| ( ${IUSE} )" + +DEPEND="perl? ( dev-lang/perl:= ) + python? ( dev-lang/python:= ) + ruby? ( dev-lang/ruby:= )" +RDEPEND="${DEPEND}" +S="${WORKDIR}/${MY_P}" + +src_configure() { + ./configure \ + --prefix=/usr \ + --log=/var/log/${PN} \ + --state=/var/lib/${PN} \ + --pid=/run/${PN}.pid \ + --control=unix:/run/${PN}.sock || die "Core configuration failed" + for flag in ${IUSE} ; do + if use ${flag} ; then + ./configure ${flag} || die "Module configuration failed: ${flag}" + fi + done +} + +src_install() { + default + diropts -m 0770 + keepdir /var/lib/${PN} + newinitd "${FILESDIR}/${PN}.initd" ${PN} +}