1 |
commit: a9f7128597dac01e42e8445b17c728f33f66d746 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Dec 27 14:00:47 2019 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Dec 27 14:01:05 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9f71285 |
7 |
|
8 |
www-servers/varnish: also port older versions to GLEP 81 |
9 |
|
10 |
Package-Manager: Portage-2.3.79, Repoman-2.3.16 |
11 |
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org> |
12 |
|
13 |
.../varnish/{varnish-6.2.2.ebuild => varnish-6.2.2-r1.ebuild} | 11 +++-------- |
14 |
www-servers/varnish/varnish-6.3.0.ebuild | 2 +- |
15 |
2 files changed, 4 insertions(+), 9 deletions(-) |
16 |
|
17 |
diff --git a/www-servers/varnish/varnish-6.2.2.ebuild b/www-servers/varnish/varnish-6.2.2-r1.ebuild |
18 |
similarity index 92% |
19 |
rename from www-servers/varnish/varnish-6.2.2.ebuild |
20 |
rename to www-servers/varnish/varnish-6.2.2-r1.ebuild |
21 |
index e5c46f10e7d..45b9dbeea58 100644 |
22 |
--- a/www-servers/varnish/varnish-6.2.2.ebuild |
23 |
+++ b/www-servers/varnish/varnish-6.2.2-r1.ebuild |
24 |
@@ -5,7 +5,7 @@ EAPI="7" |
25 |
|
26 |
PYTHON_COMPAT=( python{3_5,3_6,3_7} pypy ) |
27 |
|
28 |
-inherit user autotools systemd python-r1 |
29 |
+inherit autotools systemd python-r1 |
30 |
|
31 |
DESCRIPTION="Varnish is a state-of-the-art, high-performance HTTP accelerator" |
32 |
HOMEPAGE="https://varnish-cache.org/" |
33 |
@@ -26,6 +26,8 @@ CDEPEND=" |
34 |
RDEPEND=" |
35 |
${PYTHON_DEPS} |
36 |
${CDEPEND} |
37 |
+ acct-user/varnish |
38 |
+ acct-group/varnish |
39 |
sys-devel/gcc" |
40 |
|
41 |
DEPEND=" |
42 |
@@ -38,13 +40,6 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
43 |
|
44 |
RESTRICT="test" #315725 |
45 |
|
46 |
-pkg_setup() { |
47 |
- ebegin "Creating varnish user and group" |
48 |
- enewgroup varnish |
49 |
- enewuser varnish -1 -1 /var/lib/varnish varnish |
50 |
- eend $? |
51 |
-} |
52 |
- |
53 |
src_prepare() { |
54 |
# Remove -Werror bug #528354 |
55 |
sed -i -e 's/-Werror\([^=]\)/\1/g' configure.ac |
56 |
|
57 |
diff --git a/www-servers/varnish/varnish-6.3.0.ebuild b/www-servers/varnish/varnish-6.3.0.ebuild |
58 |
index 9930680fa67..45b9dbeea58 100644 |
59 |
--- a/www-servers/varnish/varnish-6.3.0.ebuild |
60 |
+++ b/www-servers/varnish/varnish-6.3.0.ebuild |
61 |
@@ -5,7 +5,7 @@ EAPI="7" |
62 |
|
63 |
PYTHON_COMPAT=( python{3_5,3_6,3_7} pypy ) |
64 |
|
65 |
-inherit user autotools systemd python-r1 |
66 |
+inherit autotools systemd python-r1 |
67 |
|
68 |
DESCRIPTION="Varnish is a state-of-the-art, high-performance HTTP accelerator" |
69 |
HOMEPAGE="https://varnish-cache.org/" |