summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2010-04-19 18:13:17 +0000
committerBernard Cafarelli <voyageur@gentoo.org>2010-04-19 18:13:17 +0000
commitacae2920b857b2968699c36d4c4b2a2613c61039 (patch)
tree241b7ace259b43da5a34c42b0e42954bae3357bc /net-misc/x2goserver/x2goserver-3.0.0.1.ebuild
parent * Added x2goserver-3.0.1.5 (diff)
downloadnx-acae2920b857b2968699c36d4c4b2a2613c61039.tar.gz
nx-acae2920b857b2968699c36d4c4b2a2613c61039.tar.bz2
nx-acae2920b857b2968699c36d4c4b2a2613c61039.zip
Drop old versions, small fixes (missing eutils and update postgres USE flag in ebuild)
(Portage version: 2.2_rc67/svn/Linux x86_64) svn path=/testing/; revision=244
Diffstat (limited to 'net-misc/x2goserver/x2goserver-3.0.0.1.ebuild')
-rw-r--r--net-misc/x2goserver/x2goserver-3.0.0.1.ebuild70
1 files changed, 0 insertions, 70 deletions
diff --git a/net-misc/x2goserver/x2goserver-3.0.0.1.ebuild b/net-misc/x2goserver/x2goserver-3.0.0.1.ebuild
deleted file mode 100644
index 04fdaca..0000000
--- a/net-misc/x2goserver/x2goserver-3.0.0.1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: $
-
-EAPI=1
-inherit versionator
-
-MAJOR_PV="$(get_version_component_range 1-3)"
-FULL_PV="${MAJOR_PV}-$(get_version_component_range 4)"
-DESCRIPTION="The X2Go server"
-HOMEPAGE="http://x2go.berlios.de"
-SRC_URI="http://x2go.obviously-nice.de/deb/pool-lenny/${PN}/${PN}_${FULL_PV}_all.deb"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+fuse kde ldap"
-
-DEPEND=""
-RDEPEND="app-admin/sudo
- net-misc/nx
- virtual/postgresql-server
- virtual/ssh
- fuse? ( sys-fs/sshfs-fuse )
- kde? ( net-misc/x2gokdebindings
- net-misc/x2gosessionadministration )
- ldap? ( net-misc/x2goldaptools
- kde? ( net-misc/x2gogroupadministration
- net-misc/x2gohostadministration
- net-misc/x2gosystemadministration
- net-misc/x2gouseradministration ) )"
-
-S=${WORKDIR}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- tar xozf data.tar.gz || die "failure unpacking data.tar.gz"
-
- # Needs testing, is it fully compatible with nxagent?
- sed -i -e "s/x2goagent/nxagent/" usr/bin/x2gostartagent || die "sed failed"
-}
-
-src_install() {
- dobin usr/bin/*
- dosbin usr/sbin/*
-
- exeinto /usr/share/x2go/script
- doexe usr/lib/x2go/script/x2gocreatebase.sh
-
- insinto /etc/x2go
- doins etc/x2go/sql
-
- newinitd "${FILESDIR}"/${PN}.init ${PN}
-}
-
-pkg_postinst() {
- elog "To work, x2goserver needs a configured postgreSQL database"
- elog "To use a database on localhost:"
- elog " echo -n local > /etc/x2go/sql"
- elog "Sample script to create the database can be found here:"
- elog " /usr/share/x2go/script/x2gocreatebase.sh"
- einfo ""
- elog "You also need to give sudo rights on x2gopgwrapper to your users"
- elog "A sudoers example for all members of the group users:"
- elog " %users ALL=(ALL) NOPASSWD: /usr/bin/x2gopgwrapper"
- elog "To give only a special group access to the x2goserver, "
- elog "change %users to any other group"
-}