From 6ab466f6e78a8515bf8a3ea5935166835aa89053 Mon Sep 17 00:00:00 2001 From: Bernard Cafarelli Date: Fri, 13 Mar 2009 12:44:48 +0000 Subject: Initial portage commit, from the NX overlay Package-Manager: portage-2.2_rc25/cvs/Linux x86_64 --- net-misc/x2gokdebindings/ChangeLog | 10 ++++ net-misc/x2gokdebindings/metadata.xml | 6 ++ .../x2gokdebindings/x2gokdebindings-2.0.1.3.ebuild | 20 +++++++ net-misc/x2goserver/ChangeLog | 10 ++++ net-misc/x2goserver/files/x2goserver.init | 25 ++++++++ net-misc/x2goserver/metadata.xml | 9 +++ net-misc/x2goserver/x2goserver-2.0.1.19.ebuild | 67 ++++++++++++++++++++++ 7 files changed, 147 insertions(+) create mode 100644 net-misc/x2gokdebindings/ChangeLog create mode 100644 net-misc/x2gokdebindings/metadata.xml create mode 100644 net-misc/x2gokdebindings/x2gokdebindings-2.0.1.3.ebuild create mode 100644 net-misc/x2goserver/ChangeLog create mode 100644 net-misc/x2goserver/files/x2goserver.init create mode 100644 net-misc/x2goserver/metadata.xml create mode 100644 net-misc/x2goserver/x2goserver-2.0.1.19.ebuild (limited to 'net-misc') diff --git a/net-misc/x2gokdebindings/ChangeLog b/net-misc/x2gokdebindings/ChangeLog new file mode 100644 index 000000000000..92fbb2ea5258 --- /dev/null +++ b/net-misc/x2gokdebindings/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-misc/x2gokdebindings +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/x2gokdebindings/ChangeLog,v 1.1 2009/03/13 12:42:26 voyageur Exp $ + +*x2gokdebindings-2.0.1.3 (13 Mar 2009) + + 13 Mar 2009; Bernard Cafarelli +metadata.xml, + +x2gokdebindings-2.0.1.3.ebuild: + Initial portage commit, from the NX overlay + diff --git a/net-misc/x2gokdebindings/metadata.xml b/net-misc/x2gokdebindings/metadata.xml new file mode 100644 index 000000000000..81bf4deee451 --- /dev/null +++ b/net-misc/x2gokdebindings/metadata.xml @@ -0,0 +1,6 @@ + + + + nx + The X2Go KDE Bindings + diff --git a/net-misc/x2gokdebindings/x2gokdebindings-2.0.1.3.ebuild b/net-misc/x2gokdebindings/x2gokdebindings-2.0.1.3.ebuild new file mode 100644 index 000000000000..61fbb36f1efb --- /dev/null +++ b/net-misc/x2gokdebindings/x2gokdebindings-2.0.1.3.ebuild @@ -0,0 +1,20 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/x2gokdebindings/x2gokdebindings-2.0.1.3.ebuild,v 1.1 2009/03/13 12:42:26 voyageur Exp $ + +inherit kde versionator + +MAJOR_PV="$(get_version_component_range 1-3)" +FULL_PV="${MAJOR_PV}-$(get_version_component_range 4)" +DESCRIPTION="The X2Go KDE Bindings" +HOMEPAGE="http://x2go.berlios.de" +SRC_URI="http://x2go.obviously-nice.de/deb/pool/${PN}/${PN}_${FULL_PV}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +need-kde 3 + +S=${WORKDIR}/${PN}-${MAJOR_PV} \ No newline at end of file diff --git a/net-misc/x2goserver/ChangeLog b/net-misc/x2goserver/ChangeLog new file mode 100644 index 000000000000..b687a247b65b --- /dev/null +++ b/net-misc/x2goserver/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for net-misc/x2goserver +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/x2goserver/ChangeLog,v 1.1 2009/03/13 12:44:48 voyageur Exp $ + +*x2goserver-2.0.1.19 (13 Mar 2009) + + 13 Mar 2009; Bernard Cafarelli + +files/x2goserver.init, +metadata.xml, +x2goserver-2.0.1.19.ebuild: + Initial portage commit, from the NX overlay + diff --git a/net-misc/x2goserver/files/x2goserver.init b/net-misc/x2goserver/files/x2goserver.init new file mode 100644 index 000000000000..c4a0927f07a4 --- /dev/null +++ b/net-misc/x2goserver/files/x2goserver.init @@ -0,0 +1,25 @@ +#!/sbin/runscript +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/x2goserver/files/x2goserver.init,v 1.1 2009/03/13 12:44:48 voyageur Exp $ + +DAEMON=/usr/sbin/x2gocleansessions + +depend() { + need postgresql + use sshd +} + +start() { + ebegin "Starting ${SVCNAME}" + start-stop-daemon --start --quiet --pidfile /var/run/${SVCNAME}.pid \ + --exec ${DAEMON} -- $DAEMON_OPTS + + eend $? +} + +stop() { + ebegin "Stopping ${SVCNAME}" + start-stop-daemon --stop --quiet --pidfile /var/run/${SVCNAME}.pid + eend $? +} diff --git a/net-misc/x2goserver/metadata.xml b/net-misc/x2goserver/metadata.xml new file mode 100644 index 000000000000..b85de2f29ab3 --- /dev/null +++ b/net-misc/x2goserver/metadata.xml @@ -0,0 +1,9 @@ + + + + nx + The X2Go server + + Use sys-fs/sshfs-fuse to allow shared folders + + diff --git a/net-misc/x2goserver/x2goserver-2.0.1.19.ebuild b/net-misc/x2goserver/x2goserver-2.0.1.19.ebuild new file mode 100644 index 000000000000..ee2f45fcf3ed --- /dev/null +++ b/net-misc/x2goserver/x2goserver-2.0.1.19.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/x2goserver/x2goserver-2.0.1.19.ebuild,v 1.1 2009/03/13 12:44:48 voyageur Exp $ + +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" + +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 )" +# Still in the NX overlay for now +# 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" + + # Use nxagent directly + 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 "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" +} -- cgit v1.2.3-65-gdbad