From olivier@jones.univ-angers.fr  Mon Sep 26 14:11:22 2005
Return-Path: <olivier@jones.univ-angers.fr>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 7BF3616A41F
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 26 Sep 2005 14:11:22 +0000 (GMT)
	(envelope-from olivier@jones.univ-angers.fr)
Received: from smtp.univ-angers.fr (smtp.univ-angers.fr [193.49.144.2])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 5C0C343D49
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 26 Sep 2005 14:11:18 +0000 (GMT)
	(envelope-from olivier@jones.univ-angers.fr)
Received: from localhost (localhost.univ-angers.fr [127.0.0.1])
	by smtp.univ-angers.fr (Postfix) with ESMTP id DB4BBBC59
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 26 Sep 2005 16:11:17 +0200 (CEST)
Received: from jones.univ-angers.fr (unknown [IPv6:2001:660:7201:709:211:43ff:fe66:68b6])
	by smtp.univ-angers.fr (Postfix) with ESMTP id 7C2A4BB48
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 26 Sep 2005 16:11:17 +0200 (CEST)
Received: from jones.univ-angers.fr (localhost.univ-angers.fr [127.0.0.1])
	by jones.univ-angers.fr (8.13.1/8.13.1) with ESMTP id j8QDJKvA001615;
	Mon, 26 Sep 2005 15:19:20 +0200 (CEST)
	(envelope-from olivier@jones.univ-angers.fr)
Received: (from olivier@localhost)
	by jones.univ-angers.fr (8.13.1/8.13.1/Submit) id j8QDJKDQ001614;
	Mon, 26 Sep 2005 15:19:20 +0200 (CEST)
	(envelope-from olivier)
Message-Id: <200509261319.j8QDJKDQ001614@jones.univ-angers.fr>
Date: Mon, 26 Sep 2005 15:19:20 +0200 (CEST)
From: Olivier Girard <Olivier.Girard@univ-angers.fr>
To: FreeBSD-gnats-submit@freebsd.org
Cc: Olivier Girard <Olivier.Girard@univ-angers.fr>
Subject:
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         86599
>Category:       ports
>Synopsis:       New Port: mail/sympa5 SYMPA is an electronic mailing list manager.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    garga
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 26 14:20:15 GMT 2005
>Closed-Date:    Thu Sep 29 13:04:13 GMT 2005
>Last-Modified:  Thu Sep 29 13:04:13 GMT 2005
>Originator:     Olivier Girard
>Release:        FreeBSD 5.4-RELEASE-p7 i386
>Organization:
University of Angers, France
>Environment:
System: FreeBSD jones.univ-angers.fr 5.4-RELEASE-p7 FreeBSD 5.4-RELEASE-p7 #0: Thu Sep 15 18:47:33 CEST 2005 olivier@jones.univ-angers.fr:/usr/obj/usr/src/sys/GENERIC i386

>Description:
	New Port: mail/sympa5 SYMPA is an electronic mailing list manager.

SYMPA -- Systeme de Multi-Postage Automatique

SYMPA is an electronic mailing list manager. It is used to automate list
management functions such as subscription, moderation and management of
archives. SYMPA also manages sending of messages to the lists, and
makes it possible to reduce the load on the system. Provided that you
have enough memory on your system, Sympa is especially well adapted for big
lists. For a list with 20 000 subscribers, it takes 5 minutes to send a
message to 90% of subscribers, of course considering that the network is
available.


