summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlangenbach <jlangenbach@localhost>2009-05-12 18:26:10 +0000
committerjlangenbach <jlangenbach@localhost>2009-05-12 18:26:10 +0000
commit80dddaed24533395ad702a7ff2fa982b20cff46e (patch)
tree52695822e64a4b1683c4eb3558e307b601cdb3d2 /net-misc/x2gosessionadministration/x2gosessionadministration-2.0.1.10.ebuild
parentNew server 3.0.0-1 (diff)
downloadnx-80dddaed24533395ad702a7ff2fa982b20cff46e.tar.gz
nx-80dddaed24533395ad702a7ff2fa982b20cff46e.tar.bz2
nx-80dddaed24533395ad702a7ff2fa982b20cff46e.zip
Added an ldap patch so that the ldap modules for kcontrol now can handle binddn's and bindpasswords.
Added an ldap patch to x2goclient, so that an binddn and bindpw can be set at the config page. svn path=/testing/; revision=229
Diffstat (limited to 'net-misc/x2gosessionadministration/x2gosessionadministration-2.0.1.10.ebuild')
-rw-r--r--net-misc/x2gosessionadministration/x2gosessionadministration-2.0.1.10.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/net-misc/x2gosessionadministration/x2gosessionadministration-2.0.1.10.ebuild b/net-misc/x2gosessionadministration/x2gosessionadministration-2.0.1.10.ebuild
new file mode 100644
index 0000000..800eefd
--- /dev/null
+++ b/net-misc/x2gosessionadministration/x2gosessionadministration-2.0.1.10.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/x2gosessionadministration/x2gosessionadministration-2.0.1.10.ebuild,v 1.1 2009/03/13 12:36:19 voyageur Exp $
+
+EAPI="2"
+inherit kde versionator
+
+MAJOR_PV="$(get_version_component_range 1-3)"
+FULL_PV="${MAJOR_PV}-$(get_version_component_range 4)"
+DESCRIPTION="The X2Go session administration (kcontrol module)"
+HOMEPAGE="http://x2go.berlios.de"
+SRC_URI="http://x2go.obviously-nice.de/deb/pool-lenny/${PN}/${PN}_${FULL_PV}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="net-nds/openldap
+ arts? ( kde-base/arts )"
+RDEPEND=${DEPEND}
+need-kde 3
+
+S=${WORKDIR}/${PN}-${MAJOR_PV}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${PN}-ldap.patch
+}
+
+src_configure(){
+ myconf="${myconf} $(use_with arts)"
+}
+
+pkg_postinst(){
+ elog "The gentoo x2go ebuilds now need a different"
+ elog " /etc/x2go/x2goldaptools.conf from the original one."
+ elog "You must add:"
+ elog " bindn=\"cn=yourldap,ou=bind,c=dn\""
+ elog " binddnpw=\"yourbindpassword\""
+ elog "The quotes must be normal quotes and the lines must be added at the end!"
+ elog "Make sure you secure the file by good permissions like 0600 and owner root!"
+
+}