[arch-commits] Commit in dokuwiki/repos/community-any (4 files)
Sergej Pupykin
spupykin at nymeria.archlinux.org
Wed May 7 15:05:29 UTC 2014
Date: Wednesday, May 7, 2014 @ 17:05:29
Author: spupykin
Revision: 110810
archrelease: copy trunk to community-any
Added:
dokuwiki/repos/community-any/PKGBUILD
(from rev 110809, dokuwiki/trunk/PKGBUILD)
dokuwiki/repos/community-any/apache.example.conf
(from rev 110809, dokuwiki/trunk/apache.example.conf)
Deleted:
dokuwiki/repos/community-any/PKGBUILD
dokuwiki/repos/community-any/apache.example.conf
---------------------+
PKGBUILD | 123 +++++++++++++++++++++++++-------------------------
apache.example.conf | 16 +++---
2 files changed, 70 insertions(+), 69 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2014-05-07 15:05:21 UTC (rev 110809)
+++ PKGBUILD 2014-05-07 15:05:29 UTC (rev 110810)
@@ -1,61 +0,0 @@
-# $Id$
-# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
-# Contributor: Sébastien Luttringer
-
-pkgname=dokuwiki
-pkgver=20131208
-_pkgver=${pkgver:0:4}-${pkgver:4:2}-${pkgver:6:2}
-pkgrel=1
-pkgdesc='Simple to use and highly versatile Open Source wiki software'
-arch=('any')
-url='https://www.dokuwiki.org/'
-license=('GPL')
-depends=('php')
-backup=('etc/webapps/dokuwiki/.htaccess'
- 'etc/httpd/conf/extra/dokuwiki.conf')
-options=('!strip')
-source=("http://download.dokuwiki.org/src/dokuwiki/dokuwiki-$_pkgver.tgz"
- 'apache.example.conf')
-md5sums=('620b7fed511e643ad05ad13207baa502'
- '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 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
-
- # apache config
- install -Dm0644 "$srcdir"/apache.example.conf etc/httpd/conf/extra/dokuwiki.conf
-}
-
-# vim:set ts=2 sw=2 et:
Copied: dokuwiki/repos/community-any/PKGBUILD (from rev 110809, dokuwiki/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2014-05-07 15:05:29 UTC (rev 110810)
@@ -0,0 +1,62 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Sébastien Luttringer
+
+pkgname=dokuwiki
+pkgver=20140505
+_pkgver=${pkgver:0:4}-${pkgver:4:2}-${pkgver:6:2}
+pkgrel=1
+pkgdesc='Simple to use and highly versatile Open Source wiki software'
+arch=('any')
+url='https://www.dokuwiki.org/'
+license=('GPL')
+depends=('php')
+backup=('etc/webapps/dokuwiki/.htaccess'
+ 'etc/httpd/conf/extra/dokuwiki.conf')
+options=('!strip')
+source=("http://download.dokuwiki.org/src/dokuwiki/dokuwiki-${_pkgver}.tgz"
+ 'apache.example.conf')
+md5sums=('9bc798f823f1907664d769f3d1f588b7'
+ 'c5bed40abf5bb737bad8df29bb7020dc')
+
+package() {
+ cd "$pkgdir"
+ install -dm0755 usr/share/webapps var/lib/dokuwiki etc/webapps
+# cp -a "$srcdir"/$pkgname-${_pkgver} usr/share/webapps/dokuwiki
+ cp -a "$srcdir"/$pkgname-2014-05-06 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
+
+ # apache config
+ install -Dm0644 "$srcdir"/apache.example.conf etc/httpd/conf/extra/dokuwiki.conf
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: apache.example.conf
===================================================================
--- apache.example.conf 2014-05-07 15:05:21 UTC (rev 110809)
+++ apache.example.conf 2014-05-07 15:05:29 UTC (rev 110810)
@@ -1,8 +0,0 @@
-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>
Copied: dokuwiki/repos/community-any/apache.example.conf (from rev 110809, dokuwiki/trunk/apache.example.conf)
===================================================================
--- apache.example.conf (rev 0)
+++ apache.example.conf 2014-05-07 15:05:29 UTC (rev 110810)
@@ -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