DokuWiki

It's better when it's simple

User Tools

Site Tools


install:opensuse

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
install:opensuse [2015-07-02 13:11]
werner.flamme updated to Hrun, finally :-\
install:opensuse [2015-08-10 13:16] (current)
2001:4dd0:ff00:9581:552f:20cd:616c:16b3 replaced username with $HOME
Line 20: Line 20:
 set -x set -x
  
-RELEASE='2014-09-29d'+RELEASE='2015-08-10     # hey, that's my birthday :)
 NO_OF_COMP=5 NO_OF_COMP=5
 NEWNAME=$(echo "$RELEASE" | tr '-' '.') NEWNAME=$(echo "$RELEASE" | tr '-' '.')
-WORKDIR='/home/wflamme/openSUSE/home:werfl/dw-temp'+WORKDIR="$HOME/openSUSE/home:werfl/dw-temp"
 WWWDIR="$WORKDIR/DokuWiki/srv/www" WWWDIR="$WORKDIR/DokuWiki/srv/www"
 NEWCONFDIR='/etc/DokuWiki' NEWCONFDIR='/etc/DokuWiki'
Line 34: Line 34:
 DLFROM='http://download.dokuwiki.org/src/dokuwiki' DLFROM='http://download.dokuwiki.org/src/dokuwiki'
 DLFILE="dokuwiki-stable.tgz" DLFILE="dokuwiki-stable.tgz"
-# http://www.splitbrain.org/_media/projects/dokuwiki/dokuwiki-2009-12-25.tgz 
 # and get the file # and get the file
 wget -O "${WWWDIR}/DokuWiki.tgz" "${DLFROM}/${DLFILE}" wget -O "${WWWDIR}/DokuWiki.tgz" "${DLFROM}/${DLFILE}"
Line 53: Line 52:
 find "$WWWDIR/DokuWiki" -type f -executable | xargs chmod -x find "$WWWDIR/DokuWiki" -type f -executable | xargs chmod -x
 chmod +x $WWWDIR/DokuWiki/bin/*php chmod +x $WWWDIR/DokuWiki/bin/*php
-#for DAT in $WWWDIR/DokuWiki/bin/*php; do 
-#    sed -i 's|/usr/bin/php|/usr/bin/php5|' $DAT 
-#done 
  
-# write config for Apache+# write config for Apache 2.2 and 2.4
 # delete .htaccess, move it into Apache's conf # delete .htaccess, move it into Apache's conf
 cd "$WORKDIR/DokuWiki/etc" || exit 15 cd "$WORKDIR/DokuWiki/etc" || exit 15
Line 106: Line 102:
 # Spec File for Package DokuWiki # Spec File for Package DokuWiki
 # #
-Summary:        Wiki written in PHP to work without a database¬†+Summary:        Wiki written in PHP to work without a database¬†
-Summary(de):    ein in PHP geschriebenes Wiki, das keine Datenbank benutzt+Summary(de):    Ein in PHP geschriebenes Wiki, das keine Datenbank benutzt
 Name:           DokuWiki Name:           DokuWiki
-Version:        2014.09.29d+Version:        2015.08.10
 Release:        1%{?dist} Release:        1%{?dist}
 License:        GPL-2.0 License:        GPL-2.0
Line 117: Line 113:
 URL:            http://www.dokuwiki.org/ URL:            http://www.dokuwiki.org/
 Requires:       apache2-mod_php5 Requires:       apache2-mod_php5
-Requires:       php5 >= 5.2+Requires:       php5 >= 5.3
 PreReq:         coreutils PreReq:         coreutils
 PreReq:         apache2 PreReq:         apache2
install/opensuse.txt · Last modified: 2015-08-10 13:16 by 2001:4dd0:ff00:9581:552f:20cd:616c:16b3