Projects
Kolab:3.4
php-pear-Net-LDAP2
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 11
View file
php-pear-Net-LDAP2.changes
Added
@@ -0,0 +1,33 @@ +------------------------------------------------------------------- +Fri Feb 1 11:11:32 UTC 2013 - aj@ajaissle.de + +- New upstream release 2.0.12 + * inmproved performance with large search results + * Fixed some minor issues with Net_LDAP2_Filter and Net_LDAP2->dnExists() + * Added NOT filter to Net_LDAP2_Filter::create() so negating is more easily now + +------------------------------------------------------------------- +Mon Feb 13 10:53:31 UTC 2012 - coolo@suse.com + +- patch license to follow spdx.org standard + +------------------------------------------------------------------- +Mon Feb 7 15:38:50 UTC 2011 - lang@b1-systems.de + +- Added license file + +------------------------------------------------------------------- +Mon Jan 31 09:08:32 UTC 2011 - lang@b1-systems.de + +- LGPLv3 license + +------------------------------------------------------------------- +Wed Jan 26 13:32:09 UTC 2011 - lang@b1-systems.de + +- add dependency on php pecl module ldap as stated in pear + +------------------------------------------------------------------- +Wed Jan 26 12:42:44 UTC 2011 - lang@b1-systems.de + +- packaged with php-macros and a template spec +
View file
php5-pear-Net_LDAP2.changes
Deleted
@@ -1,33 +0,0 @@ -------------------------------------------------------------------- -Fri Feb 1 11:11:32 UTC 2013 - aj@ajaissle.de - -- New upstream release 2.0.12 - * inmproved performance with large search results - * Fixed some minor issues with Net_LDAP2_Filter and Net_LDAP2->dnExists() - * Added NOT filter to Net_LDAP2_Filter::create() so negating is more easily now - -------------------------------------------------------------------- -Mon Feb 13 10:53:31 UTC 2012 - coolo@suse.com - -- patch license to follow spdx.org standard - -------------------------------------------------------------------- -Mon Feb 7 15:38:50 UTC 2011 - lang@b1-systems.de - -- Added license file - -------------------------------------------------------------------- -Mon Jan 31 09:08:32 UTC 2011 - lang@b1-systems.de - -- LGPLv3 license - -------------------------------------------------------------------- -Wed Jan 26 13:32:09 UTC 2011 - lang@b1-systems.de - -- add dependency on php pecl module ldap as stated in pear - -------------------------------------------------------------------- -Wed Jan 26 12:42:44 UTC 2011 - lang@b1-systems.de - -- packaged with php-macros and a template spec -
View file
php-pear-Net-LDAP2.spec
Added
@@ -0,0 +1,122 @@ +%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}} + +# Needed for openSUSE +%if 0%{?suse_version} +%{!?pear_cfgdir: %global pear_cfgdir %(%{__pear} config-get cfg_dir 2> /dev/null || echo undefined)} +%{!?pear_datadir: %global pear_datadir %(%{__pear} config-get data_dir 2> /dev/null || echo undefined)} +%{!?pear_docdir: %global pear_docdir %(%{__pear} config-get doc_dir 2> /dev/null || echo undefined)} +%{!?pear_metadir: %global pear_metadir %(%{__pear} config-get metadata_dir 2> /dev/null || echo undefined)} +%{!?pear_phpdir: %global pear_phpdir %(%{__pear} config-get php_dir 2> /dev/null || echo undefined)} +%{!?pear_testdir: %global pear_testdir %(%{__pear} config-get test_dir 2> /dev/null || echo undefined)} +%{!?pear_wwwdir: %global pear_wwwdir %(%{__pear} config-get www_dir 2> /dev/null || echo undefined)} +%{!?pear_xmldir: %global pear_xmldir %{_localstatedir}/lib/pear/pkgxml} +%endif + +%global pear_name Net_LDAP2 + +%if 0%{?suse_version} +Name: php5-pear-Net_LDAP2 +%else +Name: php-pear-Net-LDAP2 +%endif +Version: 2.0.12 +Release: 1%{?dist} +Summary: Object oriented interface for searching and manipulating LDAP-entries +Group: Development/Libraries +License: LGPLv3 +URL: http://pear.php.net/package/Net_LDAP2 +Source0: http://pear.php.net/get/%{pear_name}-%{version}.tgz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +BuildRequires: php-pear + +Requires(post): %{__pear} +Requires(postun): %{__pear} +Requires: php-pear + +Provides: php-pear(%{pear_name}) = %{version}-%{release} + +%description +Net_LDAP2 is the successor of Net_LDAP which is a clone of Perls Net::LDAP +object interface to directory servers. It does contain most of Net::LDAPs +features but has some own too. +With Net_LDAP2 you have: +* A simple object-oriented interface to connections, searches entries and filters. +* Support for tls and ldap v3. +* Simple modification, deletion and creation of ldap entries. +* Support for schema handling. + +Net_LDAP2 layers itself on top of PHP's existing ldap extensions. + +%prep +%setup -q -c + +mv package.xml %{pear_name}-%{version}/%{pear_name}.xml + + +%build +cd %{pear_name}-%{version} +# Empty build section, most likely nothing required. + + +%install +rm -rf %{buildroot} docdir + +pushd %{pear_name}-%{version} +%{__pear} install --nodeps --packagingroot %{buildroot} %{pear_name}.xml + +# Clean up unnecessary files +rm -rf %{buildroot}%{pear_phpdir}/.??* + +# Install XML package description +%{__mkdir_p} %{buildroot}%{pear_xmldir} +%{__install} -pm 644 %{pear_name}.xml %{buildroot}%{pear_xmldir} + +popd + +# For troubleshooting macros: + +echo "pear_metadir: '%{pear_metadir}'" + +%check +# Sanity check +lst=$(find %{buildroot}%{pear_phpdir} -exec grep -q %{buildroot} {} \; -print) +[ ! -z "$lst" ] && echo "Reference to BUILDROOT in $lst" && exit 1; + +%clean +rm -rf %{buildroot} + +%post +%{__pear} install --nodeps --soft --force --register-only \ + %{pear_xmldir}/%{pear_name}.xml >/dev/null || : + +%postun +if [ $1 -eq 0 ] ; then + %{__pear} uninstall --nodeps --ignore-errors --register-only \ + %{pear_name} >/dev/null || : +fi + +%files +%defattr(-,root,root,-) +%doc %{pear_docdir}/%{pear_name} +%dir %{pear_phpdir}/Net +%{pear_phpdir}/Net/LDAP2 +%{pear_phpdir}/Net/LDAP2.php +%{pear_testdir}/%{pear_name} +%if 0%{?suse_version} +%dir %{pear_xmldir} +%endif +%{pear_xmldir}/%{pear_name}.xml +%if 0%{?rhel} < 1 +%{pear_metadir}/.registry/net_ldap2.reg +%exclude %{pear_metadir} +%endif + +%changelog +* Sat Jun 05 2010 Christoph Wickert <wickert@kolabsys.com> - 2.0.9-3 +- Adjust requirements for php-channel(pear.horde.org) + +* Sun May 9 2010 Jeroen van Meeuwen <vanmeeuwen@kolabsys.com> - 2.0.9-2 +- Package for Fedora/EPEL +
View file
php5-pear-Net_LDAP2.spec
Deleted
@@ -1,114 +0,0 @@ -# -# spec file for package php5-pear-Net_LDAP2 -# -# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. -# -# All modifications and additions to the file contributed by third parties -# remain the property of their copyright owners, unless otherwise agreed -# upon. The license for this file, and modifications and additions to the -# file, is the same license as for the pristine package itself (unless the -# license for the pristine package is not an Open Source License, in which -# case the license is the MIT License). An "Open Source License" is a -# license that conforms to the Open Source Definition (Version 1.9) -# published by the Open Source Initiative. - -# Please submit bugfixes or comments via http://bugs.opensuse.org/ -# - - -Name: php5-pear-Net_LDAP2 -%define pear_name Net_LDAP2 -%define pear_sname net_ldap2 -Summary: Object oriented interface for searching and manipulating LDAP-entries -License: LGPL-3.0 -Group: Productivity/Networking/Web/Servers -Version: 2.0.12 -Release: 0 -BuildArch: noarch -Url: http://pear.php.net/package/%{pear_name} -Source0: %{pear_name}-%{version}.tgz -Source1: LICENSE - -BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: php >= 5.0 -%if 0%{?sles_version} == 10 -BuildRequires: php-macros -%else -BuildRequires: php-devel >= 5.0 -%endif -BuildRequires: php-pear >= 1.5.0 -Requires: php >= 5.0 -Requires: php-pear >= 1.5.0 -Requires: php-ldap -#pecl extension. No separate project, comes with php5 project - -Provides: php-pear-%{pear_name} pear-%{pear_name} -# Fix for renaming (package convention) -Provides: php5-pear-%{pear_sname} = %{version} -Provides: php-pear-%{pear_sname} = %{version} -Provides: pear-%{pear_sname} = %{version} -Obsoletes: php5-pear-%{pear_sname} < %{version} -Obsoletes: php-pear-%{pear_sname} < %{version} -Obsoletes: pear-%{pear_sname} < %{version} - -%description -Net_LDAP2 is the successor of Net_LDAP which is a clone of Perls Net::LDAPobject interface to directory servers. -It does contain most of Net::LDAP's features but has some own too. -With Net_LDAP2 you have: - * A simple object-oriented interface to connections, searches entries and filters. - * Support for tls and ldap v3. - * Simple modification, deletion and creation of ldap entries. - * Support for schema handling. - -Net_LDAP2 layers itself on top of PHP's existing ldap extensions. - -%prep - -%setup -c -%{__cp} %{SOURCE1} . - -%build - -%install -%{__mv} package*.xml %{pear_name}-%{version} -cd %{pear_name}-%{version} -PHP_PEAR_PHP_BIN="$(which php) -d memory_limit=50m" -%{__pear} -v \ - -d doc_dir=/doc \ - -d bin_dir=%{_bindir} \ - -d data_dir=%{php_peardir}/data \ - install --force --offline --nodeps -R "%{buildroot}" package.xml - -%{__install} -D -m 0644 package.xml %{buildroot}%{php_pearxmldir}/%{pear_name}.xml - -%{__rm} -rf %{buildroot}/{doc,tmp} -%{__rm} -rf %{buildroot}%{php_peardir}/.{filemap,lock,registry,channels,depdb,depdblock} - -cd .. - -%php_pear_gen_filelist - -%post -# on `rpm -ivh` PARAM is 1 -# on `rpm -Uvh` PARAM is 2 -if [ "$1" = "1" ]; then - %{__pear} install --nodeps --soft --force --register-only %{php_pearxmldir}/%{pear_name}.xml -fi -if [ "$1" = "2" ]; then - %{__pear} upgrade --offline --register-only %{php_pearxmldir}/%{pear_name}.xml -fi - -%postun -# on `rpm -e` PARAM is 0 -if [ "$1" = "0" ]; then - %{__pear} uninstall --nodeps --ignore-errors --register-only pear.php.net/%{pear_name} -fi - -%clean -%{__rm} -rf %{buildroot} - -%files -f %{name}.files -%defattr(-, root, root) -%doc LICENSE - -%changelog
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.