pkgsrc/www/php-owncloud/Makefile

90 lines
2.7 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.50 2015/05/31 00:16:33 ryoon Exp $
#
DISTNAME= owncloud-8.0.3
PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME}
CATEGORIES= www
MASTER_SITES= http://download.owncloud.org/community/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= ryoon@NetBSD.org
HOMEPAGE= http://owncloud.org/
COMMENT= Web services under your control
LICENSE= gnu-agpl-v3
OC_APPS_SITE= https://apps.owncloud.com/CONTENT/content-files/
OC_CALENDAR_APP= 168707-calendar.zip
OC_CONTACT_APP= 168708-contacts.zip
DISTFILES= ${DEFAULT_DISTFILES} \
${OC_CALENDAR_APP} \
${OC_CONTACT_APP}
SITES.${OC_CALENDAR_APP}= ${OC_APPS_SITE}
SITES.${OC_CONTACT_APP}= ${OC_APPS_SITE}
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
DEPENDS+= ${PHP_PKG_PREFIX}-dom>=5.3.0:../../textproc/php-dom
DEPENDS+= ${PHP_PKG_PREFIX}-gd>=5.3.0:../../graphics/php-gd
DEPENDS+= ${PHP_PKG_PREFIX}-iconv>=5.3.0:../../converters/php-iconv
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
DEPENDS+= ${PHP_PKG_PREFIX}-json>=5.3.0:../../textproc/php-json
DEPENDS+= ${PHP_PKG_PREFIX}-mbstring>=5.3.0:../../converters/php-mbstring
DEPENDS+= ${PHP_PKG_PREFIX}-zip>=5.3.0:../../archivers/php-zip
DEPENDS+= ${PHP_PKG_PREFIX}-zlib>=5.3.0:../../archivers/php-zlib
DEPENDS+= ${PHP_PKG_PREFIX}-pdo>=5.3.0:../../databases/php-pdo
.include "options.mk"
WRKSRC= ${WRKDIR}/owncloud
USE_LANGUAGES= # none
NO_BUILD= yes
Update to 6.0.0a * Switch to 6 branch * Replace interpreters with REPLACE_* Changelog: Version 6.0.0a Dec 14th 2013 Remove wrong warnings from logfile Fix LDAP authentication Fix LDAP configuration Fix Share dialog Fix migration under certain conditions Fix database encoding for old PHP versions Fix select all checkbox Fix migration with lucene search enabled Fix migration for postgresql Version 6.0.0 Dec 11th 2013 User Avatars Previews in files app and other places Updated design, less clutter and more whitespace Public gallery sharing Activities Better file conflict handling dialog Improved public App API Sharing API Example Files Share Email Notifications New Doctrine based database layer Plural translations Refactored OC.dialogs (both code and design wise) Priorize often used languages in personal-settings language selection Update jquery to 1.10.0 and add jquery-migrate 1.2.1 Show a summary as the last filelist entry Improve app-management (more verbose error-messages) Show ‘More apps’ link to app administration directly in app navigation Templates for newly created files Add MB indicator to size column Google Drive external storage uses a new library New icons for shared and external folders File uploads conflicts dialog Possibility to prepopulate a new users home with a skeleton Public upload with encryption enabled Users now can decrypt the files again if their encryption app was enabled Many quota related fixes Total used space (with quota) now only counts user’s own files Many external storage fixes, improved performance Improved file navigation performance by using Ajax calls (no full page reload for each folder) The file owner can now also restore deleted shared files New version drop-down with previews and the ability to downloading versions directly
2013-12-27 16:56:38 +01:00
USE_TOOLS+= bash:run pax perl:run
OC_DIR= share/owncloud
INSTALLATION_DIRS= ${OC_DIR}
REPLACE_BASH+= 3rdparty/*/*/*/*
Update to 6.0.0a * Switch to 6 branch * Replace interpreters with REPLACE_* Changelog: Version 6.0.0a Dec 14th 2013 Remove wrong warnings from logfile Fix LDAP authentication Fix LDAP configuration Fix Share dialog Fix migration under certain conditions Fix database encoding for old PHP versions Fix select all checkbox Fix migration with lucene search enabled Fix migration for postgresql Version 6.0.0 Dec 11th 2013 User Avatars Previews in files app and other places Updated design, less clutter and more whitespace Public gallery sharing Activities Better file conflict handling dialog Improved public App API Sharing API Example Files Share Email Notifications New Doctrine based database layer Plural translations Refactored OC.dialogs (both code and design wise) Priorize often used languages in personal-settings language selection Update jquery to 1.10.0 and add jquery-migrate 1.2.1 Show a summary as the last filelist entry Improve app-management (more verbose error-messages) Show ‘More apps’ link to app administration directly in app navigation Templates for newly created files Add MB indicator to size column Google Drive external storage uses a new library New icons for shared and external folders File uploads conflicts dialog Possibility to prepopulate a new users home with a skeleton Public upload with encryption enabled Users now can decrypt the files again if their encryption app was enabled Many quota related fixes Total used space (with quota) now only counts user’s own files Many external storage fixes, improved performance Improved file navigation performance by using Ajax calls (no full page reload for each folder) The file owner can now also restore deleted shared files New version drop-down with previews and the ability to downloading versions directly
2013-12-27 16:56:38 +01:00
REPLACE_BASH+= apps/*/*/*
REPLACE_BASH+= apps/*/*/*/*
Update to 6.0.0a * Switch to 6 branch * Replace interpreters with REPLACE_* Changelog: Version 6.0.0a Dec 14th 2013 Remove wrong warnings from logfile Fix LDAP authentication Fix LDAP configuration Fix Share dialog Fix migration under certain conditions Fix database encoding for old PHP versions Fix select all checkbox Fix migration with lucene search enabled Fix migration for postgresql Version 6.0.0 Dec 11th 2013 User Avatars Previews in files app and other places Updated design, less clutter and more whitespace Public gallery sharing Activities Better file conflict handling dialog Improved public App API Sharing API Example Files Share Email Notifications New Doctrine based database layer Plural translations Refactored OC.dialogs (both code and design wise) Priorize often used languages in personal-settings language selection Update jquery to 1.10.0 and add jquery-migrate 1.2.1 Show a summary as the last filelist entry Improve app-management (more verbose error-messages) Show ‘More apps’ link to app administration directly in app navigation Templates for newly created files Add MB indicator to size column Google Drive external storage uses a new library New icons for shared and external folders File uploads conflicts dialog Possibility to prepopulate a new users home with a skeleton Public upload with encryption enabled Users now can decrypt the files again if their encryption app was enabled Many quota related fixes Total used space (with quota) now only counts user’s own files Many external storage fixes, improved performance Improved file navigation performance by using Ajax calls (no full page reload for each folder) The file owner can now also restore deleted shared files New version drop-down with previews and the ability to downloading versions directly
2013-12-27 16:56:38 +01:00
REPLACE_BASH+= core/img/image-optimization.sh
REPLACE_PERL+= apps/*/*/*
REPLACE_PERL+= l10n/l10n.pl
REPLACE_PYTHON+= 3rdparty/*/*/*/*
Update to 6.0.0a * Switch to 6 branch * Replace interpreters with REPLACE_* Changelog: Version 6.0.0a Dec 14th 2013 Remove wrong warnings from logfile Fix LDAP authentication Fix LDAP configuration Fix Share dialog Fix migration under certain conditions Fix database encoding for old PHP versions Fix select all checkbox Fix migration with lucene search enabled Fix migration for postgresql Version 6.0.0 Dec 11th 2013 User Avatars Previews in files app and other places Updated design, less clutter and more whitespace Public gallery sharing Activities Better file conflict handling dialog Improved public App API Sharing API Example Files Share Email Notifications New Doctrine based database layer Plural translations Refactored OC.dialogs (both code and design wise) Priorize often used languages in personal-settings language selection Update jquery to 1.10.0 and add jquery-migrate 1.2.1 Show a summary as the last filelist entry Improve app-management (more verbose error-messages) Show ‘More apps’ link to app administration directly in app navigation Templates for newly created files Add MB indicator to size column Google Drive external storage uses a new library New icons for shared and external folders File uploads conflicts dialog Possibility to prepopulate a new users home with a skeleton Public upload with encryption enabled Users now can decrypt the files again if their encryption app was enabled Many quota related fixes Total used space (with quota) now only counts user’s own files Many external storage fixes, improved performance Improved file navigation performance by using Ajax calls (no full page reload for each folder) The file owner can now also restore deleted shared files New version drop-down with previews and the ability to downloading versions directly
2013-12-27 16:56:38 +01:00
# for php interpreter
CHECK_INTERPRETER_SKIP+= ${OC_DIR}/3rdparty/doctrine/dbal/bin/doctrine-dbal
CHECK_INTERPRETER_SKIP+= ${OC_DIR}/3rdparty/dompdf/load_font.php
CHECK_INTERPRETER_SKIP+= ${OC_DIR}/3rdparty/phpdocx/pdf/load_font.php
CHECK_INTERPRETER_SKIP+= ${OC_DIR}/3rdparty/sabre/vobject/bin/*
CHECK_INTERPRETER_SKIP+= ${OC_DIR}/apps/contacts/vendor/blueimp-tmpl/js/compile.js
Update to 6.0.0a * Switch to 6 branch * Replace interpreters with REPLACE_* Changelog: Version 6.0.0a Dec 14th 2013 Remove wrong warnings from logfile Fix LDAP authentication Fix LDAP configuration Fix Share dialog Fix migration under certain conditions Fix database encoding for old PHP versions Fix select all checkbox Fix migration with lucene search enabled Fix migration for postgresql Version 6.0.0 Dec 11th 2013 User Avatars Previews in files app and other places Updated design, less clutter and more whitespace Public gallery sharing Activities Better file conflict handling dialog Improved public App API Sharing API Example Files Share Email Notifications New Doctrine based database layer Plural translations Refactored OC.dialogs (both code and design wise) Priorize often used languages in personal-settings language selection Update jquery to 1.10.0 and add jquery-migrate 1.2.1 Show a summary as the last filelist entry Improve app-management (more verbose error-messages) Show ‘More apps’ link to app administration directly in app navigation Templates for newly created files Add MB indicator to size column Google Drive external storage uses a new library New icons for shared and external folders File uploads conflicts dialog Possibility to prepopulate a new users home with a skeleton Public upload with encryption enabled Users now can decrypt the files again if their encryption app was enabled Many quota related fixes Total used space (with quota) now only counts user’s own files Many external storage fixes, improved performance Improved file navigation performance by using Ajax calls (no full page reload for each folder) The file owner can now also restore deleted shared files New version drop-down with previews and the ability to downloading versions directly
2013-12-27 16:56:38 +01:00
CHECK_INTERPRETER_SKIP+= ${OC_DIR}/occ
2012-12-24 02:40:59 +01:00
.include "../../mk/bsd.prefs.mk"
APACHE_USER?= nginx
APACHE_GROUP?= nginx
PKG_GROUPS= ${APACHE_GROUP}
PKG_USERS= ${APACHE_USER}:${APACHE_GROUP}
2012-12-24 02:40:59 +01:00
PKG_USERS_VARS= APACHE_USER
PKG_GROUPS_VARS= APACHE_GROUP
BUILD_DEFS+= APACHE_GROUP APACHE_USER
FILES_SUBST+= WWWGRP=${APACHE_GROUP} WWWOWN=${APACHE_USER} \
OC_DIR=${OC_DIR}
do-install:
cd ${WRKDIR} && ${FIND} owncloud -type f \! -name '*.orig' -print | \
pax -rw -pmp ${DESTDIR}${PREFIX}/share
cd ${WRKDIR} && ${FIND} calendar -type f \! -name '*.orig' -print | \
pax -rw -pmp ${DESTDIR}${PREFIX}/share/owncloud/apps
cd ${WRKDIR} && ${FIND} contacts -type f \! -name '*.orig' -print | \
pax -rw -pmp ${DESTDIR}${PREFIX}/share/owncloud/apps
.include "../../lang/php/phpversion.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"