Skip to content

Commit

Permalink
rouncube-plugin-carddarv: Update to 4.1.1
Browse files Browse the repository at this point in the history
pkgsrc changes:
---------------
  * Change HOMEPAGE since the development lead is now on Github.
  * Add a composer.lock file to avoid PLIST breaking each time a dependency
    is updated.

upstream changes:
-----------------
Version 4.1.1 (to 4.1.0)
  o Fix: A fatal error would be raised when a password could not be decrypted,
    only on photo download. This would not be notable to the user (except for
    the photo not being displayed), but show up in the logs.
  o Fix #339: Allow adding public/shared addressbooks by giving full URL.
    Discovery is still used if the given URL does not point to an addressbook
    directly, or points to an addressbook inside the user's addressbook home.

Version 4.1.0 (to 4.0.4)
  o Fix: Prefer labels from X-ABLabel extension if available over standard
    labels
  o Fix #317: Support specification of department with empty organization
  o Support several levels of departments separated by semicolon that end up as
    structured value in the VCard
  o Fix #318: Some attributes (e.g. gender) could not be deleted when updating
    a contact
  o Fix #53: Only create displayname when not present in VCard / not provided
    by roundcube
  o Fix #325: Roundcube setting for contact sorting field was not used
  o Fix #279: More specific error message when syntactically wrong URL is
    entered for new addressbook
  o Fix #328: Contact search with MySQL might not have returned all results
  o Fix #332: When adding a new contact via "add to addressbook" from mail
    view, the email address was missing in the new card
  o New: Download externally referenced photos on demand, drastically speeding
    up sync with when photos are stored separately from the VCard (e.g.
    iCloud).  For details see #247.
  o New: Support for instant messaging data fields and maiden name (resolves
    #46). Interoperability with other CardDAV clients suffers some caveats, but
    I tried my best to achieve maximum possible interoperability. See IMPP.md
    for the gory details.
  o Removed a workaround that appears to be needed in the part to provide
    address data to the calendar plugin. It seems this is no longer the case
    for current versions of calendar.
  • Loading branch information
triaxx committed May 18, 2021
1 parent aeab3ee commit 39e74dc
Show file tree
Hide file tree
Showing 5 changed files with 4,847 additions and 21 deletions.
12 changes: 6 additions & 6 deletions mail/roundcube-plugin-carddav/Makefile
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
# $NetBSD: Makefile,v 1.4 2021/05/14 13:44:31 nia Exp $
# $NetBSD: Makefile,v 1.5 2021/05/18 07:13:26 triaxx Exp $

DISTNAME= carddav-v4.0.4
PKGREVISION= 1
DISTNAME= carddav-v4.1.1
PKGNAME= ${PHP_PKG_PREFIX}-roundcube-plugin-${DISTNAME:S/-v/-/}
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_GITHUB:=mstilkerich/}
GITHUB_PROJECT= rcmcarddav
GITHUB_RELEASE= v${PKGVERSION_NOREV}
EXTRACT_SUFX= .tgz

HOMEPAGE= https://www.benjamin-schieder.de/carddav.html
HOMEPAGE= https://github.com/mstilkerich/rcmcarddav
MAINTAINER= triaxx@NetBSD.org
COMMENT= CardDAV adapter for Roundcube
LICENSE= gnu-gpl-v2
Expand All @@ -18,7 +16,6 @@ USE_TOOLS+= pax

.include "../../mk/bsd.prefs.mk"

NO_CONFIGURE= yes
NO_BUILD= yes

REPLACE_PHP= vendor/roundcube/plugin-installer/src/bin/rcubeinitdb.sh
Expand Down Expand Up @@ -60,6 +57,9 @@ SUBST_MESSAGE.cfg= Fixing configuration files.
SUBST_FILES.cfg= carddav.php
SUBST_VARS.cfg= PKG_SYSCONFDIR

post-extract:
${CP} ${FILESDIR}/composer.lock ${WRKSRC}

