roundcube-plugin-carddav: added version 3.0.3

This commit is contained in:
triaxx 2020-02-11 20:36:49 +00:00
parent da276defcb
commit a25f835f94
6 changed files with 376 additions and 0 deletions

View file

@ -0,0 +1,5 @@
This is a plugin for the Roundcube webmailer to access CardDAV servers like
owncloud, davical, a Google addressbook or a davmail server.
RCMCardDAV supports autodiscovery of your addressbook url via .well-known URLs
so you can just point it to your servers base url.

View file

@ -0,0 +1,7 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1 2020/02/11 20:36:49 triaxx Exp $
Add 'carddav' to the $rcmail_config['plugins'] array in
${PKG_SYSCONFDIR}/config.inc.php
===========================================================================

View file

@ -0,0 +1,79 @@
# $NetBSD: Makefile,v 1.1 2020/02/11 20:36:49 triaxx Exp $
DISTNAME= carddav-3.0.3
PKGNAME= ${PHP_PKG_PREFIX}-roundcube-plugin-${DISTNAME}
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_GITHUB:=blind-coder/}
GITHUB_PROJECT= rcmcarddav
GITHUB_RELEASE= v${PKGVERSION_NOREV}
EXTRACT_SUFX= .tar.bz2
HOMEPAGE= https://www.benjamin-schieder.de/carddav.html
MAINTAINER= triaxx@NetBSD.org
COMMENT= CardDAV adapter for Roundcube
LICENSE= gnu-gpl-v2
.include "../../mk/bsd.prefs.mk"
NO_BUILD= yes
DEPENDS+= ${PHP_PKG_PREFIX}-roundcube>=1.0.0:../../mail/roundcube
WRKSRC= ${WRKDIR}/carddav
DISTINFO_FILE= distinfo
PKG_SYSCONFSUBDIR= roundcube
WWW_USER?= ${APACHE_USER}
WWW_GROUP?= ${APACHE_GROUP}
PKG_GROUPS_VARS+= WWW_GROUP
PKG_USERS_VARS= WWW_USER
BUILD_DEFS+= WWW_USER WWW_GROUP APACHE_USER APACHE_GROUP
RCDIR= share/roundcube
CDDIR= ${RCDIR}/plugins/carddav
EGDIR= share/examples/roundcube/plugins/carddav
CD_SUBDIRS= dbmigrations localization skins vendor
.for d in ${CD_SUBDIRS}
INSTALLATION_DIRS+= ${CDDIR}/${d}
.endfor
INSTALLATION_DIRS+= ${EGDIR}
CONF_FILES_PERMS+= ${PREFIX}/${EGDIR}/config.inc.php \
${PKG_SYSCONFDIR}/plugins/carddav/config.inc.php \
${WWW_USER} ${WWW_GROUP} 0640
MESSAGE_SUBST+= PKG_SYSCONFDIR=${PKG_SYSCONFDIR}
SUBST_CLASSES+= cfg
SUBST_STAGE.cfg= pre-install
SUBST_MESSAGE.cfg= Fixing configuration files.
SUBST_FILES.cfg= carddav_common.php
SUBST_VARS.cfg= PKG_SYSCONFDIR
do-install:
${INSTALL_DATA} ${WRKSRC}/carddav.php \
${DESTDIR}${PREFIX}/${CDDIR}/carddav.php
${INSTALL_DATA} ${WRKSRC}/carddav_backend.php \
${DESTDIR}${PREFIX}/${CDDIR}/carddav_backend.php
${INSTALL_DATA} ${WRKSRC}/carddav_common.php \
${DESTDIR}${PREFIX}/${CDDIR}/carddav_common.php
${INSTALL_DATA} ${WRKSRC}/carddav_discovery.php \
${DESTDIR}${PREFIX}/${CDDIR}/carddav_discovery.php
.for i in ${CD_SUBDIRS}
cd ${WRKSRC}/${i} && ${FIND} . -type f -print | \
pax -rw ${DESTDIR}${PREFIX}/${CDDIR}/${i}
${FIND} ${DESTDIR}${PREFIX}/${CDDIR}/${i} -type f | \
${XARGS} ${CHMOD} ${SHAREMODE}
${FIND} ${DESTDIR}${PREFIX}/${CDDIR}/${i} -type d | \
${XARGS} ${CHMOD} ${PKGDIRMODE}
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} \
${DESTDIR}${PREFIX}/${CDDIR}/${i}
.endfor
${INSTALL_DATA} ${WRKSRC}/config.inc.php.dist \
${DESTDIR}${PREFIX}/${EGDIR}/config.inc.php
.include "../../lang/php/phpversion.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,253 @@
@comment $NetBSD: PLIST,v 1.1 2020/02/11 20:36:49 triaxx Exp $
share/examples/roundcube/plugins/carddav/config.inc.php
share/roundcube/plugins/carddav/carddav.php
share/roundcube/plugins/carddav/carddav_backend.php
share/roundcube/plugins/carddav/carddav_common.php
share/roundcube/plugins/carddav/carddav_discovery.php
share/roundcube/plugins/carddav/dbmigrations/0000-dbinit/mysql.sql
share/roundcube/plugins/carddav/dbmigrations/0000-dbinit/postgres.sql
share/roundcube/plugins/carddav/dbmigrations/0000-dbinit/sqlite3.sql
share/roundcube/plugins/carddav/dbmigrations/0000-sample/mysql.sql
share/roundcube/plugins/carddav/dbmigrations/0000-sample/postgres.sql
share/roundcube/plugins/carddav/dbmigrations/0000-sample/sqlite3.sql
share/roundcube/plugins/carddav/dbmigrations/0001-categories/mysql.sql
share/roundcube/plugins/carddav/dbmigrations/0001-categories/postgres.sql
share/roundcube/plugins/carddav/dbmigrations/0001-categories/sqlite3.sql
share/roundcube/plugins/carddav/dbmigrations/0002-increasetextfieldlengths/mysql.sql
share/roundcube/plugins/carddav/dbmigrations/0002-increasetextfieldlengths/postgres.sql
share/roundcube/plugins/carddav/dbmigrations/0002-increasetextfieldlengths/sqlite3.sql
share/roundcube/plugins/carddav/dbmigrations/0003-fixtimestampdefaultvalue/README.md
share/roundcube/plugins/carddav/dbmigrations/0003-fixtimestampdefaultvalue/mysql.sql
share/roundcube/plugins/carddav/dbmigrations/0003-fixtimestampdefaultvalue/postgres.sql
share/roundcube/plugins/carddav/dbmigrations/0003-fixtimestampdefaultvalue/sqlite3.sql
share/roundcube/plugins/carddav/dbmigrations/0004-fixtimestampdefaultvalue/mysql.sql
share/roundcube/plugins/carddav/dbmigrations/0004-fixtimestampdefaultvalue/postgres.sql
share/roundcube/plugins/carddav/dbmigrations/0004-fixtimestampdefaultvalue/sqlite3.sql
share/roundcube/plugins/carddav/dbmigrations/0005-changemysqlut8toutf8mb4/mysql.sql
share/roundcube/plugins/carddav/dbmigrations/0005-changemysqlut8toutf8mb4/postgres.sql
share/roundcube/plugins/carddav/dbmigrations/0005-changemysqlut8toutf8mb4/sqlite3.sql
share/roundcube/plugins/carddav/localization/cs_CZ.inc
share/roundcube/plugins/carddav/localization/de_DE.inc
share/roundcube/plugins/carddav/localization/en_US.inc
share/roundcube/plugins/carddav/localization/es_ES.inc
share/roundcube/plugins/carddav/localization/fr_FR.inc
share/roundcube/plugins/carddav/localization/hu_HU.inc
share/roundcube/plugins/carddav/localization/id_ID.inc
share/roundcube/plugins/carddav/localization/it_IT.inc
share/roundcube/plugins/carddav/localization/pl_PL.inc
share/roundcube/plugins/carddav/localization/ru_RU.inc
share/roundcube/plugins/carddav/localization/sv_SE.inc
share/roundcube/plugins/carddav/localization/uk_UK.inc
share/roundcube/plugins/carddav/skins/classic/carddav.css
share/roundcube/plugins/carddav/skins/elastic/carddav.css
share/roundcube/plugins/carddav/skins/larry/carddav.css
share/roundcube/plugins/carddav/vendor/autoload.php
share/roundcube/plugins/carddav/vendor/composer/ClassLoader.php
share/roundcube/plugins/carddav/vendor/composer/LICENSE
share/roundcube/plugins/carddav/vendor/composer/autoload_classmap.php
share/roundcube/plugins/carddav/vendor/composer/autoload_namespaces.php
share/roundcube/plugins/carddav/vendor/composer/autoload_psr4.php
share/roundcube/plugins/carddav/vendor/composer/autoload_real.php
share/roundcube/plugins/carddav/vendor/composer/autoload_static.php
share/roundcube/plugins/carddav/vendor/composer/installed.json
share/roundcube/plugins/carddav/vendor/nategood/httpful/.gitignore
share/roundcube/plugins/carddav/vendor/nategood/httpful/.travis.yml
share/roundcube/plugins/carddav/vendor/nategood/httpful/LICENSE.txt
share/roundcube/plugins/carddav/vendor/nategood/httpful/README.md
share/roundcube/plugins/carddav/vendor/nategood/httpful/bootstrap.php
share/roundcube/plugins/carddav/vendor/nategood/httpful/build
share/roundcube/plugins/carddav/vendor/nategood/httpful/composer.json
share/roundcube/plugins/carddav/vendor/nategood/httpful/examples/freebase.php
share/roundcube/plugins/carddav/vendor/nategood/httpful/examples/github.php
share/roundcube/plugins/carddav/vendor/nategood/httpful/examples/override.php
share/roundcube/plugins/carddav/vendor/nategood/httpful/examples/showclix.php
share/roundcube/plugins/carddav/vendor/nategood/httpful/src/Httpful/Bootstrap.php
share/roundcube/plugins/carddav/vendor/nategood/httpful/src/Httpful/Exception/ConnectionErrorException.php
share/roundcube/plugins/carddav/vendor/nategood/httpful/src/Httpful/Handlers/CsvHandler.php
share/roundcube/plugins/carddav/vendor/nategood/httpful/src/Httpful/Handlers/FormHandler.php
share/roundcube/plugins/carddav/vendor/nategood/httpful/src/Httpful/Handlers/JsonHandler.php
share/roundcube/plugins/carddav/vendor/nategood/httpful/src/Httpful/Handlers/MimeHandlerAdapter.php
share/roundcube/plugins/carddav/vendor/nategood/httpful/src/Httpful/Handlers/README.md
share/roundcube/plugins/carddav/vendor/nategood/httpful/src/Httpful/Handlers/XHtmlHandler.php
share/roundcube/plugins/carddav/vendor/nategood/httpful/src/Httpful/Handlers/XmlHandler.php
share/roundcube/plugins/carddav/vendor/nategood/httpful/src/Httpful/Http.php
share/roundcube/plugins/carddav/vendor/nategood/httpful/src/Httpful/Httpful.php
share/roundcube/plugins/carddav/vendor/nategood/httpful/src/Httpful/Mime.php
share/roundcube/plugins/carddav/vendor/nategood/httpful/src/Httpful/Proxy.php
share/roundcube/plugins/carddav/vendor/nategood/httpful/src/Httpful/Request.php
share/roundcube/plugins/carddav/vendor/nategood/httpful/src/Httpful/Response.php
share/roundcube/plugins/carddav/vendor/nategood/httpful/src/Httpful/Response/Headers.php
share/roundcube/plugins/carddav/vendor/nategood/httpful/tests/Httpful/HttpfulTest.php
share/roundcube/plugins/carddav/vendor/nategood/httpful/tests/Httpful/requestTest.php
share/roundcube/plugins/carddav/vendor/nategood/httpful/tests/bootstrap-server.php
share/roundcube/plugins/carddav/vendor/nategood/httpful/tests/phpunit.xml
share/roundcube/plugins/carddav/vendor/nategood/httpful/tests/static/test.json
share/roundcube/plugins/carddav/vendor/nategood/httpful/tests/test_image.jpg
share/roundcube/plugins/carddav/vendor/sabre/vobject/.gitignore
share/roundcube/plugins/carddav/vendor/sabre/vobject/.travis.yml
share/roundcube/plugins/carddav/vendor/sabre/vobject/ChangeLog.md
share/roundcube/plugins/carddav/vendor/sabre/vobject/LICENSE
share/roundcube/plugins/carddav/vendor/sabre/vobject/README.md
share/roundcube/plugins/carddav/vendor/sabre/vobject/bin/bench.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/bin/fetch_windows_zones.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/bin/generate_vcards
share/roundcube/plugins/carddav/vendor/sabre/vobject/bin/generateicalendardata.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/bin/rrulebench.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/bin/vobject
share/roundcube/plugins/carddav/vendor/sabre/vobject/composer.json
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Cli.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Component.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Component/Available.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Component/VAlarm.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Component/VAvailability.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Component/VCalendar.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Component/VCard.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Component/VEvent.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Component/VFreeBusy.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Component/VJournal.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Component/VTimeZone.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Component/VTodo.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/DateTimeParser.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Document.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/ElementList.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/EofException.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/FreeBusyGenerator.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/ITip/Broker.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/ITip/ITipException.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/ITip/Message.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/ITip/SameOrganizerForAllComponentsException.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Node.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Parameter.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/ParseException.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Parser/Json.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Parser/MimeDir.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Parser/Parser.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Property.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Property/Binary.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Property/Boolean.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Property/FlatText.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Property/FloatValue.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Property/ICalendar/CalAddress.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Property/ICalendar/Date.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Property/ICalendar/DateTime.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Property/ICalendar/Duration.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Property/ICalendar/Period.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Property/ICalendar/Recur.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Property/IntegerValue.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Property/Text.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Property/Time.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Property/Unknown.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Property/Uri.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Property/UtcOffset.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Property/VCard/Date.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Property/VCard/DateAndOrTime.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Property/VCard/DateTime.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Property/VCard/LanguageTag.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Property/VCard/TimeStamp.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Reader.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Recur/EventIterator.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Recur/NoInstancesException.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Recur/RDateIterator.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Recur/RRuleIterator.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/RecurrenceIterator.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Splitter/ICalendar.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Splitter/SplitterInterface.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Splitter/VCard.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/StringUtil.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/TimeZoneUtil.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/UUIDUtil.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/VCardConverter.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/Version.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/timezonedata/exchangezones.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/timezonedata/lotuszones.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/timezonedata/php-bc.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/timezonedata/php-workaround.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/lib/timezonedata/windowszones.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/AttachIssueTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/CliTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Component/VAlarmTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Component/VAvailabilityTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Component/VCalendarTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Component/VCardTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Component/VEventTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Component/VFreeBusyTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Component/VJournalTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Component/VTimeZoneTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Component/VTodoTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/ComponentTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/DateTimeParserTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/DocumentTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/ElementListTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/EmClientTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/EmptyParameterTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/EmptyValueIssueTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/FreeBusyGeneratorTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/GoogleColonEscapingTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/ICalendar/AttachParseTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/ITip/BrokerAttendeeReplyTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/ITip/BrokerDeleteEventTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/ITip/BrokerNewEventTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/ITip/BrokerProcessMessageTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/ITip/BrokerProcessReplyTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/ITip/BrokerTester.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/ITip/BrokerTimezoneInParseEventInfoWithoutMasterTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/ITip/BrokerUpdateEventTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/ITip/EvolutionTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/ITip/MessageTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Issue153Test.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Issue26Test.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Issue36WorkAroundTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Issue40Test.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Issue64Test.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Issue96Test.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/JCalTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/JCardTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/LineFoldingIssueTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/ParameterTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Parser/JsonTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Parser/MimeDirTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Parser/QuotedPrintableTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Property/BinaryTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Property/BooleanTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Property/CompoundTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Property/FloatTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Property/ICalendar/CalAddressTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Property/ICalendar/DateTimeTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Property/ICalendar/DurationTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Property/ICalendar/RecurTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Property/TextTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Property/VCard/DateAndOrTimeTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Property/VCard/LanguageTagTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/PropertyTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/ReaderTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Recur/EventIterator/ByMonthInDailyTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Recur/EventIterator/BySetPosHangTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Recur/EventIterator/ExpandFloatingTimesTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Recur/EventIterator/FifthTuesdayProblemTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Recur/EventIterator/IncorrectExpandTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Recur/EventIterator/InfiniteLoopProblemTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Recur/EventIterator/Issue48Test.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Recur/EventIterator/Issue50Test.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Recur/EventIterator/MainTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Recur/EventIterator/MissingOverriddenTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Recur/EventIterator/NoInstancesTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Recur/EventIterator/OverrideFirstEventTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Recur/EventIterator/SameDateForRecurringEventsTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Recur/RDateIteratorTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Recur/RRuleIteratorTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/RecurrenceIterator/UntilRespectsTimezoneTest.ics
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/SlashRTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Splitter/ICalendarTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/Splitter/VCardTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/StringUtilTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/TestCase.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/TimeZoneUtilTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/UUIDUtilTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/VCard21Test.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/VCardConverterTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/VersionTest.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/issue153.vcf
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/VObject/issue64.vcf
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/bootstrap.php
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/phpcs/ruleset.xml
share/roundcube/plugins/carddav/vendor/sabre/vobject/tests/phpunit.xml

