up to 20120918
authorElan Ruusamäe <glen@delfi.ee>
Wed, 13 Mar 2013 19:52:44 +0000 (21:52 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Thu, 17 Aug 2017 19:19:43 +0000 (22:19 +0300)
confdir.patch
dokuwiki-plugin-redirect.spec

index 5f57659..f75dcd0 100644 (file)
@@ -9,14 +9,14 @@
          if($redirects[$ID]){
              if(preg_match('/^https?:\/\//',$redirects[$ID])){
                  send_redirect($redirects[$ID]);
---- dokuwiki-plugin-redirect-20100613/admin.php        2011-02-06 20:26:05.000000000 +0200
-+++ dokuwiki-plugin-redirect-20100613/admin.php        2012-05-30 16:28:48.784865018 +0300
+--- dokuwiki-plugin-redirect-20120918/admin.php~       2012-09-18 21:46:55.000000000 +0300
++++ dokuwiki-plugin-redirect-20120918/admin.php        2012-09-18 21:47:33.419278055 +0300
 @@ -37,7 +37,7 @@
       */
      function handle() {
          if($_POST['redirdata']){
--            if(io_saveFile(dirname(__FILE__).'/redirect.conf',$_POST['redirdata'])){
-+            if(io_saveFile(DOKU_CONF.'/redirect.conf',$_POST['redirdata'])){
+-            if(io_saveFile(dirname(__FILE__).'/redirect.conf',cleanText($_POST['redirdata']))){
++            if(io_saveFile(DOKU_CONF.'/redirect.conf',cleanText($_POST['redirdata']))){
                  msg($this->getLang('saved'),1);
              }
          }
index a36d268..739383c 100644 (file)
@@ -3,12 +3,13 @@
 %include       /usr/lib/rpm/macros.php
 Summary:       DokuWiki redirect plugin
 Name:          dokuwiki-plugin-%{plugin}
-Version:       20100613
-Release:       6
+Version:       20120918
+Release:       0.1
 License:       GPL v2
 Group:         Applications/WWW
-Source0:       http://github.com/splitbrain/dokuwiki-plugin-%{plugin}/tarball/master#/%{plugin}-%{version}.tgz
-# Source0-md5: 8d5d6191b14ef16bc75975d1f206fa72
+#Source0:      http://github.com/splitbrain/dokuwiki-plugin-%{plugin}/tarball/master#/%{plugin}-%{version}.tgz
+Source0:       https://github.com/glensc/dokuwiki-plugin-redirect/tarball/cleantext/#/%{plugin}-%{version}.tgz
+# Source0-md5: e75c0f0462e790c4824125aca8e0b5fc
 Patch0:                confdir.patch
 URL:           http://www.dokuwiki.org/plugin:redirect
 BuildRequires: rpm-php-pearprov >= 4.4.2-11
@@ -44,6 +45,7 @@ rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{plugindir}
 cp -a . $RPM_BUILD_ROOT%{plugindir}
 %{__rm} $RPM_BUILD_ROOT%{plugindir}/README
+%{__rm} $RPM_BUILD_ROOT%{plugindir}/*/.gitignore
 
 install -d $RPM_BUILD_ROOT%{dokuconf}
 touch $RPM_BUILD_ROOT%{dokuconf}/%{plugin}.conf
This page took 0.061352 seconds and 4 git commands to generate.