[arch-commits] Commit in dokuwiki/repos/community-any (3 files)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Fri Nov 15 15:34:56 UTC 2013
Date: Friday, November 15, 2013 @ 16:34:56
Author: spupykin
Revision: 101048
archrelease: copy trunk to community-any
Added:
dokuwiki/repos/community-any/PKGBUILD
(from rev 101047, dokuwiki/trunk/PKGBUILD)
dokuwiki/repos/community-any/apache.example.conf
(from rev 101047, dokuwiki/trunk/apache.example.conf)
Deleted:
dokuwiki/repos/community-any/PKGBUILD
---------------------+
PKGBUILD | 108 ++++++++++++++++++++++++--------------------------
apache.example.conf | 8 +++
2 files changed, 61 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2013-11-15 15:34:47 UTC (rev 101047)
+++ PKGBUILD 2013-11-15 15:34:56 UTC (rev 101048)
@@ -1,55 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Sébastien Luttringer
-
-pkgname=dokuwiki
-pkgver=20130510
-_pkgver=${pkgver:0:4}-${pkgver:4:2}-${pkgver:6:2}
-pkgrel=4
-pkgdesc='Simple to use and highly versatile Open Source wiki software'
-arch=('any')
-url='http://www.splitbrain.org/projects/dokuwiki'
-license=('GPL')
-depends=('php')
-backup=('etc/webapps/dokuwiki/.htaccess')
-options=('!strip')
-source=("http://www.splitbrain.org/_media/projects/dokuwiki/dokuwiki-${_pkgver}.tgz")
-md5sums=('9cb5bb79c0445df849845b586e872677')
-
-package() {
- cd "$pkgdir"
- install -dm0755 usr/share/webapps var/lib/dokuwiki etc/webapps
- cp -a "$srcdir"/$pkgname-${_pkgver} usr/share/webapps/dokuwiki
-
- # move data in var
- mv usr/share/webapps/dokuwiki/data var/lib/dokuwiki
- ln -s {../../../../../var/lib/dokuwiki,usr/share/webapps/dokuwiki}/data
-
- # move plugins in var
- mv usr/share/webapps/dokuwiki/lib/plugins var/lib/dokuwiki
- ln -s {../../../../../../var/lib/dokuwiki,usr/share/webapps/dokuwiki/lib}/plugins
-
- # move templates in var
- mv usr/share/webapps/dokuwiki/lib/tpl var/lib/dokuwiki
- ln -s {../../../../../../var/lib/dokuwiki,usr/share/webapps/dokuwiki/lib}/tpl
-
- # move config in /etc
- mv usr/share/webapps/dokuwiki/conf etc/webapps/dokuwiki
- chmod g=rwx etc/webapps/dokuwiki
- ln -s ../../../../../etc/webapps/dokuwiki usr/share/webapps/dokuwiki/conf
-
- # inform update on changes.log
- touch var/lib/dokuwiki/data/changes.log
- chmod 0644 var/lib/dokuwiki/data/changes.log
-
- # use default htaccess
- cp usr/share/webapps/dokuwiki/.htaccess.dist etc/webapps/dokuwiki/.htaccess
- ln -s /etc/webapps/dokuwiki/.htaccess usr/share/webapps/dokuwiki/.htaccess
-
- # fix rights and ownership
- chown http:http var/lib/dokuwiki/plugins
- chown -R http:http var/lib/dokuwiki/data
- chown -R http:http etc/webapps/dokuwiki
-}
-
-# vim:set ts=2 sw=2 et:
Copied: dokuwiki/repos/community-any/PKGBUILD (from rev 101047, dokuwiki/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2013-11-15 15:34:56 UTC (rev 101048)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Sébastien Luttringer
+
+pkgname=dokuwiki
+pkgver=20131028.rc
+[ "x${pkgver:9:2}" == "xrc" ] && \
+ _pkgver=rc${pkgver:0:4}-${pkgver:4:2}-${pkgver:6:2} || \
+ _pkgver=${pkgver:0:4}-${pkgver:4:2}-${pkgver:6:2}${pkgver:9:1}
+pkgrel=1
+pkgdesc='Simple to use and highly versatile Open Source wiki software'
+arch=('any')
+url='http://www.splitbrain.org/projects/dokuwiki'
+license=('GPL')
+depends=('php')
+backup=('etc/webapps/dokuwiki/.htaccess')
+options=('!strip')
+source=("http://download.dokuwiki.org/src/dokuwiki/dokuwiki-${_pkgver}.tgz"
+ "apache.example.conf")
+md5sums=('f476b54a3679d35cdd8746db57c9c6a3'
+ 'c5bed40abf5bb737bad8df29bb7020dc')
+
+package() {
+ cd "$pkgdir"
+ install -dm0755 usr/share/webapps var/lib/dokuwiki etc/webapps
+ cp -a "$srcdir"/$pkgname-${_pkgver} usr/share/webapps/dokuwiki
+
+ # move data in var
+ mv usr/share/webapps/dokuwiki/data var/lib/dokuwiki
+ ln -s {../../../../../var/lib/dokuwiki,usr/share/webapps/dokuwiki}/data
+
+ # move config in /etc
+ mv usr/share/webapps/dokuwiki/conf etc/webapps/dokuwiki
+ chmod g=rwx etc/webapps/dokuwiki
+ ln -s ../../../../../etc/webapps/dokuwiki usr/share/webapps/dokuwiki/conf
+
+ # inform update on changes.log
+ touch var/lib/dokuwiki/data/changes.log
+ chmod 0644 var/lib/dokuwiki/data/changes.log
+
+ # use default htaccess
+ cp usr/share/webapps/dokuwiki/.htaccess.dist etc/webapps/dokuwiki/.htaccess
+ ln -s /etc/webapps/dokuwiki/.htaccess usr/share/webapps/dokuwiki/.htaccess
+
+ # fix rights and ownership
+ chown -R http:http var/lib/dokuwiki/data
+ chown -R http:http etc/webapps/dokuwiki
+
+ # apache config
+ install -Dm0644 $srcdir/apache.example.conf $pkgdir/etc/webapps/dokuwiki/apache.example.conf
+}
+
+# vim:set ts=2 sw=2 et:
Copied: dokuwiki/repos/community-any/apache.example.conf (from rev 101047, dokuwiki/trunk/apache.example.conf)
===================================================================
--- apache.example.conf (rev 0)
+++ apache.example.conf 2013-11-15 15:34:56 UTC (rev 101048)
@@ -0,0 +1,8 @@
+Alias /dokuwiki /usr/share/webapps/dokuwiki
+<Directory /usr/share/webapps/dokuwiki/>
+ Options +FollowSymLinks
+ AllowOverride All
+ order allow,deny
+ allow from all
+ php_admin_value open_basedir "/tmp/:/usr/share/webapps/dokuwiki/:/etc/webapps/dokuwiki/:/var/lib/dokuwiki/"
+</Directory>
More information about the arch-commits
mailing list