From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 220D91384B4 for ; Wed, 23 Dec 2015 10:59:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CF03221C0A8; Wed, 23 Dec 2015 10:59:28 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 65FC221C0A5 for ; Wed, 23 Dec 2015 10:59:28 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9AA25340821 for ; Wed, 23 Dec 2015 10:59:27 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4C727CEC for ; Wed, 23 Dec 2015 10:59:25 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1450868320.7567eabb35d8e04dc2b7d2faf4b5d1cc85ca88b9.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/sobby/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/sobby/sobby-0.4.8-r1.ebuild X-VCS-Directories: net-misc/sobby/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: 7567eabb35d8e04dc2b7d2faf4b5d1cc85ca88b9 X-VCS-Branch: master Date: Wed, 23 Dec 2015 10:59:25 +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-Archives-Salt: 104af43d-7ad8-4d67-8994-8c4355024e3f X-Archives-Hash: 8869175b9eccf659ecb8e727f9a46770 commit: 7567eabb35d8e04dc2b7d2faf4b5d1cc85ca88b9 Author: Pacho Ramos gentoo org> AuthorDate: Wed Dec 23 10:24:41 2015 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Wed Dec 23 10:58:40 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7567eabb net-misc/sobby: Fix building with latest glibmm/libsigc++, use USE zeroconf instead of avahi (#477620) Package-Manager: portage-2.2.26 net-misc/sobby/sobby-0.4.8-r1.ebuild | 62 ++++++++++++++++++++++++++++++++++++ 1 file changed, 62 insertions(+) diff --git a/net-misc/sobby/sobby-0.4.8-r1.ebuild b/net-misc/sobby/sobby-0.4.8-r1.ebuild new file mode 100644 index 0000000..3887a14 --- /dev/null +++ b/net-misc/sobby/sobby-0.4.8-r1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit eutils flag-o-matic user + +DESCRIPTION="Standalone Obby server" +HOMEPAGE="http://gobby.0x539.de/" +SRC_URI="http://releases.0x539.de/${PN}/${P}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~x86" +IUSE="zeroconf" + +RDEPEND=" + >=dev-cpp/glibmm-2.6 + >=dev-libs/libsigc++-2.0 + >=dev-libs/gmp-4.1.4 + >=dev-cpp/libxmlpp-2.6 + >=net-libs/net6-1.3.12 + >=net-libs/obby-0.4.6[zeroconf=] +" +DEPEND="${RDEPEND} + 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) +} + +src_install() { + default + + newconfd "${FILESDIR}/${PN}-conf-0.4.7" sobby + newinitd "${FILESDIR}/${PN}-init-0.4.7" sobby + + 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 +} + +pkg_postinst() { + elog "To start sobby, you can use the init script:" + elog " /etc/init.d/sobby start" + elog "" + elog "Please check the configuration in /etc/sobby/sobby.xml" + elog "before you start sobby" +}