Author: glen                         Date: Sun Jul  8 08:31:37 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 2012-07-08 snap

---- Files affected:
packages/dokuwiki:
   dokuwiki-geshi.patch (1.5 -> 1.6) , dokuwiki-http_auth-option.patch (1.5 -> 
1.6) , dokuwiki-notify-respect-minor.patch (1.2 -> 1.3) , 
dokuwiki-notifyns.patch (1.3 -> 1.4) , dokuwiki.spec (1.108 -> 1.109) 

---- Diffs:

================================================================
Index: packages/dokuwiki/dokuwiki-geshi.patch
diff -u packages/dokuwiki/dokuwiki-geshi.patch:1.5 
packages/dokuwiki/dokuwiki-geshi.patch:1.6
--- packages/dokuwiki/dokuwiki-geshi.patch:1.5  Thu Oct  7 21:29:29 2010
+++ packages/dokuwiki/dokuwiki-geshi.patch      Sun Jul  8 10:31:31 2012
@@ -1,9 +1,9 @@
---- dokuwiki-rc2010-10-07/inc/parserutils.php~ 2010-10-07 21:21:37.000000000 
+0300
-+++ dokuwiki-rc2010-10-07/inc/parserutils.php  2010-10-07 21:24:30.142987536 
+0300
-@@ -634,14 +634,14 @@
+--- dokuwiki-2012-07-08/./inc/parserutils.php~ 2012-07-07 13:06:48.000000000 
+0300
++++ dokuwiki-2012-07-08/./inc/parserutils.php  2012-07-08 11:20:06.395684716 
+0300
+@@ -748,14 +748,14 @@
      $cache = getCacheName($language.$code,".code");
      $ctime = @filemtime($cache);