do-install:
cd ${WRKSRC} && ${PREFIX}/bin/composer install --no-dev
${INSTALL_DATA} ${WRKSRC}/carddav.php \
Expand Down
28 changes: 24 additions & 4 deletions mail/roundcube-plugin-carddav/PLIST
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@comment $NetBSD: PLIST,v 1.3 2021/03/11 14:35:52 triaxx Exp $
@comment $NetBSD: PLIST,v 1.4 2021/05/18 07:13:26 triaxx Exp $
share/examples/roundcube/plugins/carddav/config.inc.php
share/roundcube/plugins/carddav/carddav.php
share/roundcube/plugins/carddav/dbmigrations/0000-dbinit/mysql.sql
Expand Down Expand Up @@ -53,6 +53,10 @@ share/roundcube/plugins/carddav/dbmigrations/0014-unifytimestampdefaultvalue/REA
share/roundcube/plugins/carddav/dbmigrations/0014-unifytimestampdefaultvalue/mysql.sql
share/roundcube/plugins/carddav/dbmigrations/0014-unifytimestampdefaultvalue/postgres.sql
share/roundcube/plugins/carddav/dbmigrations/0014-unifytimestampdefaultvalue/sqlite3.sql
share/roundcube/plugins/carddav/dbmigrations/0015-fixmysqlconstraints/README.md
share/roundcube/plugins/carddav/dbmigrations/0015-fixmysqlconstraints/mysql.sql
share/roundcube/plugins/carddav/dbmigrations/0015-fixmysqlconstraints/postgres.sql
share/roundcube/plugins/carddav/dbmigrations/0015-fixmysqlconstraints/sqlite3.sql
share/roundcube/plugins/carddav/dbmigrations/INIT-currentschema/mysql.sql
share/roundcube/plugins/carddav/dbmigrations/INIT-currentschema/postgres.sql
share/roundcube/plugins/carddav/dbmigrations/INIT-currentschema/sqlite3.sql
Expand All @@ -68,13 +72,20 @@ 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/localization/zh_TW.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/src/Addressbook.php
share/roundcube/plugins/carddav/src/DBMigrationInterface.php
share/roundcube/plugins/carddav/src/Database.php
share/roundcube/plugins/carddav/src/DatabaseException.php
share/roundcube/plugins/carddav/src/Config.php
share/roundcube/plugins/carddav/src/DataConversion.php
share/roundcube/plugins/carddav/src/Db/AbstractDatabase.php
share/roundcube/plugins/carddav/src/Db/DBMigrationInterface.php
share/roundcube/plugins/carddav/src/Db/Database.php
share/roundcube/plugins/carddav/src/Db/DatabaseException.php
share/roundcube/plugins/carddav/src/Db/DbAndCondition.php
share/roundcube/plugins/carddav/src/Db/DbOrCondition.php
share/roundcube/plugins/carddav/src/DelayedPhotoLoader.php
share/roundcube/plugins/carddav/src/RoundcubeLogger.php
share/roundcube/plugins/carddav/src/SyncHandlerRoundcube.php
share/roundcube/plugins/carddav/vendor/autoload.php
Expand Down Expand Up @@ -119,6 +130,7 @@ share/roundcube/plugins/carddav/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory
share/roundcube/plugins/carddav/vendor/guzzlehttp/guzzle/src/Handler/CurlHandler.php
share/roundcube/plugins/carddav/vendor/guzzlehttp/guzzle/src/Handler/CurlMultiHandler.php
share/roundcube/plugins/carddav/vendor/guzzlehttp/guzzle/src/Handler/EasyHandle.php
share/roundcube/plugins/carddav/vendor/guzzlehttp/guzzle/src/Handler/HeaderProcessor.php
share/roundcube/plugins/carddav/vendor/guzzlehttp/guzzle/src/Handler/MockHandler.php
share/roundcube/plugins/carddav/vendor/guzzlehttp/guzzle/src/Handler/Proxy.php
share/roundcube/plugins/carddav/vendor/guzzlehttp/guzzle/src/Handler/StreamHandler.php
Expand All @@ -135,6 +147,9 @@ share/roundcube/plugins/carddav/vendor/guzzlehttp/guzzle/src/TransferStats.php
share/roundcube/plugins/carddav/vendor/guzzlehttp/guzzle/src/Utils.php
share/roundcube/plugins/carddav/vendor/guzzlehttp/guzzle/src/functions.php
share/roundcube/plugins/carddav/vendor/guzzlehttp/guzzle/src/functions_include.php
share/roundcube/plugins/carddav/vendor/guzzlehttp/guzzle/vendor-bin/php-cs-fixer/composer.json
share/roundcube/plugins/carddav/vendor/guzzlehttp/guzzle/vendor-bin/phpstan/composer.json
share/roundcube/plugins/carddav/vendor/guzzlehttp/guzzle/vendor-bin/psalm/composer.json
share/roundcube/plugins/carddav/vendor/guzzlehttp/promises/CHANGELOG.md
share/roundcube/plugins/carddav/vendor/guzzlehttp/promises/LICENSE
share/roundcube/plugins/carddav/vendor/guzzlehttp/promises/Makefile
Expand All @@ -158,6 +173,11 @@ share/roundcube/plugins/carddav/vendor/guzzlehttp/promises/src/TaskQueueInterfac
share/roundcube/plugins/carddav/vendor/guzzlehttp/promises/src/Utils.php
share/roundcube/plugins/carddav/vendor/guzzlehttp/promises/src/functions.php
share/roundcube/plugins/carddav/vendor/guzzlehttp/promises/src/functions_include.php
share/roundcube/plugins/carddav/vendor/guzzlehttp/psr7/.github/workflows/bc.yml
share/roundcube/plugins/carddav/vendor/guzzlehttp/psr7/.github/workflows/ci.yml
share/roundcube/plugins/carddav/vendor/guzzlehttp/psr7/.github/workflows/integration.yml
share/roundcube/plugins/carddav/vendor/guzzlehttp/psr7/.github/workflows/static.yml
share/roundcube/plugins/carddav/vendor/guzzlehttp/psr7/.php_cs.dist
share/roundcube/plugins/carddav/vendor/guzzlehttp/psr7/CHANGELOG.md
share/roundcube/plugins/carddav/vendor/guzzlehttp/psr7/LICENSE
share/roundcube/plugins/carddav/vendor/guzzlehttp/psr7/README.md
Expand Down
12 changes: 6 additions & 6 deletions mail/roundcube-plugin-carddav/distinfo
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$NetBSD: distinfo,v 1.2 2021/02/26 13:17:36 triaxx Exp $
$NetBSD: distinfo,v 1.3 2021/05/18 07:13:26 triaxx Exp $

