/[gentoo-x86]/net-misc/x2goserver/x2goserver-2.0.1.19.ebuild
Gentoo

Contents of /net-misc/x2goserver/x2goserver-2.0.1.19.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Thu Apr 29 12:53:47 2010 UTC (9 years, 7 months ago) by voyageur
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
Repair ChangeLog, actually remove 2.x version
(Portage version: 2.2_rc67/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/x2goserver/x2goserver-2.0.1.19.ebuild,v 1.2 2009/12/05 09:11:32 ssuominen Exp $
4
5 EAPI=1
6 inherit versionator
7
8 MAJOR_PV="$(get_version_component_range 1-3)"
9 FULL_PV="${MAJOR_PV}-$(get_version_component_range 4)"
10 DESCRIPTION="The X2Go server"
11 HOMEPAGE="http://x2go.berlios.de"
12 SRC_URI="http://x2go.obviously-nice.de/deb/pool-lenny/${PN}/${PN}_${FULL_PV}_all.deb"
13
14 LICENSE="GPL-2"
15 SLOT="0"
16 KEYWORDS="~amd64 ~x86"
17 IUSE="+fuse"
18
19 DEPEND=""
20 RDEPEND="app-admin/sudo
21 net-misc/nx
22 virtual/postgresql-server
23 virtual/ssh
24 fuse? ( sys-fs/sshfs-fuse )"
25 # Still in the NX overlay for now
26 # ldap? ( net-misc/x2goldaptools )"
27
28 S=${WORKDIR}
29
30 src_unpack() {
31 unpack ${A}
32 cd "${S}"
33
34 tar xozf data.tar.gz || die "failure unpacking data.tar.gz"
35
36 # Use nxagent directly
37 sed -i -e "s/x2goagent/nxagent/" usr/bin/x2gostartagent || die "sed failed"
38 }
39
40 src_install() {
41 dobin usr/bin/*
42 dosbin usr/sbin/*
43
44 exeinto /usr/share/x2go/script
45 doexe usr/lib/x2go/script/x2gocreatebase.sh
46
47 insinto /etc/x2go
48 doins etc/x2go/sql
49
50 newinitd "${FILESDIR}"/${PN}.init ${PN}
51 }
52
53 pkg_postinst() {
54 elog "To work, x2goserver needs a configured postgreSQL database"
55 elog "Sample script to create the database can be found here:"
56 elog " /usr/share/x2go/script/x2gocreatebase.sh"
57 einfo ""
58 elog "You also need to give sudo rights on x2gopgwrapper to your users"
59 elog "A sudoers example for all members of the group users:"
60 elog " %users ALL=(ALL) NOPASSWD: /usr/bin/x2gopgwrapper"
61 }

  ViewVC Help
Powered by ViewVC 1.1.20