summaryrefslogtreecommitdiff
path: root/mail/sympa/files
diff options
context:
space:
mode:
authorKai Knoblich <kai@FreeBSD.org>2019-04-18 17:40:54 +0000
committerKai Knoblich <kai@FreeBSD.org>2019-04-18 17:40:54 +0000
commit2a3087376ffa56d2b7e93b879c6ee16da7f43893 (patch)
tree8b68b517917880f799c6f615670cf06d07b602c1 /mail/sympa/files
parentUpdate to 2.22.3. (diff)
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
Notes
Notes: svn path=/head/; revision=499282
Diffstat (limited to 'mail/sympa/files')
-rw-r--r--mail/sympa/files/patch-Makefile.am40
-rw-r--r--mail/sympa/files/pkg-message.in12
2 files changed, 29 insertions, 23 deletions
diff --git a/mail/sympa/files/patch-Makefile.am b/mail/sympa/files/patch-Makefile.am
index b2a3ab9696bc..63c403831f4f 100644
--- a/mail/sympa/files/patch-Makefile.am
+++ b/mail/sympa/files/patch-Makefile.am
@@ -1,22 +1,17 @@
---- Makefile.am.orig 2017-09-11 13:22:01 UTC
+--- Makefile.am.orig 2019-03-20 12:52:07 UTC
+++ Makefile.am
-@@ -135,7 +135,7 @@ sympa_wizard.pl.inst: $(top_srcdir)/src/
- installconfig: installdir sympa_wizard.pl.inst
+@@ -131,19 +131,19 @@ installdir:
+
+ installconfig: installdir
@echo "Installing basic configuration ..."
- -@export PERL5LIB=$(DESTDIR)$(modulesdir); \
-- if [ ! -f $(DESTDIR)$(confdir)/sympa.conf ]; then \
-+ if [ ! -f $(DESTDIR)$(confdir)/sympa.conf.sample ]; then \
- echo "This looks like your first Sympa installation. The following wizard will assist you to create your first Sympa configuration.";\
- if [ ! -d $(DESTDIR)$(confdir) ]; then \
- $(INSTALL) -d -m 755 $(DESTDIR)$(confdir); \
-@@ -144,17 +144,17 @@ installconfig: installdir sympa_wizard.p
- chgrp $(GROUP) $(DESTDIR)$(confdir); \
- $(PERL) sympa_wizard.pl.inst \
- --create sympa.conf \
-- --target $(DESTDIR)$(confdir)/sympa.conf; \
+- -@if [ ! -f $(DESTDIR)$(confdir)/sympa.conf ]; then \
+- echo "installing sympa.conf"; \
+- $(INSTALL) -m 640 sympa.conf $(DESTDIR)$(confdir); \
- chown $(USER) $(DESTDIR)$(confdir)/sympa.conf; \
- chgrp $(GROUP) $(DESTDIR)$(confdir)/sympa.conf; \
-+ --target $(DESTDIR)$(confdir)/sympa.conf.sample; \
++ -@if [ ! -f $(DESTDIR)$(confdir)/sympa.conf.sample ]; then \
++ echo "installing sympa.conf.sample"; \
++ $(INSTALL) -m 640 sympa.conf $(DESTDIR)$(confdir)/sympa.conf.sample; \
+ chown $(USER) $(DESTDIR)$(confdir)/sympa.conf.sample; \
+ chgrp $(GROUP) $(DESTDIR)$(confdir)/sympa.conf.sample; \
fi
@@ -35,4 +30,17 @@
+ chgrp $(GROUP) data_structure.version.sample; \
fi
-@for dir in create_list_templates custom_actions custom_conditions \
- data_sources families global_task_models list_task_models \
+ data_sources families tasks \
+@@ -184,9 +184,9 @@ nextstep:
+ @echo "#######################################################"
+
+ uninstall-hook:
+- cd $(DESTDIR)$(confdir) && rm -f sympa.conf
+- cd $(DESTDIR)$(confdir) && rm -f wwsympa.conf
+- cd $(DESTDIR)$(sysconfdir) && rm -f data_structure.version
++ cd $(DESTDIR)$(confdir) && rm -f sympa.conf.sample
++ cd $(DESTDIR)$(confdir) && rm -f wwsympa.conf.sample
++ cd $(DESTDIR)$(sysconfdir) && rm -f data_structure.version.sample
+ cd $(DESTDIR)$(sysconfdir) && rm -f README
+
+ DISTCHECK_CONFIGURE_FLAGS = --enable-fhs --with-perl=$(PERL)
diff --git a/mail/sympa/files/pkg-message.in b/mail/sympa/files/pkg-message.in
index fc39f5ba011a..d9af8113c1d0 100644
--- a/mail/sympa/files/pkg-message.in
+++ b/mail/sympa/files/pkg-message.in
@@ -1,13 +1,11 @@
If you upgrade:
- * from < 6.2.25, read
- read https://sympa-community.github.io/manual/upgrade/notes.html
- * else, simply run
- # sympa.pl --upgrade
+ * read https://sympa-community.github.io/manual/upgrade/notes.html
+ * run # sympa.pl --upgrade
First install:
* run # sympa_wizard.pl
- * create database with # sympa.pl --health_check
- Sybase: see https://sympa-community.github.io/manual/install/setup-database.html
+ * populate database with # sympa.pl --health_check
+ For more databases options,
+ see https://sympa-community.github.io/manual/install/setup-database.html
for wwsympa server, see samples configs in %%EXAMPLESDIR%%
-