Sympa is a mailing list manager with a web interface for users and admins

This commit is contained in:
manu 2003-01-22 15:56:30 +00:00
parent 0fed42c6e3
commit 087c2ce3a7
10 changed files with 1376 additions and 1 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.155 2003/01/11 15:32:24 uebayasi Exp $
# $NetBSD: Makefile,v 1.156 2003/01/22 15:57:41 manu Exp $
#
COMMENT= Electronic mail utilities
@ -121,6 +121,7 @@ SUBDIR+= squirrelmail
SUBDIR+= sqwebmail
SUBDIR+= sylpheed
SUBDIR+= sylpheed-claws
SUBDIR+= sympa
SUBDIR+= teapop
SUBDIR+= tmda
SUBDIR+= tnef

12
mail/sympa/DESCR Normal file
View file

@ -0,0 +1,12 @@
Sympa is a mailing-list manager. As such, its goal is to automate all
mailing-list operation such as subscription with automatic authentication,
unsubscription, but also archiving message, sending digests on a regular
basis, expiration of addresses, and so on.
Sympa is developped by the CRU (French Universities Network Committee) ;
it is distributed under the terms of the GNU General Public License
Version 2.
Sympa is designed to be highly customizable, easy to manage and efficient.
Sympa is therefore a nice solution for managing small intranet mailing
lists as well as very large ISP mailing list services.

6
mail/sympa/MESSAGE Normal file
View file

@ -0,0 +1,6 @@
===========================================================================
$NetBSD: MESSAGE,v 1.1.1.1 2003/01/22 15:56:33 manu Exp $
Sympa's documentation can be found at http://www.sympa.org/doc/sympa/
===========================================================================

42
mail/sympa/Makefile Normal file
View file

@ -0,0 +1,42 @@
# $NetBSD: Makefile,v 1.1.1.1 2003/01/22 15:56:30 manu Exp $
#
DISTNAME= sympa-3.4.2
CATEGORIES= mail
MASTER_SITES= http://www.sympa.org/distribution/
MAINTAINER= manu@netbsd.org
HOMEPAGE= http://www.sympa.org
COMMENT= Mailing list manager
DEPENDS+= perl>=5.005:../../lang/perl5
DEPENDS+= p5-CGI>=2.52:../../www/p5-CGI
DEPENDS+= p5-FCGI>=0.48:../../www/p5-FCGI
DEPENDS+= p5-Digest-MD5>=2.00:../../security/p5-Digest-MD5
DEPENDS+= p5-IO-stringy>=1.0:../../devel/p5-IO-stringy
DEPENDS+= p5-Msgcat>=1.01:../../misc/p5-Msgcat
DEPENDS+= p5-MIME-Base64>=1.0:../../converters/p5-MIME-Base64
DEPENDS+= p5-MIME-tools>=5.209:../../mail/p5-MIME-tools
DEPENDS+= p5-MailTools>=1.32:../../mail/p5-MailTools
DEPENDS+= p5-DBI>=1.06:../../databases/p5-DBI
DEPENDS+= p5-DBD-Sybase>=0.90:../../databases/p5-DBD-Sybase
DEPENDS+= p5-DBD-mysql>=2.0407:../../databases/p5-DBD-mysql
DEPENDS+= p5-DBD-postgresql>=0.90:../../databases/p5-DBD-postgresql
DEPENDS+= p5-perl-ldap>=0.10:../../databases/p5-perl-ldap
USE_BUILDLINK2= YES
HAS_CONFIGURE= YES
CONFIGURE_SCRIPT= ./configure
CONFIGURE_ARGS+= --prefix=${PREFIX}/sympa
CONFIGURE_ARGS+= --with-confdir=${PREFIX}/etc
CONFIGURE_ARGS+= --with-piddir=/var/run
PKG_GROUPS?= sympa
PKG_USERS?= sympa:sympa
# We do not support set-uid scripts...
post-install:
${CHMOD} ug-s ${PREFIX}/sympa/bin/wwsympa.fcgi
.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"

1249
mail/sympa/PLIST Normal file

File diff suppressed because it is too large Load diff

8
mail/sympa/distinfo Normal file
View file

