diff --git a/ipasserelle-phpmyadmin.spec b/ipasserelle-phpmyadmin.spec index a726f7a..079483c 100644 --- a/ipasserelle-phpmyadmin.spec +++ b/ipasserelle-phpmyadmin.spec @@ -1,4 +1,4 @@ -%define version 0.1.1 +%define version 0.1.2 %define release 1 %define name ipasserelle-phpmyadmin @@ -28,7 +28,12 @@ Obsoletes: smeserver-phpmyadmin phpMyAdmin integration for iPasserelle %changelog -* Wed Oct 10 2012 Daniel Berteaud - 0.1.1-1 +* Wed Oct 17 2012 Daniel Berteaud - 0.1.2-1 +- create phpmyadmin database +- save php sessions in /var/lib/phpMyAdmin/tmp +- create an sqladmin user with all privileges and use it instead of root + +* Wed Oct 10 2012 Daniel Berteaud - 0.1.1-1 - Authentication through LemonLDAP - Automatically get admin privileges if you are a member of the admins group @@ -39,6 +44,7 @@ phpMyAdmin integration for iPasserelle %setup -q %build +%{__mkdir_p} root/var/lib/phpMyAdmin/tmp perl ./createlinks %install @@ -46,8 +52,10 @@ rm -rf $RPM_BUILD_ROOT rm -f %{name}-%{version}-filelist (cd root ; /usr/bin/find . -depth -print | /bin/cpio -dump $RPM_BUILD_ROOT) /sbin/e-smith/genfilelist \ + --dir /var/lib/phpMyAdmin/tmp 'attr(0770,root,www)' \ $RPM_BUILD_ROOT > %{name}-%{version}-%{release}-filelist echo "%doc CHANGELOG.git" >> %{name}-%{version}-%{release}-filelist +echo "%doc phpmyadmin.sql" >> %{name}-%{version}-%{release}-filelist %files -f %{name}-%{version}-%{release}-filelist