From 62554af9fc4aafeb10d60f61c6b083944c7c905b Mon Sep 17 00:00:00 2001 From: Edward Rudd Date: Mon, 15 Feb 2010 14:14:39 -0500 Subject: Update release for 0.04 Add in RPM spec file add reference to git source--- Changes | 5 +++++ DJabberd-Authen-LDAP.spec | 55 +++++++++++++++++++++++++++++++++++++++++++++ MANIFEST | 1 + README | 5 ++++- lib/DJabberd/Authen/LDAP.pm | 6 ++--- 5 files changed, 68 insertions(+), 4 deletions(-) create mode 100644 DJabberd-Authen-LDAP.spec diff --git a/Changes b/Changes index dbbdb4d..7f75d59 100644 --- a/Changes +++ b/Changes @@ -1,5 +1,10 @@ Revision history for DJabberd-Authen-LDAP +0.04 2010-02-15 + Fix LDAP binding issues in RT #39077 + Add ldap version configuration RT #54101 + Include RPM spec file + 0.02 2007-08-23 Implement substituting vhost in auth filter 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 @@ +Name: DJabberd-Authen-LDAP +Version: 0.04 +Release: 1%{?dist} +Summary: LDAP Authentication Plugin for DJabberd +License: Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/DJabberd-Authen-LDAP/ +Source0: http://www.cpan.org/modules/by-module/DJabberd/DJabberd-Authen-LDAP-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(DJabberd) >= 0.83 +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Net::LDAP) >= 0.34 +Requires: perl(DJabberd) >= 0.83 +Requires: perl(Net::LDAP) >= 0.34 +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +LDAP Authentication module for DJabberd + +%prep +%setup -q -n DJabberd-Authen-LDAP-%{version} + +%build +%{__perl} Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT + +make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT + +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; + +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Mon Feb 15 2010 Edward Rudd 0.04-1 +- Updated to 0.04 + +* Thu Jul 26 2007 Edward Rudd 0.01-1 +- Initial package diff --git a/MANIFEST b/MANIFEST index 58085bd..ff7c0a7 100644 --- a/MANIFEST +++ b/MANIFEST @@ -3,6 +3,7 @@ MANIFEST Makefile.PL README lib/DJabberd/Authen/LDAP.pm +DJabberd-Authen-LDAP.spec t/00-load.t t/boilerplate.t t/pod-coverage.t diff --git a/README b/README index 34586d0..8aa5f3a 100644 --- a/README +++ b/README @@ -12,6 +12,9 @@ To install this module, run the following commands: make test make install +LATEST SOURCE + +Latest source code is available via http://git.outoforder.cc/ SUPPORT AND DOCUMENTATION @@ -35,7 +38,7 @@ You can also look for information at: COPYRIGHT AND LICENCE -Copyright (C) 2007 Edward Rudd +Copyright (C) 2007-2010 Edward Rudd This program is free software; you can redistribute it and/or modify it 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 =head1 VERSION -Version 0.02 +Version 0.04 =cut -our $VERSION = '0.02'; +our $VERSION = '0.04'; =head1 SYNOPSIS @@ -178,7 +178,7 @@ sub check_cleartext { =head1 COPYRIGHT & LICENSE Original work Copyright 2006 Alexander Karelas, Martin Atkins, Brad Fitzpatrick and Aleksandar Milanov. All rights reserved. -Copyright 2007 Edward Rudd. All rights reserved. +Copyright 2007-2010 Edward Rudd. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. -- cgit