pacho       14/05/02 10:40:49

  Modified:             ChangeLog
  Added:                fcgiwrap-1.1.0-r1.ebuild
  Log:
  Fix unit file and automagic installation of them (#508914 by Alex Xu)
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
A188FBD4)

Revision  Changes    Path
1.16                 www-misc/fcgiwrap/ChangeLog

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/fcgiwrap/ChangeLog?rev=1.16&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/fcgiwrap/ChangeLog?rev=1.16&content-type=text/plain
diff : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/fcgiwrap/ChangeLog?r1=1.15&r2=1.16

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/www-misc/fcgiwrap/ChangeLog,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- ChangeLog   13 Oct 2013 10:19:57 -0000      1.15
+++ ChangeLog   2 May 2014 10:40:49 -0000       1.16
@@ -1,6 +1,11 @@
 # ChangeLog for www-misc/fcgiwrap
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-misc/fcgiwrap/ChangeLog,v 1.15 
2013/10/13 10:19:57 tomwij Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-misc/fcgiwrap/ChangeLog,v 1.16 
2014/05/02 10:40:49 pacho Exp $
+
+*fcgiwrap-1.1.0-r1 (02 May 2014)
+
+  02 May 2014; Pacho Ramos <[email protected]> +fcgiwrap-1.1.0-r1.ebuild:
+  Fix unit file and automagic installation of them (#508914 by Alex Xu)
 
   13 Oct 2013; Tom Wijsman <[email protected]> metadata.xml:
   Updated Nikoli's e-mail address for easier automatic assignment.



1.1                  www-misc/fcgiwrap/fcgiwrap-1.1.0-r1.ebuild

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/fcgiwrap/fcgiwrap-1.1.0-r1.ebuild?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/fcgiwrap/fcgiwrap-1.1.0-r1.ebuild?rev=1.1&content-type=text/plain

Index: fcgiwrap-1.1.0-r1.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-misc/fcgiwrap/fcgiwrap-1.1.0-r1.ebuild,v 
1.1 2014/05/02 10:40:49 pacho Exp $

EAPI="5"

[[ ${PV} = *9999* ]] && VCS_ECLASS="git" || 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="systemd"

if [[ ${PV} == *9999* ]]; then
        EGIT_REPO_URI="git://github.com/gnosek/${PN}.git"

        KEYWORDS=""
else
        SRC_URI="https://github.com/gnosek/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
        KEYWORDS="~amd64 ~x86"
fi

RDEPEND="dev-libs/fcgi"
DEPEND="${RDEPEND}
        virtual/pkgconfig"

DOCS=( README.rst )

src_prepare() {
        sed -e '/man8dir = $(DESTDIR)/s/@prefix@//' \
                -i Makefile.in || 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 via email to