summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce A. Locke <blocke@gentoo.org>2002-01-29 17:43:02 +0000
committerBruce A. Locke <blocke@gentoo.org>2002-01-29 17:43:02 +0000
commit653af6a56ba11eee8c85b77c2e9b28458f0b382e (patch)
treeb9b39fd9d45776ab5097083f4a6225812bfb5e2d /app-misc/ldapbrowser
parentupdate description (diff)
downloadgentoo-2-653af6a56ba11eee8c85b77c2e9b28458f0b382e.tar.gz
gentoo-2-653af6a56ba11eee8c85b77c2e9b28458f0b382e.tar.bz2
gentoo-2-653af6a56ba11eee8c85b77c2e9b28458f0b382e.zip
ldapbrowser ebuild contributed by jo@our-own.net (Jo Ryden)
Diffstat (limited to 'app-misc/ldapbrowser')
-rw-r--r--app-misc/ldapbrowser/files/282_beta2-gentoo.diff8
-rw-r--r--app-misc/ldapbrowser/files/digest-ldapbrowser-282_beta21
-rw-r--r--app-misc/ldapbrowser/ldapbrowser-282_beta2.ebuild50
3 files changed, 59 insertions, 0 deletions
diff --git a/app-misc/ldapbrowser/files/282_beta2-gentoo.diff b/app-misc/ldapbrowser/files/282_beta2-gentoo.diff
new file mode 100644
index 000000000000..ef8b4e94d73a
--- /dev/null
+++ b/app-misc/ldapbrowser/files/282_beta2-gentoo.diff
@@ -0,0 +1,8 @@
+--- ldapbrowser.orig/lbe.sh Tue Jan 29 00:30:24 2002
++++ ldapbrowser/lbe.sh Tue Jan 29 00:24:18 2002
+@@ -15,4 +15,5 @@
+ ARG1=$1
+ fi
+
++cd /opt/ldap*
+ ${JAVA} ${OPTIONS} -jar lbe.jar $ARG1 $2 $3 $4 $5 $6 $7 $8 $9
diff --git a/app-misc/ldapbrowser/files/digest-ldapbrowser-282_beta2 b/app-misc/ldapbrowser/files/digest-ldapbrowser-282_beta2
new file mode 100644
index 000000000000..0af6f7aff18a
--- /dev/null
+++ b/app-misc/ldapbrowser/files/digest-ldapbrowser-282_beta2
@@ -0,0 +1 @@
+MD5 810f8a3940644e5a750a4feec00494ff Browser282b2.tar.gz 655360
diff --git a/app-misc/ldapbrowser/ldapbrowser-282_beta2.ebuild b/app-misc/ldapbrowser/ldapbrowser-282_beta2.ebuild
new file mode 100644
index 000000000000..eae847e5ebb7
--- /dev/null
+++ b/app-misc/ldapbrowser/ldapbrowser-282_beta2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Jo Ryden <jo@our-own.net>
+
+A="Browser282b2.tar.gz"
+S=${WORKDIR}/ldapbrowser
+DESCRIPTION="Easy management of LDAP directories"
+SRC_URI="http://www-unix.mcs.anl.gov/%7Egawor/ldapcommon/bin/Browser282b2.tar.gz"
+HOMEPAGE="http://www-unix.mcs.anl.gov/~gawor/ldap/"
+
+RDEPEND="x11-base/xfree virtual/jre"
+
+src_unpack() {
+# if [ ! -f ${DISTDIR}/${ARCHIVE} ]; then
+# die "Please download ${At} from ${HOMEPAGE} to ${DISTDIR} and re-run emerge"
+# fi
+ unpack ${A}
+ cd ${S}
+ patch -p1 < ${FILESDIR}/${PV}-gentoo.diff
+}
+
+src_install() {
+
+ local dirs="lib templates"
+ dodir /opt/${P}
+
+ for i in $dirs ; do
+ cp -a $i ${D}/opt/${P}/
+ done
+
+ cp -a lbe.jar attributes.config ${D}/opt/${P}/
+ dobin lbe.sh
+ dosym lbe.sh /usr/bin/ldapbrowser
+ dodoc CHANGES.TXT LICENSE.ICONS
+ dohtml faq.html readme.html relnotes.html help/*
+
+}
+
+pkg_postinst() {
+ echo
+ echo " ---------------------------------------------------------------"
+ echo "| *** DON'T FORGET TO ADD THE JAVA EXECUTABLE TO YOUR PATH *** |"
+ echo "| *** OR SET \$JAVA_HOME *** |"
+ echo " ---------------------------------------------------------------"
+ echo
+}
+
+
+
+