net-misc/sobby: Drop old

Package-Manager: portage-2.3.1
This commit is contained in:
Pacho Ramos
2016-10-02 13:43:28 +02:00
parent bb3ec1eeaf
commit dba2ed859b

View File

@@ -1,59 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
inherit eutils 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="avahi"
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[avahi=]"
DEPEND="${RDEPEND}
virtual/pkgconfig"
pkg_setup() {
enewgroup sobby
enewuser sobby -1 -1 /var/lib/sobby sobby
}
src_configure() {
econf $(use_enable avahi 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"
}