]> git.pld-linux.org Git - packages/dokuwiki.git/commitdiff
- use system adldap package
authorElan Ruusamäe <glen@pld-linux.org>
Mon, 11 Jan 2010 12:49:52 +0000 (12:49 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    adldap.patch -> 1.1
    dokuwiki.spec -> 1.70

adldap.patch [new file with mode: 0644]
dokuwiki.spec

diff --git a/adldap.patch b/adldap.patch
new file mode 100644 (file)
index 0000000..425da3b
--- /dev/null
@@ -0,0 +1,11 @@
+--- dokuwiki-2009-12-25/inc/auth/ad.class.php~ 2009-12-25 12:14:41.000000000 +0200
++++ dokuwiki-2009-12-25/inc/auth/ad.class.php  2010-01-11 14:46:38.446655609 +0200
+@@ -32,7 +32,7 @@
+  *  @author  Andreas Gohr <andi@splitbrain.org>
+  */
+-require_once(DOKU_INC.'inc/adLDAP.php');
++require_once 'adLDAP.php';
+ class auth_ad extends auth_basic {
+     var $cnf = null;
index 83d5dfa5bcd59741f2d1b5d7dc54abaa20c339b5..bd785e7c35839f48e7e9be7393da2c7d7fca4374 100644 (file)
@@ -1,5 +1,3 @@
-# TODO
-# - external: http://adldap.sourceforge.net/
 %define                subver  2009-12-25
 %define                ver             %(echo %{subver} | tr -d -)
 %define                php_min_version 5.1.2
@@ -8,7 +6,7 @@ Summary:        PHP-based Wiki webapplication
 Summary(pl.UTF-8):     Aplikacja WWW Wiki oparta na PHP
 Name:          dokuwiki
 Version:       %{ver}
-Release:       0.16
+Release:       0.18
 License:       GPL v2
 Group:         Applications/WWW
 Source0:       http://www.splitbrain.org/_media/projects/dokuwiki/%{name}-%{subver}.tgz
@@ -42,6 +40,7 @@ Patch18:      install.patch
 Patch19:       pld-branding.patch
 Patch20:       fixprivilegeescalationbug.diff
 Patch21:       task-1821.patch
+Patch22:       adldap.patch
 URL:           http://www.dokuwiki.org/dokuwiki
 BuildRequires: rpm-php-pearprov >= 4.4.2-11
 BuildRequires: rpmbuild(macros) >= 1.520
@@ -53,6 +52,7 @@ Requires:     webapps
 Requires:      webserver(access)
 Requires:      webserver(alias)
 Requires:      webserver(php)
+Suggests:      php-adldap >= 3.3.1
 Suggests:      php-gd
 # can use gz compression to store attic pages
 Suggests:      php-zlib
@@ -131,6 +131,7 @@ pozostawienie plików instalacyjnych mogłoby być niebezpieczne.
 %patch19 -p1
 %patch20 -p1
 %patch21 -p1
+%patch22 -p1
 
 %patch66 -p1
 
@@ -144,6 +145,9 @@ mv conf/words.aspell{.dist,}
 rm -f inc/geshi.php
 rm -rf inc/geshi
 
+# use system adldap package
+rm -f inc/adLDAP.php
+
 # use system simplepie package
 rm -f inc/SimplePie.php
 
This page took 0.0901 seconds and 4 git commands to generate.