1 |
commit: 5f83b1902768de04364ca97d40023d928a11a264 |
2 |
Author: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 2 14:38:23 2023 +0000 |
4 |
Commit: Mike Pagano <mpagano <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 2 14:38:23 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f83b190 |
7 |
|
8 |
www-servers/nginx-unit: drop 1.29.0-r1 |
9 |
|
10 |
Signed-off-by: Mike Pagano <mpagano <AT> gentoo.org> |
11 |
|
12 |
www-servers/nginx-unit/nginx-unit-1.29.0-r1.ebuild | 95 ---------------------- |
13 |
1 file changed, 95 deletions(-) |
14 |
|
15 |
diff --git a/www-servers/nginx-unit/nginx-unit-1.29.0-r1.ebuild b/www-servers/nginx-unit/nginx-unit-1.29.0-r1.ebuild |
16 |
deleted file mode 100644 |
17 |
index ecf1568f4165..000000000000 |
18 |
--- a/www-servers/nginx-unit/nginx-unit-1.29.0-r1.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,95 +0,0 @@ |
21 |
-# Copyright 1999-2023 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-EAPI=8 |
25 |
- |
26 |
-PYTHON_COMPAT=( python3_{9..11} ) |
27 |
- |
28 |
-inherit flag-o-matic python-single-r1 systemd toolchain-funcs |
29 |
- |
30 |
-MY_P="unit-${PV}" |
31 |
-DESCRIPTION="Dynamic web and application server" |
32 |
-HOMEPAGE="https://unit.nginx.org" |
33 |
-SRC_URI="https://unit.nginx.org/download/${MY_P}.tar.gz -> ${P}.tar.gz" |
34 |
-S="${WORKDIR}/${MY_P}" |
35 |
- |
36 |
-LICENSE="Apache-2.0" |
37 |
-SLOT="0" |
38 |
-KEYWORDS="~amd64" |
39 |
-MY_USE="perl python ruby" |
40 |
-MY_USE_PHP="php7-4 php8-0 php8-1 " |
41 |
-IUSE="${MY_USE} ${MY_USE_PHP} ssl" |
42 |
-REQUIRED_USE="|| ( ${IUSE} ) |
43 |
- python? ( ${PYTHON_REQUIRED_USE} )" |
44 |
- |
45 |
-DEPEND="perl? ( dev-lang/perl:= ) |
46 |
- php7-4? ( dev-lang/php:7.4[embed] ) |
47 |
- php8-0? ( dev-lang/php:8.0[embed] ) |
48 |
- php8-1? ( dev-lang/php:8.1[embed] ) |
49 |
- python? ( ${PYTHON_DEPS} ) |
50 |
- ruby? ( |
51 |
- dev-lang/ruby:= |
52 |
- dev-ruby/rubygems:= |
53 |
- ) |
54 |
- ssl? ( dev-libs/openssl:0= ) |
55 |
- virtual/libcrypt:0=" |
56 |
-RDEPEND="${DEPEND} |
57 |
- acct-user/nginx-unit |
58 |
- acct-group/nginx-unit" |
59 |
- |
60 |
-pkg_setup() { |
61 |
- use python && python-single-r1_pkg_setup |
62 |
-} |
63 |
- |
64 |
-src_prepare() { |
65 |
- eapply_user |
66 |
- sed -i '/^CFLAGS/d' auto/make || die |
67 |
- default |
68 |
-} |
69 |
- |
70 |
-src_configure() { |
71 |
- local opt=( |
72 |
- --control=unix:/run/${PN}.sock |
73 |
- --log=/var/log/${PN} |
74 |
- --modules=$(get_libdir)/${PN} |
75 |
- --pid=/run/${PN}.pid |
76 |
- --prefix=/usr |
77 |
- --state=/var/lib/${PN} |
78 |
- --user=${PN} |
79 |
- --group=${PN} |
80 |
- ) |
81 |
- |
82 |
- use ssl && opt+=( --openssl ) |
83 |
- export AR="$(tc-getAR)" |
84 |
- export CC="$(tc-getCC)" |
85 |
- ./configure ${opt[@]} --ld-opt="${LDFLAGS}" || die "Core configuration failed" |
86 |
- |
87 |
- # Modules require position-independent code |
88 |
- append-cflags $(test-flags-CC -fPIC) |
89 |
- |
90 |
- for flag in ${MY_USE} ; do |
91 |
- if use ${flag} ; then |
92 |
- ./configure ${flag} || die "Module configuration failed: ${flag}" |
93 |
- fi |
94 |
- done |
95 |
- |
96 |
- for flag in ${MY_USE_PHP} ; do |
97 |
- if use ${flag} ; then |
98 |
- local php_slot="/usr/$(get_libdir)/${flag/-/.}" |
99 |
- ./configure php \ |
100 |
- --module=${flag} \ |
101 |
- --config=${php_slot}/bin/php-config \ |
102 |
- --lib-path=${php_slot}/$(get_libdir) || die "Module configuration failed: ${flag}" |
103 |
- fi |
104 |
- done |
105 |
-} |
106 |
- |
107 |
-src_install() { |
108 |
- default |
109 |
- |
110 |
- diropts -m 0770 |
111 |
- keepdir /var/lib/${PN} |
112 |
- newinitd "${FILESDIR}/${PN}.initd-r1" ${PN} |
113 |
- newconfd "${FILESDIR}"/nginx-unit.confd nginx-unit |
114 |
- systemd_newunit "${FILESDIR}"/${PN}.service ${PN}.service |
115 |
-} |