pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/sympa Update to version 4.1.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c1a903c8d47d
branches:  trunk
changeset: 481145:c1a903c8d47d
user:      seb <seb%pkgsrc.org@localhost>
date:      Sun Sep 26 20:13:34 2004 +0000

description:
Update to version 4.1.2

Too many changes and bugfixes to list here, see installed file
${PREFIX}/share/doc/sympa/NEWS.

Highlights of package changes: use regular PREFIX, pervasive use of
bsd.pkg.install.mk framework, add dependencies on mhonarc package and
openssl, use bsd.options.mk framework to select MySQL or PostgreSQL support,
introduce SYMPA_VARBASE to select "/var" directory
(defaults to ${VARBASE}/sympa).

Take stewardship with previous maintainer blessing.

XXX Better startup script(s) than the ones I use should be provided, so
I'm not including them in this package.

diffstat:

 mail/sympa/MESSAGE          |    13 +-
 mail/sympa/Makefile         |   134 +-
 mail/sympa/PLIST            |  2629 ++++++++++++++++++++++--------------------
 mail/sympa/distinfo         |    14 +-
 mail/sympa/patches/patch-aa |    43 +-
 mail/sympa/patches/patch-ab |    54 +-
 mail/sympa/patches/patch-ac |    27 +-
 mail/sympa/patches/patch-ad |    16 -
 mail/sympa/patches/patch-ae |    13 -
 9 files changed, 1587 insertions(+), 1356 deletions(-)

diffs (truncated from 3009 to 300 lines):

diff -r d6988ca46823 -r c1a903c8d47d mail/sympa/MESSAGE
--- a/mail/sympa/MESSAGE        Sun Sep 26 19:29:15 2004 +0000
+++ b/mail/sympa/MESSAGE        Sun Sep 26 20:13:34 2004 +0000
@@ -1,6 +1,15 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.1.1.1 2003/01/22 15:56:33 manu Exp $
+$NetBSD: MESSAGE,v 1.2 2004/09/26 20:13:34 seb Exp $
+
+Run ${SYMPA_BIN}/sympa_wizard.pl -c sympa.conf
+and ${SYMPA_BIN}/sympa_wizard.pl -c wwsympa.conf
+to create default configuration files in ${PKG_SYSCONFDIR}.
 
-Sympa's documentation can be found at http://www.sympa.org/doc/sympa/
+Then re-run ${SYMPA_BIN}/sympa_wizard.pl
+for interactive configuration.
+
+If you are upgrading from a previous version please consult
+${PREFIX}/share/doc/sympa/NEWS
+for incompatible changes.
 
 ===========================================================================
diff -r d6988ca46823 -r c1a903c8d47d mail/sympa/Makefile
--- a/mail/sympa/Makefile       Sun Sep 26 19:29:15 2004 +0000
+++ b/mail/sympa/Makefile       Sun Sep 26 20:13:34 2004 +0000
@@ -1,47 +1,135 @@
-# $NetBSD: Makefile,v 1.9 2004/05/13 22:27:38 snj Exp $
+# $NetBSD: Makefile,v 1.10 2004/09/26 20:13:34 seb Exp $
 #
 
-DISTNAME=      sympa-3.4.2
-PKGREVISION=   1
+DISTNAME=      sympa-4.1.2
 CATEGORIES=    mail
 MASTER_SITES=  http://www.sympa.org/distribution/
 
-MAINTAINER=    manu%NetBSD.org@localhost
+MAINTAINER=    seb%NetBSD.org@localhost
 HOMEPAGE=      http://www.sympa.org/
 COMMENT=       Mailing list manager
 
-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-Archive-Zip>=1.05:../../archivers/p5-Archive-Zip
+DEPENDS+=      p5-MIME-Base64>=1.0:../../converters/p5-MIME-Base64
+DEPENDS+=      p5-DBD-Sybase>=0.90:../../databases/p5-DBD-Sybase
+DEPENDS+=      p5-DBI>=1.06:../../databases/p5-DBI
+DEPENDS+=      p5-perl-ldap>=0.27:../../databases/p5-perl-ldap
+DEPENDS+=      p5-File-Spec>=0.8:../../devel/p5-File-Spec
 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+=      mhonarc-[0-9]*:../../mail/mhonarc
 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
