--- rpms/smeserver-phpldapadmin/contribs10/smeserver-phpldapadmin.spec 2021/06/01 18:01:48 1.7 +++ rpms/smeserver-phpldapadmin/contribs10/smeserver-phpldapadmin.spec 2022/08/01 03:11:47 1.18 @@ -1,31 +1,61 @@ -# $Id: smeserver-phpldapadmin.spec,v 1.6 2021/06/01 17:42:02 jpp Exp $ +# $Id: smeserver-phpldapadmin.spec,v 1.17 2022/07/27 05:50:09 terryfage Exp $ # Authority: nocvs # Name: Michel Van hees -%define phpversion %{nil} Summary: PhpLdapAdmin for SME server %define name smeserver-phpldapadmin Name: %{name} -%define version 1.5.0 -%define release 3 +%define version 1.6.0 +%define release 8 Version: %{version} Release: %{release}%{?dist} License: Freely distributable Group: Apache Source: %{name}-%{version}.tar.gz #{name}-%{version}.patch.yyyymmddnn -Patch0: smeserver-phpldapadmin-1.5.0-bz11611.patch BuildRoot: /var/tmp/e-smith-buildroot BuildRequires: e-smith-devtools BuildArchitectures: noarch Requires: smeserver-release >= 10 -Requires: phpldapadmin >= 1.2.5 -Requires: php74-php-pecl-mcrypt +Requires: e-smith-apache >= 2.6.0-19 +Requires: phpldapadmin >= 1.2.6 +Patch0: smeserver-phpldapadmin-1.6.0-Add-in-update-event-and-php-fpm-stuff.patch +Patch1: smeserver-phpldapadmin-1.6.0-password-hash-renamed-in-config.patch +Patch2: smeserver-phpldapadmin-1.6.0-Alter-config-auth-type.patch +Patch3: smeserver-phpldapadmin-1.6.0-Remove-intial-req-to-login.patch +Patch4: smeserver-phpldapadmin-1.6.0-bz12055-httpd24.patch +Patch5:smeserver-phpldapadmin-1.6.0-bz12055-24syntax.patch AutoReqProv: no %changelog -* Tue Jun 01 2021 Jean-Philippe Pialasse 1.5.0-3.sme -- Initial release to contribs10 [SME: 11611] +* Sun Jul 31 2022 Jean-Philippe Pialasse 1.6.0-8.sme +- update to template httpd24 syntax [SME: 12055] + add Requires: e-smith-apache >= 2.6.0-19 + +* Wed Jul 27 2022 Zsolt Vasarhelyi 1.6.0-7.sme +- update to template httpd24 syntax [SME: 12055] + +* Sat Jul 23 2022 Jean-Philippe Pialasse 1.6.0-6.sme +- update access to httpd24 syntax [SME: 12055] + +* Wed Oct 06 2021 Brian Read 1.6.0-5.sme +- Remove-intial-req-to-login.patch [SME: 11699] + +* Tue Oct 05 2021 Brian Read 1.6.0-4.sme +- Alter auth-type config parameter to cookie from http [SME: 11699] + +* Mon Oct 04 2021 Brian Read 1.6.0-3.sme +- Update config to change password_hash to pla_ [SME: 11699 ] + +* Mon Oct 04 2021 BogusDateBot +- Eliminated rpmbuild "bogus date" warnings due to inconsistent weekday, + by assuming the date is correct and changing the weekday. + +* Mon Oct 04 2021 Brian Read 1.6.0-2.sme +- change php to fpm and add -update event to createlinks [SME: 11699] + +* Tue Sep 28 2021 John Crisp 1.6.0-1.sme +- Initial release to contribs10 [SME: 11699] * Sat Aug 22 2015 stephane de Labrusse 1.5.0-2.sme - Initial release to contribs9 @@ -48,35 +78,31 @@ AutoReqProv: no - clean spec file - added default db value (patch file) -* Thu Jun 26 2007 Michel Van hees +* Tue Jun 26 2007 Michel Van hees + Thu Jun 26 2007 --> Thu Jun 21 2007 or Tue Jun 26 2007 or Thu Jun 28 2007 or .... - Restart contrib from scratch - Use of phpldapadmin 0.9.8.3 %description -SME server - phpmyadmin multiuser for smeserver +SME server - phpldapadmin for smeserver %prep %setup %patch0 -p1 -mkdir -p root/var/lib/php/phpldapadmin/{tmp,opcache,session,wsdlcache} -mkdir -p root/var/log/php/phpldapadmin +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 %build -find . -type f | xargs grep -l ____PHPVERSION____ | xargs sed -i -e 's/____PHPVERSION____/%{phpversion}/g' perl createlinks %install rm -rf $RPM_BUILD_ROOT (cd root ; find . -depth -print | cpio -dump $RPM_BUILD_ROOT) rm -f %{name}-%{version}-filelist -/sbin/e-smith/genfilelist $RPM_BUILD_ROOT \ - --dir /var/lib/php/phpldapadmin/ 'attr(0755,root,www)' \ - --dir /var/lib/php/phpldapadmin/tmp 'attr(0770,www,www)' \ - --dir /var/lib/php/phpldapadmin/opcache 'attr(0770,www,www)' \ - --dir /var/lib/php/phpldapadmin/session 'attr(0770,www,www)' \ - --dir /var/lib/php/phpldapadmin/wsdlcache 'attr(0770,www,www)' \ - --dir /var/log/php/phpldapadmin 'attr(0770,root,www)' \ - > %{name}-%{version}-filelist +/sbin/e-smith/genfilelist $RPM_BUILD_ROOT > %{name}-%{version}-filelist echo "%doc COPYING" >> %{name}-%{version}-filelist %clean