Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > 4fc50e7e3158e4ef9cd4ed6e00ceca23 > files > 1

php-ini-5.2.4-1mdv2008.0.src.rpm

%define _enable_debug_packages %{nil}
%define debug_package          %{nil}

Summary:	INI files for PHP
Name:		php-ini
Version:	5.2.4
Release:	%mkrel 1
Group:		Development/Other
URL:		http://www.php.net
License:	PHP License
Source0:	php.ini
Requires(post):	ccp >= 0.4.0
BuildRoot:	%{_tmppath}/%{name}-%{version}-buildroot

%description
The php-ini package contains the ini file required for PHP.

%prep

%setup -c -T

install -m0644 %{SOURCE0} php.ini

# lib64 hack
perl -p -i -e "s|/usr/lib|%{_libdir}|" php.ini

%build

%install
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

install -d %{buildroot}%{_sysconfdir}/php.d
install -d %{buildroot}%{_libdir}/php/extensions

install -m0644 php.ini %{buildroot}%{_sysconfdir}/php.ini

%post
# Upgrade the configuration file using ccp if needed
# More information in ccp(1)
ccp --backup --delete --ifexist --set NoOrphans --type ini --oldfile %{_sysconfdir}/php.ini --newfile %{_sysconfdir}/php.ini.rpmnew

%clean
[ "%{buildroot}" != "/" ] && rm -rf %{buildroot}

%files 
%defattr(-,root,root)
%attr(0644,root,root) %config(noreplace) %{_sysconfdir}/php.ini
%dir %{_sysconfdir}/php.d
%dir %{_libdir}/php
%dir %{_libdir}/php/extensions


%changelog
* Sat Sep 01 2007 Oden Eriksson <oeriksson@mandriva.com> 5.2.4-1mdv2008.0
+ Revision: 77450
- sync with php-5.2.4

* Fri Jun 01 2007 Oden Eriksson <oeriksson@mandriva.com> 5.2.3-1mdv2008.0
+ Revision: 33675
- sync with 5.2.3

* Thu May 03 2007 Oden Eriksson <oeriksson@mandriva.com> 5.2.2-1mdv2008.0
+ Revision: 20996
- sync with 5.2.2
- change the upload_tmp_dir value to /var/tmp because /var usually has more space


* Fri Mar 09 2007 Oden Eriksson <oeriksson@mandriva.com> 5.2.1-2mdv2007.1
+ Revision: 138798
- increase upload_max_filesize from 2mb to 8mb

* Thu Feb 08 2007 Oden Eriksson <oeriksson@mandriva.com> 5.2.1-1mdv2007.1
+ Revision: 117629
- sync with php-5.2.1

* Thu Nov 09 2006 Oden Eriksson <oeriksson@mandriva.com> 5.2.0-2mdv2007.1
+ Revision: 79262
- remove the old hardened-php patch entries

* Tue Nov 07 2006 Oden Eriksson <oeriksson@mandriva.com> 5.2.0-1mdv2007.0
+ Revision: 77359
- rebuilt for php-5.2.0

* Thu Nov 02 2006 Oden Eriksson <oeriksson@mandriva.com> 5.1.6-1mdv2007.1
+ Revision: 75246
- Import php-ini

* Mon Aug 28 2006 Oden Eriksson <oeriksson@mandriva.com> 5.1.6-1
- sync with php-5.1.6

* Sun May 14 2006 Oden Eriksson <oeriksson@mandriva.com> 5.1.4-2mdk
- move the session related stuff to the php-session package

* Sat May 06 2006 Oden Eriksson <oeriksson@mandriva.com> 5.1.4-1mdk
- sync with php-5.1.4
- put php session data in /var/lib/php and clean it 
  like debian does (#22210)

* Wed Feb 01 2006 Eskild Hustvedt <eskild@mandriva.org> 5.1.2-2mdk
- Updated to use the new ccp syntax and the ini-type

* Sun Jan 15 2006 Oden Eriksson <oeriksson@mandriva.com> 5.1.2-1mdk
- sync with php-5.1.2

* Thu Jan 12 2006 Eskild Hustvedt <eskild@mandriva.org> 5.1.1-4mdk
- Fixed ccp syntax
- Requires(post) not Requires on ccp

* Wed Jan 11 2006 Eskild Hustvedt <eskild@mandriva.org> 5.1.1-3mdk
- Now uses ccp for automatic configuration upgrade

* Thu Dec 01 2005 Oden Eriksson <oeriksson@mandriva.com> 5.1.1-2mdk
- really sync with php-5.1.1
- added the [hardening-patch] entries
- disable making a debug package as it won't apply (thanks rgs)

* Tue Nov 29 2005 Oden Eriksson <oeriksson@mandriva.com> 5.1.1-1mdk
- php-5.1.1

* Sat Nov 26 2005 Oden Eriksson <oeriksson@mandriva.com> 5.1.0-1mdk
- php-5.1.0

* Thu Nov 03 2005 Oden Eriksson <oeriksson@mandriva.com> 5.1.0-0.RC4.1mdk
- rebuilt against php-5.1.0RC4

* Sun Oct 02 2005 Oden Eriksson <oeriksson@mandriva.com> 5.1.0-0.RC1.1mdk
- synced with the php.ini-dist file from 5.1.0RC1

* Wed Sep 07 2005 Oden Eriksson <oeriksson@mandriva.com> 5.0.5-1mdk
- rebuilt against php-5.0.5 (Major security fixes)

* Wed Aug 03 2005 Oden Eriksson <oeriksson@mandriva.com> 5.0.4-4mdk
- increase the default memory limit (8mb is not enough...)

* Fri Jul 22 2005 Oden Eriksson <oeriksson@mandriva.com> 5.0.4-3mdk
- this cannot be a noarch package

* Wed Jul 13 2005 Oden Eriksson <oeriksson@mandriva.com> 5.0.4-2mdk
- sync with the latest hardened-php patch

* Fri May 27 2005 Oden Eriksson <oeriksson@mandriva.com> 5.0.4-1mdk
- rename the package

* Sun Apr 17 2005 Oden Eriksson <oeriksson@mandriva.com> 5.0.4-1mdk
- 5.0.4

* Sun Mar 20 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 5.0.3-3mdk
- use the %%mkrel macro

* Sat Feb 12 2005 Oden Eriksson <oeriksson@mandrakesoft.com> 5.0.3-2mdk
- fix the include path

* Fri Dec 17 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 5.0.3-1mdk
- rebuilt for php-5.0.3

* Mon Nov 08 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 5.0.2-2mdk
- added Hardened-PHP's variable filter entry in php5.ini

* Sat Sep 25 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 5.0.2-1mdk
- rebuilt for php-5.0.2

* Sun Aug 15 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 5.0.1-1mdk
- rebuilt for php-5.0.1

* Wed Aug 11 2004 Oden Eriksson <oeriksson@mandrakesoft.com> 5.0.0-1mdk
- built for 5.0.0
- updated S0