diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2008-12-15 16:23:05 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2008-12-15 16:23:05 +0000 |
commit | 592ae449aa7a8b76ed05b13fd48eda8a71622c41 (patch) | |
tree | ac014f546ddb799b10312c1a84c608a93d605fe4 /net-misc/x2goldaptools/x2goldaptools-2.0.1.8.ebuild | |
parent | Fix Manifest (diff) | |
download | nx-592ae449aa7a8b76ed05b13fd48eda8a71622c41.tar.gz nx-592ae449aa7a8b76ed05b13fd48eda8a71622c41.tar.bz2 nx-592ae449aa7a8b76ed05b13fd48eda8a71622c41.zip |
Add ldap administration ebuilds (WIP)
svn path=/testing/; revision=218
Diffstat (limited to 'net-misc/x2goldaptools/x2goldaptools-2.0.1.8.ebuild')
-rw-r--r-- | net-misc/x2goldaptools/x2goldaptools-2.0.1.8.ebuild | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/net-misc/x2goldaptools/x2goldaptools-2.0.1.8.ebuild b/net-misc/x2goldaptools/x2goldaptools-2.0.1.8.ebuild new file mode 100644 index 0000000..8cb6226 --- /dev/null +++ b/net-misc/x2goldaptools/x2goldaptools-2.0.1.8.ebuild @@ -0,0 +1,58 @@ +# 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 ldap tools" +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="" + +DEPEND="" +RDEPEND="net-nds/openldap + net-nds/smbldap-tools" + +S=${WORKDIR}/${PN}-${MAJOR_PV}.orig + +src_unpack(){ + unpack ${A} + cd "${S}" + + tar xozf data.tar.gz || die "failure unpacking data.tar.gz" +} + +src_install() { + dobin usr/bin/* + dosbin usr/sbin/* + + insinto /etc/x2go + doins usr/share/x2goldaptools/config/etc.orig/x2go/* + + exeinto /usr/share/x2goldaptools/script + doexe usr/share/x2goldaptools/script/* + + exeinto /usr/share/x2goldaptools/config + doexe usr/share/x2goldaptools/config/genconf +} + +pkg_postinst() { + elog "Use genconf to generate config files" + elog " /usr/share/x2goldaptools/config/genconf" + elog "" + elog "Use makeCA to generate CA" + elog " /usr/share/x2goldaptools/script/makeCA" + elog "" + elog "Use makenewcert to generate SSL cert for slapd" + elog " /usr/share/x2goldaptools/script/makenewcert" + elog "" + elog "Use initsystem to create database" + elog " /usr/share/x2goldaptools/script/initsystem" +} |