summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony G. Basile <blueness@gentoo.org>2019-12-27 09:00:47 -0500
committerAnthony G. Basile <blueness@gentoo.org>2019-12-27 09:01:05 -0500
commita9f7128597dac01e42e8445b17c728f33f66d746 (patch)
tree453171c2d2682511f595ccd7a1ab64912dee2d24 /www-servers
parentnet-libs/xrootd: bump to 4.11.1 and EAPI 7 (diff)
downloadgentoo-a9f7128597dac01e42e8445b17c728f33f66d746.tar.gz
gentoo-a9f7128597dac01e42e8445b17c728f33f66d746.tar.bz2
gentoo-a9f7128597dac01e42e8445b17c728f33f66d746.zip
www-servers/varnish: also port older versions to GLEP 81
Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'www-servers')
-rw-r--r--www-servers/varnish/varnish-6.2.2-r1.ebuild (renamed from www-servers/varnish/varnish-6.2.2.ebuild)11
-rw-r--r--www-servers/varnish/varnish-6.3.0.ebuild2
2 files changed, 4 insertions, 9 deletions
diff --git a/www-servers/varnish/varnish-6.2.2.ebuild b/www-servers/varnish/varnish-6.2.2-r1.ebuild
index e5c46f10e7df..45b9dbeea581 100644
--- a/www-servers/varnish/varnish-6.2.2.ebuild
+++ b/www-servers/varnish/varnish-6.2.2-r1.ebuild
@@ -5,7 +5,7 @@ EAPI="7"
PYTHON_COMPAT=( python{3_5,3_6,3_7} pypy )
-inherit user autotools systemd python-r1
+inherit autotools systemd python-r1
DESCRIPTION="Varnish is a state-of-the-art, high-performance HTTP accelerator"
HOMEPAGE="https://varnish-cache.org/"
@@ -26,6 +26,8 @@ CDEPEND="
RDEPEND="
${PYTHON_DEPS}
${CDEPEND}
+ acct-user/varnish
+ acct-group/varnish
sys-devel/gcc"
DEPEND="
@@ -38,13 +40,6 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RESTRICT="test" #315725
-pkg_setup() {
- ebegin "Creating varnish user and group"
- enewgroup varnish
- enewuser varnish -1 -1 /var/lib/varnish varnish
- eend $?
-}
-
src_prepare() {
# Remove -Werror bug #528354
sed -i -e 's/-Werror\([^=]\)/\1/g' configure.ac
diff --git a/www-servers/varnish/varnish-6.3.0.ebuild b/www-servers/varnish/varnish-6.3.0.ebuild
index 9930680fa67b..45b9dbeea581 100644
--- a/www-servers/varnish/varnish-6.3.0.ebuild
+++ b/www-servers/varnish/varnish-6.3.0.ebuild
@@ -5,7 +5,7 @@ EAPI="7"
PYTHON_COMPAT=( python{3_5,3_6,3_7} pypy )
-inherit user autotools systemd python-r1
+inherit autotools systemd python-r1
DESCRIPTION="Varnish is a state-of-the-art, high-performance HTTP accelerator"
HOMEPAGE="https://varnish-cache.org/"