net-misc/stunnel: port to GLEP 81, bug #701212
authorAnthony G. Basile <blueness@gentoo.org>
Tue, 17 Dec 2019 15:16:09 +0000 (10:16 -0500)
committerAnthony G. Basile <blueness@gentoo.org>
Tue, 17 Dec 2019 15:16:22 +0000 (10:16 -0500)
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
net-misc/stunnel/stunnel-5.56-r1.ebuild [moved from net-misc/stunnel/stunnel-5.56.ebuild with 95% similarity]

similarity index 95%
rename from net-misc/stunnel/stunnel-5.56.ebuild
rename to net-misc/stunnel/stunnel-5.56-r1.ebuild
index 4ad962ee6aa992964a11dd835e0d8d080256350b..667f8f56738792cd004f5fc0111ba6cffa9f4bee 100644 (file)
@@ -3,7 +3,7 @@
 
 EAPI="7"
 
-inherit ssl-cert multilib systemd user
+inherit ssl-cert multilib systemd
 
 DESCRIPTION="TLS/SSL - Port Wrapper"
 HOMEPAGE="http://www.stunnel.org/index.html"
@@ -22,17 +22,15 @@ IUSE="ipv6 selinux stunnel3 tcpd"
 
 DEPEND="dev-libs/openssl:0=
        tcpd? ( sys-apps/tcp-wrappers )"
-RDEPEND="${DEPEND}
+RDEPEND="
+       acct-user/stunnel
+       acct-group/stunnel
+       ${DEPEND}
        stunnel3? ( dev-lang/perl )
        selinux? ( sec-policy/selinux-stunnel )"
 
 RESTRICT="test"
 
-pkg_setup() {
-       enewgroup stunnel
-       enewuser stunnel -1 -1 -1 stunnel
-}
-
 src_prepare() {
        # Hack away generation of certificate
        sed -i -e "s/^install-data-local:/do-not-run-this:/" \