From 7264c8232798aa4037d72bfd736d1d477644b70a Mon Sep 17 00:00:00 2001 From: Bernard Cafarelli Date: Mon, 9 Feb 2009 12:58:10 +0000 Subject: Bump x2goserver and fix typo in init script svn path=/testing/; revision=221 --- net-misc/x2goserver/Manifest | 4 +- net-misc/x2goserver/files/x2goserver.init | 2 +- net-misc/x2goserver/x2goserver-2.0.1.16.ebuild | 66 -------------------------- net-misc/x2goserver/x2goserver-2.0.1.19.ebuild | 66 ++++++++++++++++++++++++++ 4 files changed, 69 insertions(+), 69 deletions(-) delete mode 100644 net-misc/x2goserver/x2goserver-2.0.1.16.ebuild create mode 100644 net-misc/x2goserver/x2goserver-2.0.1.19.ebuild diff --git a/net-misc/x2goserver/Manifest b/net-misc/x2goserver/Manifest index 7f9393a..2b8baa7 100644 --- a/net-misc/x2goserver/Manifest +++ b/net-misc/x2goserver/Manifest @@ -1,5 +1,5 @@ AUX x2goserver.init 493 RMD160 439888c465f19433dc4ca42193eaefc5bd2d793c SHA1 3fc7dd4252b500895cd7b56efa29849014bf3741 SHA256 981ca3e263c5a4db6776d44f6caccf3a1f0d976459d610a1ca851990c9e27747 -DIST x2goserver_2.0.1-16_all.deb 13282 RMD160 534edd191763b8ac06ee10f83beb84198cc6b597 SHA1 a853ebb6251297e8585d53ea0a4fdfec27050312 SHA256 29bf3698f1a9663e7935d11d51960488f368b466dce47f0c7fa74f6a859270f9 -EBUILD x2goserver-2.0.1.16.ebuild 1723 RMD160 b8bce1018b13defa02c67ecb66ce22a3cdcd9fee SHA1 26ce63cf85bd8dbfb3c02dd18534e86e8a75d58f SHA256 d10ddef4322cf7894abb98ec8b314e31c56b3ea03fb03bf3e842f1050d813e23 +DIST x2goserver_2.0.1-19_all.deb 14536 RMD160 9052af7fe76051d13dbda6b8ca4dd0192e88218a SHA1 5610b16b5529ea65bd19bfee7a7a9dfc8079b716 SHA256 513173c738dfa6a4e379ccb1a99eaff46803ad08a325073fbca8b76b6be76d56 +EBUILD x2goserver-2.0.1.19.ebuild 1723 RMD160 b8bce1018b13defa02c67ecb66ce22a3cdcd9fee SHA1 26ce63cf85bd8dbfb3c02dd18534e86e8a75d58f SHA256 d10ddef4322cf7894abb98ec8b314e31c56b3ea03fb03bf3e842f1050d813e23 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/files/x2goserver.init b/net-misc/x2goserver/files/x2goserver.init index c696cc5..18e81e3 100644 --- a/net-misc/x2goserver/files/x2goserver.init +++ b/net-misc/x2goserver/files/x2goserver.init @@ -20,6 +20,6 @@ start() { stop() { ebegin "Stopping ${SVCNAME}" - start-stop-daemon --stop --quiet --pidfile /var/run/{$SVCNAME}.pid + start-stop-daemon --stop --quiet --pidfile /var/run/${SVCNAME}.pid eend $? } diff --git a/net-misc/x2goserver/x2goserver-2.0.1.16.ebuild b/net-misc/x2goserver/x2goserver-2.0.1.16.ebuild deleted file mode 100644 index 9cd6286..0000000 --- a/net-misc/x2goserver/x2goserver-2.0.1.16.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# 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 "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" -} 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 0000000..9cd6286 --- /dev/null +++ b/net-misc/x2goserver/x2goserver-2.0.1.19.ebuild @@ -0,0 +1,66 @@ +# 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 "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