pkgsrc/www/php-owncloud/MESSAGE

113 lines
2.9 KiB
Text
Raw Normal View History

===========================================================================
$NetBSD: MESSAGE,v 1.20 2017/04/05 12:33:49 fhajny Exp $
To use ownCloud, you will need to perform the following steps.
2013-09-28 15:29:51 +02:00
1. If you want to use with MySQL server, install databases/mysql55-*
and enable it, then create database.
2. Install nginx httpd server, for example www/nginx.
3. Install PHP-FPM, PHP FastCGI Process Magager from www/php-fpm.
4. Be sure to have the following lines in ${PREFIX}/etc/nginx/nginx.conf
Update to 6.0.4 * I gave up subdirectory installation with nginx... (MESSAGES) Changelog: Version 6.0.4 June 23rd 2014 Fixed a security issue (Will be disclosed two weeks after this release) Several LDAP fixes and improvements Add deprecated warning to load function File scanner fixes Heart beat fixes Encryption fixes for some corner cases Fix conflict dialog translations Fix button text overflow Fix search with Oracle Php upload errors are written to log OCS status code fixes Add PostgreSQL version warning Version 6.0.3 April 29rd 2014 Several security fixes. (Will be disclosed 2 weeks after the release) Appframework extensions to improve the compatibility with 3rdparty apps LDAP performance improvements Fix updating of email adresses from LDAP Fix WebDAV timestamp format handling Disable internet connection check if a proxy is configured Fix a potential file chunking problem on a server that is running out of storage Do not expire file chunks while checking their existence Fix loading of authentication apps in any case Performance improvements by reducing the number of chmod operations. Make the trusted domain upgrade feature more robust. Don't allow creating a "Shared" folder. Fixed "select all" + download on public page Fix share as link with email multiple users Reset time of last update feed polling to fix the updater Share API fixes Admin option for public upload with encryption enabled Fix CIFS with home shares Detect a missing "data" directory mount Fix the filesize calculation of encrypted files Fixes in the OpenStack support Fixes in the SWIFT support Don't block PHP sessions during download Fix sharing oc addressbooks Several ownCloud Documents improvements and fixes Several smaller bugfixes
2014-06-29 15:59:22 +02:00
to enable PHP script in http://YOUR_SERVER_NAME/ .
From http://doc.owncloud.org/server/6.0/admin_manual/installation/installation_source.html .
http {
include ${PREFIX}/etc/nginx/mime.types;
Update to 6.0.4 * I gave up subdirectory installation with nginx... (MESSAGES) Changelog: Version 6.0.4 June 23rd 2014 Fixed a security issue (Will be disclosed two weeks after this release) Several LDAP fixes and improvements Add deprecated warning to load function File scanner fixes Heart beat fixes Encryption fixes for some corner cases Fix conflict dialog translations Fix button text overflow Fix search with Oracle Php upload errors are written to log OCS status code fixes Add PostgreSQL version warning Version 6.0.3 April 29rd 2014 Several security fixes. (Will be disclosed 2 weeks after the release) Appframework extensions to improve the compatibility with 3rdparty apps LDAP performance improvements Fix updating of email adresses from LDAP Fix WebDAV timestamp format handling Disable internet connection check if a proxy is configured Fix a potential file chunking problem on a server that is running out of storage Do not expire file chunks while checking their existence Fix loading of authentication apps in any case Performance improvements by reducing the number of chmod operations. Make the trusted domain upgrade feature more robust. Don't allow creating a "Shared" folder. Fixed "select all" + download on public page Fix share as link with email multiple users Reset time of last update feed polling to fix the updater Share API fixes Admin option for public upload with encryption enabled Fix CIFS with home shares Detect a missing "data" directory mount Fix the filesize calculation of encrypted files Fixes in the OpenStack support Fixes in the SWIFT support Don't block PHP sessions during download Fix sharing oc addressbooks Several ownCloud Documents improvements and fixes Several smaller bugfixes
2014-06-29 15:59:22 +02:00
upstream php-handler {
server 127.0.0.1:9000;
}
server {
listen 80;
server_name YOUR_SERVER_NAME;
root ${PREFIX}/share/owncloud;
client_max_body_size 10G; # set max upload size
fastcgi_buffers 64 4K;
rewrite ^/caldav(.*)$ /remote.php/caldav$1 redirect;
rewrite ^/carddav(.*)$ /remote.php/carddav$1 redirect;
rewrite ^/webdav(.*)$ /remote.php/webdav$1 redirect;
index index.php;
error_page 403 /core/templates/403.php;
error_page 404 /core/templates/404.php;
location = /robots.txt {
allow all;
log_not_found off;
access_log off;
}
location ~ ^/(data|config|\.ht|db_structure\.xml|README) {
deny all;
}
Update to 6.0.4 * I gave up subdirectory installation with nginx... (MESSAGES) Changelog: Version 6.0.4 June 23rd 2014 Fixed a security issue (Will be disclosed two weeks after this release) Several LDAP fixes and improvements Add deprecated warning to load function File scanner fixes Heart beat fixes Encryption fixes for some corner cases Fix conflict dialog translations Fix button text overflow Fix search with Oracle Php upload errors are written to log OCS status code fixes Add PostgreSQL version warning Version 6.0.3 April 29rd 2014 Several security fixes. (Will be disclosed 2 weeks after the release) Appframework extensions to improve the compatibility with 3rdparty apps LDAP performance improvements Fix updating of email adresses from LDAP Fix WebDAV timestamp format handling Disable internet connection check if a proxy is configured Fix a potential file chunking problem on a server that is running out of storage Do not expire file chunks while checking their existence Fix loading of authentication apps in any case Performance improvements by reducing the number of chmod operations. Make the trusted domain upgrade feature more robust. Don't allow creating a "Shared" folder. Fixed "select all" + download on public page Fix share as link with email multiple users Reset time of last update feed polling to fix the updater Share API fixes Admin option for public upload with encryption enabled Fix CIFS with home shares Detect a missing "data" directory mount Fix the filesize calculation of encrypted files Fixes in the OpenStack support Fixes in the SWIFT support Don't block PHP sessions during download Fix sharing oc addressbooks Several ownCloud Documents improvements and fixes Several smaller bugfixes
2014-06-29 15:59:22 +02:00
location / {
# The following 2 rules are only needed with webfinger
rewrite ^/.well-known/host-meta /public.php?service=host-meta last;
rewrite ^/.well-known/host-meta.json /public.php?service=host-meta-json last;
rewrite ^/.well-known/carddav /remote.php/carddav/ redirect;
rewrite ^/.well-known/caldav /remote.php/caldav/ redirect;
rewrite ^(/core/doc/[^\/]+/)$ $1/index.html;
try_files $uri $uri/ index.php;
}
location ~ ^(.+?\.php)(/.*)?$ {
try_files $1 =404;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$1;
fastcgi_param PATH_INFO $2;
fastcgi_pass php-handler;
}
Update to 6.0.4 * I gave up subdirectory installation with nginx... (MESSAGES) Changelog: Version 6.0.4 June 23rd 2014 Fixed a security issue (Will be disclosed two weeks after this release) Several LDAP fixes and improvements Add deprecated warning to load function File scanner fixes Heart beat fixes Encryption fixes for some corner cases Fix conflict dialog translations Fix button text overflow Fix search with Oracle Php upload errors are written to log OCS status code fixes Add PostgreSQL version warning Version 6.0.3 April 29rd 2014 Several security fixes. (Will be disclosed 2 weeks after the release) Appframework extensions to improve the compatibility with 3rdparty apps LDAP performance improvements Fix updating of email adresses from LDAP Fix WebDAV timestamp format handling Disable internet connection check if a proxy is configured Fix a potential file chunking problem on a server that is running out of storage Do not expire file chunks while checking their existence Fix loading of authentication apps in any case Performance improvements by reducing the number of chmod operations. Make the trusted domain upgrade feature more robust. Don't allow creating a "Shared" folder. Fixed "select all" + download on public page Fix share as link with email multiple users Reset time of last update feed polling to fix the updater Share API fixes Admin option for public upload with encryption enabled Fix CIFS with home shares Detect a missing "data" directory mount Fix the filesize calculation of encrypted files Fixes in the OpenStack support Fixes in the SWIFT support Don't block PHP sessions during download Fix sharing oc addressbooks Several ownCloud Documents improvements and fixes Several smaller bugfixes
2014-06-29 15:59:22 +02:00
# Optional: set long EXPIRES header on static assets
location ~* ^.+\.(jpg|jpeg|gif|bmp|ico|png|css|js|swf)$ {
expires 30d;
# Optional: Don't log access to assets
access_log off;
}
}
}
5. Be sure to have the following lines in ${PREFIX}/etc/php-fam.conf
to restrict access from localhost only.
listen.allowed_clients = 127.0.0.1
6. Be sure to have the following lines in ${PREFIX}/etc/php.ini.
extension=curl.so
extension=gd.so
extension=iconv.so
extension=json.so
extension=mbstring.so
extension=zip.so
extension=zlib.so
extension=pdo.so ;if you select sqlite backend.
Update to 4.0.4 * php-sqlite is no longer needed at least fresh installation * Tested with php54 and apache24 * php-xml is needed * Update MESSAGE Changelog: Version 4.0.4 June 28rd 2012 Fix assigning several groups to a user. Fix LDAP connector with AD servers Conserve some memory in Contacts App Fix a warning in Gallery when deleting files Fix a bug in the music scanner Version 4.0.3 June 23rd 2012 Added a check if the .htaccess file is working and the data directory is protected or not. Added a check if a user is allowed to edit a bookmark or not. Fix the bookmarklet Fix the timezone in the datepicker Fix mimetype detection for cdr files Fix the filecache for the /Shared folder Fix a potential data corruption bug in the encryption app Don¡­t show other users filenames during filesystem cache rebuild Fix several XSS bugs Performance improvements for WebDAV and Desktop Syncing Fix quota calculation Improve the LDAP integration and group management Fix problems with the pdf viewer Fix user account migration Implement several CSRF security checks Fix a gallery bug where first picture is repeated in the last picture. Lot¡­s of calendar fixes Fix problem with ¡È/¡É in filenames Updated translations Several fixes in Contacts Lot¡­s of fixes in the Tasks App Fix a bug in the filesystem cache with ghost entries Version 4.0.2 June 11th 2012 Lot¡Çs of gallery fixes More 3rd party apps visible Fixed update notifications Several calendar fixes Several XSS fixes in calendar Several improvements in contacts Fix infinite redirect during setup for windows hosts Several XSS fixes in contacts New user password salting Several LDAP fixes Fix duplicate emails in sharing Improved compatibility with Android browser Fixed calendar links Fixed logging Allow ¡È/¡É in filenames Updated translations Fixed reverse proxy and custom hosts configuration Fix contact photo editing Don¡Çt allow renaming, deleting and resharing of shared folder
2012-07-10 15:20:19 +02:00
extension=pdo_sqlite.so ;if you select sqlite backend.
extension=pdo_mysql.so ;if you select MySQL backend.
extension=pdo_pgsql.so ;if you select PostgreSQL backend.
7. Start PHP-FPM daemon.
${RCD_SCRIPTS_DIR}/php_fpm start
8. Start nginx httpd server.
${RCD_SCRIPTS_DIR}/nginx start
Update to 6.0.4 * I gave up subdirectory installation with nginx... (MESSAGES) Changelog: Version 6.0.4 June 23rd 2014 Fixed a security issue (Will be disclosed two weeks after this release) Several LDAP fixes and improvements Add deprecated warning to load function File scanner fixes Heart beat fixes Encryption fixes for some corner cases Fix conflict dialog translations Fix button text overflow Fix search with Oracle Php upload errors are written to log OCS status code fixes Add PostgreSQL version warning Version 6.0.3 April 29rd 2014 Several security fixes. (Will be disclosed 2 weeks after the release) Appframework extensions to improve the compatibility with 3rdparty apps LDAP performance improvements Fix updating of email adresses from LDAP Fix WebDAV timestamp format handling Disable internet connection check if a proxy is configured Fix a potential file chunking problem on a server that is running out of storage Do not expire file chunks while checking their existence Fix loading of authentication apps in any case Performance improvements by reducing the number of chmod operations. Make the trusted domain upgrade feature more robust. Don't allow creating a "Shared" folder. Fixed "select all" + download on public page Fix share as link with email multiple users Reset time of last update feed polling to fix the updater Share API fixes Admin option for public upload with encryption enabled Fix CIFS with home shares Detect a missing "data" directory mount Fix the filesize calculation of encrypted files Fixes in the OpenStack support Fixes in the SWIFT support Don't block PHP sessions during download Fix sharing oc addressbooks Several ownCloud Documents improvements and fixes Several smaller bugfixes
2014-06-29 15:59:22 +02:00
6. Access http://YOUR_SERVER_NAME/ and setup.
===========================================================================