@ -0,0 +1,8 @@
$NetBSD: distinfo,v 1.1.1.1 2003/01/22 15:56:33 manu Exp $
SHA1 (sympa-3.4.2.tar.gz) = c3cfba1619bc6246847ab24e8c183a1c36c88842
Size (sympa-3.4.2.tar.gz) = 2002685 bytes
SHA1 (patch-aa) = 2cef611dc6bb5463488888f05cb8afaf6e77e49a
SHA1 (patch-ab) = 7aea917192e77e75ba986624bf12d6880e7a6b59
SHA1 (patch-ac) = 24ce9f71c938a2ce3ea4c6716632748ae4b8d1b0
SHA1 (patch-ad) = e6fe0c83c8bed18db2a8a7823d01b22d9d381b66

View file

@ -0,0 +1,14 @@
$NetBSD: patch-aa,v 1.1.1.1 2003/01/22 15:56:33 manu Exp $
--- check_perl_modules.pl.orig Mon Jan 13 14:33:06 2003
+++ check_perl_modules.pl Mon Jan 13 14:34:01 2003
@@ -159,9 +159,9 @@
}
printf "Description: %s\n", $opt_features{$module};
print "Install module $module ? [$default]";
- my $answer = <STDIN>; chomp $answer;
+ $answer = "";
$answer ||= $default;
next unless ($answer =~ /^y$/i);
CPAN::Shell->conf('inactivity_timeout', 4);
CPAN::Shell->install($module);

View file

@ -0,0 +1,13 @@
$NetBSD: patch-ab,v 1.1.1.1 2003/01/22 15:56:33 manu Exp $
--- Makefile.in.orig Mon Jan 13 15:05:58 2003
+++ Makefile.in Mon Jan 13 15:06:08 2003
@@ -545,9 +545,8 @@
echo "Installing sample config file $$cfile..."; \
$(PERL) -I $(DESTDIR)$(SBINDIR) $(DESTDIR)$(SBINDIR)/sympa_wizard.pl -c $$cfile; \
chown $(USER) $(DESTDIR)$(CONFDIR)/$$cfile; \
chgrp $(GROUP) $(DESTDIR)$(CONFDIR)/$$cfile; \
- INITCONF='1'; \
fi \
done; \
if [ "$$INITCONF" ] ; then \
echo "###############################################"; \

View file

@ -0,0 +1,14 @@
$NetBSD: patch-ac,v 1.1.1.1 2003/01/22 15:56:33 manu Exp $
--- src/List.pm.orig Wed Jan 22 16:18:15 2003
+++ src/List.pm Wed Jan 22 16:19:50 2003
@@ -208,9 +208,9 @@
'Oracle' => '((to_number(to_char(%s,\'J\')) - to_number(to_char(to_date(\'01/01/1970\',\'dd/mm/yyyy\'), \'J\'))) * 86400) +to_number(to_char(%s,\'SSSSS\'))',
'Sybase' => 'datediff(second, "01/01/1970",%s)'
},
'write' => {
- 'Pg' => '\'epoch\'::datetime + \'%d sec\'',
+ 'Pg' => '\'epoch\'::timestamp with time zone + \'%d sec\'',
'mysql' => 'FROM_UNIXTIME(%d)',
'Oracle' => 'to_date(to_char(round(%s/86400) + to_number(to_char(to_date(\'01/01/1970\',\'dd/mm/yyyy\'), \'J\'))) || \':\' ||to_char(mod(%s,86400)), \'J:SSSSS\')',
'Sybase' => 'dateadd(second,%s,"01/01/1970")'
}

View file

@ -0,0 +1,16 @@
$NetBSD: patch-ad,v 1.1.1.1 2003/01/22 15:56:33 manu Exp $
--- src/etc/script/create_db.Pg.orig Wed Jan 22 16:09:38 2003
+++ src/etc/script/create_db.Pg Wed Jan 22 16:17:33 2003
@@ -18,10 +18,10 @@
DROP TABLE subscriber_table;
CREATE TABLE subscriber_table (
list_subscriber varchar (50) NOT NULL,
user_subscriber varchar (100) NOT NULL,
- date_subscriber datetime NOT NULL,
- update_subscriber datetime,
+ date_subscriber timestamp with time zone NOT NULL,
+ update_subscriber timestamp with time zone,
visibility_subscriber varchar (20),
reception_subscriber varchar (20),
bounce_subscriber varchar (35),
comment_subscriber varchar (150),