SHA1 (carddav-v4.0.4.tgz) = 7035a68b392c7e698f5dbcfe7be7eea1d7dff21a
RMD160 (carddav-v4.0.4.tgz) = 9b3077fb513eb3c524b9e3ab445d0f56aed97118
SHA512 (carddav-v4.0.4.tgz) = 73fd9cba53f8d59235447a90d86d764af3c5f1d5affb82d0ccd6c42a7f1fa4ffa081a1c767a698005cb1a0c62100711f8c8d567881f7b68be9fb3cb58be5c7e3
Size (carddav-v4.0.4.tgz) = 69086 bytes
SHA1 (patch-carddav.php) = a51378d0381ecc6fee3ac8b39a87925a5acbb7af
SHA1 (carddav-v4.1.1.tar.gz) = 87b73661b7799b2079c28324311eddb4241242bb
RMD160 (carddav-v4.1.1.tar.gz) = 7a1330d553b4f145597bc6c66939749ffd56baea
SHA512 (carddav-v4.1.1.tar.gz) = 22c1baa8e8fcd886f70511b58666c51f9a4246160090bf92178e0d8f46f5ea46f8ad946b8f77e9eaaf5be442486c8cd0dca5bba976ccac7c4cb3a89546897f2b
Size (carddav-v4.1.1.tar.gz) = 627228 bytes
SHA1 (patch-carddav.php) = b608f2aa896d2dfde44248af061da209e5a04dac
Loading

0 comments on commit 39e74dc

Please sign in to comment.