-     if($ctime && !$_REQUEST['purge'] &&
+     if($ctime && !$INPUT->bool('purge') &&
 -            $ctime > filemtime(DOKU_INC.'inc/geshi.php') &&                 
// geshi changed
 -            $ctime > @filemtime(DOKU_INC.'inc/geshi/'.$language.'.php') &&  
// language syntax definition changed
 +            $ctime > filemtime('/usr/share/php/geshi.php') &&                 
// geshi changed

================================================================
Index: packages/dokuwiki/dokuwiki-http_auth-option.patch
diff -u packages/dokuwiki/dokuwiki-http_auth-option.patch:1.5 
packages/dokuwiki/dokuwiki-http_auth-option.patch:1.6
--- packages/dokuwiki/dokuwiki-http_auth-option.patch:1.5       Thu Oct  7 
21:29:29 2010
+++ packages/dokuwiki/dokuwiki-http_auth-option.patch   Sun Jul  8 10:31:31 2012
@@ -8,14 +8,14 @@
  $conf['securecookie'] = 1;               //never send HTTPS cookies via HTTP
  
  /* Advanced Options */
---- dokuwiki-rc2010-10-07/inc/auth.php~        2010-10-07 21:25:10.000000000 
+0300
-+++ dokuwiki-rc2010-10-07/inc/auth.php 2010-10-07 21:26:19.795893378 +0300
-@@ -77,7 +77,7 @@
+--- dokuwiki-2012-07-08/inc/auth.php~  2012-07-07 13:06:48.000000000 +0300
++++ dokuwiki-2012-07-08/inc/auth.php   2012-07-08 11:21:54.220213692 +0300
+@@ -84,7 +84,7 @@
      }
  
      // if no credentials were given try to use HTTP auth (for SSO)
--    if(empty($_REQUEST['u']) && empty($_COOKIE[DOKU_COOKIE]) && 
!empty($_SERVER['PHP_AUTH_USER'])){
-+    if($conf['http_auth'] && empty($_REQUEST['u']) && 
empty($_COOKIE[DOKU_COOKIE]) && !empty($_SERVER['PHP_AUTH_USER'])){
-         $_REQUEST['u'] = $_SERVER['PHP_AUTH_USER'];
-         $_REQUEST['p'] = $_SERVER['PHP_AUTH_PW'];
-         $_REQUEST['http_credentials'] = true;
+-    if(!$INPUT->str('u') && empty($_COOKIE[DOKU_COOKIE]) && 
!empty($_SERVER['PHP_AUTH_USER'])) {
++    if($conf['http_auth'] && !$INPUT->str('u') && 
empty($_COOKIE[DOKU_COOKIE]) && !empty($_SERVER['PHP_AUTH_USER'])) {
+         $INPUT->set('u', $_SERVER['PHP_AUTH_USER']);
+         $INPUT->set('p', $_SERVER['PHP_AUTH_PW']);
+         $INPUT->set('http_credentials', true);

================================================================
Index: packages/dokuwiki/dokuwiki-notify-respect-minor.patch
diff -u packages/dokuwiki/dokuwiki-notify-respect-minor.patch:1.2 
packages/dokuwiki/dokuwiki-notify-respect-minor.patch:1.3
--- packages/dokuwiki/dokuwiki-notify-respect-minor.patch:1.2   Thu Oct  7 
21:29:29 2010
+++ packages/dokuwiki/dokuwiki-notify-respect-minor.patch       Sun Jul  8 
10:31:31 2012
@@ -1,9 +1,9 @@
---- dokuwiki-rc2010-10-07/inc/common.php~      2010-10-07 21:27:15.000000000 
+0300
-+++ dokuwiki-rc2010-10-07/inc/common.php       2010-10-07 21:28:01.732549375 
+0300
-@@ -1073,6 +1073,7 @@
-     // decide if there is something to do
-     if($who == 'admin'){
-         if(empty($conf['notify'])) return; //notify enabled?
+--- dokuwiki-2012-07-08/inc/common.php~        2012-07-07 13:06:48.000000000 
+0300
++++ dokuwiki-2012-07-08/inc/common.php 2012-07-08 11:23:14.913603122 +0300
+@@ -1110,6 +1110,7 @@
+     // decide if there is something to do, eg. whom to mail
+     if($who == 'admin') {
+         if(empty($conf['notify'])) return false; //notify enabled?
 +        if($conf['useacl'] && $_SERVER['REMOTE_USER'] && $minor) return; 
//skip minors
          $text = rawLocale('mailtext');
          $to   = $conf['notify'];

================================================================
Index: packages/dokuwiki/dokuwiki-notifyns.patch
diff -u packages/dokuwiki/dokuwiki-notifyns.patch:1.3 
packages/dokuwiki/dokuwiki-notifyns.patch:1.4
--- packages/dokuwiki/dokuwiki-notifyns.patch:1.3       Thu Oct  7 21:29:29 2010
+++ packages/dokuwiki/dokuwiki-notifyns.patch   Sun Jul  8 10:31:31 2012
@@ -1,5 +1,5 @@
---- dokuwiki-rc2010-10-07/inc/common.php~      2010-10-07 21:31:18.000000000 
+0300
-+++ dokuwiki-rc2010-10-07/inc/common.php       2010-10-07 21:33:06.502518916 
+0300
+--- dokuwiki-2012-07-08/inc/common.php~        2012-07-08 11:24:16.000000000 
+0300
++++ dokuwiki-2012-07-08/inc/common.php 2012-07-08 11:25:44.509886848 +0300
 @@ -902,6 +902,34 @@
    return $date;
  }
@@ -35,28 +35,28 @@
  /**
   * Sends a notify mail on page change
   *
-@@ -1100,10 +1100,10 @@
+@@ -1137,10 +1137,10 @@
  
-     // decide if there is something to do
-     if($who == 'admin'){
--        if(empty($conf['notify'])) return; //notify enabled?
+     // decide if there is something to do, eg. whom to mail
+     if($who == 'admin') {
+-        if(empty($conf['notify'])) return false; //notify enabled?
          if($conf['useacl'] && $_SERVER['REMOTE_USER'] && $minor) return; 
//skip minors
 +        $to   = notifyNS($id, $conf['notify']);
 +        if(empty($to)) return; //notify enabled?
          $text = rawLocale('mailtext');
 -        $to   = $conf['notify'];
          $bcc  = '';
-     }elseif($who == 'subscribers'){
-         if(!$conf['subscribers']) return; //subscribers enabled?
-@@ -1116,9 +1116,9 @@
+     } elseif($who == 'subscribers') {
+         if(!$conf['subscribers']) return false; //subscribers enabled?
+@@ -1155,9 +1155,9 @@
          $to   = '';
          $text = rawLocale('subscr_single');
-     }elseif($who == 'register'){
--        if(empty($conf['registernotify'])) return;
+     } elseif($who == 'register') {
+-        if(empty($conf['registernotify'])) return false;
 +        $to   = notifyNS($id, $conf['registernotify']);
 +        if(empty($to)) return;
          $text = rawLocale('registermail');
 -        $to   = $conf['registernotify'];
          $bcc  = '';
-     }else{
-         return; //just to be safe
+     } else {
+         return false; //just to be safe

================================================================
Index: packages/dokuwiki/dokuwiki.spec
diff -u packages/dokuwiki/dokuwiki.spec:1.108 
packages/dokuwiki/dokuwiki.spec:1.109
--- packages/dokuwiki/dokuwiki.spec:1.108       Sun Jul  8 09:41:44 2012
+++ packages/dokuwiki/dokuwiki.spec     Sun Jul  8 10:31:31 2012
@@ -1,5 +1,5 @@
 # $Revision$, $Date$
-%define                subver  2012-06-24
+%define                subver  2012-07-08
 %define                ver             %(echo %{subver} | tr -d -)
 %define                snap    1
 %define                php_min_version 5.2.4
@@ -8,12 +8,12 @@
 Summary(pl.UTF-8):     Aplikacja WWW Wiki oparta na PHP
 Name:          dokuwiki
 Version:       %{ver}
-Release:       1.11
+Release:       0.12
 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}.tgz
-# Source0-md5: 32e73e37068f66392be004374d885af9
+# Source0-md5: d7afe9a8a4a73637d4620017f16f4b6a
 Source1:       %{name}-apache.conf
 Source2:       %{name}-lighttpd.conf
 Source3:       http://glen.alkohol.ee/pld/jude.png
@@ -408,6 +408,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.109  2012/07/08 08:31:31  glen
+- up to 2012-07-08 snap
+
 Revision 1.108  2012/07/08 07:41:44  glen
 - use system jquery packages
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/packages/dokuwiki/dokuwiki-geshi.patch?r1=1.5&r2=1.6
    
http://cvs.pld-linux.org/packages/dokuwiki/dokuwiki-http_auth-option.patch?r1=1.5&r2=1.6
    
http://cvs.pld-linux.org/packages/dokuwiki/dokuwiki-notify-respect-minor.patch?r1=1.2&r2=1.3
    
http://cvs.pld-linux.org/packages/dokuwiki/dokuwiki-notifyns.patch?r1=1.3&r2=1.4
    http://cvs.pld-linux.org/packages/dokuwiki/dokuwiki.spec?r1=1.108&r2=1.109

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to