commit:     a217b04cf9b9a68e2ef750557a304a0ebc0d215d
Author:     David Michael <fedora.dm0 <AT> gmail <DOT> com>
AuthorDate: Sat Feb  6 22:33:40 2021 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Tue Feb 16 01:25:32 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a217b04c

net-misc/sobby: Specify the glibmm+libsigc++ slots, EAPI 7, GLEP 81

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: David Michael <fedora.dm0 <AT> gmail.com>
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 ...sobby-0.4.8-r1.ebuild => sobby-0.4.8-r2.ebuild} | 30 ++++++++++------------
 1 file changed, 13 insertions(+), 17 deletions(-)

diff --git a/net-misc/sobby/sobby-0.4.8-r1.ebuild 
b/net-misc/sobby/sobby-0.4.8-r2.ebuild
similarity index 73%
rename from net-misc/sobby/sobby-0.4.8-r1.ebuild
rename to net-misc/sobby/sobby-0.4.8-r2.ebuild
index 551d727f052..ce4e8e8f322 100644
--- a/net-misc/sobby/sobby-0.4.8-r1.ebuild
+++ b/net-misc/sobby/sobby-0.4.8-r2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-inherit eutils flag-o-matic user
+EAPI=7
+inherit flag-o-matic
 
 DESCRIPTION="Standalone Obby server"
 HOMEPAGE="http://gobby.0x539.de/";
@@ -12,23 +12,24 @@ SLOT="0"
 KEYWORDS="amd64 ~arm ~ppc x86"
 IUSE="zeroconf"
 
-RDEPEND="
-       >=dev-cpp/glibmm-2.6
-       >=dev-libs/libsigc++-2.0
+DEPEND="
+       >=dev-cpp/glibmm-2.6:2
+       >=dev-libs/libsigc++-2.0:2
        >=dev-libs/gmp-4.1.4:0
        >=dev-cpp/libxmlpp-2.6:2.6
        >=net-libs/net6-1.3.12
        >=net-libs/obby-0.4.6[zeroconf=]
 "
-DEPEND="${RDEPEND}
+RDEPEND="${DEPEND}
+       acct-group/sobby
+       acct-user/sobby
+"
+BDEPEND="
+       acct-group/sobby
+       acct-user/sobby
        virtual/pkgconfig
 "
 
-pkg_setup() {
-       enewgroup sobby
-       enewuser sobby -1 -1 /var/lib/sobby sobby
-}
-
 src_configure() {
        append-cxxflags -std=c++11
        econf $(use_enable zeroconf)
@@ -43,12 +44,7 @@ src_install() {
        insinto /etc/sobby
        doins "${FILESDIR}/sobby.xml"
 
-       keepdir /var/lib/sobby
-
-       fperms -R 0700 /var/lib/sobby
        fperms -R 0700 /etc/sobby
-
-       fowners sobby:sobby /var/lib/sobby
        fowners -R sobby:sobby /etc/sobby
 }
 

Reply via email to