From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B8D79138334 for ; Thu, 12 Dec 2019 12:53:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 82F5FE08A6; Thu, 12 Dec 2019 12:53:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 671B8E08A6 for ; Thu, 12 Dec 2019 12:53:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C13FC34D93B for ; Thu, 12 Dec 2019 12:53:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id B8C67778 for ; Thu, 12 Dec 2019 12:53:54 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1576155190.a2d3e6b83e4dea7e98b440a877f08033940e2d58.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-misc/shellinabox/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-misc/shellinabox/shellinabox-2.20-r3.ebuild X-VCS-Directories: www-misc/shellinabox/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: a2d3e6b83e4dea7e98b440a877f08033940e2d58 X-VCS-Branch: master Date: Thu, 12 Dec 2019 12:53:54 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 684dd626-0fa3-46e8-98c3-8e04a02ec1b1 X-Archives-Hash: 97cef4c5bfd185461c50a78083375ba3 commit: a2d3e6b83e4dea7e98b440a877f08033940e2d58 Author: Patrice Clement gentoo org> AuthorDate: Thu Dec 12 12:47:11 2019 +0000 Commit: Patrice Clement gentoo org> CommitDate: Thu Dec 12 12:53:10 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a2d3e6b8 www-misc/shellinabox: remove user/group management through acct-* ebuilds. Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Patrice Clement gentoo.org> www-misc/shellinabox/shellinabox-2.20-r3.ebuild | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/www-misc/shellinabox/shellinabox-2.20-r3.ebuild b/www-misc/shellinabox/shellinabox-2.20-r3.ebuild index dd3929f75bf..4ddaef132e0 100644 --- a/www-misc/shellinabox/shellinabox-2.20-r3.ebuild +++ b/www-misc/shellinabox/shellinabox-2.20-r3.ebuild @@ -3,7 +3,7 @@ EAPI=7 -inherit autotools systemd +inherit user autotools systemd DESCRIPTION="Export command line tools to a web based terminal emulator" HOMEPAGE="https://github.com/shellinabox/shellinabox" @@ -14,12 +14,7 @@ SLOT="0" KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" IUSE="+pam" -RDEPEND=" - acct-user/shellinaboxd - acct-group/shellinaboxd" - DEPEND=" - ${RDEPEND} dev-libs/openssl:0= pam? ( sys-libs/pam )" @@ -39,6 +34,11 @@ cat server.crt server.key > certificate.pem EOF } +pkg_setup() { + enewgroup "${SIAB_DAEMON}" + enewuser "${SIAB_DAEMON}" -1 -1 -1 "${SIAB_DAEMON}" +} + src_prepare() { default eautoreconf @@ -77,6 +77,7 @@ src_install() { # Create directory where SSL certificates will be generated. dodir "${SIAB_CERT_DIR}" + fowners "${SIAB_DAEMON}:${SIAB_DAEMON}" "${SIAB_CERT_DIR}" # Generate set up variable. shellinbox_gen_ssl_setup