pmwiki: update to 2.1.27
This commit is contained in:
parent
331d5db948
commit
ebf4369cd0
@ -83,8 +83,8 @@ drwxr-xr-x root/root var/www/pmwiki/scripts/
|
||||
-rw-r--r-- root/root var/www/pmwiki/scripts/version.php
|
||||
-rw-r--r-- root/root var/www/pmwiki/scripts/wikistyles.php
|
||||
-rw-r--r-- root/root var/www/pmwiki/scripts/xlpage-utf-8.php
|
||||
drwx------ nobody/root var/www/pmwiki/uploads/
|
||||
drwx------ nobody/root var/www/pmwiki/wiki.d/
|
||||
drwx------ www/root var/www/pmwiki/uploads/
|
||||
drwx------ www/root var/www/pmwiki/wiki.d/
|
||||
drwxr-xr-x root/root var/www/pmwiki/wikilib.d/
|
||||
-rw-r--r-- root/root var/www/pmwiki/wikilib.d/Main.HomePage
|
||||
-rw-r--r-- root/root var/www/pmwiki/wikilib.d/Main.WikiSandbox
|
||||
|
@ -1,2 +1 @@
|
||||
909ecbce81827aa9b153161ca8a960b6 pmwiki-2.1.26.patch
|
||||
5bc04e195628f5c5f634b482f6c68c5a pmwiki-2.1.26.tgz
|
||||
49645be61d77b604cf8a7bc43ebdd0f3 pmwiki-2.1.27.tgz
|
||||
|
@ -4,15 +4,13 @@
|
||||
# Depends on: mod_php
|
||||
|
||||
name=pmwiki
|
||||
version=2.1.26
|
||||
release=2
|
||||
source=(http://www.pmwiki.org/pub/$name/$name-$version.tgz \
|
||||
$name-$version.patch)
|
||||
version=2.1.27
|
||||
release=1
|
||||
source=(http://www.pmwiki.org/pub/$name/$name-$version.tgz)
|
||||
|
||||
build () {
|
||||
(cd $name-$version; patch -p1 -i $SRC/$name-$version.patch)
|
||||
install -d $PKG/var/www/$name
|
||||
install -d -o nobody -m 700 $PKG/var/www/$name/{wiki.d,uploads}
|
||||
install -d -o www -m 700 $PKG/var/www/$name/{wiki.d,uploads}
|
||||
cp -R $name-$version/* $PKG/var/www/$name
|
||||
mv $PKG/var/www/$name/{docs/sample-config.php,local/config.php.sample}
|
||||
rm -r $PKG/var/www/$name/docs
|
||||
|
@ -1,15 +0,0 @@
|
||||
diff -Nru pmwiki-2.1.26.orig/pmwiki.php pmwiki-2.1.26/pmwiki.php
|
||||
--- pmwiki-2.1.26.orig/pmwiki.php 2006-11-04 10:56:15.000000000 +0100
|
||||
+++ pmwiki-2.1.26/pmwiki.php 2006-11-04 10:55:42.000000000 +0100
|
||||
@@ -1097,7 +1097,10 @@
|
||||
if ($t=='caption') return "<:table,1>$y";
|
||||
if (@$MarkupFrame[0]['cs'][0] != 'table') $rowcount = 0; else $rowcount++;
|
||||
$FmtV['$TableRowCount'] = $rowcount + 1;
|
||||
- $FmtV['$TableRowIndex'] = ($rowcount % $TableRowIndexMax) + 1;
|
||||
+ if ($TableRowIndexMax > 0)
|
||||
+ $FmtV['$TableRowIndex'] = ($rowcount % $TableRowIndexMax) + 1;
|
||||
+ else
|
||||
+ $FmtV['$TableRowIndex'] = $rowcount + 1;
|
||||
$trattr = FmtPageName($TableRowAttrFmt, '');
|
||||
return "<:table,1><tr $trattr>$y</tr>";
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user