commit: 247cc25816125f86891dcd3425f9fec19958c508
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 17 15:16:09 2019 +0000
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Tue Dec 17 15:16:22 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=247cc258
net-misc/stunnel: port to GLEP 81, bug #701212
Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Anthony G. Basile <blueness <AT> gentoo.org>
.../stunnel/{stunnel-5.56.ebuild => stunnel-5.56-r1.ebuild} | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/net-misc/stunnel/stunnel-5.56.ebuild
b/net-misc/stunnel/stunnel-5.56-r1.ebuild
similarity index 95%
rename from net-misc/stunnel/stunnel-5.56.ebuild
rename to net-misc/stunnel/stunnel-5.56-r1.ebuild
index 4ad962ee6aa..667f8f56738 100644
--- a/net-misc/stunnel/stunnel-5.56.ebuild
+++ b/net-misc/stunnel/stunnel-5.56-r1.ebuild
@@ -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:/" \