>How-To-Repeat:
>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#       sympa5
#       sympa5/files
#       sympa5/files/patch-src-etc-script-Makefile
#       sympa5/files/patch-check_perl_modules.pl
#       sympa5/files/patch-src-etc-script-sympa
#       sympa5/files/patch-src-sympa_wizard.pl
#       sympa5/files/patch-Makefile.in
#       sympa5/files/patch-src-Language.pm
#       sympa5/files/patch-po-Makefile
#       sympa5/files/patch-wwsympa-wwsympa-wrapper.c
#       sympa5/files/patch-wwsympa-Makefile
#       sympa5/pkg-install
#       sympa5/distinfo
#       sympa5/Makefile
#       sympa5/pkg-deinstall
#       sympa5/pkg-plist
#       sympa5/pkg-descr
#
echo c - sympa5
mkdir -p sympa5 > /dev/null 2>&1
echo c - sympa5/files
mkdir -p sympa5/files > /dev/null 2>&1
echo x - sympa5/files/patch-src-etc-script-Makefile
sed 's/^X//' >sympa5/files/patch-src-etc-script-Makefile << 'END-of-sympa5/files/patch-src-etc-script-Makefile'
X--- src/etc/script/Makefile    Sat Oct 23 16:44:11 2004
X+++ src/etc/script/Makefile    Sat Oct 23 16:44:13 2004
X@@ -23,7 +23,7 @@
X
X SUBSTSRC      =       load_subscribers.pl arc2webarc.pl testldap.pl p12topem.pl init_comment.pl crypt_passwd.pl testlogs.pl mod2html.pl
X
X-INITSRC               =       sympa
X+INITSRC               =       sympa.sh
X
X #SCRIPTDIR    =       ../../../script
X SCRIPTDIR     =       $(SBINDIR)
END-of-sympa5/files/patch-src-etc-script-Makefile
echo x - sympa5/files/patch-check_perl_modules.pl
sed 's/^X//' >sympa5/files/patch-check_perl_modules.pl << 'END-of-sympa5/files/patch-check_perl_modules.pl'
X--- check_perl_modules.pl      2003/11/28 18:16:39
X+++ check_perl_modules.pl      2004/05/04 21:05:38
X@@ -158,6 +158,8 @@
X sub install_module {
X     my ($module, $default) = @_;
X
X+    return if $ENV{'PERL_EXTUTILS_AUTOINSTALL'} =~ /--skip|--default/;
X+
X     unless ($ENV{'FTP_PASSIVE'} eq 1) {
X       $ENV{'FTP_PASSIVE'} = 1;
X       print "Setting FTP Passive mode\n";
X@@ -178,7 +180,7 @@
X     print "Install module $module ? [$default]";
X     my $answer = <STDIN>; chomp $answer;
X     $answer ||= $default;
X-    next unless ($answer =~ /^y$/i);
X+    return unless ($answer =~ /^y$/i);
X   CPAN::Shell->conf('inactivity_timeout', 4);
X     CPAN::Shell->install($module);
END-of-sympa5/files/patch-check_perl_modules.pl
echo x - sympa5/files/patch-src-etc-script-sympa
sed 's/^X//' >sympa5/files/patch-src-etc-script-sympa << 'END-of-sympa5/files/patch-src-etc-script-sympa'
X--- src/etc/script/sympa       Wed Jun 29 17:33:54 2005
X+++ src/etc/script/sympa       Mon Sep 12 17:11:57 2005
X@@ -43,6 +43,8 @@
X sympaconf="--CONFIG--"
X wwsympaconf="--WWSCONFIG--"
X
X+lockdir="--LOCKDIR--"
X+
X ##'echo -n' not supported with SH on Solaris
X if [ ${OSTYPE} = "SunOS" ]; then
X   echo_opt=""
X@@ -50,6 +52,10 @@
X   echo_opt="-n"
X fi
X
X+if [ ${OSTYPE} = "FreeBSD" ]; then
X+  lockdir="/var/spool/lock"
X+fi
X+
X # End of parameters
X
X # Current state of the module
X@@ -68,7 +74,7 @@
X        if [ -f --PIDDIR--/$1.pid ] ; then
X              pid=`head -1 --PIDDIR--/$1.pid`
X              if [ "$pid" != "" ] ; then
X-                 running=`ps -A | grep "$pid"`
X+                 running=`ps -ax | grep perl | grep $pid`
X                  if [ "$running" != "" ]; then
X                      echo "$1 (pid $pid) is active..."
X                      return 0
X@@ -96,7 +102,7 @@
X #             startparam=""
X #     fi
X
X-      if [ ${OSTYPE} = "IRIX" -o ${OSTYPE} = "SunOS" -o ${OSTYPE} = "Debian" -o ${OSTYPE} = "Suse" ]; then
X+      if [ ${OSTYPE} = "IRIX" -o ${OSTYPE} = "SunOS" -o ${OSTYPE} = "FreeBSD" -o ${OSTYPE} = "Debian" -o ${OSTYPE} = "Suse" ]; then
X               $sympadir/$1.pl $startparam && echo "success" || echo "failure"
X       else
X               $sympadir/$1.pl $startparam && success || failure
X@@ -152,9 +158,9 @@
X       if [ -f --PIDDIR--/$1.pid ]; then
X               echo $echo_opt "Stopping module $1.pl: "
X               pid=`head -1 --PIDDIR--/$1.pid`
X-              running=`ps -A | grep "$pid"`
X+              running=`ps -ax | grep perl | grep "$pid"`
X               if [ "$running" != "" ]; then
X-              if [ ${OSTYPE} = "IRIX" -o ${OSTYPE} = "SunOS" -o ${OSTYPE} = "Debian" -o ${OSTYPE} = "Suse" ]; then
X+              if [ ${OSTYPE} = "IRIX" -o ${OSTYPE} = "SunOS" -o ${OSTYPE} = "FreeBSD" -o ${OSTYPE} = "Debian" -o ${OSTYPE} = "Suse" ]; then
X                       kill -TERM $pid && echo "success" || echo "failure"
X                   else
X                       kill -TERM $pid && success || failure
X@@ -185,13 +191,13 @@
X # See how we were called.
X case "$1" in
X   start)
X-      if [ ! -f --LOCKDIR--/sympa ]; then
X+      if [ ! -f "$lockdir/sympa" ]; then
X               echo "Starting Sympa subsystem: "
X               sympa_start sympa
X               sympa_start archived
X               sympa_start bounced
X               sympa_start task_manager
X-              touch --LOCKDIR--/sympa
X+              touch "$lockdir/sympa"
X               echo
X       else
X
X@@ -207,13 +213,13 @@
X       sympa_stop sympa
X       sympa_stop sympa-distribute
X       sympa_stop task_manager
X-      if [ -f --LOCKDIR--/sympa ]; then
X-              rm -f --LOCKDIR--/sympa
X+      if [ -f "$lockdir/sympa" ]; then
X+              rm -f "$lockdir/sympa"
X       fi
X       ;;
X   status)
X       echo "Status of Sympa subsystem: "
X-      if [ -f --LOCKDIR--/sympa ]; then
X+      if [ -f "$lockdir/sympa" ]; then
X               echo "Status file for subsystem found."
X       else
X               echo "Status file for subsystem NOT found."
END-of-sympa5/files/patch-src-etc-script-sympa
echo x - sympa5/files/patch-src-sympa_wizard.pl
sed 's/^X//' >sympa5/files/patch-src-sympa_wizard.pl << 'END-of-sympa5/files/patch-src-sympa_wizard.pl'
X--- src/sympa_wizard.pl        Wed Sep 14 17:25:58 2005
X+++ src/sympa_wizard.pl        Wed Sep 14 17:26:45 2005
X@@ -92,13 +92,13 @@
X                'advice' =>''},
X
X             {'name' => 'arc_path',
X-             'default' => '--DIR--/arc',
X+             'default' => '--DIR--/sympa/arc',
X              'query' => 'Where to store HTML archives',
X              'file' => 'wwsympa.conf','edit' => '1',
X                'advice' =>'Better if not in a critical partition'},
X
X             {'name' => 'bounce_path',
X-             'default' => '--DIR--/bounce',
X+             'default' => '--DIR--/sympa/bounce',
X              'query' => 'Where to store bounces',
X              'file' => 'wwsympa.conf',
X                'advice' =>'Better if not in a critical partition'},
X@@ -308,14 +308,14 @@
X              'advice' =>''},
X
X               {'name' => 'mhonarc',
X-             'default' => '/usr/bin/mhonarc',
X+             'default' => '/usr/local/bin/mhonarc',
X              'query' => 'Path to MhOnarc mail2html pluggin',
X              'file' => 'wwsympa.conf','edit' => '1',
X              'advice' =>'This is required for HTML mail archiving'},
X
X             {'title' => 'S/MIME pluggin'},
X             {'name' => 'openssl',
X-             'sample' => '/usr/local/bin/openssl',
X+             'sample' => '/usr/bin/openssl',
X              'query' => 'Path to OpenSSL',
X              'file' => 'sympa.conf','edit' => '1',
X              'advice' =>'Sympa knowns S/MIME if openssl is installed'},
END-of-sympa5/files/patch-src-sympa_wizard.pl
echo x - sympa5/files/patch-Makefile.in
sed 's/^X//' >sympa5/files/patch-Makefile.in << 'END-of-sympa5/files/patch-Makefile.in'
X--- Makefile.in.orig   Tue Aug 16 14:25:23 2005
X+++ Makefile.in        Mon Sep 26 13:00:29 2005
X@@ -218,6 +218,8 @@
X PERL_VERSION = `$(PERL) -e ' print $$]'`
X SYMPA_VERSION = @VERSION@
X DIR = ${prefix}
X+ARC_DIR = ${prefix}/sympa/arc
X+BOUNCE_DIR = ${prefix}/sympa/bounce
X EXPL_DIR = @EXPLDIR@
X MAILERPROGDIR = @BINDIR@
X RPMTOPDIR = `rpm --eval %_topdir`
X@@ -508,7 +510,7 @@
X       @CVS2CL@
X #endif
X
X-all:  warning checkperl checkcpan sources man locale
X+all:  sources man locale
X
X rpm: build_rh_rpm build_mdk_rpm
X
X@@ -593,7 +595,7 @@
X       $(MAKE) PERL='${PERL}' clean) || exit 1; \
X       done;
X
X-install: importantchanges installsrc installwws installwebtt2 installmailtt2 installlocale installman installscript installsample installdir installconfig installdoc installsoap
X+install: installsrc installwws installwebtt2 installmailtt2 installlocale installman installscript installsample installdir installconfig installdoc installsoap
X
X importantchanges:
X       @(      PERL=$(PERL); export PERL; \
X@@ -610,7 +612,7 @@
X       $(MAKE) SH='${SH}' CC='${CC}' CFLAGS='${CFLAGS}' PERL='${PERL}' \
X       DIR='${DIR}' LOCALEDIR='${LOCALEDIR}' ETCBINDIR='${ETCBINDIR}' \
X       DESTDIR='${DESTDIR}' CONFIG='${CONFIG}' WWSCONFIG='${WWSCONFIG}' \
X-      LOCALEDIR='${prefix}/locale' SCRIPTDIR='${SCRIPTDIR}' \
X+      SCRIPTDIR='${SCRIPTDIR}' \
X       USER='${USER}' GROUP='${GROUP}') || exit 1;
X
X installlocale:
X@@ -618,7 +620,6 @@
X       $(MAKE) SH='${SH}' CC='${CC}' CFLAGS='${CFLAGS}' PERL='${PERL}' \
X       DIR='${DIR}' LOCALEDIR='${LOCALEDIR}' ETCBINDIR='${ETCBINDIR}' \
X       DESTDIR='${DESTDIR}' CONFIG='${CONFIG}' WWSCONFIG='${WWSCONFIG}' \
X-      LOCALEDIR='${prefix}/locale' \
X       USER='${USER}' GROUP='${GROUP}' install) || exit 1;
X
X updatelocale:
X@@ -626,7 +627,7 @@
X       $(MAKE) SH='${SH}' CC='${CC}' CFLAGS='${CFLAGS}' PERL='${PERL}' \
X       DIR='${DIR}' LOCALEDIR='${LOCALEDIR}' ETCBINDIR='${ETCBINDIR}' \
X       DESTDIR='${DESTDIR}' CONFIG='${CONFIG}' WWSCONFIG='${WWSCONFIG}' \
X-      LOCALEDIR='${prefix}/locale' SCRIPTDIR='${SCRIPTDIR}' \
X+      SCRIPTDIR='${SCRIPTDIR}' \
X       USER='${USER}' GROUP='${GROUP}' update-po) || exit 1;
X
X installsrc:
X@@ -719,7 +720,7 @@
X
X installdir:
X       @echo "Creating required directories"
X-      @for dir in $(DIR) $(EXPL_DIR) $(CONFDIR) $(SAMPLEDIR) ; do \
X+      @for dir in $(DIR) $(EXPL_DIR) $(ARC_DIR) $(BOUNCE_DIR) $(CONFDIR) $(SAMPLEDIR) ; do \
X               if [ ! -d $(DESTDIR)$$dir ] ; then \
X                       echo "Creating $(DESTDIR)$$dir"; \
X                       mkdir -p $(DESTDIR)$$dir; \
X@@ -769,14 +770,7 @@
X       INITCONF='1'; \
X       fi \
X       fi \
X-      done; \
X-      if [ "$$INITCONF" ] ; then \
X-      echo "###############################################"; \
X-      echo "It seems to be your first installation of Sympa"; \
X-      echo "The following wizard will help you create your $(CONFDIR)/sympa.conf and $(CONFDIR)/wwsympa.conf :"; \
X-      DESTDIR=$(DESTDIR); export DESTDIR; \
X-      $(PERL) -I $(DESTDIR)$(LIBDIR) $(DESTDIR)$(SBINDIR)/sympa_wizard.pl; \
X-      fi
X+      done;
X
X build_rh_rpm: clean
X       @echo "Building RedHat RPM in $(RPMTOPDIR) ..."
END-of-sympa5/files/patch-Makefile.in
echo x - sympa5/files/patch-src-Language.pm
sed 's/^X//' >sympa5/files/patch-src-Language.pm << 'END-of-sympa5/files/patch-src-Language.pm'
X--- src/Language.pm.orig       Thu Aug 11 14:49:48 2005
X+++ src/Language.pm    Mon Sep 26 10:45:27 2005
X@@ -1,5 +1,5 @@
X # Language.pm - This module does just the initial setup for the international messages
X-# RCS Identication ; $Revision: 1.40.2.4 $ ; $Date: 2005/08/11 12:49:48 $
X+# RCS Identication ; $Revision: 1.40.2.5 $ ; $Date: 2005/09/23 15:39:34 $
X #
X # Sympa - SYsteme de Multi-Postage Automatique
X # Copyright (c) 1997, 1998, 1999, 2000, 2001 Comite Reseau des Universites
X@@ -134,16 +134,20 @@
X     unless (setlocale(&POSIX::LC_ALL, $locale)) {
X       unless (setlocale(&POSIX::LC_ALL, $lang)) {
X           unless (setlocale(&POSIX::LC_ALL, $locale.'.'.$locale2charset{$locale})) {
X-              &do_log('err','Failed to setlocale(%s) ; you either have a problem with the catalogue .mo files or you should extend available locales in  your /etc/locale.gen (or /etc/sysconfig/i18n) file', $locale.'.'.$locale2charset{$locale});
X-              return undef;
X+              unless (setlocale(&POSIX::LC_ALL, $locale.'.'.uc($locale2charset{$locale}))) { ## UpperCase required for FreeBSD
X+                  &do_log('err','Failed to setlocale(%s) ; you either have a problem with the catalogue .mo files or you should extend available locales in  your /etc/locale.gen (or /etc/sysconfig/i18n) file', $locale.'.'.uc($locale2charset{$locale}));
X+                  return undef;
X+              }
X           }
X       }
X     }
X
X-    unless (setlocale(&POSIX::LC_TIME, $locale)) {
X-      &do_log('err','Failed to setlocale(LC_TIME,%s)', $locale.'.'.$locale2charset{$locale});
X-      return undef;
X-    }
X+## Problem with this, isn't LC_ALL suffiscient ?
X+#
X+#    unless (setlocale(&POSIX::LC_TIME, $locale)) {
X+#     &do_log('err','Failed to setlocale(LC_TIME,%s)', $locale);
X+#     return undef;
X+#    }
X
X     $current_lang = $lang;
X     $current_locale = $locale;
END-of-sympa5/files/patch-src-Language.pm
echo x - sympa5/files/patch-po-Makefile
sed 's/^X//' >sympa5/files/patch-po-Makefile << 'END-of-sympa5/files/patch-po-Makefile'
X--- po/Makefile        Fri Sep 23 14:49:54 2005
X+++ po/Makefile        Fri Sep 23 14:50:11 2005
X@@ -19,7 +19,7 @@
X .po.mo:
X       $(MSGFMT) -o $@ $<
X
X-all: $(MOFILES) checklocales
X+all: $(MOFILES)
X
X potfile: sympa.pot
X
END-of-sympa5/files/patch-po-Makefile
echo x - sympa5/files/patch-wwsympa-wwsympa-wrapper.c
sed 's/^X//' >sympa5/files/patch-wwsympa-wwsympa-wrapper.c << 'END-of-sympa5/files/patch-wwsympa-wwsympa-wrapper.c'
X--- wwsympa/wwsympa-wrapper.c  Sat Oct 23 20:42:47 2004
X+++ wwsympa/wwsympa-wrapper.c  Sat Oct 23 20:42:30 2004
X@@ -0,0 +1,8 @@
X+#include <unistd.h>
X+
X+#define WWSYMPA "/usr/local/sympa/cgi-bin/wwsympa.fcgi"
X+
X+int main(int argn, char **argv, char **envp) {
X+    argv[0] = WWSYMPA;
X+    execve(WWSYMPA,argv,envp);
X+}
END-of-sympa5/files/patch-wwsympa-wwsympa-wrapper.c
echo x - sympa5/files/patch-wwsympa-Makefile
sed 's/^X//' >sympa5/files/patch-wwsympa-Makefile << 'END-of-sympa5/files/patch-wwsympa-Makefile'
X--- wwsympa/Makefile.orig      Tue May 24 16:04:33 2005
X+++ wwsympa/Makefile   Mon Sep 26 13:28:23 2005
X@@ -21,7 +21,7 @@
X
X sbin_SUBST    =       bounced.pl archived.pl
X
X-cgi_SUBST     =       wwsympa.fcgi
X+cgi_SUBST     =       wwsympa.fcgi wwsympa-wrapper
X
X lib_SUBST     =       wwslib.pm cookielib.pm bounce-lib.pl Marc.pm Auth.pm SharedDocument.pm
X
X@@ -50,9 +50,9 @@
X       chown $(USER) $(DESTDIR)$(CGIDIR)/$$i; \
X       chgrp $(GROUP) $(DESTDIR)$(CGIDIR)/$$i; \
X       done
X-      @echo "Setting SetUID bit on wwsympa.fcgi..."
X-      chmod u+s $(DESTDIR)$(CGIDIR)/wwsympa.fcgi
X-      chmod g+s $(DESTDIR)$(CGIDIR)/wwsympa.fcgi
X+      @echo "Setting SetUID bit on wwsympa-wrapper..."
X+      chmod u+s $(DESTDIR)$(CGIDIR)/wwsympa-wrapper
X+      chmod g+s $(DESTDIR)$(CGIDIR)/wwsympa-wrapper
X       chmod 755 $(DESTDIR)$(ICONSDIR)
X       chmod 755 $(DESTDIR)$(LIBDIR)/Marc
X       @for i in $(lib_SUBST) Marc/Search.pm; do \
END-of-sympa5/files/patch-wwsympa-Makefile
echo x - sympa5/pkg-install
sed 's/^X//' >sympa5/pkg-install << 'END-of-sympa5/pkg-install'
X#!/bin/sh
X# $FreeBSD: ports/mail/sympa/pkg-install,v 1.5 2005/02/27 13:55:24 pav Exp $
X#
X
Xif [ x"$2" = xPOST-INSTALL ]; then
X        echo "============================================================"
Xif [ x"${DB_TYPE}" != "x" ]; then
X        echo "If this is your first installation of sympa, please load"
X        echo "this file with your ${DB_TYPE} database client:"
X       echo "    ${PKG_PREFIX}/bin/create_db.${DB_TYPE}"
X       echo ""
Xfi
X       echo "A default configuration is installed,"
X       echo "to configure sympa interactively, please run:"
X       echo "    perl ${PKG_PREFIX}/sbin/sympa_wizard.pl"
X       echo ""
X       echo "You may also manually edit the two configuration files:"
X       echo "    ${PKG_PREFIX}/etc/sympa/sympa.conf"
X       echo "    ${PKG_PREFIX}/etc/sympa/wwsympa.conf"
X        echo "============================================================"
X        echo "To set up the wwsympa server, add something like this to"
X        echo "your Apache configuration file:"
X       echo ""
X        echo "    DocumentRoot \"${PKG_PREFIX}/sympa\""
X        echo "    AddDefaultCharset UTF-8"
X        echo "    DirectoryIndex wws"
X        echo "    Options +Indexes"
Xif [ x"${WITH_FASTCGI}" != x ]; then
X        echo "    LoadModule fastcgi_module libexec/apache2/mod_fastcgi.so"
X       echo "    <Location /wws>"
X       echo "        SetHandler fastcgi-script"
X        echo "    </Location>"
Xfi
X        echo "    <Directory \"${PKG_PREFIX}/sympa\">"
X        echo "        Allow from all"
X        echo "    </Directory>"
X        echo "    ScriptAlias /wws ${PKG_PREFIX}/sympa/cgi-bin/wwsympa-wrapper"X        echo "============================================================"
X       exit 0
Xfi
X
Xif [ x"$2" != xPRE-INSTALL ]; then
X       exit 0
Xfi
X
XUSER=sympa
XGROUP=${USER}
XUID=200
XGID=${UID}
X
Xif ! pw groupshow "${GROUP}" 2>/dev/null 1>&2; then
X       if pw groupadd ${GROUP} -g ${GID}; then
X               echo "Added group \"${GROUP}\"."
X       else
X               echo "Adding group \"${GROUP}\" failed..."
X               exit 1
X       fi
Xfi
X
Xif ! pw usershow "${USER}" 2>/dev/null 1>&2; then
X       if pw useradd ${USER} -u ${UID} -g ${GROUP} -h - \
X               -s /sbin/nologin -d /nonexistent \
X               -c "Sympa Owner"; \
X       then
X               echo "Added user \"${USER}\"."
X       else
X               echo "Adding user \"${USER}\" failed..."
X               exit 1
X       fi
Xfi
X
Xexit 0
END-of-sympa5/pkg-install
echo x - sympa5/distinfo
sed 's/^X//' >sympa5/distinfo << 'END-of-sympa5/distinfo'
XMD5 (sympa-5.1.tar.gz) = 8757025ccb008dedac3d2ab01258f285
XSIZE (sympa-5.1.tar.gz) = 4197965
END-of-sympa5/distinfo
echo x - sympa5/Makefile
sed 's/^X//' >sympa5/Makefile << 'END-of-sympa5/Makefile'
X# New ports collection makefile for:   sympa5
X# Date created:                16 September 2003
X# Whom:                        Olivier Girard <Olivr.Girard@Univ-Angers.fr>
X#              Based on mail/sympa by Autrijus Tang <autrijus@autrijus.org>
X#
X#
X
XPORTNAME=      sympa
XPORTVERSION?=  5.1
XCATEGORIES=    mail
XMASTER_SITES?= http://www.sympa.org/distribution/
X
XCOMMENT?=      Sympa is an electronic mailing list manager
X
XBUILD_DEPENDS+=        ${SITE_PERL}/Archive/Zip.pm:${PORTSDIR}/archivers/p5-Archive-Zip \
X               ${SITE_PERL}/IO/Stringy.pm:${PORTSDIR}/devel/p5-IO-stringy \
X               ${SITE_PERL}/SOAP/Lite.pm:${PORTSDIR}/net/p5-SOAP-Lite \
X               ${SITE_PERL}/Locale/TextDomain.pm:${PORTSDIR}/devel/p5-Locale-libintl \
X               ${SITE_PERL}/Regexp/Common.pm:${PORTSDIR}/textproc/p5-Regexp-Common \
X               ${SITE_PERL}/${PERL_ARCH}/Template.pm:${PORTSDIR}/www/p5-Template-Toolkit \
X               ${SITE_PERL}/${PERL_ARCH}/XML/LibXML.pm:${PORTSDIR}/textproc/p5-XML-LibXML \
X               ${SITE_PERL}/Crypt/CipherSaber.pm:${PORTSDIR}/security/p5-Crypt-CipherSaber \
X               ${SITE_PERL}/Net/LDAP.pm:${PORTSDIR}/net/p5-perl-ldap \
X               ${LOCALBASE}/bin/mhonarc:${PORTSDIR}/www/mhonarc
X
XRUN_DEPENDS=   ${BUILD_DEPENDS}
X
XDB_TYPE?=mysql
X
X.include <bsd.port.pre.mk>
X
X.if defined(WITH_FASTCGI)
X.if defined(WITH_APACHE2)
XBUILD_DEPENDS+=        ${LOCALBASE}/libexec/apache2/mod_fastcgi.so:${PORTSDIR}/www/mod_fastcgi
X.else
XBUILD_DEPENDS+=        ${LOCALBASE}/libexec/apache/mod_fastcgi.so:${PORTSDIR}/www/mod_fastcgi
X.endif
XBUILD_DEPENDS+=                ${SITE_PERL}/${PERL_ARCH}/FCGI.pm:${PORTSDIR}/www/p5-FastCGI
X.endif
X
X.if ${DB_TYPE} == "Oracle"
XBUILD_DEPENDS+=        ${SITE_PERL}/${PERL_ARCH}/DBD/Oracle.pm:${PORTSDIR}/databases/p5-DBD-Oracle
X.else
X.if ${DB_TYPE} == "Pg"
X.if ${PERL_LEVEL} < 500600
XBUILD_DEPENDS+=        ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg-13
X.else
XBUILD_DEPENDS+=        ${SITE_PERL}/${PERL_ARCH}/DBD/Pg.pm:${PORTSDIR}/databases/p5-DBD-Pg
X.endif
X.else
X.if ${DB_TYPE} == "Sybase"
XBUILD_DEPENDS+=        ${SITE_PERL}/${PERL_ARCH}/DBD/Sybase.pm:${PORTSDIR}/databases/p5-DBD-Sybase
X.else
X.if ${DB_TYPE} == "mysql"
XBUILD_DEPENDS+=        ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
X.endif
X.endif
X.endif
X.endif
X
XHAS_CONFIGURE= yes
XUSE_PERL5=     yes
XCONFIGURE_ARGS+=--prefix=${PREFIX} \
X               --with-confdir=${PREFIX}/etc/sympa \
X               --with-initdir=${PREFIX}/etc/rc.d \
X               --with-etcdir=${PREFIX}/etc/sympa \
X               --with-cgidir=${PREFIX}/sympa/cgi-bin \
X               --with-iconsdir=${PREFIX}/sympa/icons \
X               --with-sbindir=${PREFIX}/sbin \
X               --with-libdir=${PREFIX}/lib/sympa \
X               --with-libexecdir=${PREFIX}/libexec/sympa \
X               --with-datadir=${DATADIR} \
X               --with-expldir=${PREFIX}/sympa/expl \
X               --with-lockdir=/var/spool/lock \
X               --with-piddir=/var/run \
X               --with-localedir=${PREFIX}/share/locale \
X               --with-docdir=${DOCSDIR} \
X               --with-sampledir=${EXAMPLESDIR} \
X               --with-spooldir=${PREFIX}/sympa/spool \
X               ${CONFIGURE_TARGET}
XCONFIGURE_ENV+=        lt_cv_sys_max_cmd_len=${CONFIGURE_MAX_CMD_LEN}
XMAKE_ENV?=     PERL_EXTUTILS_AUTOINSTALL=--skip
X
X#MAN8=         alias_manager.8 archived.8 bounced.8 sympa.8
X
Xpre-fetch:
X       @${ECHO} ""
X       @${ECHO} "You may use the following build options:"
X       @${ECHO} ""
X       @${ECHO} "      DB_TYPE=type                    Optional: mysql, Oracle, Pg or Sybase"
X       @${ECHO} "      WITH_FASTCGI                    Use FastCGI instead of plain CGI"
X       @${ECHO} ""
X
Xpre-install:
X       @PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} PRE-INSTALL
X
Xpost-patch:
X       ${MV} ${WRKSRC}/src/etc/script/sympa ${WRKSRC}/src/etc/script/sympa.sh
X       @${FIND} ${WRKSRC} -name "*.orig" -a -exec ${RM} -f {} \;
X
Xpost-install:
X       @PKG_PREFIX=${PREFIX} DB_TYPE=${DB_TYPE} WITH_FASTCGI=${WITH_FASTCGI} \
X        ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
X
Xpost-deinstall:
X       @PKG_PREFIX=${PREFIX} ${SH} ${PKGDEINSTALL} ${PKGNAME} POST-DEINSTALL
X
X.if ${PERL_LEVEL} < 500600
XBUILD_DEPENDS+=        ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137
XRUN_DEPENDS+=  ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI-137
X.else
XBUILD_DEPENDS+=        ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
XRUN_DEPENDS+=  ${SITE_PERL}/${PERL_ARCH}/DBI.pm:${PORTSDIR}/databases/p5-DBI
X.endif
X
X.include <bsd.port.post.mk>
END-of-sympa5/Makefile
echo x - sympa5/pkg-deinstall
sed 's/^X//' >sympa5/pkg-deinstall << 'END-of-sympa5/pkg-deinstall'
X#!/bin/sh
X# $FreeBSD: ports/mail/sympa/pkg-deinstall,v 1.3 2004/10/25 13:09:19 clsung Exp $
X#
X
Xif [ "$2" != "POST-DEINSTALL" ]; then
X       exit 0
Xfi
X
XUSER=sympa
XGROUP=${USER}
X
Xif pw groupshow "${USER}" 2>/dev/null 1>&2; then
X       echo "To delete the 'sympa' group permanently, use 'pw groupdel ${USER}'"
Xfi
X
Xif pw usershow "${USER}" 2>/dev/null 1>&2; then
X       echo "To delete the 'sympa' user permanently, use 'pw userdel ${USER}'"
Xfi
X
Xexit 0
END-of-sympa5/pkg-deinstall
echo x - sympa5/pkg-plist
sed 's/^X//' >sympa5/pkg-plist << 'END-of-sympa5/pkg-plist'
Xbin/arc2webarc.pl
Xbin/bouncequeue
Xbin/create_db.Oracle
Xbin/create_db.Pg
Xbin/create_db.Sybase
Xbin/create_db.mysql
Xbin/crypt_passwd.pl
Xbin/init_comment.pl
Xbin/load_subscribers.pl
Xbin/mod2html.pl
Xbin/p12topem.pl
Xbin/queue
Xbin/sympa_soap_client.pl
Xbin/testldap.pl
Xbin/testlogs.pl
Xbin/tpl2tt2.pl
Xetc/rc.d/sympa.sh
Xetc/sympa/sympa.conf
Xetc/sympa/wwsympa.conf
Xlib/sympa/Archive.pm
Xlib/sympa/Auth.pm
Xlib/sympa/CAS.pm
Xlib/sympa/Commands.pm
Xlib/sympa/Conf.pm
Xlib/sympa/Config_XML.pm
Xlib/sympa/Family.pm
Xlib/sympa/Fetch.pm
Xlib/sympa/Language.pm
Xlib/sympa/Ldap.pm
Xlib/sympa/List.pm
Xlib/sympa/Log.pm
Xlib/sympa/Marc.pm
Xlib/sympa/Marc/Search.pm
Xlib/sympa/Message.pm
Xlib/sympa/PlainDigest.pm
Xlib/sympa/SharedDocument.pm
Xlib/sympa/SympaTransport.pm
Xlib/sympa/Version.pm
Xlib/sympa/admin.pm
Xlib/sympa/bounce-lib.pl
Xlib/sympa/cookielib.pm
Xlib/sympa/mail.pm
Xlib/sympa/parser.pl
Xlib/sympa/smtp.pm
Xlib/sympa/sympasoap.pm
Xlib/sympa/time_utils.pl
Xlib/sympa/tools.pl
Xlib/sympa/tt2.pl
Xlib/sympa/wwslib.pm
Xlibexec/sympa/aliaswrapper
Xlibexec/sympa/virtualwrapper
Xsbin/alias_manager.pl
Xsbin/archived.pl
Xsbin/bounced.pl
Xsbin/sympa.pl
Xsbin/sympa_wizard.pl
Xsbin/task_manager.pl
X%%DOCSDIR%%/contents.png
X%%DOCSDIR%%/crossref.png
X%%DOCSDIR%%/img1.old
X%%DOCSDIR%%/img1.png
X%%DOCSDIR%%/img2.old
X%%DOCSDIR%%/img2.png
X%%DOCSDIR%%/index.html
X%%DOCSDIR%%/index.png
X%%DOCSDIR%%/next.png
X%%DOCSDIR%%/next_g.png
X%%DOCSDIR%%/node1.html
X%%DOCSDIR%%/node10.html
X%%DOCSDIR%%/node11.html
X%%DOCSDIR%%/node12.html
X%%DOCSDIR%%/node13.html
X%%DOCSDIR%%/node14.html
X%%DOCSDIR%%/node15.html
X%%DOCSDIR%%/node16.html
X%%DOCSDIR%%/node17.html
X%%DOCSDIR%%/node18.html
X%%DOCSDIR%%/node19.html
X%%DOCSDIR%%/node2.html
X%%DOCSDIR%%/node20.html
X%%DOCSDIR%%/node21.html
X%%DOCSDIR%%/node22.html
X%%DOCSDIR%%/node23.html
X%%DOCSDIR%%/node24.html
X%%DOCSDIR%%/node25.html
X%%DOCSDIR%%/node26.html
X%%DOCSDIR%%/node27.html
X%%DOCSDIR%%/node3.html
X%%DOCSDIR%%/node4.html
X%%DOCSDIR%%/node5.html
X%%DOCSDIR%%/node6.html
X%%DOCSDIR%%/node7.html
X%%DOCSDIR%%/node8.html
X%%DOCSDIR%%/node9.html
X%%DOCSDIR%%/prev.png
X%%DOCSDIR%%/prev_g.png
X%%DOCSDIR%%/sympa.css
X%%DOCSDIR%%/sympa.html
X%%DOCSDIR%%/sympa.pdf
X%%DOCSDIR%%/sympa.ps
X%%DOCSDIR%%/sympa.tex
X%%DOCSDIR%%/up.png
X%%DOCSDIR%%/up_g.png
X%%EXAMPLESDIR%%/README
X%%EXAMPLESDIR%%/config.digest
X%%EXAMPLESDIR%%/config.include
X%%EXAMPLESDIR%%/config.moderation
X%%EXAMPLESDIR%%/config.privateorpublickey
X%%EXAMPLESDIR%%/config.public
X%%EXAMPLESDIR%%/sample-list/config
X%%EXAMPLESDIR%%/sample-list/info
X%%EXAMPLESDIR%%/sample-list/message.footer
X%%EXAMPLESDIR%%/sample-list/welcome.tpl
X%%EXAMPLESDIR%%/sympa.conf
X%%EXAMPLESDIR%%/wwsympa.conf
Xshare/locale/cs/LC_MESSAGES/sympa.mo
Xshare/locale/de/LC_MESSAGES/sympa.mo
Xshare/locale/el/LC_MESSAGES/sympa.mo
Xshare/locale/en_US/LC_MESSAGES/sympa.mo
Xshare/locale/es/LC_MESSAGES/sympa.mo
Xshare/locale/et/LC_MESSAGES/sympa.mo
Xshare/locale/fi/LC_MESSAGES/sympa.mo
Xshare/locale/fr/LC_MESSAGES/sympa.mo
Xshare/locale/hu/LC_MESSAGES/sympa.mo
Xshare/locale/it/LC_MESSAGES/sympa.mo
Xshare/locale/ja/LC_MESSAGES/sympa.mo
Xshare/locale/nl/LC_MESSAGES/sympa.mo
Xshare/locale/oc/LC_MESSAGES/sympa.mo
Xshare/locale/pl/LC_MESSAGES/sympa.mo
Xshare/locale/pt/LC_MESSAGES/sympa.mo
Xshare/locale/pt_BR/LC_MESSAGES/sympa.mo
Xshare/locale/ro/LC_MESSAGES/sympa.mo
Xshare/locale/tr/LC_MESSAGES/sympa.mo
Xshare/locale/zh_CN/LC_MESSAGES/sympa.mo
Xshare/locale/zh_TW/LC_MESSAGES/sympa.mo
Xshare/nls/POSIX
Xshare/nls/en_US.US-ASCII
X%%DATADIR%%/README
X%%DATADIR%%/auth.conf
X%%DATADIR%%/ca-bundle.crt
X%%DATADIR%%/create_list.conf
X%%DATADIR%%/create_list_templates/discussion_list/comment.tt2
X%%DATADIR%%/create_list_templates/discussion_list/config.tt2
X%%DATADIR%%/create_list_templates/hotline/comment.tt2
X%%DATADIR%%/create_list_templates/hotline/config.tt2
X%%DATADIR%%/create_list_templates/html-news-letter/comment.tt2
X%%DATADIR%%/create_list_templates/html-news-letter/config.tt2
X%%DATADIR%%/create_list_templates/intranet_list/comment.tt2
X%%DATADIR%%/create_list_templates/intranet_list/config.tt2
X%%DATADIR%%/create_list_templates/news-letter/comment.tt2
X%%DATADIR%%/create_list_templates/news-letter/config.tt2
X%%DATADIR%%/create_list_templates/private_working_group/comment.tt2
X%%DATADIR%%/create_list_templates/private_working_group/config.tt2
X%%DATADIR%%/create_list_templates/public_web_forum/comment.tt2
X%%DATADIR%%/create_list_templates/public_web_forum/config.tt2
X%%DATADIR%%/edit_list.conf
X%%DATADIR%%/global_task_models/chk_cert_expiration.daily.task
X%%DATADIR%%/global_task_models/crl_update.daily.task
X%%DATADIR%%/global_task_models/eval_bouncers.daily.task
X%%DATADIR%%/global_task_models/expire_bounce.daily.task
X%%DATADIR%%/global_task_models/process_bouncers.weekly.task
X%%DATADIR%%/global_task_models/purge_orphan_bounces.monthly.task
X%%DATADIR%%/global_task_models/purge_user_table.monthly.task
X%%DATADIR%%/list_aliases.tt2
X%%DATADIR%%/list_task_models/expire.yearly.task
X%%DATADIR%%/list_task_models/remind.2month.task
X%%DATADIR%%/list_task_models/remind.monthly.task
X%%DATADIR%%/list_task_models/remind.yearly.task
X%%DATADIR%%/list_task_models/sync_include.ttl.task
X%%DATADIR%%/mail_tt2/bye.tt2
X%%DATADIR%%/mail_tt2/certif_warning.tt2
X%%DATADIR%%/mail_tt2/d_install_shared.tt2
X%%DATADIR%%/mail_tt2/d_reject_shared.tt2
X%%DATADIR%%/mail_tt2/digest.tt2
X%%DATADIR%%/mail_tt2/digest_plain.tt2
X%%DATADIR%%/mail_tt2/expire_deletion.tt2
X%%DATADIR%%/mail_tt2/expire_warning1.tt2
X%%DATADIR%%/mail_tt2/expire_warning2.tt2
X%%DATADIR%%/mail_tt2/global_remind.tt2
X%%DATADIR%%/mail_tt2/helpfile.tt2
X%%DATADIR%%/mail_tt2/info_report.tt2
X%%DATADIR%%/mail_tt2/invite.tt2
X%%DATADIR%%/mail_tt2/list_created.tt2
X%%DATADIR%%/mail_tt2/list_rejected.tt2
X%%DATADIR%%/mail_tt2/list_unknown.tt2
X%%DATADIR%%/mail_tt2/listeditor_notification.tt2
X%%DATADIR%%/mail_tt2/listmaster_notification.tt2
X%%DATADIR%%/mail_tt2/listowner_notification.tt2
X%%DATADIR%%/mail_tt2/lists.tt2
X%%DATADIR%%/mail_tt2/moderate.tt2
X%%DATADIR%%/mail_tt2/modindex.tt2
X%%DATADIR%%/mail_tt2/reject.tt2
X%%DATADIR%%/mail_tt2/remind.tt2
X%%DATADIR%%/mail_tt2/removed.tt2
X%%DATADIR%%/mail_tt2/review.tt2
X%%DATADIR%%/mail_tt2/sendpasswd.tt2
X%%DATADIR%%/mail_tt2/stats_report.tt2
X%%DATADIR%%/mail_tt2/subscriber_notification.tt2
X%%DATADIR%%/mail_tt2/summary.tt2
X%%DATADIR%%/mail_tt2/urlized_part.tt2
X%%DATADIR%%/mail_tt2/welcome.tt2
X%%DATADIR%%/mail_tt2/x509-user-cert-missing.tt2
X%%DATADIR%%/mail_tt2/your_infected_msg.tt2
X%%DATADIR%%/mhonarc-ressources.tt2
X%%DATADIR%%/mime.types
X%%DATADIR%%/scenari/access_web_archive.closed
X%%DATADIR%%/scenari/access_web_archive.intranet
X%%DATADIR%%/scenari/access_web_archive.listmaster
X%%DATADIR%%/scenari/access_web_archive.owner
X%%DATADIR%%/scenari/access_web_archive.private
X%%DATADIR%%/scenari/access_web_archive.public
X%%DATADIR%%/scenari/add.auth
X%%DATADIR%%/scenari/add.closed
X%%DATADIR%%/scenari/add.default
X%%DATADIR%%/scenari/add.owner
X%%DATADIR%%/scenari/add.owner_notify
X%%DATADIR%%/scenari/create_list.intranet
X%%DATADIR%%/scenari/create_list.listmaster
X%%DATADIR%%/scenari/create_list.public_listmaster
X%%DATADIR%%/scenari/d_edit.default
X%%DATADIR%%/scenari/d_edit.editor
X%%DATADIR%%/scenari/d_edit.owner
X%%DATADIR%%/scenari/d_edit.private
X%%DATADIR%%/scenari/d_edit.private-https
X%%DATADIR%%/scenari/d_edit.public
X%%DATADIR%%/scenari/d_read.default
X%%DATADIR%%/scenari/d_read.owner
X%%DATADIR%%/scenari/d_read.private
X%%DATADIR%%/scenari/d_read.private-https
X%%DATADIR%%/scenari/d_read.public
X%%DATADIR%%/scenari/del.auth
X%%DATADIR%%/scenari/del.closed
X%%DATADIR%%/scenari/del.default
X%%DATADIR%%/scenari/del.owner
X%%DATADIR%%/scenari/del.owner_notify
X%%DATADIR%%/scenari/global_remind.listmaster
X%%DATADIR%%/scenari/info.default
X%%DATADIR%%/scenari/info.open
X%%DATADIR%%/scenari/info.private
X%%DATADIR%%/scenari/invite.closed
X%%DATADIR%%/scenari/invite.default
X%%DATADIR%%/scenari/invite.owner
X%%DATADIR%%/scenari/invite.private
X%%DATADIR%%/scenari/invite.public
X%%DATADIR%%/scenari/remind.default
X%%DATADIR%%/scenari/remind.listmaster
X%%DATADIR%%/scenari/remind.owner
X%%DATADIR%%/scenari/review.closed
X%%DATADIR%%/scenari/review.default
X%%DATADIR%%/scenari/review.intranet
X%%DATADIR%%/scenari/review.listmaster
X%%DATADIR%%/scenari/review.owner
X%%DATADIR%%/scenari/review.private
X%%DATADIR%%/scenari/review.public
X%%DATADIR%%/scenari/send.closed
X%%DATADIR%%/scenari/send.default
X%%DATADIR%%/scenari/send.editorkey
X%%DATADIR%%/scenari/send.editorkeyonly
X%%DATADIR%%/scenari/send.editorkeyonlyauth
X%%DATADIR%%/scenari/send.intranet
X%%DATADIR%%/scenari/send.intranetorprivate
X%%DATADIR%%/scenari/send.newsletter
X%%DATADIR%%/scenari/send.newsletterkeyonly
X%%DATADIR%%/scenari/send.private
X%%DATADIR%%/scenari/send.private_smime
X%%DATADIR%%/scenari/send.privateandeditorkey
X%%DATADIR%%/scenari/send.privateandnomultipartoreditorkey
X%%DATADIR%%/scenari/send.privatekey
X%%DATADIR%%/scenari/send.privatekeyandeditorkeyonly
X%%DATADIR%%/scenari/send.privateoreditorkey
X%%DATADIR%%/scenari/send.privateorpublickey
X%%DATADIR%%/scenari/send.public
X%%DATADIR%%/scenari/send.public_nobcc
X%%DATADIR%%/scenari/send.publickey
X%%DATADIR%%/scenari/send.publicnoattachment
X%%DATADIR%%/scenari/send.publicnomultipart
X%%DATADIR%%/scenari/subscribe.auth
X%%DATADIR%%/scenari/subscribe.auth_notify
X%%DATADIR%%/scenari/subscribe.auth_owner
X%%DATADIR%%/scenari/subscribe.closed
X%%DATADIR%%/scenari/subscribe.default
X%%DATADIR%%/scenari/subscribe.intranet
X%%DATADIR%%/scenari/subscribe.intranetorowner
X%%DATADIR%%/scenari/subscribe.open
X%%DATADIR%%/scenari/subscribe.open_notify
X%%DATADIR%%/scenari/subscribe.open_quiet
X%%DATADIR%%/scenari/subscribe.owner
X%%DATADIR%%/scenari/subscribe.smime
X%%DATADIR%%/scenari/subscribe.smimeorowner
X%%DATADIR%%/scenari/topics_visibility.conceal
X%%DATADIR%%/scenari/topics_visibility.default
X%%DATADIR%%/scenari/topics_visibility.identified
X%%DATADIR%%/scenari/topics_visibility.noconceal
X%%DATADIR%%/scenari/unsubscribe.auth
X%%DATADIR%%/scenari/unsubscribe.auth_notify
X%%DATADIR%%/scenari/unsubscribe.closed
X%%DATADIR%%/scenari/unsubscribe.default
X%%DATADIR%%/scenari/unsubscribe.open
X%%DATADIR%%/scenari/unsubscribe.open_notify
X%%DATADIR%%/scenari/unsubscribe.owner
X%%DATADIR%%/scenari/visibility.conceal
X%%DATADIR%%/scenari/visibility.default
X%%DATADIR%%/scenari/visibility.intranet
X%%DATADIR%%/scenari/visibility.noconceal
X%%DATADIR%%/scenari/visibility.secret
X%%DATADIR%%/sympa.wsdl
X%%DATADIR%%/topics.conf
X%%DATADIR%%/web_tt2/active_lists.tt2
X%%DATADIR%%/web_tt2/add_request.tt2
X%%DATADIR%%/web_tt2/admin.tt2
X%%DATADIR%%/web_tt2/admin_menu.tt2
X%%DATADIR%%/web_tt2/arc.tt2
X%%DATADIR%%/web_tt2/arc_manage.tt2
X%%DATADIR%%/web_tt2/arc_protect.tt2
X%%DATADIR%%/web_tt2/arcsearch.tt2
X%%DATADIR%%/web_tt2/arcsearch_form.tt2
X%%DATADIR%%/web_tt2/button_footer.tt2
X%%DATADIR%%/web_tt2/button_header.tt2
X%%DATADIR%%/web_tt2/change_email.tt2
X%%DATADIR%%/web_tt2/choosepasswd.tt2
X%%DATADIR%%/web_tt2/close_list.tt2
X%%DATADIR%%/web_tt2/compose_mail.tt2
X%%DATADIR%%/web_tt2/copy_template.tt2
X%%DATADIR%%/web_tt2/create_list.tt2
X%%DATADIR%%/web_tt2/create_list_request.tt2
X%%DATADIR%%/web_tt2/css.tt2
X%%DATADIR%%/web_tt2/d_control.tt2
X%%DATADIR%%/web_tt2/d_editfile.tt2
X%%DATADIR%%/web_tt2/d_install_shared.tt2
X%%DATADIR%%/web_tt2/d_properties.tt2
X%%DATADIR%%/web_tt2/d_read.tt2
X%%DATADIR%%/web_tt2/d_upload.tt2
X%%DATADIR%%/web_tt2/dump_scenario.tt2
X%%DATADIR%%/web_tt2/edit_list_request.tt2
X%%DATADIR%%/web_tt2/edit_template.tt2
X%%DATADIR%%/web_tt2/editfile.tt2
X%%DATADIR%%/web_tt2/editsubscriber.tt2
X%%DATADIR%%/web_tt2/error.tt2
X%%DATADIR%%/web_tt2/footer.tt2
X%%DATADIR%%/web_tt2/get_closed_lists.tt2
X%%DATADIR%%/web_tt2/get_inactive_lists.tt2
X%%DATADIR%%/web_tt2/get_latest_lists.tt2
X%%DATADIR%%/web_tt2/get_pending_lists.tt2
X%%DATADIR%%/web_tt2/help.tt2
X%%DATADIR%%/web_tt2/help_admin.tt2
X%%DATADIR%%/web_tt2/help_editfile.tt2
X%%DATADIR%%/web_tt2/help_editlist.tt2
X%%DATADIR%%/web_tt2/help_user_options.tt2
X%%DATADIR%%/web_tt2/home.tt2
X%%DATADIR%%/web_tt2/info.tt2
X%%DATADIR%%/web_tt2/install_pending_list.tt2
X%%DATADIR%%/web_tt2/javascript.tt2
X%%DATADIR%%/web_tt2/latest_arc.tt2
X%%DATADIR%%/web_tt2/latest_d_read.tt2
X%%DATADIR%%/web_tt2/latest_lists.tt2
X%%DATADIR%%/web_tt2/list_admin_menu.tt2
X%%DATADIR%%/web_tt2/list_button_footer.tt2
X%%DATADIR%%/web_tt2/list_button_header.tt2
X%%DATADIR%%/web_tt2/list_menu.tt2
X%%DATADIR%%/web_tt2/list_panel.tt2
X%%DATADIR%%/web_tt2/lists.tt2
X%%DATADIR%%/web_tt2/login.tt2
X%%DATADIR%%/web_tt2/login_menu.tt2
X%%DATADIR%%/web_tt2/loginbanner.tt2
X%%DATADIR%%/web_tt2/loginrequest.tt2
X%%DATADIR%%/web_tt2/ls_templates.tt2
X%%DATADIR%%/web_tt2/main.tt2
X%%DATADIR%%/web_tt2/menu.tt2
X%%DATADIR%%/web_tt2/modindex.tt2
X%%DATADIR%%/web_tt2/notice.tt2
X%%DATADIR%%/web_tt2/pref.tt2
X%%DATADIR%%/web_tt2/remindpasswd.tt2
X%%DATADIR%%/web_tt2/remove_arc.tt2
X%%DATADIR%%/web_tt2/rename_list_request.tt2
X%%DATADIR%%/web_tt2/review.tt2
X%%DATADIR%%/web_tt2/review_family.tt2
X%%DATADIR%%/web_tt2/reviewbouncing.tt2
X%%DATADIR%%/web_tt2/rss.tt2
X%%DATADIR%%/web_tt2/rss_request.tt2
X%%DATADIR%%/web_tt2/scenario_test.tt2
X%%DATADIR%%/web_tt2/search.tt2
X%%DATADIR%%/web_tt2/search_list.tt2
X%%DATADIR%%/web_tt2/search_user.tt2
X%%DATADIR%%/web_tt2/serveradmin.tt2
X%%DATADIR%%/web_tt2/set_pending_list_request.tt2
X%%DATADIR%%/web_tt2/setlang.tt2
X%%DATADIR%%/web_tt2/show_cert.tt2
X%%DATADIR%%/web_tt2/sigrequest.tt2
X%%DATADIR%%/web_tt2/skinsedit.tt2
X%%DATADIR%%/web_tt2/stats.tt2
X%%DATADIR%%/web_tt2/subindex.tt2
X%%DATADIR%%/web_tt2/suboptions.tt2
X%%DATADIR%%/web_tt2/subrequest.tt2
X%%DATADIR%%/web_tt2/title.tt2
X%%DATADIR%%/web_tt2/tt2_error.tt2
X%%DATADIR%%/web_tt2/view_template.tt2
X%%DATADIR%%/web_tt2/viewbounce.tt2
X%%DATADIR%%/web_tt2/viewmod.tt2
X%%DATADIR%%/web_tt2/which.tt2
X%%DATADIR%%/web_tt2/your_lists.tt2
Xsympa/cgi-bin/sympa_soap_server.fcgi
Xsympa/cgi-bin/wwsympa.fcgi
Xsympa/cgi-bin/wwsympa-wrapper
Xsympa/icons/back.png
Xsympa/icons/begin.png
Xsympa/icons/binary.png
Xsympa/icons/down.png
Xsympa/icons/end.png
Xsympa/icons/folder.open.png
Xsympa/icons/folder.png
Xsympa/icons/image2.png
Xsympa/icons/left.png
Xsympa/icons/link.png
Xsympa/icons/locked.png
Xsympa/icons/logo-s-lock.png
Xsympa/icons/logo-s.png
Xsympa/icons/movie.png
Xsympa/icons/right.png
Xsympa/icons/sound1.png
Xsympa/icons/text.png
Xsympa/icons/unknown.png
X@dirrm sympa/spool/tmp
X@dirrm sympa/spool/task
X@dirrm sympa/spool/outgoing
X@dirrm sympa/spool/msg
X@dirrm sympa/spool/moderation
X@dirrm sympa/spool/expire
X@dirrm sympa/spool/digest
X@dirrm sympa/spool/auth
X@dirrm sympa/spool
X@dirrm sympa/icons
X@dirrm sympa/expl
X@dirrm sympa/cgi-bin
X@dirrm sympa/arc
X@dirrm sympa/bounce
X@dirrm sympa
X@dirrm %%DATADIR%%/web_tt2
X@dirrm %%DATADIR%%/scenari
X@dirrm %%DATADIR%%/mail_tt2
X@dirrm %%DATADIR%%/list_task_models
X@dirrm %%DATADIR%%/global_task_models
X@dirrm %%DATADIR%%/create_list_templates/public_web_forum
X@dirrm %%DATADIR%%/create_list_templates/private_working_group
X@dirrm %%DATADIR%%/create_list_templates/news-letter
X@dirrm %%DATADIR%%/create_list_templates/intranet_list
X@dirrm %%DATADIR%%/create_list_templates/html-news-letter
X@dirrm %%DATADIR%%/create_list_templates/hotline
X@dirrm %%DATADIR%%/create_list_templates/discussion_list
X@dirrm %%DATADIR%%/create_list_templates
X@dirrm %%DATADIR%%
X@dirrm %%EXAMPLESDIR%%/sample-list
X@dirrm %%EXAMPLESDIR%%
X@dirrm %%DOCSDIR%%
X@dirrm libexec/sympa
X@dirrm lib/sympa/Marc
X@dirrm lib/sympa
X@dirrm etc/sympa/web_tt2
X@dirrm etc/sympa/task_models
X@dirrm etc/sympa/scenari
X@dirrm etc/sympa/mail_tt2
X@dirrm etc/sympa/general_task_models
X@dirrm etc/sympa/create_list_templates
X@dirrm etc/sympa
END-of-sympa5/pkg-plist
echo x - sympa5/pkg-descr
sed 's/^X//' >sympa5/pkg-descr << 'END-of-sympa5/pkg-descr'
XSYMPA -- Systeme de Multi-Postage Automatique
X
XSYMPA is an electronic mailing list manager. It is used to automate list
Xmanagement functions such as subscription, moderation and management of
Xarchives. SYMPA also manages sending of messages to the lists, and
Xmakes it possible to reduce the load on the system. Provided that you
Xhave enough memory on your system, Sympa is especially well adapted for big
Xlists. For a list with 20 000 subscribers, it takes 5 minutes to send a
Xmessage to 90% of subscribers, of course considering that the network is
Xavailable.
X
XWWW:    http://www.sympa.org/
END-of-sympa5/pkg-descr
exit

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->garga 
Responsible-Changed-By: garga 
Responsible-Changed-When: Tue Sep 27 12:35:20 GMT 2005 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=86599 
State-Changed-From-To: open->feedback 
State-Changed-By: garga 
State-Changed-When: Tue Sep 27 18:13:10 GMT 2005 
State-Changed-Why:  
Discuss with submitter about create sympa5 port or not. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=86599 

