Import owncloud-3.0.0.
ownCloud gives you easy and universal access to all of your files. It also provides a platform to easily view, sync and share your contacts, calendars, bookmarks and files across all your devices. ok robert@
This commit is contained in:
parent
c92502573c
commit
5cc7981ca1
52
www/owncloud/Makefile
Normal file
52
www/owncloud/Makefile
Normal file
@ -0,0 +1,52 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2012/03/15 16:50:44 ajacoutot Exp $
|
||||
|
||||
COMMENT= easy and universal access to shared and/or personnal files
|
||||
|
||||
DISTNAME= owncloud-3.0.0
|
||||
EXTRACT_SUFX= .tar.bz2
|
||||
|
||||
CATEGORIES= www
|
||||
|
||||
HOMEPAGE= http://owncloud.org/
|
||||
|
||||
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
||||
|
||||
# AGPLv3 (GNU Affero Public License)
|
||||
# jQuery: MIT / GPLv3
|
||||
# HTTP: 3 clause BSD
|
||||
# MDB2: BSD-like
|
||||
# User: AGPL
|
||||
# XML/RPC: MIT / PHP
|
||||
# Silk icons: Creative Commons Attribution
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
MASTER_SITES= ${HOMEPAGE}releases/
|
||||
|
||||
MODULES= lang/php
|
||||
|
||||
NO_BUILD= Yes
|
||||
NO_REGRESS= Yes
|
||||
PKG_ARCH= *
|
||||
|
||||
WRKDIST= ${WRKDIR}/owncloud
|
||||
|
||||
PREFIX= /var/www
|
||||
INSTDIR= ${PREFIX}/owncloud
|
||||
TINSTDIR= ${TRUEPREFIX}/owncloud
|
||||
SUBST_VARS= INSTDIR TINSTDIR
|
||||
|
||||
RUN_DEPENDS= archivers/pecl-zip \
|
||||
lang/php/${MODPHP_VERSION},-curl \
|
||||
lang/php/${MODPHP_VERSION},-gd
|
||||
|
||||
do-install:
|
||||
cp -Rp ${WRKSRC} ${INSTDIR}
|
||||
${SUBST_CMD} -c ${FILESDIR}/owncloud.conf \
|
||||
${INSTDIR}/owncloud.conf.dist
|
||||
mv ${INSTDIR}/.htaccess ${INSTDIR}/.htaccess.dist
|
||||
chown -R ${BINOWN}:${BINGRP} ${INSTDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
5
www/owncloud/distinfo
Normal file
5
www/owncloud/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (owncloud-3.0.0.tar.bz2) = Cki/KxrBDBHEt/b9Heml2Q==
|
||||
RMD160 (owncloud-3.0.0.tar.bz2) = lloJkQcjaB0GsINAZ83A+/yPuV0=
|
||||
SHA1 (owncloud-3.0.0.tar.bz2) = 52RfeWzU+BYhMGXmJeBphAe/VIA=
|
||||
SHA256 (owncloud-3.0.0.tar.bz2) = ZjXeutJKKNQhKJKPR6FTQ1kPcNU1uOaz+0MSyapLvpk=
|
||||
SIZE (owncloud-3.0.0.tar.bz2) = 2587490
|
7
www/owncloud/files/owncloud.conf
Normal file
7
www/owncloud/files/owncloud.conf
Normal file
@ -0,0 +1,7 @@
|
||||
# $OpenBSD: owncloud.conf,v 1.1.1.1 2012/03/15 16:50:44 ajacoutot Exp $
|
||||
|
||||
Alias /owncloud ${TINSTDIR}
|
||||
|
||||
<Directory "${TINSTDIR}">
|
||||
AllowOverride FileInfo Options
|
||||
</Directory>
|
3
www/owncloud/pkg/DESCR
Normal file
3
www/owncloud/pkg/DESCR
Normal file
@ -0,0 +1,3 @@
|
||||
ownCloud gives you easy and universal access to all of your files.
|
||||
It also provides a platform to easily view, sync and share your
|
||||
contacts, calendars, bookmarks and files across all your devices.
|
1860
www/owncloud/pkg/PLIST
Normal file
1860
www/owncloud/pkg/PLIST
Normal file
File diff suppressed because it is too large
Load Diff
52
www/owncloud/pkg/README
Normal file
52
www/owncloud/pkg/README
Normal file
@ -0,0 +1,52 @@
|
||||
$OpenBSD: README,v 1.1.1.1 2012/03/15 16:50:45 ajacoutot Exp $
|
||||
|
||||
+-----------------------------------------------------------------------
|
||||
| Running ${FULLPKGNAME} on OpenBSD
|
||||
+-----------------------------------------------------------------------
|
||||
|
||||
ownCloud is installed under
|
||||
${INSTDIR}
|
||||
|
||||
Post-installation instructions
|
||||
==============================
|
||||
With Apache, AllowOverride settings are required on the ${INSTDIR}
|
||||
directory. You can configure this as follows:
|
||||
# ln -s ${PREFIX}/conf/modules.sample/owncloud.conf \
|
||||
${PREFIX}/conf/modules
|
||||
|
||||
"allow_url_fopen" needs to be enabled in PHP using _one_ of the
|
||||
following methods:
|
||||
1. ${SYSCONFDIR}/etc/php-{MODPHP_VERSION}.ini
|
||||
allow_url_fopen = On
|
||||
2. /var/www/conf/httpd.conf (main server or VirtualHost)
|
||||
php_admin_value allow_url_fopen 1
|
||||
|
||||
The maximum upload size for files can be modified in
|
||||
${INSTDIR}/.htaccess
|
||||
|
||||
Database Configuration
|
||||
----------------------
|
||||
When using SQLite, not further configuration is required. However, with
|
||||
MySQL or PostgreSQL, the ${INSTADIR}/config/config.php file will need to
|
||||
be configured accordingly and the corresponding php database access
|
||||
extension installed (i.e. "php-mysql" or "php-pgsql").
|
||||
|
||||
LDAP User Backend
|
||||
-----------------
|
||||
If the LDAP user backend is enabled, the "php-ldap" package will need to
|
||||
be installed.
|
||||
|
||||
Finishing and validating the installation
|
||||
-----------------------------------------
|
||||
Accessing http://<hostname>/owncloud with a Web browser will finish the
|
||||
installation and create a new admin user.
|
||||
|
||||
WebDAV access
|
||||
-------------
|
||||
The personnal WebDAV share can be accessed using the following URL (e.g.
|
||||
with Nautilus, Thunar or Doplhin) and the corresponding user and
|
||||
password for the share:
|
||||
http://<hostname>/files/webdav.php
|
||||
|
||||
NOTE that it is highly recommended to use SSL on the webserver so that
|
||||
access is done over https instead of http.
|
3
www/owncloud/pkg/UNMESSAGE
Normal file
3
www/owncloud/pkg/UNMESSAGE
Normal file
@ -0,0 +1,3 @@
|
||||
To completely deinstall ownCloud you need to perform the following step
|
||||
as root:
|
||||
# rm -f /var/www/conf/modules/owncloud.conf
|
Loading…
Reference in New Issue
Block a user