mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-09 00:17:31 +00:00
aur/owncloud to 4.0.7-1
This commit is contained in:
parent
bea22a6975
commit
d462572661
3 changed files with 15 additions and 9 deletions
|
@ -2,7 +2,7 @@
|
|||
# Based on owncloud-git PKGBUILD by Alexander Ovsyannikov
|
||||
|
||||
pkgname=owncloud
|
||||
pkgver=4.0.4
|
||||
pkgver=4.0.7
|
||||
pkgrel=1
|
||||
pkgdesc="A cloud server to store your files centrally on a hardware controlled by you"
|
||||
arch=('any')
|
||||
|
@ -14,8 +14,8 @@ makedepends=()
|
|||
source=("http://owncloud.org/releases/$pkgname-$pkgver.tar.bz2" 'owncloud.conf')
|
||||
backup=('etc/httpd/conf/extra/owncloud.conf')
|
||||
install=owncloud.install
|
||||
md5sums=('5d7896053591916a6a5e00e9669cc284'
|
||||
'b22b1f45421a13b772dd0b7617e62c83')
|
||||
md5sums=('7fdbe0113621730a6787afdc7ebb529f'
|
||||
'7a08e1fee098615ea24fcdb1f4bd82d9')
|
||||
|
||||
package() {
|
||||
# install license
|
||||
|
@ -23,9 +23,9 @@ package() {
|
|||
cp $srcdir/$pkgname/COPYING-* $pkgdir/usr/share/licenses/$pkgname
|
||||
|
||||
# install project
|
||||
install -d -o http -g http $pkgdir/srv/http
|
||||
cp -a $srcdir/$pkgname $pkgdir/srv/http/
|
||||
chown -R http:http $pkgdir/srv/http/*
|
||||
install -d $pkgdir/usr/share/webapps/
|
||||
cp -a $srcdir/$pkgname $pkgdir/usr/share/webapps/
|
||||
chown -R http:http $pkgdir/usr/share/webapps/*
|
||||
|
||||
# install apache .conf file
|
||||
install -d $pkgdir/etc/httpd/conf/extra
|
||||
|
|
|
@ -1,14 +1,15 @@
|
|||
<IfModule mod_alias.c>
|
||||
Alias /owncloud /srv/http/owncloud/
|
||||
Alias /owncloud /usr/share/webapps/owncloud/
|
||||
</IfModule>
|
||||
<Directory /srv/http/owncloud/>
|
||||
<Directory /usr/share/webapps/owncloud/>
|
||||
Options None
|
||||
Order allow,deny
|
||||
allow from all
|
||||
php_admin_value open_basedir "/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/"
|
||||
</Directory>
|
||||
<VirtualHost *:80>
|
||||
ServerAdmin foo@foofarm.com
|
||||
DocumentRoot /srv/http/owncloud
|
||||
DocumentRoot /usr/share/webapps/owncloud
|
||||
ServerName owncloud.foo.com
|
||||
ErrorLog logs/owncloud.foo.info-error_log
|
||||
CustomLog logs/owncloud.foo.info-access_log common
|
||||
|
|
|
@ -10,3 +10,8 @@ post_install() {
|
|||
echo "and either pdo_sqlite.so sqlite3.so (for the SQLite backend) or mysql.so mysqli.so pdo_mysql.so (for the MySQL backend)"
|
||||
echo "in /etc/php/php.ini"
|
||||
}
|
||||
|
||||
post_upgrade() {
|
||||
echo "owncloud is now installed in /usr/share/webapps/owncloud"
|
||||
echo "if you want it in /srv/http, add a symlink manually"
|
||||
}
|
Loading…
Reference in a new issue