-DEPENDS.SunOS+=        p5-DB_File-[0-9]*:../../databases/p5-DB_File
+DEPENDS+=      p5-MailTools>=1.51:../../mail/p5-MailTools
+DEPENDS+=      p5-Net>=1.0:../../net/p5-Net
+DEPENDS+=      p5-SOAP-Lite-[0-9]*:../../net/p5-SOAP-Lite
+DEPENDS+=      p5-Crypt-CipherSaber>=0.50:../../security/p5-Crypt-CipherSaber
+DEPENDS+=      p5-Digest-MD5>=2.00:../../security/p5-Digest-MD5
+DEPENDS+=      p5-IO-Socket-SSL>=0.90:../../security/p5-IO-Socket-SSL
+DEPENDS+=      p5-Net-SSLeay>=1.16:../../security/p5-Net-SSLeay
+DEPENDS+=      p5-CGI>=2.52:../../www/p5-CGI
+DEPENDS+=      p5-FCGI>=0.67:../../www/p5-FCGI
+DEPENDS+=      p5-libwww>=1.09:../../www/p5-libwww
+DEPENDS.SunOS+=        p5-DB_File>=1.75:../../databases/p5-DB_File
 
 OPSYSVARS+=    DEPENDS
 
 USE_BUILDLINK3=                YES
 USE_PKGINSTALL=                YES
 GNU_CONFIGURE=         YES
-CONFIGURE_ARGS+=       --with-piddir=/var/run
+CONFIGURE_ARGS+=       --with-confdir=${PKG_SYSCONFDIR}
+CONFIGURE_ARGS+=       --with-cgidir=${SYMPA_BIN}
+CONFIGURE_ARGS+=       --with-iconsdir=${SYMPA_PREFIX}/httpd/icons
+CONFIGURE_ARGS+=       --with-bindir=${SYMPA_BIN}
+CONFIGURE_ARGS+=       --with-sbindir=${SYMPA_BIN}
+CONFIGURE_ARGS+=       --with-libexecdir=${SYMPA_BIN}
+CONFIGURE_ARGS+=       --with-libdir=${SYMPA_BIN}
+CONFIGURE_ARGS+=       --with-datadir=${SYMPA_BIN}/etc
+CONFIGURE_ARGS+=       --with-expldir=${SYMPA_VARBASE}/expl
+CONFIGURE_ARGS+=       --with-mandir=${PREFIX}/man
+CONFIGURE_ARGS+=       --with-lockdir=${SYMPA_VARBASE}/lock
+CONFIGURE_ARGS+=       --with-piddir=${SYMPA_VARBASE}/run
+CONFIGURE_ARGS+=       --with-etcdir=${PKG_SYSCONFDIR}/sympa
+CONFIGURE_ARGS+=       --with-nlsdir=${SYMPA_PREFIX}/nls
+CONFIGURE_ARGS+=       --with-docdir=${PREFIX}/share/doc/html/sympa
+CONFIGURE_ARGS+=       --with-scriptdir=${SYMPA_BIN}
+CONFIGURE_ARGS+=       --with-sampledir=${PREFIX}/share/examples/sympa
+CONFIGURE_ARGS+=       --with-spooldir=${SYMPA_SPOOL}
+CONFIGURE_ARGS+=       --with-perl=${PERL5}
+CONFIGURE_ARGS+=       --with-mhonarc=${MHONARC_PREFIX}/bin/mhonarc
+CONFIGURE_ARGS+=       --with-openssl=${SSLBASE}/bin/openssl
+CONFIGURE_ARGS+=       --with-user=${SYMPA_USER}
+CONFIGURE_ARGS+=       --with-group=${SYMPA_GROUP}
+
+MHONARC_PREFIX_DEFAULT=        ${LOCALBASE}
+EVAL_PREFIX+=          MHONARC_PREFIX=mhonarc
 
 PERL5_REQD+=   5.005
 
-PKG_GROUPS?=   sympa
-PKG_USERS?=    sympa:sympa
+PKG_OPTIONS_VAR=       PKG_OPTIONS.sympa
+PKG_SUPPORTED_OPTIONS= mysql pgsql
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mmysql)
+DEPENDS+=      p5-DBD-mysql>=2.0407:../../databases/p5-DBD-mysql
+.endif
+
+.if !empty(PKG_OPTIONS:Mpgsql)
+DEPENDS+=      p5-DBD-postgresql>=0.90:../../databases/p5-DBD-postgresql
+.endif
+
+SYMPA_USER?=   sympa
+SYMPA_GROUP?=  sympa
+SYMPA_VARBASE?=        ${VARBASE}/sympa
+
+BUILD_DEFS+=   SYMPA_USER SYMPA_GROUP SYMPA_VARBASE
+
+SYMPA_PREFIX=  ${PREFIX}/sympa
+SYMPA_SPOOL=   ${SYMPA_VARBASE}/spool
+SYMPA_BIN=     ${SYMPA_PREFIX}/bin
+
+PKG_GROUPS=    ${SYMPA_GROUP}
+PKG_USERS=     ${SYMPA_USER}:${SYMPA_GROUP}::Sympa\\ user:${SYMPA_VARBASE}
 
