1 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
2 |
Signed-off-by: Hans de Graaff <graaff@g.o> |
3 |
--- |
4 |
dev-ruby/ruby-ldap/ruby-ldap-0.9.20-r1.ebuild | 34 +++++++++++++++++++ |
5 |
1 file changed, 34 insertions(+) |
6 |
create mode 100644 dev-ruby/ruby-ldap/ruby-ldap-0.9.20-r1.ebuild |
7 |
|
8 |
diff --git a/dev-ruby/ruby-ldap/ruby-ldap-0.9.20-r1.ebuild b/dev-ruby/ruby-ldap/ruby-ldap-0.9.20-r1.ebuild |
9 |
new file mode 100644 |
10 |
index 000000000000..a195fa0f2b51 |
11 |
--- /dev/null |
12 |
+++ b/dev-ruby/ruby-ldap/ruby-ldap-0.9.20-r1.ebuild |
13 |
@@ -0,0 +1,34 @@ |
14 |
+# Copyright 1999-2021 Gentoo Authors |
15 |
+# Distributed under the terms of the GNU General Public License v2 |
16 |
+ |
17 |
+EAPI=8 |
18 |
+USE_RUBY="ruby26 ruby27 ruby30" |
19 |
+ |
20 |
+inherit ruby-fakegem |
21 |
+ |
22 |
+RUBY_FAKEGEM_TASK_TEST="" |
23 |
+RUBY_FAKEGEM_EXTENSIONS=(./extconf.rb) |
24 |
+RUBY_FAKEGEM_EXTRADOC="ChangeLog FAQ NOTES README TODO" |
25 |
+ |
26 |
+DESCRIPTION="A Ruby interface to some LDAP libraries" |
27 |
+HOMEPAGE="https://github.com/bearded/ruby-ldap" |
28 |
+LICENSE="BSD" |
29 |
+SLOT="0" |
30 |
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86" |
31 |
+IUSE="ssl" |
32 |
+DEPEND=">=net-nds/openldap-2 |
33 |
+ dev-libs/cyrus-sasl |
34 |
+ ssl? ( dev-libs/openssl:0 )" |
35 |
+RDEPEND="${DEPEND}" |
36 |
+ |
37 |
+# Current test set is interactive due to certificate generation and requires |
38 |
+# running LDAP daemon |
39 |
+RESTRICT="test" |
40 |
+ |
41 |
+each_ruby_configure() { |
42 |
+ local myconf="--with-openldap2" |
43 |
+ if ! use ssl ; then |
44 |
+ myconf="${myconf} --without-libcrypto --without-libssl" |
45 |
+ fi |
46 |
+ RUBY_FAKEGEM_EXTENSION_OPTIONS=${myconf} each_fakegem_configure |
47 |
+} |
48 |
-- |
49 |
2.32.0 |