commit:     610f1d4c7b272ad5e6fd42c8f97188262c2a85d2
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  3 15:29:35 2020 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Oct  3 15:29:35 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=610f1d4c

net-analyzer/sancp: [QA] Port to GLEP 81

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 .../sancp/{sancp-1.6.1-r5.ebuild => sancp-1.6.1-r6.ebuild}   | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/net-analyzer/sancp/sancp-1.6.1-r5.ebuild 
b/net-analyzer/sancp/sancp-1.6.1-r6.ebuild
similarity index 92%
rename from net-analyzer/sancp/sancp-1.6.1-r5.ebuild
rename to net-analyzer/sancp/sancp-1.6.1-r6.ebuild
index 543e814ff1d..be00f2204c5 100644
--- a/net-analyzer/sancp/sancp-1.6.1-r5.ebuild
+++ b/net-analyzer/sancp/sancp-1.6.1-r6.ebuild
@@ -2,7 +2,8 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-inherit toolchain-funcs user
+
+inherit toolchain-funcs
 
 DESCRIPTION="collect network traffic statistics and store them in pcap format"
 HOMEPAGE="https://sourceforge.net/projects/sancp/";
@@ -19,13 +20,12 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE="sguil"
 
-RDEPEND="net-libs/libpcap"
+RDEPEND="
+       acct-group/sancp
+       acct-user/sancp
+       net-libs/libpcap"
 DEPEND="${RDEPEND}"
 
-pkg_setup() {
-       enewgroup sancp
-       enewuser sancp -1 -1 /dev/null sancp
-}
 PATCHES=(
        "${FILESDIR}"/${PN}-1.6.1-compiler.patch
        "${FILESDIR}"/${PN}-1.6.1-gcc6.patch

Reply via email to