pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/php-nextcloud Import php56-nextcloud-11.0.0 as www...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/00ea61f3fabd
branches:  trunk
changeset: 357092:00ea61f3fabd
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Thu Jan 12 15:07:38 2017 +0000

description:
Import php56-nextcloud-11.0.0 as www/php-nextcloud.

A safe home for all your data

Access, share and protect your files, calendars, contacts,
communication & more at home and in your enterprise.

diffstat:

 www/php-nextcloud/DESCR      |      4 +
 www/php-nextcloud/INSTALL    |     15 +
 www/php-nextcloud/MESSAGE    |    113 +
 www/php-nextcloud/Makefile   |     66 +
 www/php-nextcloud/PLIST      |  10750 +++++++++++++++++++++++++++++++++++++++++
 www/php-nextcloud/distinfo   |      6 +
 www/php-nextcloud/options.mk |     22 +
 7 files changed, 10976 insertions(+), 0 deletions(-)

diffs (truncated from 11004 to 300 lines):

diff -r 376f64d6d597 -r 00ea61f3fabd www/php-nextcloud/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/php-nextcloud/DESCR   Thu Jan 12 15:07:38 2017 +0000
@@ -0,0 +1,4 @@
+A safe home for all your data
+
+Access, share and protect your files, calendars, contacts,
+communication & more at home and in your enterprise.
diff -r 376f64d6d597 -r 00ea61f3fabd www/php-nextcloud/INSTALL
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/php-nextcloud/INSTALL Thu Jan 12 15:07:38 2017 +0000
@@ -0,0 +1,15 @@
+#!@SH@
+#
+# $NetBSD: INSTALL,v 1.1 2017/01/12 15:07:38 ryoon Exp $
+
+WWWGRP="@WWWGRP@"
+WWWOWN="@WWWOWN@"
+NC_DIR="@PREFIX@/@NC_DIR@"
+
+case "${STAGE}" in
+POST-INSTALL)
+       cd ${NC_DIR} &&
+               ${CHOWN} -R ${WWWOWN} ${NC_DIR} &&
+               ${CHGRP} -R ${WWWGRP} ${NC_DIR}
+       ;;
+esac
diff -r 376f64d6d597 -r 00ea61f3fabd www/php-nextcloud/MESSAGE
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/php-nextcloud/MESSAGE Thu Jan 12 15:07:38 2017 +0000
@@ -0,0 +1,113 @@
+===========================================================================
+$NetBSD: MESSAGE,v 1.1 2017/01/12 15:07:38 ryoon Exp $
+
+To use Nextcloud, you will need to perform the following steps.
+
+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
+   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;
+
+       upstream php-handler {
+               server 127.0.0.1:9000;
+       }
+
+server {
+       listen 80;
+       server_name YOUR_SERVER_NAME;
+
+       root ${PREFIX}/share/nextcloud;
+
+       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;
+       }
+
+       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;
+       }
+
+       # 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=dom.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.
+       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
+
+6. Access http://YOUR_SERVER_NAME/ and setup.
+===========================================================================
diff -r 376f64d6d597 -r 00ea61f3fabd www/php-nextcloud/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/php-nextcloud/Makefile        Thu Jan 12 15:07:38 2017 +0000
@@ -0,0 +1,66 @@
+# $NetBSD: Makefile,v 1.1 2017/01/12 15:07:38 ryoon Exp $
+#
+
+DISTNAME=      nextcloud-11.0.0
+PKGNAME=       ${PHP_PKG_PREFIX}-${DISTNAME}
+CATEGORIES=    www
+MASTER_SITES=  https://download.nextcloud.com/server/releases/
+EXTRACT_SUFX=  .tar.bz2
+
+MAINTAINER=    ryoon%NetBSD.org@localhost
+HOMEPAGE=      https://nextcloud.com/
+COMMENT=       File sharing web service server
+LICENSE=       gnu-agpl-v3
+
+DEPENDS+=      ${PHP_PKG_PREFIX}-dom>=5.4.0:../../textproc/php-dom
+DEPENDS+=      ${PHP_PKG_PREFIX}-gd>=5.4.0:../../graphics/php-gd
+DEPENDS+=      ${PHP_PKG_PREFIX}-iconv>=5.4.0:../../converters/php-iconv
+DEPENDS+=      ${PHP_PKG_PREFIX}-json>=5.4.0:../../textproc/php-json
+DEPENDS+=      ${PHP_PKG_PREFIX}-mbstring>=5.4.0:../../converters/php-mbstring
+DEPENDS+=      ${PHP_PKG_PREFIX}-zip>=5.4.0:../../archivers/php-zip
+DEPENDS+=      ${PHP_PKG_PREFIX}-zlib>=5.4.0:../../archivers/php-zlib
+DEPENDS+=      ${PHP_PKG_PREFIX}-pdo>=5.4.0:../../databases/php-pdo
+DEPENDS+=      ${PHP_PKG_PREFIX}-posix>=5.4.0:../../devel/php-posix
+DEPENDS+=      ${PHP_PKG_PREFIX}-curl>=5.4.0:../../www/php-curl
+
+.include "options.mk"
+
+WRKSRC=                ${WRKDIR}/nextcloud
+USE_LANGUAGES= # none
+
+NO_BUILD=      yes
+
+USE_TOOLS+=    bash:run pax perl:run
+
+NC_DIR=                share/nextcloud
+INSTALLATION_DIRS=     ${NC_DIR}
+
+# for php interpreter
+CHECK_INTERPRETER_SKIP+=       ${NC_DIR}/3rdparty/doctrine/dbal/bin/doctrine-dbal
+CHECK_INTERPRETER_SKIP+=       ${NC_DIR}/3rdparty/dompdf/load_font.php
+CHECK_INTERPRETER_SKIP+=       ${NC_DIR}/3rdparty/phpdocx/pdf/load_font.php
+CHECK_INTERPRETER_SKIP+=       ${NC_DIR}/3rdparty/sabre/vobject/bin/*
+CHECK_INTERPRETER_SKIP+=       ${NC_DIR}/apps/contacts/vendor/blueimp-tmpl/js/compile.js
+CHECK_INTERPRETER_SKIP+=       ${NC_DIR}/occ
+
+.include "../../mk/bsd.prefs.mk"
+
+APACHE_USER?=  nginx
+APACHE_GROUP?= nginx
+PKG_GROUPS=    ${APACHE_GROUP}
+PKG_USERS=     ${APACHE_USER}:${APACHE_GROUP}
+
+PKG_USERS_VARS=                APACHE_USER
+PKG_GROUPS_VARS=       APACHE_GROUP
+
+BUILD_DEFS+=   APACHE_GROUP APACHE_USER
+FILES_SUBST+=  WWWGRP=${APACHE_GROUP} WWWOWN=${APACHE_USER} \
+               NC_DIR=${NC_DIR}
+
+do-install:
+       cd ${WRKDIR} && ${FIND} nextcloud -type f \! -name '*.orig' -print | \
+               pax -rw -pmp ${DESTDIR}${PREFIX}/share
+
+.include "../../lang/php/phpversion.mk"
+.include "../../lang/python/application.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 376f64d6d597 -r 00ea61f3fabd www/php-nextcloud/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/php-nextcloud/PLIST   Thu Jan 12 15:07:38 2017 +0000
@@ -0,0 +1,10750 @@
+@comment $NetBSD: PLIST,v 1.1 2017/01/12 15:07:38 ryoon Exp $
+share/nextcloud/.htaccess
+share/nextcloud/.user.ini
+share/nextcloud/3rdparty/.drone.yml
+share/nextcloud/3rdparty/.gitignore
+share/nextcloud/3rdparty/LICENSE INFO
+share/nextcloud/3rdparty/README.md
+share/nextcloud/3rdparty/autoload.php
+share/nextcloud/3rdparty/bantu/ini-get-wrapper/.gitignore
+share/nextcloud/3rdparty/bantu/ini-get-wrapper/.scrutinizer.yml
+share/nextcloud/3rdparty/bantu/ini-get-wrapper/LICENSE
+share/nextcloud/3rdparty/bantu/ini-get-wrapper/README.md
+share/nextcloud/3rdparty/bantu/ini-get-wrapper/composer.json
+share/nextcloud/3rdparty/bantu/ini-get-wrapper/phpunit.xml.dist
+share/nextcloud/3rdparty/bantu/ini-get-wrapper/src/IniGetWrapper.php
+share/nextcloud/3rdparty/composer.json
+share/nextcloud/3rdparty/composer.lock
+share/nextcloud/3rdparty/composer/ClassLoader.php
+share/nextcloud/3rdparty/composer/LICENSE
+share/nextcloud/3rdparty/composer/autoload_classmap.php
+share/nextcloud/3rdparty/composer/autoload_files.php
+share/nextcloud/3rdparty/composer/autoload_namespaces.php
+share/nextcloud/3rdparty/composer/autoload_psr4.php
+share/nextcloud/3rdparty/composer/autoload_real.php
+share/nextcloud/3rdparty/composer/autoload_static.php
+share/nextcloud/3rdparty/composer/include_paths.php
+share/nextcloud/3rdparty/composer/installed.json
+share/nextcloud/3rdparty/deepdiver1975/tarstreamer/LICENSE
+share/nextcloud/3rdparty/deepdiver1975/tarstreamer/src/TarStreamer.php
+share/nextcloud/3rdparty/doctrine/annotations/LICENSE
+share/nextcloud/3rdparty/doctrine/annotations/README.md
+share/nextcloud/3rdparty/doctrine/annotations/composer.json
+share/nextcloud/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation.php
+share/nextcloud/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/Attribute.php
+share/nextcloud/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/Attributes.php
+share/nextcloud/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/Enum.php
+share/nextcloud/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/IgnoreAnnotation.php
+share/nextcloud/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/Required.php
+share/nextcloud/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/Annotation/Target.php
+share/nextcloud/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationException.php
+share/nextcloud/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationReader.php
+share/nextcloud/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/AnnotationRegistry.php
+share/nextcloud/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/CachedReader.php
+share/nextcloud/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/DocLexer.php
+share/nextcloud/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/DocParser.php
+share/nextcloud/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/FileCacheReader.php
+share/nextcloud/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/IndexedReader.php
+share/nextcloud/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/PhpParser.php
+share/nextcloud/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/Reader.php
+share/nextcloud/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/SimpleAnnotationReader.php
+share/nextcloud/3rdparty/doctrine/annotations/lib/Doctrine/Common/Annotations/TokenParser.php
+share/nextcloud/3rdparty/doctrine/cache/.coveralls.yml
+share/nextcloud/3rdparty/doctrine/cache/.gitignore
+share/nextcloud/3rdparty/doctrine/cache/LICENSE
+share/nextcloud/3rdparty/doctrine/cache/README.md
+share/nextcloud/3rdparty/doctrine/cache/UPGRADE.md
+share/nextcloud/3rdparty/doctrine/cache/lib/Doctrine/Common/Cache/ApcCache.php
+share/nextcloud/3rdparty/doctrine/cache/lib/Doctrine/Common/Cache/ArrayCache.php
+share/nextcloud/3rdparty/doctrine/cache/lib/Doctrine/Common/Cache/Cache.php
+share/nextcloud/3rdparty/doctrine/cache/lib/Doctrine/Common/Cache/CacheProvider.php
+share/nextcloud/3rdparty/doctrine/cache/lib/Doctrine/Common/Cache/ChainCache.php
+share/nextcloud/3rdparty/doctrine/cache/lib/Doctrine/Common/Cache/ClearableCache.php
+share/nextcloud/3rdparty/doctrine/cache/lib/Doctrine/Common/Cache/CouchbaseCache.php
+share/nextcloud/3rdparty/doctrine/cache/lib/Doctrine/Common/Cache/FileCache.php
+share/nextcloud/3rdparty/doctrine/cache/lib/Doctrine/Common/Cache/FilesystemCache.php
+share/nextcloud/3rdparty/doctrine/cache/lib/Doctrine/Common/Cache/FlushableCache.php
+share/nextcloud/3rdparty/doctrine/cache/lib/Doctrine/Common/Cache/MemcacheCache.php
+share/nextcloud/3rdparty/doctrine/cache/lib/Doctrine/Common/Cache/MemcachedCache.php
+share/nextcloud/3rdparty/doctrine/cache/lib/Doctrine/Common/Cache/MongoDBCache.php
+share/nextcloud/3rdparty/doctrine/cache/lib/Doctrine/Common/Cache/MultiGetCache.php
+share/nextcloud/3rdparty/doctrine/cache/lib/Doctrine/Common/Cache/PhpFileCache.php
+share/nextcloud/3rdparty/doctrine/cache/lib/Doctrine/Common/Cache/PredisCache.php
+share/nextcloud/3rdparty/doctrine/cache/lib/Doctrine/Common/Cache/RedisCache.php
+share/nextcloud/3rdparty/doctrine/cache/lib/Doctrine/Common/Cache/RiakCache.php
+share/nextcloud/3rdparty/doctrine/cache/lib/Doctrine/Common/Cache/SQLite3Cache.php
+share/nextcloud/3rdparty/doctrine/cache/lib/Doctrine/Common/Cache/Version.php
+share/nextcloud/3rdparty/doctrine/cache/lib/Doctrine/Common/Cache/VoidCache.php
+share/nextcloud/3rdparty/doctrine/cache/lib/Doctrine/Common/Cache/WinCacheCache.php
+share/nextcloud/3rdparty/doctrine/cache/lib/Doctrine/Common/Cache/XcacheCache.php
+share/nextcloud/3rdparty/doctrine/cache/lib/Doctrine/Common/Cache/ZendDataCache.php
+share/nextcloud/3rdparty/doctrine/collections/.gitignore
+share/nextcloud/3rdparty/doctrine/collections/LICENSE



Home | Main Index | Thread Index | Old Index