summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Michael <fedora.dm0@gmail.com>2021-02-06 17:33:40 -0500
committerMatt Turner <mattst88@gentoo.org>2021-02-15 20:25:32 -0500
commita217b04cf9b9a68e2ef750557a304a0ebc0d215d (patch)
treed4db282d63197ee11ecaaa5afdc52b338e48d023 /net-misc/sobby
parentacct-user/sobby: new package (diff)
downloadgentoo-a217b04cf9b9a68e2ef750557a304a0ebc0d215d.tar.gz
gentoo-a217b04cf9b9a68e2ef750557a304a0ebc0d215d.tar.bz2
gentoo-a217b04cf9b9a68e2ef750557a304a0ebc0d215d.zip
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@gmail.com> Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'net-misc/sobby')
-rw-r--r--net-misc/sobby/sobby-0.4.8-r2.ebuild (renamed from net-misc/sobby/sobby-0.4.8-r1.ebuild)30
1 files 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
index 551d727f0525..ce4e8e8f322b 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
}