]> git.pld-linux.org Git - packages/dokuwiki.git/commitdiff
up to 2012-09-08 snap
authorElan Ruusamäe <glen@delfi.ee>
Sat, 8 Sep 2012 15:05:38 +0000 (18:05 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sat, 8 Sep 2012 15:05:38 +0000 (18:05 +0300)
dokuwiki.spec
task-1821.patch

index bc221c35ddb6959eac9cbabb2b9cfcb5d036afa2..116d44924702673c48baa8136a1ba0805b250218 100644 (file)
@@ -1,4 +1,4 @@
-%define                subver  2012-07-30
+%define                subver  2012-09-08
 %define                ver             %(echo %{subver} | tr -d -)
 %define                snap    1
 %define                php_min_version 5.2.4
@@ -7,12 +7,12 @@ Summary:      PHP-based Wiki webapplication
 Summary(pl.UTF-8):     Aplikacja WWW Wiki oparta na PHP
 Name:          dokuwiki
 Version:       %{ver}
-Release:       0.12
+Release:       0.19
 License:       GPL v2
 Group:         Applications/WWW
 #Source0:      http://www.splitbrain.org/_media/projects/dokuwiki/%{name}-%{subver}.tgz
 Source0:       http://github.com/splitbrain/dokuwiki/tarball/master/%{name}-%{subver}.tgz
-# Source0-md5: fbe020fa8a4929d3376db23d195548a8
+# Source0-md5: 7ad81d1b833c9e0c7356afc2d5af2633
 Source1:       %{name}-apache.conf
 Source2:       %{name}-lighttpd.conf
 Source3:       http://glen.alkohol.ee/pld/jude.png
@@ -338,7 +338,9 @@ exit 0
 %{_appdir}/inc/parser
 
 %dir %{_appdir}/lib
-%dir %{_appdir}/lib/plugins
+# allow plugins dir permission change to allow installation of plugins from admin
+# however does not work with rpm 4.5
+%dir %config %verify(not mode group) %{_appdir}/lib/plugins
 %dir %{_appdir}/lib/plugins/acl
 %{_appdir}/lib/plugins/acl/*.*
 %{_appdir}/lib/plugins/acl/pix
index 88bc73179b1a32c890a5b7fb81b060d01e6b1bc7..08257be1c346e00041b36eef45ef4f9ed15e8192 100644 (file)
@@ -33,17 +33,17 @@ http://wintersunset.delfi.lan/dokuwiki/googledrawing?do=diff&rev1=1345291381&rev
                          'difftype' => $type,
                        ));
          ptln('<br /><a class="wikilink1" href="'.$diffurl.'">'.$lang['difflink'].'</a>');
---- dokuwiki-2012-07-16/inc/common.php~        2012-07-16 11:55:03.000000000 +0300
-+++ dokuwiki-2012-07-16/inc/common.php 2012-07-16 11:58:26.626127713 +0300
-@@ -1178,6 +1178,8 @@
+--- dokuwiki-2012-09-08/inc/common.php~        2012-09-08 17:57:46.000000000 +0300
++++ dokuwiki-2012-09-08/inc/common.php 2012-09-08 17:58:26.151228475 +0300
+@@ -1179,6 +1179,8 @@
      } elseif($rev) {
          $subject         = $lang['mail_changed'].' '.$id;
          $trep['OLDPAGE'] = wl($id, "rev=$rev", true, '&');
 +        $rev2            = $INFO['meta']['date']['modified'];
 +        $trep['DIFFPAGE']= wl($id,"do=diff&r1=$rev&r2=$rev2",true,'&');
-         $df              = new Diff(explode("\n", rawWiki($id, $rev)),
-                                     explode("\n", rawWiki($id)));
-         $dformat         = new UnifiedDiffFormatter();
+         $old_content     = rawWiki($id, $rev);
+         $new_content     = rawWiki($id);
+         $df              = new Diff(explode("\n", $old_content),
 @@ -1191,6 +1193,7 @@
      } else {
          $subject         = $lang['mail_newpage'].' '.$id;
This page took 0.27158 seconds and 4 git commands to generate.