summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/ruby-activeldap/DESCR4
-rw-r--r--databases/ruby-activeldap/Makefile18
-rw-r--r--databases/ruby-activeldap/distinfo6
-rw-r--r--databases/ruby-activeldap/patches/patch-aa13
4 files changed, 41 insertions, 0 deletions
diff --git a/databases/ruby-activeldap/DESCR b/databases/ruby-activeldap/DESCR
new file mode 100644
index 00000000000..356e994dbbd
--- /dev/null
+++ b/databases/ruby-activeldap/DESCR
@@ -0,0 +1,4 @@
+Ruby/ActiveLdap provides an object oriented interface to LDAP. It maps
+LDAP entries to Ruby objects with LDAP attribute accessors exposed as
+methods dynamically assigned based on your LDAP server's schema and
+each object's objectClasses.
diff --git a/databases/ruby-activeldap/Makefile b/databases/ruby-activeldap/Makefile
new file mode 100644
index 00000000000..4208c038e36
--- /dev/null
+++ b/databases/ruby-activeldap/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/06/23 01:36:56 taca Exp $
+
+DISTNAME= activeldap-1.0.1
+PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
+CATEGORIES= databases
+
+MAINTAINER= taca@NetBSD.org
+HOMEPAGE= http://rubyforge.org/projects/ruby-activeldap/
+COMMENT= Object oriented interface to LDAP
+
+BUILD_DEPENDS+= ${RUBY_PKGPREFIX}-gettext>=1.90.0:../../devel/ruby-gettext
+DEPENDS+= ${RUBY_PKGPREFIX}-activerecord>=2.0.0:../../databases/ruby-activerecord
+DEPENDS+= hoe>=1.5.0:../../devel/hoe
+
+GEM_BUILD= gemspec
+
+.include "../../misc/rubygems/rubygem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/databases/ruby-activeldap/distinfo b/databases/ruby-activeldap/distinfo
new file mode 100644
index 00000000000..217d20b9f92
--- /dev/null
+++ b/databases/ruby-activeldap/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/06/23 01:36:56 taca Exp $
+
+SHA1 (activeldap-1.0.1.gem) = 26010b065baa54b655ac42b78d6a73e82093ef9c
+RMD160 (activeldap-1.0.1.gem) = 08ecf00ca398631ad28f09ca51824736075e51b2
+Size (activeldap-1.0.1.gem) = 767488 bytes
+SHA1 (patch-aa) = 96c491f5966f161da768f0f018e1ddc5bac0316d
diff --git a/databases/ruby-activeldap/patches/patch-aa b/databases/ruby-activeldap/patches/patch-aa
new file mode 100644
index 00000000000..0e3c6b6ec19
--- /dev/null
+++ b/databases/ruby-activeldap/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2008/06/23 01:36:56 taca Exp $
+
+--- Rakefile.orig 2008-06-22 13:27:50.000000000 +0900
++++ Rakefile
+@@ -18,7 +18,7 @@ base_dir_included_components = %w(CHANGE
+ README Rakefile TODO)
+ excluded_components = %w(.svn .test-result .config doc log tmp
+ pkg html config.yaml database.yml ldap.yml)
+-excluded_suffixes = %w(.help .sqlite3)
++excluded_suffixes = %w(.help .sqlite3 .orig)
+ white_list_paths =
+ [
+ "rails/plugin/active_ldap/generators/scaffold_al/templates/ldap.yml"