freebsd-ports/mail/sympa/Makefile

143 lines
4.9 KiB
Makefile
Raw Normal View History

# Created by: Autrijus Tang <autrijus@autrijus.org>
# $FreeBSD$
PORTNAME= sympa
DISTVERSION= 6.2.44
CATEGORIES= mail
MAINTAINER= dgeo@centrale-marseille.fr
COMMENT= Sympa is an electronic mailing list manager
mail/sympa: Update to 6.2.42 * Introduce new option for SQLite support * Modernize the options regarding the database types * Define MYSQL and FASTCGI as new default options While I'm here: * Fix the license and add the location to the license file * Convert the usage to GH_TUPLE to USE_GITHUB/GH_ACCOUNT as GH_TUPLE is not meant for the default distribution file * Remove no longer required CONFLICTS because mail/sympa5 has been removed from the Ports tree in 2012 * Remove SUB_LIST because the variables are no longer referenced in one of the files defined in SUB_FILES * Sort variables a bit to place them to their intended locations Changelog since 6.2.36: * Built-in authentication: RC4 reversible encryption of password storage in database was dropped. * Format of session cookie was changed. Session cookies generated with earlier releases will be invalidated. * Authorization scenarios: The "default" scenario files named *.default (regular file or symbolic link) are no longer available. * Files for message footer and header were renamed to message_footer and message_header. * WWSympa: LDAP authentication will no longer perform search operation twice. Now it retrieves entry for the user by a search operation at once, then checks if account is available by a bind operation. * WWSympa: Feature of sympa_altemails cookie was removed. alternative_email_attribute parameter in auth.conf was deprecated. * Primary auth.conf, crawlers_detection.conf and trusted_applications.conf will be used by non-primary domains by default. Previously primary ones were omitted. * Tasks: Task files will be put in tasks subdirectory. Previously they were put in global_task_models or list_task_models subdirectory. Older task files will be automatically copied to new places during upgrading process. * Oracle Database: There is a change on usage of db_host parameter. * WWSympa: Login form was refactored. Some templates including web_tt2/login.tt2 and web_tt2/login_menu.tt2 were changed. * Now the lists with bounce addresses can not be created. Addresses with local part "bounce" or prefix "bounce+" are used for bounce management and should not be used as list addresses. Implemented enhancements: * Refactoring on mail templates * Feature request: add a "global" mail signature * Adding ARC support Fixed bugs: * SSO session refresh won't reset WWSympa's session * Long email addresses in system messages might be folded * Moderation process on the lists with obsoleted parameter host fails * File extension may contain spaces by using gettext_strftime() * WWSympa: Loading home page takes long time * WWSympa: Older CSS files would be cleared Closed issues: * Bug in logic. Password is in md5 format, not rehashing Merged pull requests: * Allow to use Gitlab CI https://github.com/sympa-community/sympa/blob/6.2.42/NEWS.md PR: 237108 Submitted by: Geoffroy Desvernay (maintainer) Approved by: miwi (mentor) Differential Revision: https://reviews.freebsd.org/D19929
2019-04-18 19:40:54 +02:00
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= \
mail/sympa: Update to 6.2.42 * Introduce new option for SQLite support * Modernize the options regarding the database types * Define MYSQL and FASTCGI as new default options While I'm here: * Fix the license and add the location to the license file * Convert the usage to GH_TUPLE to USE_GITHUB/GH_ACCOUNT as GH_TUPLE is not meant for the default distribution file * Remove no longer required CONFLICTS because mail/sympa5 has been removed from the Ports tree in 2012 * Remove SUB_LIST because the variables are no longer referenced in one of the files defined in SUB_FILES * Sort variables a bit to place them to their intended locations Changelog since 6.2.36: * Built-in authentication: RC4 reversible encryption of password storage in database was dropped. * Format of session cookie was changed. Session cookies generated with earlier releases will be invalidated. * Authorization scenarios: The "default" scenario files named *.default (regular file or symbolic link) are no longer available. * Files for message footer and header were renamed to message_footer and message_header. * WWSympa: LDAP authentication will no longer perform search operation twice. Now it retrieves entry for the user by a search operation at once, then checks if account is available by a bind operation. * WWSympa: Feature of sympa_altemails cookie was removed. alternative_email_attribute parameter in auth.conf was deprecated. * Primary auth.conf, crawlers_detection.conf and trusted_applications.conf will be used by non-primary domains by default. Previously primary ones were omitted. * Tasks: Task files will be put in tasks subdirectory. Previously they were put in global_task_models or list_task_models subdirectory. Older task files will be automatically copied to new places during upgrading process. * Oracle Database: There is a change on usage of db_host parameter. * WWSympa: Login form was refactored. Some templates including web_tt2/login.tt2 and web_tt2/login_menu.tt2 were changed. * Now the lists with bounce addresses can not be created. Addresses with local part "bounce" or prefix "bounce+" are used for bounce management and should not be used as list addresses. Implemented enhancements: * Refactoring on mail templates * Feature request: add a "global" mail signature * Adding ARC support Fixed bugs: * SSO session refresh won't reset WWSympa's session * Long email addresses in system messages might be folded * Moderation process on the lists with obsoleted parameter host fails * File extension may contain spaces by using gettext_strftime() * WWSympa: Loading home page takes long time * WWSympa: Older CSS files would be cleared Closed issues: * Bug in logic. Password is in md5 format, not rehashing Merged pull requests: * Allow to use Gitlab CI https://github.com/sympa-community/sympa/blob/6.2.42/NEWS.md PR: 237108 Submitted by: Geoffroy Desvernay (maintainer) Approved by: miwi (mentor) Differential Revision: https://reviews.freebsd.org/D19929
2019-04-18 19:40:54 +02:00
p5-App-cpanminus>=0:devel/p5-App-cpanminus \
p5-Archive-Zip>=1.05:archivers/p5-Archive-Zip \
p5-CGI>=3.51:www/p5-CGI \
p5-Class-Singleton>=1.03:devel/p5-Class-Singleton \
p5-Crypt-CipherSaber>=0.50:security/p5-Crypt-CipherSaber \
p5-Crypt-Eksblowfish>=0.009:security/p5-Crypt-Eksblowfish \
p5-Crypt-OpenSSL-X509>=1.800.1:security/p5-Crypt-OpenSSL-X509 \
p5-Crypt-SMIME>=0.15:security/p5-Crypt-SMIME \
p5-Data-Password>=1.07:security/p5-Data-Password \
p5-DateTime-Format-Mail>=0.28:devel/p5-DateTime-Format-Mail \
p5-DateTime-TimeZone>=0.59:devel/p5-DateTime-TimeZone \
p5-DBD-CSV>=0.22:databases/p5-DBD-CSV \
p5-DBI>=1.48:databases/p5-DBI \
p5-Encode-Locale>=1.02:converters/p5-Encode-Locale \
p5-File-Copy-Recursive>=0.36:devel/p5-File-Copy-Recursive \
p5-File-NFSLock>=0:devel/p5-File-NFSLock \
p5-HTML-Format>=0:textproc/p5-HTML-Format \
mail/sympa: Update to 6.2.42 * Introduce new option for SQLite support * Modernize the options regarding the database types * Define MYSQL and FASTCGI as new default options While I'm here: * Fix the license and add the location to the license file * Convert the usage to GH_TUPLE to USE_GITHUB/GH_ACCOUNT as GH_TUPLE is not meant for the default distribution file * Remove no longer required CONFLICTS because mail/sympa5 has been removed from the Ports tree in 2012 * Remove SUB_LIST because the variables are no longer referenced in one of the files defined in SUB_FILES * Sort variables a bit to place them to their intended locations Changelog since 6.2.36: * Built-in authentication: RC4 reversible encryption of password storage in database was dropped. * Format of session cookie was changed. Session cookies generated with earlier releases will be invalidated. * Authorization scenarios: The "default" scenario files named *.default (regular file or symbolic link) are no longer available. * Files for message footer and header were renamed to message_footer and message_header. * WWSympa: LDAP authentication will no longer perform search operation twice. Now it retrieves entry for the user by a search operation at once, then checks if account is available by a bind operation. * WWSympa: Feature of sympa_altemails cookie was removed. alternative_email_attribute parameter in auth.conf was deprecated. * Primary auth.conf, crawlers_detection.conf and trusted_applications.conf will be used by non-primary domains by default. Previously primary ones were omitted. * Tasks: Task files will be put in tasks subdirectory. Previously they were put in global_task_models or list_task_models subdirectory. Older task files will be automatically copied to new places during upgrading process. * Oracle Database: There is a change on usage of db_host parameter. * WWSympa: Login form was refactored. Some templates including web_tt2/login.tt2 and web_tt2/login_menu.tt2 were changed. * Now the lists with bounce addresses can not be created. Addresses with local part "bounce" or prefix "bounce+" are used for bounce management and should not be used as list addresses. Implemented enhancements: * Refactoring on mail templates * Feature request: add a "global" mail signature * Adding ARC support Fixed bugs: * SSO session refresh won't reset WWSympa's session * Long email addresses in system messages might be folded * Moderation process on the lists with obsoleted parameter host fails * File extension may contain spaces by using gettext_strftime() * WWSympa: Loading home page takes long time * WWSympa: Older CSS files would be cleared Closed issues: * Bug in logic. Password is in md5 format, not rehashing Merged pull requests: * Allow to use Gitlab CI https://github.com/sympa-community/sympa/blob/6.2.42/NEWS.md PR: 237108 Submitted by: Geoffroy Desvernay (maintainer) Approved by: miwi (mentor) Differential Revision: https://reviews.freebsd.org/D19929
2019-04-18 19:40:54 +02:00
p5-HTML-StripScripts-Parser>=1.03:www/p5-HTML-StripScripts-Parser \
p5-HTML-Tree>=0:www/p5-HTML-Tree \
mail/sympa: Update to 6.2.42 * Introduce new option for SQLite support * Modernize the options regarding the database types * Define MYSQL and FASTCGI as new default options While I'm here: * Fix the license and add the location to the license file * Convert the usage to GH_TUPLE to USE_GITHUB/GH_ACCOUNT as GH_TUPLE is not meant for the default distribution file * Remove no longer required CONFLICTS because mail/sympa5 has been removed from the Ports tree in 2012 * Remove SUB_LIST because the variables are no longer referenced in one of the files defined in SUB_FILES * Sort variables a bit to place them to their intended locations Changelog since 6.2.36: * Built-in authentication: RC4 reversible encryption of password storage in database was dropped. * Format of session cookie was changed. Session cookies generated with earlier releases will be invalidated. * Authorization scenarios: The "default" scenario files named *.default (regular file or symbolic link) are no longer available. * Files for message footer and header were renamed to message_footer and message_header. * WWSympa: LDAP authentication will no longer perform search operation twice. Now it retrieves entry for the user by a search operation at once, then checks if account is available by a bind operation. * WWSympa: Feature of sympa_altemails cookie was removed. alternative_email_attribute parameter in auth.conf was deprecated. * Primary auth.conf, crawlers_detection.conf and trusted_applications.conf will be used by non-primary domains by default. Previously primary ones were omitted. * Tasks: Task files will be put in tasks subdirectory. Previously they were put in global_task_models or list_task_models subdirectory. Older task files will be automatically copied to new places during upgrading process. * Oracle Database: There is a change on usage of db_host parameter. * WWSympa: Login form was refactored. Some templates including web_tt2/login.tt2 and web_tt2/login_menu.tt2 were changed. * Now the lists with bounce addresses can not be created. Addresses with local part "bounce" or prefix "bounce+" are used for bounce management and should not be used as list addresses. Implemented enhancements: * Refactoring on mail templates * Feature request: add a "global" mail signature * Adding ARC support Fixed bugs: * SSO session refresh won't reset WWSympa's session * Long email addresses in system messages might be folded * Moderation process on the lists with obsoleted parameter host fails * File extension may contain spaces by using gettext_strftime() * WWSympa: Loading home page takes long time * WWSympa: Older CSS files would be cleared Closed issues: * Bug in logic. Password is in md5 format, not rehashing Merged pull requests: * Allow to use Gitlab CI https://github.com/sympa-community/sympa/blob/6.2.42/NEWS.md PR: 237108 Submitted by: Geoffroy Desvernay (maintainer) Approved by: miwi (mentor) Differential Revision: https://reviews.freebsd.org/D19929
2019-04-18 19:40:54 +02:00
p5-IO-Socket-SSL>=0.90:security/p5-IO-Socket-SSL \
p5-IO-stringy>=0:devel/p5-IO-stringy \
p5-Locale-libintl>=1.22:devel/p5-Locale-libintl \
p5-Mail-Tools>=0:mail/p5-Mail-Tools \
p5-Mail-DKIM>=0.55:mail/p5-Mail-DKIM \
mail/sympa: Update to 6.2.42 * Introduce new option for SQLite support * Modernize the options regarding the database types * Define MYSQL and FASTCGI as new default options While I'm here: * Fix the license and add the location to the license file * Convert the usage to GH_TUPLE to USE_GITHUB/GH_ACCOUNT as GH_TUPLE is not meant for the default distribution file * Remove no longer required CONFLICTS because mail/sympa5 has been removed from the Ports tree in 2012 * Remove SUB_LIST because the variables are no longer referenced in one of the files defined in SUB_FILES * Sort variables a bit to place them to their intended locations Changelog since 6.2.36: * Built-in authentication: RC4 reversible encryption of password storage in database was dropped. * Format of session cookie was changed. Session cookies generated with earlier releases will be invalidated. * Authorization scenarios: The "default" scenario files named *.default (regular file or symbolic link) are no longer available. * Files for message footer and header were renamed to message_footer and message_header. * WWSympa: LDAP authentication will no longer perform search operation twice. Now it retrieves entry for the user by a search operation at once, then checks if account is available by a bind operation. * WWSympa: Feature of sympa_altemails cookie was removed. alternative_email_attribute parameter in auth.conf was deprecated. * Primary auth.conf, crawlers_detection.conf and trusted_applications.conf will be used by non-primary domains by default. Previously primary ones were omitted. * Tasks: Task files will be put in tasks subdirectory. Previously they were put in global_task_models or list_task_models subdirectory. Older task files will be automatically copied to new places during upgrading process. * Oracle Database: There is a change on usage of db_host parameter. * WWSympa: Login form was refactored. Some templates including web_tt2/login.tt2 and web_tt2/login_menu.tt2 were changed. * Now the lists with bounce addresses can not be created. Addresses with local part "bounce" or prefix "bounce+" are used for bounce management and should not be used as list addresses. Implemented enhancements: * Refactoring on mail templates * Feature request: add a "global" mail signature * Adding ARC support Fixed bugs: * SSO session refresh won't reset WWSympa's session * Long email addresses in system messages might be folded * Moderation process on the lists with obsoleted parameter host fails * File extension may contain spaces by using gettext_strftime() * WWSympa: Loading home page takes long time * WWSympa: Older CSS files would be cleared Closed issues: * Bug in logic. Password is in md5 format, not rehashing Merged pull requests: * Allow to use Gitlab CI https://github.com/sympa-community/sympa/blob/6.2.42/NEWS.md PR: 237108 Submitted by: Geoffroy Desvernay (maintainer) Approved by: miwi (mentor) Differential Revision: https://reviews.freebsd.org/D19929
2019-04-18 19:40:54 +02:00
p5-MIME-Charset>=1.011.3:mail/p5-MIME-Charset \
p5-MIME-EncWords>=1.014:mail/p5-MIME-EncWords \
p5-MIME-Lite-HTML>=1.23:mail/p5-MIME-Lite-HTML \
p5-MIME-Tools>=5.423:mail/p5-MIME-Tools \
p5-Net-CIDR>=0.16:net-mgmt/p5-Net-CIDR \
p5-Net-DNS>=0.65:dns/p5-Net-DNS \
p5-perl-ldap>=0.40:net/p5-perl-ldap \
p5-Scalar-List-Utils>=1.20:lang/p5-Scalar-List-Utils \
p5-SOAP-Lite>=0.712:net/p5-SOAP-Lite \
p5-Template-Toolkit>=2.21:www/p5-Template-Toolkit \
p5-Term-ProgressBar>=2.09:devel/p5-Term-ProgressBar \
p5-Time-HiRes>=1.29:devel/p5-Time-HiRes \
p5-Unicode-LineBreak>=2011.05:textproc/p5-Unicode-LineBreak \
p5-URI>=1.35:net/p5-URI \
p5-XML-LibXML>=1.70:textproc/p5-XML-LibXML \
mhonarc>=0:www/mhonarc
# Shebang is corrected by configure script
USES= autoreconf cpe fakeroot perl5 shebangfix gettext
mail/sympa: Update to 6.2.42 * Introduce new option for SQLite support * Modernize the options regarding the database types * Define MYSQL and FASTCGI as new default options While I'm here: * Fix the license and add the location to the license file * Convert the usage to GH_TUPLE to USE_GITHUB/GH_ACCOUNT as GH_TUPLE is not meant for the default distribution file * Remove no longer required CONFLICTS because mail/sympa5 has been removed from the Ports tree in 2012 * Remove SUB_LIST because the variables are no longer referenced in one of the files defined in SUB_FILES * Sort variables a bit to place them to their intended locations Changelog since 6.2.36: * Built-in authentication: RC4 reversible encryption of password storage in database was dropped. * Format of session cookie was changed. Session cookies generated with earlier releases will be invalidated. * Authorization scenarios: The "default" scenario files named *.default (regular file or symbolic link) are no longer available. * Files for message footer and header were renamed to message_footer and message_header. * WWSympa: LDAP authentication will no longer perform search operation twice. Now it retrieves entry for the user by a search operation at once, then checks if account is available by a bind operation. * WWSympa: Feature of sympa_altemails cookie was removed. alternative_email_attribute parameter in auth.conf was deprecated. * Primary auth.conf, crawlers_detection.conf and trusted_applications.conf will be used by non-primary domains by default. Previously primary ones were omitted. * Tasks: Task files will be put in tasks subdirectory. Previously they were put in global_task_models or list_task_models subdirectory. Older task files will be automatically copied to new places during upgrading process. * Oracle Database: There is a change on usage of db_host parameter. * WWSympa: Login form was refactored. Some templates including web_tt2/login.tt2 and web_tt2/login_menu.tt2 were changed. * Now the lists with bounce addresses can not be created. Addresses with local part "bounce" or prefix "bounce+" are used for bounce management and should not be used as list addresses. Implemented enhancements: * Refactoring on mail templates * Feature request: add a "global" mail signature * Adding ARC support Fixed bugs: * SSO session refresh won't reset WWSympa's session * Long email addresses in system messages might be folded * Moderation process on the lists with obsoleted parameter host fails * File extension may contain spaces by using gettext_strftime() * WWSympa: Loading home page takes long time * WWSympa: Older CSS files would be cleared Closed issues: * Bug in logic. Password is in md5 format, not rehashing Merged pull requests: * Allow to use Gitlab CI https://github.com/sympa-community/sympa/blob/6.2.42/NEWS.md PR: 237108 Submitted by: Geoffroy Desvernay (maintainer) Approved by: miwi (mentor) Differential Revision: https://reviews.freebsd.org/D19929
2019-04-18 19:40:54 +02:00
USE_GITHUB= YES
GH_ACCOUNT= sympa-community
USE_RC_SUBR= sympa
# Ignore alpha/beta versions
PORTSCOUT= limit:^[0-9]+(\.[0-9]+)*$$
PORTDOCS= NEWS.md
USERS= sympa
GROUPS= sympa
SHEBANG_FILES= po/sympa/xgettext.pl \
po/sympa/add-lang.pl
GNU_CONFIGURE= yes
ICONSDIR?= www/icons
CONFIGURE_ARGS+=--enable-fhs \
--bindir=${PREFIX}/bin \
--libexecdir=${PREFIX}/libexec/${PORTNAME} \
--localedir=${PREFIX}/share/locale \
--localstatedir=/var/${PORTNAME} \
--sbindir=${PREFIX}/libexec/${PORTNAME} \
--datadir=${DATADIR} \
--sysconfdir=${ETCDIR} \
--with-confdir=${ETCDIR} \
--with-docdir=${EXAMPLESDIR} \
--with-expldir=${DATADIR}/list_data \
--with-defaultdir=${DATADIR}/defaults \
--without-initdir \
--with-lockdir=/var/spool/lock \
--with-modulesdir=${PREFIX}/libexec/${PORTNAME} \
--with-staticdir=${DATADIR}/static \
--with-cssdir=${DATADIR}/static/css \
--with-picturesdir=${DATADIR}/static/pictures \
--with-piddir=/var/run/${PORTNAME} \
--with-scriptdir=${PREFIX}/libexec/${PORTNAME} \
--with-spooldir=/var/spool/${PORTNAME} \
--with-cgidir=${PREFIX}/libexec/${PORTNAME} \
--without-smrshdir
CONFIGURE_ENV+= lt_cv_sys_max_cmd_len=${CONFIGURE_MAX_CMD_LEN} \
ac_cv_path_POSTALIAS=${LOCALBASE}/sbin/postalias
MAKE_ENV?= PERL_EXTUTILS_AUTOINSTALL=--skip
SUB_FILES= pkg-install pkg-message apache.sample nginx.sample fcgi.sample
PORTEXAMPLES= *
OPTIONS_DEFINE= FASTCGI APACHE DOCS EXAMPLES
mail/sympa: Update to 6.2.42 * Introduce new option for SQLite support * Modernize the options regarding the database types * Define MYSQL and FASTCGI as new default options While I'm here: * Fix the license and add the location to the license file * Convert the usage to GH_TUPLE to USE_GITHUB/GH_ACCOUNT as GH_TUPLE is not meant for the default distribution file * Remove no longer required CONFLICTS because mail/sympa5 has been removed from the Ports tree in 2012 * Remove SUB_LIST because the variables are no longer referenced in one of the files defined in SUB_FILES * Sort variables a bit to place them to their intended locations Changelog since 6.2.36: * Built-in authentication: RC4 reversible encryption of password storage in database was dropped. * Format of session cookie was changed. Session cookies generated with earlier releases will be invalidated. * Authorization scenarios: The "default" scenario files named *.default (regular file or symbolic link) are no longer available. * Files for message footer and header were renamed to message_footer and message_header. * WWSympa: LDAP authentication will no longer perform search operation twice. Now it retrieves entry for the user by a search operation at once, then checks if account is available by a bind operation. * WWSympa: Feature of sympa_altemails cookie was removed. alternative_email_attribute parameter in auth.conf was deprecated. * Primary auth.conf, crawlers_detection.conf and trusted_applications.conf will be used by non-primary domains by default. Previously primary ones were omitted. * Tasks: Task files will be put in tasks subdirectory. Previously they were put in global_task_models or list_task_models subdirectory. Older task files will be automatically copied to new places during upgrading process. * Oracle Database: There is a change on usage of db_host parameter. * WWSympa: Login form was refactored. Some templates including web_tt2/login.tt2 and web_tt2/login_menu.tt2 were changed. * Now the lists with bounce addresses can not be created. Addresses with local part "bounce" or prefix "bounce+" are used for bounce management and should not be used as list addresses. Implemented enhancements: * Refactoring on mail templates * Feature request: add a "global" mail signature * Adding ARC support Fixed bugs: * SSO session refresh won't reset WWSympa's session * Long email addresses in system messages might be folded * Moderation process on the lists with obsoleted parameter host fails * File extension may contain spaces by using gettext_strftime() * WWSympa: Loading home page takes long time * WWSympa: Older CSS files would be cleared Closed issues: * Bug in logic. Password is in md5 format, not rehashing Merged pull requests: * Allow to use Gitlab CI https://github.com/sympa-community/sympa/blob/6.2.42/NEWS.md PR: 237108 Submitted by: Geoffroy Desvernay (maintainer) Approved by: miwi (mentor) Differential Revision: https://reviews.freebsd.org/D19929
2019-04-18 19:40:54 +02:00
OPTIONS_DEFAULT=FASTCGI MYSQL
OPTIONS_RADIO= DATABASE
mail/sympa: Update to 6.2.42 * Introduce new option for SQLite support * Modernize the options regarding the database types * Define MYSQL and FASTCGI as new default options While I'm here: * Fix the license and add the location to the license file * Convert the usage to GH_TUPLE to USE_GITHUB/GH_ACCOUNT as GH_TUPLE is not meant for the default distribution file * Remove no longer required CONFLICTS because mail/sympa5 has been removed from the Ports tree in 2012 * Remove SUB_LIST because the variables are no longer referenced in one of the files defined in SUB_FILES * Sort variables a bit to place them to their intended locations Changelog since 6.2.36: * Built-in authentication: RC4 reversible encryption of password storage in database was dropped. * Format of session cookie was changed. Session cookies generated with earlier releases will be invalidated. * Authorization scenarios: The "default" scenario files named *.default (regular file or symbolic link) are no longer available. * Files for message footer and header were renamed to message_footer and message_header. * WWSympa: LDAP authentication will no longer perform search operation twice. Now it retrieves entry for the user by a search operation at once, then checks if account is available by a bind operation. * WWSympa: Feature of sympa_altemails cookie was removed. alternative_email_attribute parameter in auth.conf was deprecated. * Primary auth.conf, crawlers_detection.conf and trusted_applications.conf will be used by non-primary domains by default. Previously primary ones were omitted. * Tasks: Task files will be put in tasks subdirectory. Previously they were put in global_task_models or list_task_models subdirectory. Older task files will be automatically copied to new places during upgrading process. * Oracle Database: There is a change on usage of db_host parameter. * WWSympa: Login form was refactored. Some templates including web_tt2/login.tt2 and web_tt2/login_menu.tt2 were changed. * Now the lists with bounce addresses can not be created. Addresses with local part "bounce" or prefix "bounce+" are used for bounce management and should not be used as list addresses. Implemented enhancements: * Refactoring on mail templates * Feature request: add a "global" mail signature * Adding ARC support Fixed bugs: * SSO session refresh won't reset WWSympa's session * Long email addresses in system messages might be folded * Moderation process on the lists with obsoleted parameter host fails * File extension may contain spaces by using gettext_strftime() * WWSympa: Loading home page takes long time * WWSympa: Older CSS files would be cleared Closed issues: * Bug in logic. Password is in md5 format, not rehashing Merged pull requests: * Allow to use Gitlab CI https://github.com/sympa-community/sympa/blob/6.2.42/NEWS.md PR: 237108 Submitted by: Geoffroy Desvernay (maintainer) Approved by: miwi (mentor) Differential Revision: https://reviews.freebsd.org/D19929
2019-04-18 19:40:54 +02:00
OPTIONS_RADIO_DATABASE= PGSQL MYSQL SQLITE
OPTIONS_SUB= yes
mail/sympa: Update to 6.2.42 * Introduce new option for SQLite support * Modernize the options regarding the database types * Define MYSQL and FASTCGI as new default options While I'm here: * Fix the license and add the location to the license file * Convert the usage to GH_TUPLE to USE_GITHUB/GH_ACCOUNT as GH_TUPLE is not meant for the default distribution file * Remove no longer required CONFLICTS because mail/sympa5 has been removed from the Ports tree in 2012 * Remove SUB_LIST because the variables are no longer referenced in one of the files defined in SUB_FILES * Sort variables a bit to place them to their intended locations Changelog since 6.2.36: * Built-in authentication: RC4 reversible encryption of password storage in database was dropped. * Format of session cookie was changed. Session cookies generated with earlier releases will be invalidated. * Authorization scenarios: The "default" scenario files named *.default (regular file or symbolic link) are no longer available. * Files for message footer and header were renamed to message_footer and message_header. * WWSympa: LDAP authentication will no longer perform search operation twice. Now it retrieves entry for the user by a search operation at once, then checks if account is available by a bind operation. * WWSympa: Feature of sympa_altemails cookie was removed. alternative_email_attribute parameter in auth.conf was deprecated. * Primary auth.conf, crawlers_detection.conf and trusted_applications.conf will be used by non-primary domains by default. Previously primary ones were omitted. * Tasks: Task files will be put in tasks subdirectory. Previously they were put in global_task_models or list_task_models subdirectory. Older task files will be automatically copied to new places during upgrading process. * Oracle Database: There is a change on usage of db_host parameter. * WWSympa: Login form was refactored. Some templates including web_tt2/login.tt2 and web_tt2/login_menu.tt2 were changed. * Now the lists with bounce addresses can not be created. Addresses with local part "bounce" or prefix "bounce+" are used for bounce management and should not be used as list addresses. Implemented enhancements: * Refactoring on mail templates * Feature request: add a "global" mail signature * Adding ARC support Fixed bugs: * SSO session refresh won't reset WWSympa's session * Long email addresses in system messages might be folded * Moderation process on the lists with obsoleted parameter host fails * File extension may contain spaces by using gettext_strftime() * WWSympa: Loading home page takes long time * WWSympa: Older CSS files would be cleared Closed issues: * Bug in logic. Password is in md5 format, not rehashing Merged pull requests: * Allow to use Gitlab CI https://github.com/sympa-community/sympa/blob/6.2.42/NEWS.md PR: 237108 Submitted by: Geoffroy Desvernay (maintainer) Approved by: miwi (mentor) Differential Revision: https://reviews.freebsd.org/D19929
2019-04-18 19:40:54 +02:00
FASTCGI_RUN_DEPENDS= p5-FCGI>=0.67:www/p5-FCGI \
p5-CGI-Fast>=1.08:www/p5-CGI-Fast
APACHE_IMPLIES= FASTCGI
mail/sympa: Update to 6.2.42 * Introduce new option for SQLite support * Modernize the options regarding the database types * Define MYSQL and FASTCGI as new default options While I'm here: * Fix the license and add the location to the license file * Convert the usage to GH_TUPLE to USE_GITHUB/GH_ACCOUNT as GH_TUPLE is not meant for the default distribution file * Remove no longer required CONFLICTS because mail/sympa5 has been removed from the Ports tree in 2012 * Remove SUB_LIST because the variables are no longer referenced in one of the files defined in SUB_FILES * Sort variables a bit to place them to their intended locations Changelog since 6.2.36: * Built-in authentication: RC4 reversible encryption of password storage in database was dropped. * Format of session cookie was changed. Session cookies generated with earlier releases will be invalidated. * Authorization scenarios: The "default" scenario files named *.default (regular file or symbolic link) are no longer available. * Files for message footer and header were renamed to message_footer and message_header. * WWSympa: LDAP authentication will no longer perform search operation twice. Now it retrieves entry for the user by a search operation at once, then checks if account is available by a bind operation. * WWSympa: Feature of sympa_altemails cookie was removed. alternative_email_attribute parameter in auth.conf was deprecated. * Primary auth.conf, crawlers_detection.conf and trusted_applications.conf will be used by non-primary domains by default. Previously primary ones were omitted. * Tasks: Task files will be put in tasks subdirectory. Previously they were put in global_task_models or list_task_models subdirectory. Older task files will be automatically copied to new places during upgrading process. * Oracle Database: There is a change on usage of db_host parameter. * WWSympa: Login form was refactored. Some templates including web_tt2/login.tt2 and web_tt2/login_menu.tt2 were changed. * Now the lists with bounce addresses can not be created. Addresses with local part "bounce" or prefix "bounce+" are used for bounce management and should not be used as list addresses. Implemented enhancements: * Refactoring on mail templates * Feature request: add a "global" mail signature * Adding ARC support Fixed bugs: * SSO session refresh won't reset WWSympa's session * Long email addresses in system messages might be folded * Moderation process on the lists with obsoleted parameter host fails * File extension may contain spaces by using gettext_strftime() * WWSympa: Loading home page takes long time * WWSympa: Older CSS files would be cleared Closed issues: * Bug in logic. Password is in md5 format, not rehashing Merged pull requests: * Allow to use Gitlab CI https://github.com/sympa-community/sympa/blob/6.2.42/NEWS.md PR: 237108 Submitted by: Geoffroy Desvernay (maintainer) Approved by: miwi (mentor) Differential Revision: https://reviews.freebsd.org/D19929
2019-04-18 19:40:54 +02:00
APACHE_USES= apache:run
APACHE_RUN_DEPENDS= ${LOCALBASE}/${APACHEMODDIR}/mod_fastcgi.so:www/mod_fastcgi
PGSQL_SUB_LIST= REQ_PGSQL=postgresql
PGSQL_SUB_LIST_OFF= REQ_PGSQL=""
mail/sympa: Update to 6.2.42 * Introduce new option for SQLite support * Modernize the options regarding the database types * Define MYSQL and FASTCGI as new default options While I'm here: * Fix the license and add the location to the license file * Convert the usage to GH_TUPLE to USE_GITHUB/GH_ACCOUNT as GH_TUPLE is not meant for the default distribution file * Remove no longer required CONFLICTS because mail/sympa5 has been removed from the Ports tree in 2012 * Remove SUB_LIST because the variables are no longer referenced in one of the files defined in SUB_FILES * Sort variables a bit to place them to their intended locations Changelog since 6.2.36: * Built-in authentication: RC4 reversible encryption of password storage in database was dropped. * Format of session cookie was changed. Session cookies generated with earlier releases will be invalidated. * Authorization scenarios: The "default" scenario files named *.default (regular file or symbolic link) are no longer available. * Files for message footer and header were renamed to message_footer and message_header. * WWSympa: LDAP authentication will no longer perform search operation twice. Now it retrieves entry for the user by a search operation at once, then checks if account is available by a bind operation. * WWSympa: Feature of sympa_altemails cookie was removed. alternative_email_attribute parameter in auth.conf was deprecated. * Primary auth.conf, crawlers_detection.conf and trusted_applications.conf will be used by non-primary domains by default. Previously primary ones were omitted. * Tasks: Task files will be put in tasks subdirectory. Previously they were put in global_task_models or list_task_models subdirectory. Older task files will be automatically copied to new places during upgrading process. * Oracle Database: There is a change on usage of db_host parameter. * WWSympa: Login form was refactored. Some templates including web_tt2/login.tt2 and web_tt2/login_menu.tt2 were changed. * Now the lists with bounce addresses can not be created. Addresses with local part "bounce" or prefix "bounce+" are used for bounce management and should not be used as list addresses. Implemented enhancements: * Refactoring on mail templates * Feature request: add a "global" mail signature * Adding ARC support Fixed bugs: * SSO session refresh won't reset WWSympa's session * Long email addresses in system messages might be folded * Moderation process on the lists with obsoleted parameter host fails * File extension may contain spaces by using gettext_strftime() * WWSympa: Loading home page takes long time * WWSympa: Older CSS files would be cleared Closed issues: * Bug in logic. Password is in md5 format, not rehashing Merged pull requests: * Allow to use Gitlab CI https://github.com/sympa-community/sympa/blob/6.2.42/NEWS.md PR: 237108 Submitted by: Geoffroy Desvernay (maintainer) Approved by: miwi (mentor) Differential Revision: https://reviews.freebsd.org/D19929
2019-04-18 19:40:54 +02:00
PGSQL_RUN_DEPENDS= p5-DBD-Pg>=2.00:databases/p5-DBD-Pg
MYSQL_SUB_LIST= REQ_MYSQL=mysql
MYSQL_SUB_LIST_OFF= REQ_MYSQL=""
MYSQL_RUN_DEPENDS= p5-DBD-mysql>=0:databases/p5-DBD-mysql
mail/sympa: Update to 6.2.42 * Introduce new option for SQLite support * Modernize the options regarding the database types * Define MYSQL and FASTCGI as new default options While I'm here: * Fix the license and add the location to the license file * Convert the usage to GH_TUPLE to USE_GITHUB/GH_ACCOUNT as GH_TUPLE is not meant for the default distribution file * Remove no longer required CONFLICTS because mail/sympa5 has been removed from the Ports tree in 2012 * Remove SUB_LIST because the variables are no longer referenced in one of the files defined in SUB_FILES * Sort variables a bit to place them to their intended locations Changelog since 6.2.36: * Built-in authentication: RC4 reversible encryption of password storage in database was dropped. * Format of session cookie was changed. Session cookies generated with earlier releases will be invalidated. * Authorization scenarios: The "default" scenario files named *.default (regular file or symbolic link) are no longer available. * Files for message footer and header were renamed to message_footer and message_header. * WWSympa: LDAP authentication will no longer perform search operation twice. Now it retrieves entry for the user by a search operation at once, then checks if account is available by a bind operation. * WWSympa: Feature of sympa_altemails cookie was removed. alternative_email_attribute parameter in auth.conf was deprecated. * Primary auth.conf, crawlers_detection.conf and trusted_applications.conf will be used by non-primary domains by default. Previously primary ones were omitted. * Tasks: Task files will be put in tasks subdirectory. Previously they were put in global_task_models or list_task_models subdirectory. Older task files will be automatically copied to new places during upgrading process. * Oracle Database: There is a change on usage of db_host parameter. * WWSympa: Login form was refactored. Some templates including web_tt2/login.tt2 and web_tt2/login_menu.tt2 were changed. * Now the lists with bounce addresses can not be created. Addresses with local part "bounce" or prefix "bounce+" are used for bounce management and should not be used as list addresses. Implemented enhancements: * Refactoring on mail templates * Feature request: add a "global" mail signature * Adding ARC support Fixed bugs: * SSO session refresh won't reset WWSympa's session * Long email addresses in system messages might be folded * Moderation process on the lists with obsoleted parameter host fails * File extension may contain spaces by using gettext_strftime() * WWSympa: Loading home page takes long time * WWSympa: Older CSS files would be cleared Closed issues: * Bug in logic. Password is in md5 format, not rehashing Merged pull requests: * Allow to use Gitlab CI https://github.com/sympa-community/sympa/blob/6.2.42/NEWS.md PR: 237108 Submitted by: Geoffroy Desvernay (maintainer) Approved by: miwi (mentor) Differential Revision: https://reviews.freebsd.org/D19929
2019-04-18 19:40:54 +02:00
SQLITE_RUN_DEPENDS= p5-DBD-SQLite>=1.31:databases/p5-DBD-SQLite
post-patch:
@${REINPLACE_CMD} -e 's|^\( *staticdir=\).*$$|\1${DATADIR}|' \
-e 's|^\( *arcdir=\).*$$|\1${DATADIR}/arc|' \
-e 's|^\( *bouncedir=\).*$$|\1${DATADIR}/bounce|' \
${WRKSRC}/configure.ac
post-install:
for link in sympa.pl sympa_wizard.pl upgrade_bulk_spool.pl upgrade_send_spool.pl; do \
(cd ${STAGEDIR}${PREFIX}/bin && ${LN} -f -s ../libexec/sympa/$$link) \
done
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/NEWS.md ${STAGEDIR}${DOCSDIR}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKDIR}/apache.sample ${WRKDIR}/nginx.sample \
${WRKDIR}/fcgi.sample ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>