www-servers/varnish: also port older versions to GLEP 81
authorAnthony G. Basile <blueness@gentoo.org>
Fri, 27 Dec 2019 14:00:47 +0000 (09:00 -0500)
committerAnthony G. Basile <blueness@gentoo.org>
Fri, 27 Dec 2019 14:01:05 +0000 (09:01 -0500)
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
www-servers/varnish/varnish-6.2.2-r1.ebuild [moved from www-servers/varnish/varnish-6.2.2.ebuild with 92% similarity]
www-servers/varnish/varnish-6.3.0.ebuild

similarity index 92%
rename from www-servers/varnish/varnish-6.2.2.ebuild
rename to www-servers/varnish/varnish-6.2.2-r1.ebuild
index e5c46f10e7df896b6f0ce6bb07afcb9b4e433d3e..45b9dbeea581cc991fab7bea06f4d7eb0af83930 100644 (file)
@@ -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
index 9930680fa67b768224a3e7d0ff711b883f62abfd..45b9dbeea581cc991fab7bea06f4d7eb0af83930 100644 (file)
@@ -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/"