--- activeldap-1.0.2.orig/debian/control +++ activeldap-1.0.2/debian/control @@ -0,0 +1,39 @@ +Source: activeldap +Section: ruby +Priority: optional +Maintainer: Marc Dequènes (Duck) +Uploaders: Debian Ruby Extras Maintainers +Build-Depends: debhelper (>= 7.0.1), quilt, patchutils (>= 0.2.25), cdbs (>= 0.4.27), ruby (>= 1.8.1), ruby-pkg-tools (>= 0.8) +Build-Depends-Indep: rdoc (>= 1.8.1), graphviz +Standards-Version: 3.8.1 +Homepage: http://rubyforge.org/projects/ruby-activeldap + +Package: libactiveldap-ruby +Architecture: all +Depends: ${misc:Depends}, libactiveldap-ruby1.8 +Description: an object-oriented interface to LDAP for Ruby + This is a dependency package, which depends on an ActiveLDAP package + built for the latest version of Ruby. + +Package: libactiveldap-ruby-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Suggests: doc-base +Description: an object-oriented interface to LDAP for Ruby + This is the Rdoc-generated documentation for ActiveLDAP API. + +Package: libactiveldap-ruby1.8 +Architecture: all +Depends: ${misc:Depends}, libruby1.8, libldap-ruby1.8 (>= 0.8.2), rails, libgettext-ruby1.8 +Suggests: liblog4r-ruby1.8 (>= 1.0.4) +Description: an object-oriented interface to LDAP for Ruby + ActiveLDAP is a wrapper around Ruby/LDAP with its interface inspired + by ActiveRecord (from the Rails project). + . + It dynamically parses the LDAP server’s schema based on the + objectClasses an entry has. It then exposes the LDAP attributes as + methods on the object. This means that if you update the objectClass + on an object, the methods/attributes available for changing are + automatically updated. + --- activeldap-1.0.2.orig/debian/compat +++ activeldap-1.0.2/debian/compat @@ -0,0 +1 @@ +7 --- activeldap-1.0.2.orig/debian/control.in +++ activeldap-1.0.2/debian/control.in @@ -0,0 +1,39 @@ +Source: activeldap +Section: ruby +Priority: optional +Maintainer: Marc Dequènes (Duck) +Uploaders: Debian Ruby Extras Maintainers +Build-Depends: @cdbs@, ruby (>= 1.8.1), ruby-pkg-tools (>= 0.8) +Build-Depends-Indep: rdoc (>= 1.8.1), graphviz +Standards-Version: 3.8.1 +Homepage: http://rubyforge.org/projects/ruby-activeldap + +Package: libactiveldap-ruby +Architecture: all +Depends: ${misc:Depends}, libactiveldap-ruby1.8 +Description: an object-oriented interface to LDAP for Ruby + This is a dependency package, which depends on an ActiveLDAP package + built for the latest version of Ruby. + +Package: libactiveldap-ruby-doc +Section: doc +Architecture: all +Depends: ${misc:Depends} +Suggests: doc-base +Description: an object-oriented interface to LDAP for Ruby + This is the Rdoc-generated documentation for ActiveLDAP API. + +Package: libactiveldap-ruby1.8 +Architecture: all +Depends: ${misc:Depends}, libruby1.8, libldap-ruby1.8 (>= 0.8.2), rails, libgettext-ruby1.8 +Suggests: liblog4r-ruby1.8 (>= 1.0.4) +Description: an object-oriented interface to LDAP for Ruby + ActiveLDAP is a wrapper around Ruby/LDAP with its interface inspired + by ActiveRecord (from the Rails project). + . + It dynamically parses the LDAP server’s schema based on the + objectClasses an entry has. It then exposes the LDAP attributes as + methods on the object. This means that if you update the objectClass + on an object, the methods/attributes available for changing are + automatically updated. + --- activeldap-1.0.2.orig/debian/copyright +++ activeldap-1.0.2/debian/copyright @@ -0,0 +1,29 @@ +This package was debianized by Marc Dequènes on +Tue, 18 Apr 2006 17:55:15 +0200. + +It was downloaded from http://rubyforge.org/frs/?group_id=381 + +Upstream Author: Will Drewry + +Copyright: + + Copyright (C) 2004 Will Drewry + and Dick Davies + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June, 1991. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA + 02110-1301, USA. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. + --- activeldap-1.0.2.orig/debian/libactiveldap-ruby-doc.doc-base +++ activeldap-1.0.2/debian/libactiveldap-ruby-doc.doc-base @@ -0,0 +1,10 @@ +Document: activeldap +Title: ActiveLDAP API Documentation +Author: Will Drewry +Abstract: Rdoc-generated API documentation. +Section: Programming/Ruby + +Format: HTML +Index: /usr/share/doc/libactiveldap-ruby-doc/rdoc/index.html +Files: /usr/share/doc/libactiveldap-ruby-doc/rdoc/* + --- activeldap-1.0.2.orig/debian/watch +++ activeldap-1.0.2/debian/watch @@ -0,0 +1,4 @@ +version=3 +http://rubyforge.org/frs/?group_id=381 \ + (?:.*/)?ruby-activeldap-([0-9.]+).(?:tar\.gz|tgz) \ + debian uupdate --- activeldap-1.0.2.orig/debian/changelog +++ activeldap-1.0.2/debian/changelog @@ -0,0 +1,92 @@ +activeldap (1.0.2-1) unstable; urgency=low + + * New upstream release. + * Switched to new 'ruby' Section. + * Refreshed patch 'rails_load_path'. + * Added missing 'misc:Depends' for all binary packages. + * Made compliant with policy 3.8.1 (no changes). + * Using debhelper V7 (no changes). + + -- Marc Dequènes (Duck) Wed, 18 Mar 2009 18:26:17 +0100 + +activeldap (1.0.1-1) unstable; urgency=low + + * New upstream release. + + -- Marc Dequènes (Duck) Thu, 19 Jun 2008 10:45:15 +0200 + +activeldap (0.9.0-2) unstable; urgency=low + + * Fixed doc-base section. + * Regenerated 'debian/control' properly. + + -- Marc Dequènes (Duck) Fri, 21 Mar 2008 01:44:26 +0100 + +activeldap (0.9.0-1) unstable; urgency=low + + * New upstream release: + + The logger mechanism can be chosen freely now, so log4r moved + to Suggests. + * Moved Homepage field to the source package (dpkg supports it now). + * Fixed copyright information: software is GPL v2 strict. + * Increased Standards-Version to 3.7.3.0 (no changes). + * Compressed al-admin exemple. + * Factorized RCS files removal rules. + + -- Marc Dequènes (Duck) Sat, 08 Dec 2007 12:41:30 +0100 + +activeldap (0.8.3.1-1) unstable; urgency=low + + * New upstream release. + * Updated dependencies: rails is now a dependency, and new gettext + support requires libgettext-ruby1.8. + + -- Marc Dequènes (Duck) Thu, 01 Nov 2007 14:53:20 +0100 + +activeldap (0.8.2-1) unstable; urgency=low + + * New upstream release: + - updated bad_shebang patch. + - updated upstream project URL. + * Removed the Uploaders rule. + * Switched compat level to 5 (no changes). + * Patched to work around non-standard rails load path. + + -- Marc Dequènes (Duck) Mon, 18 Jun 2007 23:39:14 +0200 + +activeldap (0.8.1-1) UNRELEASED; urgency=low + + * New upstream release: + - worked around silly gemization (buildsys) + - now a part of Rails + - refreshed shebang patch. + * Added additionnal match for .tar.gz files in watch file. + * Strengthened dependency versions requirements. + + -- Marc Dequènes (Duck) Sat, 24 Feb 2007 17:42:26 +0100 + +activeldap (0.7.4-1) unstable; urgency=low + + * New upstream release. + + -- Marc Dequènes (Duck) Sun, 11 Jun 2006 00:49:04 +0200 + +activeldap (0.7.1-1) unstable; urgency=low + + * New upstream release. + * Fixed Build-Depends/Build-Depends-Indep to ensure having necessary + tools for clean rule. + * Switched to quilt patch management system. + * Refreshed shebang patch. + * Ensure no RCS files slip into packages. + * Increased Standards-Version to 3.7.2.0 (no changes). + + -- Marc Dequènes (Duck) Tue, 16 May 2006 12:37:52 +0200 + +activeldap (0.6.0-1) unstable; urgency=low + + * Initial Release. + * Patched to remove bad shebang in 'activeldap.rb'. + + -- Marc Dequènes (Duck) Tue, 18 Apr 2006 18:22:25 +0200 + --- activeldap-1.0.2.orig/debian/libactiveldap-ruby-doc.examples +++ activeldap-1.0.2/debian/libactiveldap-ruby-doc.examples @@ -0,0 +1 @@ +examples/* --- activeldap-1.0.2.orig/debian/rules +++ activeldap-1.0.2/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f +# -*- mode: makefile; coding: utf-8 -*- + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/ruby-pkg-tools/1/class/ruby-common.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + + +RUBY_ARCHALLDIR=/usr/lib/ruby/1.8 + +install/libactiveldap-ruby1.8:: + mkdir -p debian/$(cdbs_curpkg)/$(RUBY_ARCHALLDIR) + cp -r lib/* debian/$(cdbs_curpkg)/$(RUBY_ARCHALLDIR)/ + find debian/$(cdbs_curpkg)/$(RUBY_ARCHALLDIR)/ -type f -exec chmod a-x {} \; + +binary-install/libactiveldap-ruby-doc:: + tar -cz -C debian/$(cdbs_curpkg)/usr/share/doc/libactiveldap-ruby-doc/examples/ --remove-files \ + -f debian/$(cdbs_curpkg)/usr/share/doc/libactiveldap-ruby-doc/examples/al-admin.tgz al-admin + +$(patsubst %,binary-predeb/%,$(DEB_PACKAGES)) :: + find debian/$(cdbs_curpkg) -depth -name ".arch-ids" -exec rm -rf {} \; + --- activeldap-1.0.2.orig/debian/libactiveldap-ruby1.8.links +++ activeldap-1.0.2/debian/libactiveldap-ruby1.8.links @@ -0,0 +1 @@ +/usr/share/rails/actionmailer/README /usr/share/doc/rails/README.activeldap --- activeldap-1.0.2.orig/debian/libactiveldap-ruby1.8.install +++ activeldap-1.0.2/debian/libactiveldap-ruby1.8.install @@ -0,0 +1 @@ +rails/plugin/* /usr/share/rails/ --- activeldap-1.0.2.orig/debian/patches/series +++ activeldap-1.0.2/debian/patches/series @@ -0,0 +1,2 @@ +bad_shebang +rails_load_path --- activeldap-1.0.2.orig/debian/patches/bad_shebang +++ activeldap-1.0.2/debian/patches/bad_shebang @@ -0,0 +1,10 @@ +Index: activeldap-0.8.2/lib/active_ldap.rb +=================================================================== +--- activeldap-0.8.2.orig/lib/active_ldap.rb 2007-06-18 19:29:06.272701831 +0200 ++++ activeldap-0.8.2/lib/active_ldap.rb 2007-06-18 19:29:39.273351547 +0200 +@@ -1,4 +1,4 @@ +-#!/usr/bin/ruby ++# + # = Ruby/ActiveLdap + # + # "Ruby/ActiveLdap" Copyright (C) 2004,2005 Will Drewry mailto:will@alum.bu.edu --- activeldap-1.0.2.orig/debian/patches/rails_load_path +++ activeldap-1.0.2/debian/patches/rails_load_path @@ -0,0 +1,19 @@ +Index: activeldap-1.0.2/lib/active_ldap.rb +=================================================================== +--- activeldap-1.0.2.orig/lib/active_ldap.rb 2009-03-20 14:27:04.000000000 +0100 ++++ activeldap-1.0.2/lib/active_ldap.rb 2009-03-20 14:27:47.000000000 +0100 +@@ -905,6 +905,14 @@ + # package, and I'd like to see it prove helpful to more people than just myself. + # + ++# add Rails load path for Debian, until rails framework is split properly ++DEB_RAILS_PATH = "/usr/share/rails" ++Dir.new(DEB_RAILS_PATH).each do |file| ++ next if file =~ /^\./ ++ path = File.join(DEB_RAILS_PATH, file, "lib") ++ $: << path if File.directory?(path) ++end ++ + require_gem_if_need = Proc.new do |library_name, gem_name, *gem_args| + begin + if !gem_args.empty? and Object.const_defined?(:Gem)