diff options
author | 2008-12-09 13:18:04 +0000 | |
---|---|---|
committer | 2008-12-09 13:18:04 +0000 | |
commit | c743e80b3d7152cee1b862a80da272290c6776e4 (patch) | |
tree | e4974173618e64db8b8ca88a7b1c050982037bf9 | |
parent | Remove live ebuilds for qtnx, add x2goclient ebuild from bug #249600 (diff) | |
download | nx-c743e80b3d7152cee1b862a80da272290c6776e4.tar.gz nx-c743e80b3d7152cee1b862a80da272290c6776e4.tar.bz2 nx-c743e80b3d7152cee1b862a80da272290c6776e4.zip |
WIP ebuild for x2goserver, works on localhost ;)
svn path=/testing/; revision=205
-rw-r--r-- | net-misc/x2goserver/Manifest | 2 | ||||
-rw-r--r-- | net-misc/x2goserver/x2goserver-2.0.1.11.ebuild | 49 |
2 files changed, 51 insertions, 0 deletions
diff --git a/net-misc/x2goserver/Manifest b/net-misc/x2goserver/Manifest new file mode 100644 index 0000000..1b014ce --- /dev/null +++ b/net-misc/x2goserver/Manifest @@ -0,0 +1,2 @@ +DIST x2goserver_2.0.1-11_all.deb 11712 RMD160 e3f32d82724d0225d744476cccbb00972655b028 SHA1 0914505daa1354ea0e50531833f6ea002f0ed010 SHA256 f5b5306890397b93389567ffd8e7d75ab82a99fb64f99bb1cf6ac1df945d8410 +EBUILD x2goserver-2.0.1.11.ebuild 1153 RMD160 c028d2af4fee0d9e134e456dca118024e12c5735 SHA1 fcb588b9798da0e7ab2fba31be531c1f0b8d58d9 SHA256 d063ddba55ce2e64d6c17a8572dff04209d8c0b3b7b6f3ee36e510b2b82b6049 diff --git a/net-misc/x2goserver/x2goserver-2.0.1.11.ebuild b/net-misc/x2goserver/x2goserver-2.0.1.11.ebuild new file mode 100644 index 0000000..00beb19 --- /dev/null +++ b/net-misc/x2goserver/x2goserver-2.0.1.11.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +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/${PN}/${PN}_${FULL_PV}_all.deb" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="net-misc/nx + virtual/postgresql-server" + +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 + #TODO write Gentoo initd file +} + +pkg_postinst() { + elog "To work, x2goserver needs a configured postgreSQL database" + elog "Sample script to create the database can be found here:" + elog " /usr/share/x2go/script/x2gocreatebase.sh" +} |