From: Renato Botelho <garga@FreeBSD.org>
To: bug-followup@FreeBSD.org, Olivier.Girard@univ-angers.fr
Cc:  
Subject: Re: ports/86599: New Port: mail/sympa5 SYMPA is an electronic mailing list manager.
Date: Tue, 27 Sep 2005 15:16:02 -0300

 2 Things:
 
 - There is a reason to don't update actual mail/sympa port to version 5.x?
 
 - Please, install /usr/ports/devel/portlint and run a portlint -A on
 ports directory before send, there are a lot of WARNINGS and FATALS to
 be fixed.
 
 Regards
 -- 
 Renato Botelho <garga @ FreeBSD.org>
                <freebsd @ galle.com.br>
 GnuPG Key: http://www.FreeBSD.org/~garga/pubkey.asc
 
 The grand leap of the whale up the Fall of Niagara is esteemed, by all
 who have seen it, as one of the finest spectacles in nature.
 		-- Benjamin Franklin.

From: Renato Botelho <garga@FreeBSD.org>
To: Olivier Girard <Olivier.Girard@univ-angers.fr>
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/86599: New Port: mail/sympa5 SYMPA is an electronic mailing list manager.
Date: Wed, 28 Sep 2005 12:49:56 -0300

 On Wed, Sep 28, 2005 at 04:02:45PM +0200, Olivier Girard wrote:
 > Renato Botelho wrote:
 > >- Please, install /usr/ports/devel/portlint and run a portlint -A on
 > >ports directory before send, there are a lot of WARNINGS and FATALS to
 > >be fixed.
 > 
 > This makefile look better to portlint.
 > Don't know how to solve waring about RUN_DEPENDS
 
 Ok, but the patches are not applying, like you can see here:
 
 http://srvmix.galle.com.br/tb/errors/4-STABLE/sympa-5.1.log
 
 Could you fix it please?
 -- 
 Renato Botelho <garga @ FreeBSD.org>
                <freebsd @ galle.com.br>
 GnuPG Key: http://www.FreeBSD.org/~garga/pubkey.asc
 
 Cabbage, n.:
 	A familiar kitchen-garden vegetable about as large and wise as
 a man's head.
 		-- Ambrose Bierce, "The Devil's Dictionary"
State-Changed-From-To: feedback->closed 
State-Changed-By: garga 
State-Changed-When: Thu Sep 29 13:04:10 GMT 2005 
State-Changed-Why:  
New port added. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=86599 
>Unformatted:
