pkgsrc/net/php-baikal/Makefile
triaxx f5b54f17ad php-baikal: update to 0.6.0
pkgsrc changes:
---------------
  * Remove APACHE_{GROUP,USER} definition to appease pkglint.
  * Remove an executable permission to suppress a warning.

upstream changes:
-----------------
0.6.0 (2019-08-25)

    Added support for php 7.3
    REMOVED support for php 5.x
    Enabled event invitation plugin
    Enabled calendar sharing plugin
    Ships with sabre/dav 4.0.1

0.5.3 (2019-05-13)

    Added confirmation page before upgrading to prevent aborting upgrades accidentally
    Ships with sabre/dav 3.2.3

0.5.2 (2019-04-26)

    Fixed creating new users/calendars
    New front page
    Increased timeout for database upgrades
    Ships with sabre/dav 3.2.3

0.5.1 (2019-04-21)

    Fixed authentication bypass
    Upgraded sabre/dav to version 3.2.3
    Support for PHP 7.2
2019-11-03 18:50:18 +00:00

81 lines
3.2 KiB
Makefile

# $NetBSD: Makefile,v 1.11 2019/11/03 18:50:18 triaxx Exp $
DISTNAME= baikal-0.6.0
PKGNAME= ${PHP_PKG_PREFIX}-${DISTNAME}
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GITHUB:=fruux/}
GITHUB_RELEASE= ${PKGVERSION_NOREV}
GITHUB_PROJECT= baikal
EXTRACT_SUFX= .zip
MAINTAINER= wiz@NetBSD.org
HOMEPAGE= http://baikal-server.com/
COMMENT= Lightweight CalDAV+CardDAV server
LICENSE= gnu-gpl-v3
DEPENDS+= ${PHP_PKG_PREFIX}-pdo>=5.3.1:../../databases/php-pdo
DEPENDS+= ${PHP_PKG_PREFIX}-pdo_sqlite>=5.3.1:../../databases/php-pdo_sqlite
WRKSRC= ${WRKDIR}/baikal
USE_LANGUAGES= # none
NO_BUILD= yes
USE_TOOLS+= pax
BUILD_DEFS+= APACHE_GROUP APACHE_USER
BAIKALDIR= share/baikal
INSTALLATION_DIRS= ${BAIKALDIR}
# TODO:
# The directory "Specific" should probably be handled as configuration
CHECK_INTERPRETER_SKIP+= share/baikal/Core/Frameworks/BaikalAdmin/Resources/GlyphiconsPro/generate-sprite.php
CHECK_INTERPRETER_SKIP+= share/baikal/Core/Resources/Web/BaikalAdmin/GlyphiconsPro/generate-sprite.php
CHECK_INTERPRETER_SKIP+= share/baikal/html/res/core/BaikalAdmin/GlyphiconsPro/generate-sprite.php
CHECK_INTERPRETER_SKIP+= share/baikal/vendor/bin/generate_vcards
CHECK_INTERPRETER_SKIP+= share/baikal/vendor/bin/naturalselection
CHECK_INTERPRETER_SKIP+= share/baikal/vendor/bin/vobject
CHECK_INTERPRETER_SKIP+= share/baikal/vendor/bin/vobjectvalidate.php
CHECK_INTERPRETER_SKIP+= share/baikal/vendor/sabre/dav/bin/build.php
CHECK_INTERPRETER_SKIP+= share/baikal/vendor/sabre/dav/bin/googlecode_upload.py
CHECK_INTERPRETER_SKIP+= share/baikal/vendor/sabre/dav/bin/migrateto17.php
CHECK_INTERPRETER_SKIP+= share/baikal/vendor/sabre/dav/bin/migrateto20.php
CHECK_INTERPRETER_SKIP+= share/baikal/vendor/sabre/dav/bin/migrateto21.php
CHECK_INTERPRETER_SKIP+= share/baikal/vendor/sabre/dav/bin/migrateto30.php
CHECK_INTERPRETER_SKIP+= share/baikal/vendor/sabre/dav/bin/migrateto32.php
CHECK_INTERPRETER_SKIP+= share/baikal/vendor/sabre/dav/bin/naturalselection
CHECK_INTERPRETER_SKIP+= share/baikal/vendor/sabre/dav/bin/naturalselection.py
CHECK_INTERPRETER_SKIP+= share/baikal/vendor/sabre/event/examples/promise.php
CHECK_INTERPRETER_SKIP+= share/baikal/vendor/sabre/event/examples/tail.php
CHECK_INTERPRETER_SKIP+= share/baikal/vendor/sabre/vobject/bin/bench.php
CHECK_INTERPRETER_SKIP+= share/baikal/vendor/sabre/vobject/bin/fetch_windows_zones.php
CHECK_INTERPRETER_SKIP+= share/baikal/vendor/sabre/vobject/bin/generate_vcards
CHECK_INTERPRETER_SKIP+= share/baikal/vendor/sabre/vobject/bin/generateicalendardata.php
CHECK_INTERPRETER_SKIP+= share/baikal/vendor/sabre/vobject/bin/mergeduplicates.php
CHECK_INTERPRETER_SKIP+= share/baikal/vendor/sabre/vobject/bin/vobject
CHECK_INTERPRETER_SKIP+= share/baikal/vendor/sabre/vobject/bin/vobjectvalidate.php
.include "../../mk/bsd.prefs.mk"
PKG_GROUPS= ${APACHE_GROUP}
PKG_USERS= ${APACHE_USER}:${APACHE_GROUP}
PKG_USERS_VARS= APACHE_USER
PKG_GROUPS_VARS= APACHE_GROUP
FILES_SUBST+= WWWGRP=${APACHE_GROUP} WWWOWN=${APACHE_USER} \
BAIKALDIR=${BAIKALDIR}
post-extract:
${CHMOD} -x ${WRKSRC}/vendor/sabre/dav/bin/sabredav.php
do-install:
${RM} -f ${WRKSRC}/*orig
${RM} -f ${WRKSRC}/*/*/*/*/*orig
cd ${WRKSRC} && pax -rw -pmp * \
${DESTDIR}${PREFIX}/${BAIKALDIR}
.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"