Index: head/mail/roundcube-automatic_addressbook/Makefile =================================================================== --- head/mail/roundcube-automatic_addressbook/Makefile (revision 447575) +++ head/mail/roundcube-automatic_addressbook/Makefile (revision 447576) @@ -1,31 +1,31 @@ # $FreeBSD$ PORTNAME= automatic_addressbook -PORTVERSION= 0.4.2 +PORTVERSION= 0.4.3 CATEGORIES= mail PKGNAMEPREFIX= roundcube- MAINTAINER= andrej@ebert.su COMMENT= Roundcube webmail automatic addressbook plugin LICENSE= GPLv3 RUN_DEPENDS= roundcube>=0.8:mail/roundcube -NO_BUILD= yes -NO_ARCH= yes - USE_GITHUB= yes GH_ACCOUNT= sblaisot + +NO_BUILD= yes +NO_ARCH= yes RCDIR= ${PREFIX}/www/roundcube WWWDIR= ${RCDIR}/plugins/automatic_addressbook SUB_FILES= pkg-message SUB_LIST= RCDIR=${RCDIR} PLUGINDIR=${WWWDIR} do-install: @${MKDIR} ${STAGEDIR}${WWWDIR} cd ${WRKSRC} && ${PAX} -r -w . ${STAGEDIR}${WWWDIR} .include Index: head/mail/roundcube-automatic_addressbook/distinfo =================================================================== --- head/mail/roundcube-automatic_addressbook/distinfo (revision 447575) +++ head/mail/roundcube-automatic_addressbook/distinfo (revision 447576) @@ -1,3 +1,3 @@ -TIMESTAMP = 1476010533 -SHA256 (sblaisot-automatic_addressbook-0.4.2_GH0.tar.gz) = dd87e51f430aee9b9f2fa4823ec2c79f085f0fca01f8497d74c6212d2fd9c71f -SIZE (sblaisot-automatic_addressbook-0.4.2_GH0.tar.gz) = 30071 +TIMESTAMP = 1501588731 +SHA256 (sblaisot-automatic_addressbook-0.4.3_GH0.tar.gz) = ccc6631bd687196b0e86810096482ac116afdf5e2589ecc4617ca871bfc4a52f +SIZE (sblaisot-automatic_addressbook-0.4.3_GH0.tar.gz) = 30193 Index: head/mail/roundcube-automatic_addressbook/files/pkg-message.in =================================================================== --- head/mail/roundcube-automatic_addressbook/files/pkg-message.in (revision 447575) +++ head/mail/roundcube-automatic_addressbook/files/pkg-message.in (revision 447576) @@ -1,28 +1,30 @@ --------------------------------------------------------------------- FIRST INSTALLATION If this is a first installation of automatic addressbook plugin, you have to execute the relevant initialisation SQL script for your chosen database backend : %%PLUGINDIR%%/SQL/.initial.sql +If your Roundcube Database starts with a prefix set the prefix also in the SQL Statement: "REFERENCES `PREFIX_users`(`user_id`)" + You will also need to copy : %%PLUGINDIR%%/config/config.inc.php.dist to %%PLUGINDIR%%/config/config.inc.php and edit as you need. Finally, you will need to add the plugin to your list of loadable -plugins in %%RCDIR%%/config/main.inc.php : +plugins in %%RCDIR%%/config/main.inc.php or %%RCDIR%%/config/config.inc.php depending on your roundcube version, for example: -E.g. : $rcmail_config['plugins'] = array('automatic_addressbook'); + $rcmail_config['plugins'] = array('automatic_addressbook',); UPGRADING If you already had a previous version of automatic addressbook plugin installed, you should update your database schema by executing the relevant upgrade SQL script for your chosen database backend : -%%WWWDIR%%/SQL/.upgrade.sql +%%PLUGINDIR%%/SQL/.update.sql scripts. ---------------------------------------------------------------------