diff options
| -rw-r--r-- | Changes | 5 | ||||
| -rw-r--r-- | DJabberd-Authen-LDAP.spec | 55 | ||||
| -rw-r--r-- | MANIFEST | 1 | ||||
| -rw-r--r-- | README | 5 | ||||
| -rw-r--r-- | lib/DJabberd/Authen/LDAP.pm | 6 |
5 files changed, 68 insertions, 4 deletions
| @@ -1,5 +1,10 @@ | |||
| 1 | Revision history for DJabberd-Authen-LDAP | 1 | Revision history for DJabberd-Authen-LDAP |
| 2 | 2 | ||
| 3 | 0.04 2010-02-15 | ||
| 4 | Fix LDAP binding issues in RT #39077 | ||
| 5 | Add ldap version configuration RT #54101 | ||
| 6 | Include RPM spec file | ||
| 7 | |||
| 3 | 0.02 2007-08-23 | 8 | 0.02 2007-08-23 |
| 4 | Implement substituting vhost in auth filter | 9 | Implement substituting vhost in auth filter |
| 5 | 10 | ||
diff --git a/DJabberd-Authen-LDAP.spec b/DJabberd-Authen-LDAP.spec new file mode 100644 index 0000000..c262c76 --- /dev/null +++ b/DJabberd-Authen-LDAP.spec | |||
| @@ -0,0 +1,55 @@ | |||
| 1 | Name: DJabberd-Authen-LDAP | ||
| 2 | Version: 0.04 | ||
| 3 | Release: 1%{?dist} | ||
| 4 | Summary: LDAP Authentication Plugin for DJabberd | ||
| 5 | License: Artistic | ||
| 6 | Group: Development/Libraries | ||
| 7 | URL: http://search.cpan.org/dist/DJabberd-Authen-LDAP/ | ||
| 8 | Source0: http://www.cpan.org/modules/by-module/DJabberd/DJabberd-Authen-LDAP-%{version}.tar.gz | ||
| 9 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) | ||
| 10 | BuildArch: noarch | ||
| 11 | BuildRequires: perl(DJabberd) >= 0.83 | ||
| 12 | BuildRequires: perl(ExtUtils::MakeMaker) | ||
| 13 | BuildRequires: perl(Net::LDAP) >= 0.34 | ||
| 14 | Requires: perl(DJabberd) >= 0.83 | ||
| 15 | Requires: perl(Net::LDAP) >= 0.34 | ||
| 16 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) | ||
| 17 | |||
| 18 | %description | ||
| 19 | LDAP Authentication module for DJabberd | ||
| 20 | |||
| 21 | %prep | ||
| 22 | %setup -q -n DJabberd-Authen-LDAP-%{version} | ||
| 23 | |||
| 24 | %build | ||
| 25 | %{__perl} Makefile.PL INSTALLDIRS=vendor | ||
| 26 | make %{?_smp_mflags} | ||
| 27 | |||
| 28 | %install | ||
| 29 | rm -rf $RPM_BUILD_ROOT | ||
| 30 | |||
| 31 | make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT | ||
| 32 | |||
| 33 | find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; | ||
| 34 | find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; | ||
| 35 | |||
| 36 | %{_fixperms} $RPM_BUILD_ROOT/* | ||
| 37 | |||
| 38 | %check | ||
| 39 | make test | ||
| 40 | |||
| 41 | %clean | ||
| 42 | rm -rf $RPM_BUILD_ROOT | ||
| 43 | |||
| 44 | %files | ||
| 45 | %defattr(-,root,root,-) | ||
| 46 | %doc Changes README | ||
| 47 | %{perl_vendorlib}/* | ||
| 48 | %{_mandir}/man3/* | ||
| 49 | |||
| 50 | %changelog | ||
| 51 | * Mon Feb 15 2010 Edward Rudd <rpms@outoforder.cc> 0.04-1 | ||
| 52 | - Updated to 0.04 | ||
| 53 | |||
| 54 | * Thu Jul 26 2007 Edward Rudd <rpms@outoforder.cc> 0.01-1 | ||
| 55 | - Initial package | ||
| @@ -3,6 +3,7 @@ MANIFEST | |||
| 3 | Makefile.PL | 3 | Makefile.PL |
| 4 | README | 4 | README |
| 5 | lib/DJabberd/Authen/LDAP.pm | 5 | lib/DJabberd/Authen/LDAP.pm |
| 6 | DJabberd-Authen-LDAP.spec | ||
| 6 | t/00-load.t | 7 | t/00-load.t |
| 7 | t/boilerplate.t | 8 | t/boilerplate.t |
| 8 | t/pod-coverage.t | 9 | t/pod-coverage.t |
| @@ -12,6 +12,9 @@ To install this module, run the following commands: | |||
| 12 | make test | 12 | make test |
| 13 | make install | 13 | make install |
| 14 | 14 | ||
| 15 | LATEST SOURCE | ||
| 16 | |||
| 17 | Latest source code is available via http://git.outoforder.cc/ | ||
| 15 | 18 | ||
| 16 | SUPPORT AND DOCUMENTATION | 19 | SUPPORT AND DOCUMENTATION |
| 17 | 20 | ||
| @@ -35,7 +38,7 @@ You can also look for information at: | |||
| 35 | 38 | ||
| 36 | COPYRIGHT AND LICENCE | 39 | COPYRIGHT AND LICENCE |
| 37 | 40 | ||
| 38 | Copyright (C) 2007 Edward Rudd | 41 | Copyright (C) 2007-2010 Edward Rudd |
| 39 | 42 | ||
| 40 | This program is free software; you can redistribute it and/or modify it | 43 | This program is free software; you can redistribute it and/or modify it |
| 41 | under the same terms as Perl itself. | 44 | under the same terms as Perl itself. |
diff --git a/lib/DJabberd/Authen/LDAP.pm b/lib/DJabberd/Authen/LDAP.pm index 6f7233d..7109821 100644 --- a/lib/DJabberd/Authen/LDAP.pm +++ b/lib/DJabberd/Authen/LDAP.pm | |||
| @@ -18,10 +18,10 @@ DJabberd::Authen::LDAP - An LDAP authentication module for DJabberd | |||
| 18 | 18 | ||
| 19 | =head1 VERSION | 19 | =head1 VERSION |
| 20 | 20 | ||
| 21 | Version 0.02 | 21 | Version 0.04 |
| 22 | =cut | 22 | =cut |
| 23 | 23 | ||
| 24 | our $VERSION = '0.02'; | 24 | our $VERSION = '0.04'; |
| 25 | 25 | ||
| 26 | =head1 SYNOPSIS | 26 | =head1 SYNOPSIS |
| 27 | 27 | ||
| @@ -178,7 +178,7 @@ sub check_cleartext { | |||
| 178 | =head1 COPYRIGHT & LICENSE | 178 | =head1 COPYRIGHT & LICENSE |
| 179 | 179 | ||
| 180 | Original work Copyright 2006 Alexander Karelas, Martin Atkins, Brad Fitzpatrick and Aleksandar Milanov. All rights reserved. | 180 | Original work Copyright 2006 Alexander Karelas, Martin Atkins, Brad Fitzpatrick and Aleksandar Milanov. All rights reserved. |
| 181 | Copyright 2007 Edward Rudd. All rights reserved. | 181 | Copyright 2007-2010 Edward Rudd. All rights reserved. |
| 182 | 182 | ||
| 183 | This program is free software; you can redistribute it and/or modify it | 183 | This program is free software; you can redistribute it and/or modify it |
| 184 | under the same terms as Perl itself. | 184 | under the same terms as Perl itself. |