-# We do not support set-uid scripts...
+.for d in sympa sympa/create_list_templates sympa/general_task_models \
+       sympa/scenari sympa/task_models sympa/templates sympa/wws_templates
+OWN_DIRS_PERMS+=       ${PKG_SYSCONFDIR}/${d} ${SYMPA_USER} ${SYMPA_GROUP} 755
+.endfor
+OWN_DIRS_PERMS+=       ${SYMPA_VARBASE} ${SYMPA_USER} ${SYMPA_GROUP} 770
+OWN_DIRS_PERMS+=       ${SYMPA_VARBASE}/expl ${SYMPA_USER} ${SYMPA_GROUP} 770
+OWN_DIRS_PERMS+=       ${SYMPA_VARBASE}/lock ${SYMPA_USER} ${SYMPA_GROUP} 770
+OWN_DIRS_PERMS+=       ${SYMPA_VARBASE}/run ${SYMPA_USER} ${SYMPA_GROUP} 770
+OWN_DIRS_PERMS+=       ${SYMPA_SPOOL} ${SYMPA_USER} ${SYMPA_GROUP} 770
+OWN_DIRS_PERMS+=       ${SYMPA_SPOOL}/msg ${SYMPA_USER} ${SYMPA_GROUP} 770
+OWN_DIRS_PERMS+=       ${SYMPA_SPOOL}/digest ${SYMPA_USER} ${SYMPA_GROUP} 770
+OWN_DIRS_PERMS+=       ${SYMPA_SPOOL}/moderation ${SYMPA_USER} ${SYMPA_GROUP} 770
+OWN_DIRS_PERMS+=       ${SYMPA_SPOOL}/expire ${SYMPA_USER} ${SYMPA_GROUP} 770
+OWN_DIRS_PERMS+=       ${SYMPA_SPOOL}/auth ${SYMPA_USER} ${SYMPA_GROUP} 770
+OWN_DIRS_PERMS+=       ${SYMPA_SPOOL}/outgoing ${SYMPA_USER} ${SYMPA_GROUP} 770
+OWN_DIRS_PERMS+=       ${SYMPA_SPOOL}/task ${SYMPA_USER} ${SYMPA_GROUP} 770
+OWN_DIRS_PERMS+=       ${SYMPA_SPOOL}/tmp ${SYMPA_USER} ${SYMPA_GROUP} 770
+
+SPECIAL_PERMS+=                ${SYMPA_BIN}/aliaswrapper ${ROOT_USER} ${SYMPA_GROUP} 4750
+SPECIAL_PERMS+=                ${SYMPA_BIN}/bouncequeue ${SYMPA_USER} ${SYMPA_GROUP} 4755
+SPECIAL_PERMS+=                ${SYMPA_BIN}/queue ${SYMPA_USER} ${SYMPA_GROUP} 4755
+SPECIAL_PERMS+=                ${SYMPA_BIN}/virtualwrapper ${ROOT_USER} ${SYMPA_GROUP} 4750
+
+# Which pkgsrc platforms support set-uid scripts?
+#SPECIAL_PERMS+=       ${SYMPA_BIN}/sympa_soap_server.fcgi ${SYMPA_USER} ${SYMPA_GROUP} 6755
+#SPECIAL_PERMS+=       ${SYMPA_BIN}/wwsympa.fcgi ${SYMPA_USER} ${SYMPA_GROUP} 6755
+
+MESSAGE_SUBST+=        SYMPA_BIN=${SYMPA_BIN}
+
+INSTALLATION_DIRS+=    share/doc/sympa
+
+.include "../../mk/bsd.prefs.mk"
+
 post-install:
-       ${CHMOD} ug-s ${PREFIX}/bin/wwsympa.fcgi
+.if ${OPSYS} == "NetBSD"
+       : We do not support set-uid scripts...
+       ${CHMOD} ug-s ${SYMPA_BIN}/sympa_soap_server.fcgi
+       ${CHMOD} ug-s ${SYMPA_BIN}/wwsympa.fcgi
+.endif
+       ${INSTALL_DATA} ${WRKSRC}/NEWS ${PREFIX}/share/doc/sympa/NEWS
 
 .include "../../lang/perl5/buildlink3.mk"
