public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-misc/fcgiwrap/
Date: Sun, 18 Jun 2017 16:23:00 +0000 (UTC)	[thread overview]
Message-ID: <1497802956.e18e0f8c932e03f92919936d757cfc5a15388764.mattst88@gentoo> (raw)

commit:     e18e0f8c932e03f92919936d757cfc5a15388764
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 18 16:02:39 2017 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Jun 18 16:22:36 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e18e0f8c

www-misc/fcgiwrap: Sync ebuilds

 www-misc/fcgiwrap/fcgiwrap-9999.ebuild | 36 +++++++++++++++++++++++-----------
 1 file changed, 25 insertions(+), 11 deletions(-)

diff --git a/www-misc/fcgiwrap/fcgiwrap-9999.ebuild b/www-misc/fcgiwrap/fcgiwrap-9999.ebuild
index 33cef8e6ed1..7f64c53a10a 100644
--- a/www-misc/fcgiwrap/fcgiwrap-9999.ebuild
+++ b/www-misc/fcgiwrap/fcgiwrap-9999.ebuild
@@ -1,33 +1,33 @@
 # Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="4"
+EAPI="5"
 
 [[ ${PV} = *9999* ]] && VCS_ECLASS="git-r3" || VCS_ECLASS=""
-inherit autotools ${VCS_ECLASS}
+inherit autotools systemd toolchain-funcs ${VCS_ECLASS}
 
 DESCRIPTION="Simple FastCGI wrapper for CGI scripts (CGI support for nginx)"
 HOMEPAGE="http://nginx.localdomain.pl/wiki/FcgiWrap"
 
 LICENSE="BSD"
 SLOT="0"
-IUSE=""
+IUSE="systemd"
 
 if [[ ${PV} == *9999* ]]; then
 	EGIT_REPO_URI="git://github.com/gnosek/${PN}.git"
 
 	KEYWORDS=""
 else
-	MY_REV="58ec209"
-	#SRC_URI="https://download.github.com/gnosek-${P}-4-g${MY_REV}.tar.gz"
-	SRC_URI="mirror://gentoo/${P}.tar.gz"
-	S="${WORKDIR}/gnosek-${PN}-${MY_REV}"
-
-	KEYWORDS="~amd64 ~x86"
+	SRC_URI="https://github.com/gnosek/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64 ~arm ~x86"
 fi
 
-DEPEND="dev-libs/fcgi"
-RDEPEND="${DEPEND}"
+RDEPEND="
+	dev-libs/fcgi
+	systemd? ( sys-apps/systemd )
+"
+DEPEND="${RDEPEND}
+	virtual/pkgconfig"
 
 DOCS=( README.rst )
 
@@ -38,9 +38,23 @@ src_prepare() {
 	sed -e '/man8dir = $(DESTDIR)/s/@prefix@//' \
 		-i Makefile.in || die "sed failed"
 
+	sed -e "s/libsystemd-daemon/libsystemd/" \
+		-i configure.ac || die "sed failed"
+	tc-export CC
+
+	# Fix systemd units for Gentoo
+	sed -i -e '/User/d' systemd/fcgiwrap.service || die
+	sed -i -e '/Group/d' systemd/fcgiwrap.service || die
+
 	eautoreconf
 }
 
+src_configure() {
+	econf \
+		$(use_with systemd) \
+		"$(systemd_with_unitdir)"
+}
+
 pkg_postinst() {
 	einfo 'You may want to install www-servers/spawn-fcgi to use with fcgiwrap.'
 }


             reply	other threads:[~2017-06-18 16:23 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-18 16:23 Matt Turner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-16 20:21 [gentoo-commits] repo/gentoo:master commit in: www-misc/fcgiwrap/ Sam James
2025-03-16 20:21 Sam James
2025-03-16 16:23 Sam James
2025-03-16 16:23 Sam James
2022-02-27 23:45 Sam James
2022-01-09 20:35 Jakov Smolić
2022-01-09 20:08 Sam James
2021-11-27 16:01 Marek Szuba
2021-11-27 16:01 Marek Szuba
2019-09-11 16:21 Michał Górny
2017-07-30  9:23 Michał Górny
2017-06-18 16:23 Matt Turner
2017-06-18 16:23 Matt Turner
2017-06-18 16:23 Matt Turner
2017-06-18 16:23 Matt Turner
2017-06-18 16:23 Matt Turner
2017-06-18 16:23 Matt Turner
2017-03-06  1:52 Göktürk Yüksek
2015-10-04  8:38 Pacho Ramos

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=1497802956.e18e0f8c932e03f92919936d757cfc5a15388764.mattst88@gentoo \
    --to=mattst88@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