SPECS: eventum.spec - add sample permission grant script - disable...

glen glen at pld-linux.org
Mon Jun 19 14:10:53 CEST 2006


Author: glen                         Date: Mon Jun 19 12:10:53 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- add sample permission grant script
- disable fixed nav patch (breaks too much)

---- Files affected:
SPECS:
   eventum.spec (1.183 -> 1.184) 

---- Diffs:

================================================================
Index: SPECS/eventum.spec
diff -u SPECS/eventum.spec:1.183 SPECS/eventum.spec:1.184
--- SPECS/eventum.spec:1.183	Thu Jun 15 21:04:50 2006
+++ SPECS/eventum.spec	Mon Jun 19 14:10:47 2006
@@ -14,7 +14,7 @@
 
 #define	_snap	20060330
 #define	_rc		RC3
-%define	_rel	2.25
+%define	_rel	2.26
 
 %include	/usr/lib/rpm/macros.php
 Summary:	Eventum Issue / Bug tracking system
@@ -500,7 +500,7 @@
 %patch16 -p1
 %patch17 -p1
 %patch18 -p1
-%patch19 -p1
+#%patch19 -p1
 
 # packaging
 %patch100 -p1
@@ -512,6 +512,12 @@
 %patch106 -p1
 %patch107 -p1
 
+cat <<'EOF'> mysql-permissions.sql
+# use this schema if you want to grant permissions manually instead of using setup
+# this schema is extracted from setup/index.php.
+GRANT SELECT, UPDATE, DELETE, INSERT, ALTER, DROP, CREATE, INDEX ON eventum.* TO 'eventum'@'localhost' IDENTIFIED BY 'password';
+EOF
+
 sed -e '1s,#!.*/bin/php -q,#!%{_bindir}/php,' misc/cli/eventum > %{name}-cli
 sed -e '1i#!%{_bindir}/php' misc/scm/process_cvs_commits.php > %{name}-scm
 sed -e '1i#!%{_bindir}/php' misc/irc/bot.php > %{name}-bot
@@ -849,7 +855,7 @@
 %files
 %defattr(644,root,root,755)
 %doc ChangeLog FAQ INSTALL README UPGRADE CONTRIB
-%doc docs/* setup/schema.sql
+%doc docs/* setup/schema.sql mysql-permissions.sql
 %attr(751,root,root) %dir %{_webappdir}
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/apache.conf
 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webappdir}/httpd.conf
@@ -980,6 +986,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.184  2006/06/19 12:10:47  glen
+- add sample permission grant script
+- disable fixed nav patch (breaks too much)
+
 Revision 1.183  2006/06/15 19:04:50  glen
 - add -compact-issue-display.patch and -fixed-nav.patch patches
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/eventum.spec?r1=1.183&r2=1.184&f=u



More information about the pld-cvs-commit mailing list