+.include "../../security/openssl/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
-
-PREFIX=        ${LOCALBASE}/sympa
diff -r d6988ca46823 -r c1a903c8d47d mail/sympa/PLIST
--- a/mail/sympa/PLIST  Sun Sep 26 19:29:15 2004 +0000
+++ b/mail/sympa/PLIST  Sun Sep 26 20:13:34 2004 +0000
@@ -1,1254 +1,1375 @@
-@comment $NetBSD: PLIST,v 1.2 2003/01/28 09:40:16 uebayasi Exp $
-bin/Archive.pm
-bin/Commands.pm
-bin/Conf.pm
-bin/Language.pm
-bin/Ldap.pm
-bin/List.pm
-bin/Log.pm
-bin/Marc.pm
-bin/Marc/Search.pm
-bin/Message.pm
-bin/Version.pm
-bin/X509.pm
-bin/alias_manager.pl
-bin/aliaswrapper
-bin/arc2webarc.pl
-bin/archived.pl
-bin/bounce-lib.pl
-bin/bounced.pl
-bin/bouncequeue
-bin/cookielib.pm
-bin/create_db.Oracle
-bin/create_db.Pg
-bin/create_db.Sybase
-bin/create_db.mysql
-bin/crypt_passwd.pl
-bin/etc/ca-bundle.crt
-bin/etc/create_list.conf
-bin/etc/create_list_templates/discussion_list/comment
-bin/etc/create_list_templates/discussion_list/config.tpl
-bin/etc/create_list_templates/hotline/comment
-bin/etc/create_list_templates/hotline/config.tpl
-bin/etc/create_list_templates/html-news-letter/comment
-bin/etc/create_list_templates/html-news-letter/config.tpl
-bin/etc/create_list_templates/intranet_list/comment
-bin/etc/create_list_templates/intranet_list/config.tpl
-bin/etc/create_list_templates/news-letter/comment
-bin/etc/create_list_templates/news-letter/config.tpl
-bin/etc/create_list_templates/private_working_group/comment
-bin/etc/create_list_templates/private_working_group/config.tpl
-bin/etc/create_list_templates/public_web_forum/comment
-bin/etc/create_list_templates/public_web_forum/config.tpl
-bin/etc/edit_list.conf
-bin/etc/global_task_models/chk_cert_expiration.daily.task
-bin/etc/global_task_models/crl_update.daily.task
-bin/etc/global_task_models/expire_bounce.daily.task
-bin/etc/global_task_models/purge_user_table.monthly.task
-bin/etc/list_aliases.tpl
-bin/etc/list_task_models/expire.yearly.task
-bin/etc/list_task_models/remind.2month.task
-bin/etc/list_task_models/remind.monthly.task
-bin/etc/list_task_models/remind.yearly.task
-bin/etc/list_task_models/sync_include.ttl.task
-bin/etc/mhonarc-ressources
-bin/etc/mime.types
-bin/etc/scenari/access_web_archive.closed
-bin/etc/scenari/access_web_archive.intranet
-bin/etc/scenari/access_web_archive.listmaster
-bin/etc/scenari/access_web_archive.owner
-bin/etc/scenari/access_web_archive.private
-bin/etc/scenari/access_web_archive.public
-bin/etc/scenari/add.auth
-bin/etc/scenari/add.closed
-bin/etc/scenari/add.default
-bin/etc/scenari/add.owner
-bin/etc/scenari/add.owner_notify
-bin/etc/scenari/create_list.intranet
-bin/etc/scenari/create_list.listmaster
-bin/etc/scenari/create_list.public_listmaster
-bin/etc/scenari/d_edit.default
-bin/etc/scenari/d_edit.owner
-bin/etc/scenari/d_edit.private
-bin/etc/scenari/d_edit.public
-bin/etc/scenari/d_read.default
-bin/etc/scenari/d_read.owner
-bin/etc/scenari/d_read.private
-bin/etc/scenari/d_read.public
-bin/etc/scenari/del.auth
-bin/etc/scenari/del.closed
-bin/etc/scenari/del.default
-bin/etc/scenari/del.owner
-bin/etc/scenari/del.owner_notify
-bin/etc/scenari/edit_list.closed
-bin/etc/scenari/edit_list.owner
-bin/etc/scenari/global_remind.listmaster
-bin/etc/scenari/info.default
-bin/etc/scenari/info.open
-bin/etc/scenari/info.private
-bin/etc/scenari/invite.closed
-bin/etc/scenari/invite.default
-bin/etc/scenari/invite.owner
-bin/etc/scenari/invite.private
-bin/etc/scenari/invite.public
-bin/etc/scenari/remind.default
-bin/etc/scenari/remind.listmaster
-bin/etc/scenari/remind.owner
-bin/etc/scenari/review.closed
-bin/etc/scenari/review.default
-bin/etc/scenari/review.intranet
-bin/etc/scenari/review.listmaster
-bin/etc/scenari/review.owner
-bin/etc/scenari/review.private
-bin/etc/scenari/review.public
-bin/etc/scenari/send.closed
-bin/etc/scenari/send.default
-bin/etc/scenari/send.editor
-bin/etc/scenari/send.editorkey
-bin/etc/scenari/send.editorkeyonly
-bin/etc/scenari/send.editorkeyonlyauth
-bin/etc/scenari/send.intranet
-bin/etc/scenari/send.intranetorprivate
-bin/etc/scenari/send.newsletter
-bin/etc/scenari/send.newsletterkeyonly



Home | Main Index | Thread Index | Old Index