View file

@ -0,0 +1,7 @@
$NetBSD: distinfo,v 1.1 2020/02/11 20:36:49 triaxx Exp $
SHA1 (carddav-3.0.3.tar.bz2) = 3e5174a179e8b2315474c16ba8917cc8c8eb2b9d
RMD160 (carddav-3.0.3.tar.bz2) = c7ac76272cab475c34f15bf5182e6d22d363429d
SHA512 (carddav-3.0.3.tar.bz2) = 718ff5c01c03f47c75262a407df1a1a7b73463f19ed89a32762bd16cceccd39247bb9ca03667fc38ab8c514d904550d2ce978f82d541c71b3ef6ffdf07390710
Size (carddav-3.0.3.tar.bz2) = 710891 bytes
SHA1 (patch-carddav__common.php) = 43566dabbcf53e59e62d43356b7a8b63eecf423c

View file

@ -0,0 +1,25 @@
$NetBSD: patch-carddav__common.php,v 1.1 2020/02/11 20:36:49 triaxx Exp $
* Fix issue with large CardDAV collection (Github #259).
* Make pkgsrc-compliant the path of configuration file.
--- carddav_common.php.orig 2018-10-01 07:23:22.000000000 +0000
+++ carddav_common.php
@@ -114,7 +114,7 @@ class carddav_common
if(!self::check_contenttype($reply['headers']['content-type'], ';(text|application)/xml;'))
return false;
- $xml = new SimpleXMLElement($reply['body']);
+ $xml = simplexml_load_string($reply['body'], 'SimpleXMLElement', LIBXML_COMPACT | LIBXML_PARSEHUGE);
$this->registerNamespaces($xml);
return $xml;
}
@@ -373,7 +373,7 @@ class carddav_common
$rcmail = rcmail::get_instance();
$prefs = array();
- $configfile = dirname(__FILE__)."/config.inc.php";
+ $configfile = "@PKG_SYSCONFDIR@/config.inc.php";
if (file_exists($configfile)){
require("$configfile");
}