1 |
commit: 2778e6183d7128520ba69aa95c41c2ec0354ef37 |
2 |
Author: Marek Szuba <marecki <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 27 15:05:58 2021 +0000 |
4 |
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 27 16:01:29 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2778e618 |
7 |
|
8 |
www-misc/fcgiwrap: drop 9999 |
9 |
|
10 |
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org> |
11 |
|
12 |
www-misc/fcgiwrap/fcgiwrap-9999.ebuild | 59 ---------------------------------- |
13 |
1 file changed, 59 deletions(-) |
14 |
|
15 |
diff --git a/www-misc/fcgiwrap/fcgiwrap-9999.ebuild b/www-misc/fcgiwrap/fcgiwrap-9999.ebuild |
16 |
deleted file mode 100644 |
17 |
index a51f3f4835ab..000000000000 |
18 |
--- a/www-misc/fcgiwrap/fcgiwrap-9999.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,59 +0,0 @@ |
21 |
-# Copyright 1999-2017 Gentoo Foundation |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI="6" |
25 |
- |
26 |
-[[ ${PV} = *9999* ]] && VCS_ECLASS="git-r3" || VCS_ECLASS="" |
27 |
-inherit autotools systemd toolchain-funcs ${VCS_ECLASS} |
28 |
- |
29 |
-DESCRIPTION="Simple FastCGI wrapper for CGI scripts (CGI support for nginx)" |
30 |
-HOMEPAGE="https://github.com/gnosek/fcgiwrap" |
31 |
- |
32 |
-LICENSE="BSD" |
33 |
-SLOT="0" |
34 |
-IUSE="systemd" |
35 |
- |
36 |
-if [[ ${PV} == *9999* ]]; then |
37 |
- EGIT_REPO_URI="https://github.com/gnosek/${PN}.git" |
38 |
-else |
39 |
- SRC_URI="https://github.com/gnosek/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
40 |
- KEYWORDS="~amd64 ~arm ~x86" |
41 |
-fi |
42 |
- |
43 |
-RDEPEND=" |
44 |
- dev-libs/fcgi |
45 |
- systemd? ( sys-apps/systemd ) |
46 |
-" |
47 |
-DEPEND="${RDEPEND} |
48 |
- virtual/pkgconfig" |
49 |
- |
50 |
-DOCS=( README.rst ) |
51 |
- |
52 |
-src_prepare() { |
53 |
- sed -e "s/-Werror//" \ |
54 |
- -i configure.ac || die "sed failed" |
55 |
- |
56 |
- sed -e '/man8dir = $(DESTDIR)/s/@prefix@//' \ |
57 |
- -i Makefile.in || die "sed failed" |
58 |
- |
59 |
- sed -e "s/libsystemd-daemon/libsystemd/" \ |
60 |
- -i configure.ac || die "sed failed" |
61 |
- tc-export CC |
62 |
- |
63 |
- # Fix systemd units for Gentoo |
64 |
- sed -i -e '/User/d' systemd/fcgiwrap.service || die |
65 |
- sed -i -e '/Group/d' systemd/fcgiwrap.service || die |
66 |
- |
67 |
- eapply_user |
68 |
- eautoreconf |
69 |
-} |
70 |
- |
71 |
-src_configure() { |
72 |
- econf \ |
73 |
- $(use_with systemd) \ |
74 |
- --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" |
75 |
-} |
76 |
- |
77 |
-pkg_postinst() { |
78 |
- einfo 'You may want to install www-servers/spawn-fcgi to use with fcgiwrap.' |
79 |
-} |