From d1af59c9e405ef230b76bac453faf74d9add86dc Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Wed, 17 Oct 2012 17:04:20 +0200 Subject: [PATCH] Update spec file --- ipasserelle-phpmyadmin.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) 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