summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/x2goclient/x2goclient-3.00.1.ebuild')
-rw-r--r--net-misc/x2goclient/x2goclient-3.00.1.ebuild20
1 files changed, 18 insertions, 2 deletions
diff --git a/net-misc/x2goclient/x2goclient-3.00.1.ebuild b/net-misc/x2goclient/x2goclient-3.00.1.ebuild
index f2bc658..6d594ae 100644
--- a/net-misc/x2goclient/x2goclient-3.00.1.ebuild
+++ b/net-misc/x2goclient/x2goclient-3.00.1.ebuild
@@ -19,13 +19,19 @@ IUSE="ldap"
DEPEND="net-misc/nx
|| ( ( x11-libs/qt-core:4 x11-libs/qt-gui:4 x11-libs/qt-svg:4 )
>=x11-libs/qt-4.3:4 )
- ldap? ( net-nds/openldap )"
+ ldap? ( net-nds/openldap )
+ net-print/cups"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${PN}-${MAJOR_PV}
src_prepare() {
- use ldap || epatch "${FILESDIR}"/${PN}-2.0.1-noldap.patch
+ if use ldap ; then
+ epatch "${FILESDIR}"/${PN}-3.00.1-ldap.patch
+ else
+ epatch "${FILESDIR}"/${PN}-2.0.1-noldap.patch
+ fi
+# use ldap || epatch "${FILESDIR}"/${PN}-2.0.1-noldap.patch
}
src_compile() {
@@ -53,3 +59,13 @@ src_install() {
make_desktop_entry /usr/bin/${PN} ${PN} x2goclient/128x128/${PN}.png "Network"
}
+
+pkg_postinst(){
+ if use ldap; then
+ elog "You can now specify an binddn and a"
+ elog "password which is used to login at the ldap server."
+ elog "But the password is stored in plaintext at the config file"
+ elog "at your homedirectory!!"
+ elog ""
+ fi
+}