summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/x2goserver')
-rw-r--r--net-misc/x2goserver/Manifest4
-rw-r--r--net-misc/x2goserver/x2goserver-3.0.0.1.ebuild70
2 files changed, 73 insertions, 1 deletions
diff --git a/net-misc/x2goserver/Manifest b/net-misc/x2goserver/Manifest
index 2b8baa7..e4d58a6 100644
--- a/net-misc/x2goserver/Manifest
+++ b/net-misc/x2goserver/Manifest
@@ -1,5 +1,7 @@
-AUX x2goserver.init 493 RMD160 439888c465f19433dc4ca42193eaefc5bd2d793c SHA1 3fc7dd4252b500895cd7b56efa29849014bf3741 SHA256 981ca3e263c5a4db6776d44f6caccf3a1f0d976459d610a1ca851990c9e27747
+AUX x2goserver.init 493 RMD160 5633609c39c43c7d810712cecb89cf947329862d SHA1 a6096f59d62f9be79250accddbc912d62b6226cd SHA256 b03cffd2c4eb539cc1904c42058d18f8b389cf7ed26ea4175ee0a136249c3feb
DIST x2goserver_2.0.1-19_all.deb 14536 RMD160 9052af7fe76051d13dbda6b8ca4dd0192e88218a SHA1 5610b16b5529ea65bd19bfee7a7a9dfc8079b716 SHA256 513173c738dfa6a4e379ccb1a99eaff46803ad08a325073fbca8b76b6be76d56
+DIST x2goserver_3.0.0-1_all.deb 15000 RMD160 ce8d06fefa8426cedaf9ac64bc60af17de8cc905 SHA1 90b6377d8e02f66bc396a4279c32f3d25266088f SHA256 99b5bd556f2cdb9bb399b9c35efa4b8406f23a8ea766d84a060a0e1671c468ba
EBUILD x2goserver-2.0.1.19.ebuild 1723 RMD160 b8bce1018b13defa02c67ecb66ce22a3cdcd9fee SHA1 26ce63cf85bd8dbfb3c02dd18534e86e8a75d58f SHA256 d10ddef4322cf7894abb98ec8b314e31c56b3ea03fb03bf3e842f1050d813e23
+EBUILD x2goserver-3.0.0.1.ebuild 1907 RMD160 c9af82dee9fcaafdd2cb4dfd9d2b0da8dbac500a SHA1 6ba6ba32c83f5dd91b690b23358a1fda420f29e2 SHA256 56d0f6abe3e26f3b1b1e8aeff94ade69109a348f893d4cf803a0db236b5d45a9
MISC ChangeLog 684 RMD160 0863db42b5601dad9309026596c8351a309bd42b SHA1 ddaef3fa042f5c58e96ed27215b0455bffe2d44e SHA256 ec7c27a24e2a69ee4e492a62de3578f76ec7521286804c420cbc2aecceade238
MISC metadata.xml 307 RMD160 0172cd4fc792a41fde528ec788ab0dd98f3d21bc SHA1 953412d99904e25f4845fdfda587298e7cbc7f2a SHA256 b19b0330b6614bc27421032b94f6ade24661e38c818140c598d50cb91e82bce6
diff --git a/net-misc/x2goserver/x2goserver-3.0.0.1.ebuild b/net-misc/x2goserver/x2goserver-3.0.0.1.ebuild
new file mode 100644
index 0000000..777d4bd
--- /dev/null
+++ b/net-misc/x2goserver/x2goserver-3.0.0.1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2008 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"
+}