pkgsrc-Changes-HG archive

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

[pkgsrc/pkgsrc-2012Q1]: pkgsrc/mail/sympa Pullup ticket #3796 - requested by ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f9f3951cd31b
branches:  pkgsrc-2012Q1
changeset: 602119:f9f3951cd31b
user:      tron <tron%pkgsrc.org@localhost>
date:      Mon May 21 15:51:48 2012 +0000

description:
Pullup ticket #3796 - requested by bouyer
mail/sympa: security update

Revisions pulled up:
- mail/sympa/MESSAGE                                            1.4
- mail/sympa/Makefile                                           1.47
- mail/sympa/PLIST                                              1.10
- mail/sympa/distinfo                                           1.13
- mail/sympa/files/bulk.sh                                      1.1
- mail/sympa/patches/patch-aa                                   1.6
- mail/sympa/patches/patch-ab                                   1.5
- mail/sympa/patches/patch-ac                                   1.3
- mail/sympa/patches/patch-af                                   1.3
- mail/sympa/patches/patch-ag                                   deleted
- mail/sympa/patches/patch-ah                                   deleted
- mail/sympa/patches/patch-ai                                   deleted
- mail/sympa/patches/patch-aj                                   deleted

---
   Module Name: pkgsrc
   Committed By:        bouyer
   Date:                Wed May 16 16:16:46 UTC 2012

   Modified Files:
        pkgsrc/mail/sympa: MESSAGE Makefile PLIST distinfo
        pkgsrc/mail/sympa/patches: patch-aa patch-ab patch-ac patch-af
   Added Files:
        pkgsrc/mail/sympa/files: bulk.sh
   Removed Files:
        pkgsrc/mail/sympa/patches: patch-ag patch-ah patch-ai patch-aj

   Log Message:
   Update sympa to latest stable release 6.1.11. Lots of changes since the 5.4
   series, users are encouraged to read /usr/pkg/share/doc/sympa/NEWS for
   details. Summary of new features:

   ***   New bulk.pl daemon installed with Sympa. This daemon is dedicated to
         mail distribution and allows to parallelize this process on a single
         server as well as on multiple servers.
   ***   [Olivier Lumineau, CRU] Fresh new web CSS for the web interface.
   ***   Replace storage of password with encryption by md5 fingerprint. This
         make remind password impossible. So now a one time ticket table is created
         ticket are  sent by email as an authentication token. Ticket can be used
         for lost password, create account, moderation request . It should be
         generalized to all operation that need a email chalenge.
   ***  New propertie in object message : spam_status .  This feature is used in
        modindex (listing of message waiting for moderation) to show message
        tagued as spam.
        4 new parameters :
         - antispam_feature default off
         - antispam_tag_header_name default X-Spam-Status
         - antispam_tag_header_spam_regexp default ^\s*Yes
         - antispam_tag_header_ham_regexp default ^\s*No
   ***  DKIM : Sympa now supports DKIM for message diffusion and control.
   ***  web_tt2/Makefile.am, web_tt2/ca.tt2, web_tt2/lca.tt2,
        wwsympa/wwsympa.fcgi.in:  It is now possible to create Custom actions
        at the list or robot level. These custom actions allow you to create
        new pages in the Sympa web interface. for now, you can only display
        informations using this method. any post treatment (such as form
        submission) must be handled outside of Sympa. See
        https://www.sympa.org/manual_6.1/customizing#custom_actions for more
        details.
   ***  [Submitted by J. jourdan] "suspension of membership." The user can suspend
        his subscription to the lists
        that he subscribes. For a finite length or not. Added a calendar in
        javascript to select a date.

   Also, lots of translastion updates, and bug fixes (including security ones)

diffstat:

 mail/sympa/MESSAGE          |   23 +-
 mail/sympa/Makefile         |  154 ++++++---
 mail/sympa/PLIST            |  691 +++++++++++++++++++++++--------------------
 mail/sympa/distinfo         |   20 +-
 mail/sympa/files/bulk.sh    |   22 +
 mail/sympa/patches/patch-aa |  106 +++---
 mail/sympa/patches/patch-ab |   83 ++--
 mail/sympa/patches/patch-ac |   18 +-
 mail/sympa/patches/patch-af |    8 +-
 mail/sympa/patches/patch-ag |   13 -
 mail/sympa/patches/patch-ah |   13 -
 mail/sympa/patches/patch-ai |   15 -
 mail/sympa/patches/patch-aj |   12 -
 13 files changed, 625 insertions(+), 553 deletions(-)

diffs (truncated from 1485 to 300 lines):

diff -r f0ec3ab6af71 -r f9f3951cd31b mail/sympa/MESSAGE
--- a/mail/sympa/MESSAGE        Mon May 21 15:14:21 2012 +0000
+++ b/mail/sympa/MESSAGE        Mon May 21 15:51:48 2012 +0000
@@ -1,15 +1,24 @@
 ===========================================================================
-$NetBSD: MESSAGE,v 1.3 2008/04/27 17:06:40 bouyer Exp $
+$NetBSD: MESSAGE,v 1.3.36.1 2012/05/21 15:51:48 tron 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}.
-
-Then re-run ${SYMPA_BIN}/sympa_wizard.pl
+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, and run '${SYMPA_BIN}/sympa.pl --upgrade'
+for incompatible changes, and run:
+${SYMPA_BIN}/sympa.pl --upgrade
+
+If upgrading from sympa 5.4, you need add the necessary scripts and entries
+to /etc/rc.d/ and /etc/rc.conf to start the bulk daemon.
+Also, note that configuration files sympa.conf and wwsympa.conf have
+moved to ${PKG_SYSCONFDIR}. Move these files before running
+'${SYMPA_BIN}/sympa.pl --upgrade'
+You also need to ajust paths in your httpd.conf file:
+/wws is now ${PREFIX}/sympa/libexec/cgi-bin/wwsympa-wrapper.fcgi
+/static-sympa is now ${SYMPA_VARBASE}/list_data/static_content
+Password encoding has changed; run:
+${SYMPA_BIN}/sympa.pl --md5_encode_password
+to reencode them to the new format.
 
 ===========================================================================
diff -r f0ec3ab6af71 -r f9f3951cd31b mail/sympa/Makefile
--- a/mail/sympa/Makefile       Mon May 21 15:14:21 2012 +0000
+++ b/mail/sympa/Makefile       Mon May 21 15:51:48 2012 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.46 2012/01/03 03:44:39 joerg Exp $
+# $NetBSD: Makefile,v 1.46.4.1 2012/05/21 15:51:48 tron Exp $
 #
 
-DISTNAME=      sympa-5.4.4
-PKGREVISION=   4
+DISTNAME=      sympa-6.1.11
+#PKGREVISION=  4
 CATEGORIES=    mail
 MASTER_SITES=  http://www.sympa.org/distribution/ \
                http://www.sympa.org/distribution/old/
@@ -10,71 +10,81 @@
 MAINTAINER=    bouyer%NetBSD.org@localhost
 HOMEPAGE=      http://www.sympa.org/
 COMMENT=       Mailing list manager
+LICENSE=       gnu-gpl-v2
 
 PKG_DESTDIR_SUPPORT=   destdir
 
+DEPENDS+=      mhonarc-[0-9]*:../../mail/mhonarc
 DEPENDS+=      p5-Archive-Zip>=1.05:../../archivers/p5-Archive-Zip
-DEPENDS+=      p5-MIME-Base64>=1.0:../../converters/p5-MIME-Base64
+DEPENDS+=      p5-AuthCAS>=1.5:../../security/p5-AuthCAS
+DEPENDS+=      {perl>=5.10,p5-CGI>=2.52}:../../www/p5-CGI
+DEPENDS+=      p5-Crypt-CipherSaber>=0.50:../../security/p5-Crypt-CipherSaber
 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+=      {perl>=5.10,p5-Digest-MD5>=2.00}:../../security/p5-Digest-MD5
+DEPENDS+=      p5-Email-Date-Format>=1.002:../../mail/p5-Email-Date-Format
+DEPENDS+=      p5-FCGI>=0.67:../../www/p5-FCGI
+DEPENDS+=      p5-File-Copy-Recursive>=0.38:../../sysutils/p5-File-Copy-Recursive
+DEPENDS+=      p5-HTML-Format>=2.10:../../www/p5-HTML-Format
+DEPENDS+=      p5-HTML-StripScripts-Parser>=1.02:../../www/p5-HTML-StripScripts-Parser
+DEPENDS+=      p5-HTML-Tree>=4.2:../../www/p5-HTML-Tree
+DEPENDS+=      p5-IO-Socket-SSL>=0.90:../../security/p5-IO-Socket-SSL
 DEPENDS+=      p5-IO-stringy>=1.0:../../devel/p5-IO-stringy
-DEPENDS+=      mhonarc-[0-9]*:../../mail/mhonarc
+DEPENDS+=      p5-Locale-libintl>=1.16:../../misc/p5-Locale-libintl
+DEPENDS+=      p5-MIME-Base64>=1.0:../../converters/p5-MIME-Base64
+DEPENDS+=      p5-MIME-EncWords>=1.010.101:../../mail/p5-MIME-EncWords
+DEPENDS+=      p5-MIME-Lite-HTML>=1.23:../../mail/p5-MIME-Lite-HTML
 DEPENDS+=      p5-MIME-tools>=5.209:../../mail/p5-MIME-tools
 DEPENDS+=      p5-MailTools>=1.51:../../mail/p5-MailTools
 DEPENDS+=      {perl>=5.10,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+=      {perl>=5.10,p5-Digest-MD5>=2.00}:../../security/p5-Digest-MD5
-DEPENDS+=      p5-IO-Socket-SSL>=0.90:../../security/p5-IO-Socket-SSL
+DEPENDS+=      p5-Net-Netmask>=1.9015:../../devel/p5-Net-Netmask
 DEPENDS+=      p5-Net-SSLeay>=1.16:../../security/p5-Net-SSLeay
-DEPENDS+=      {perl>=5.10,p5-CGI>=2.52}:../../www/p5-CGI
-DEPENDS+=      p5-FCGI>=0.67:../../www/p5-FCGI
-DEPENDS+=      p5-libwww>=1.09:../../www/p5-libwww
-DEPENDS+=      p5-Locale-libintl>=1.16:../../misc/p5-Locale-libintl
+DEPENDS+=      p5-Regexp-Common>=2.120:../../textproc/p5-Regexp-Common
+DEPENDS+=      p5-SOAP-Lite-[0-9]*:../../net/p5-SOAP-Lite
+DEPENDS+=      p5-Template-Toolkit>=2.20:../../www/p5-Template-Toolkit
+DEPENDS+=      p5-Term-ProgressBar>=2.09:../../devel/p5-Term-ProgressBar
+DEPENDS+=      p5-Time-HiRes>=1.9724:../../time/p5-Time-HiRes
+DEPENDS+=      p5-Unicode-LineBreak>=2012.02:../../textproc/p5-Unicode-LineBreak
 DEPENDS+=      p5-XML-LibXML>=1.61:../../textproc/p5-XML-LibXML
-DEPENDS+=      p5-Regexp-Common>=2.120:../../textproc/p5-Regexp-Common
-DEPENDS+=      p5-HTML-StripScripts-Parser>=1.02:../../www/p5-HTML-StripScripts-Parser
-DEPENDS+=      p5-MIME-EncWords>=1.010.101:../../mail/p5-MIME-EncWords
-DEPENDS+=      p5-Template-Toolkit>=2.20:../../www/p5-Template-Toolkit
+DEPENDS+=      p5-libwww>=1.09:../../www/p5-libwww
+DEPENDS+=      p5-perl-ldap>=0.27:../../databases/p5-perl-ldap
 DEPENDS.SunOS+=        {perl>=5.10,p5-DB_File>=1.75}:../../databases/p5-DB_File
 
 OPSYSVARS+=    DEPENDS
 
-USE_TOOLS+=            gmake msgfmt
+USE_TOOLS+=            gmake msgfmt perl:run
 
 GNU_CONFIGURE=         YES
-CONFIGURE_ARGS+=       --with-confdir=${PKG_SYSCONFDIR:Q}
-CONFIGURE_ARGS+=       --with-cgidir=${SYMPA_BIN:Q}
-CONFIGURE_ARGS+=       --with-bindir=${SYMPA_BIN:Q}
-CONFIGURE_ARGS+=       --with-sbindir=${SYMPA_BIN:Q}
-CONFIGURE_ARGS+=       --with-libexecdir=${SYMPA_BIN:Q}
-CONFIGURE_ARGS+=       --with-libdir=${SYMPA_BIN:Q}
-CONFIGURE_ARGS+=       --with-datadir=${SYMPA_BIN}/etc
-CONFIGURE_ARGS+=       --with-expldir=${SYMPA_VARBASE}/expl
-CONFIGURE_ARGS+=       --with-mandir=${PREFIX}/${PKGMANDIR}
+
+CONFIGURE_ARGS+=       --bindir=${PREFIX}/sympa/bin
+CONFIGURE_ARGS+=       --with-cgidir=${PREFIX}/sympa/libexec/cgi-bin
+CONFIGURE_ARGS+=       --libexecdir=${PREFIX}/sympa/bin
+CONFIGURE_ARGS+=       --localedir=${PREFIX}/share/locale
+CONFIGURE_ARGS+=       --sbindir=${PREFIX}/sympa/bin
+CONFIGURE_ARGS+=       --with-defaultdir=${PREFIX}/sympa/default
+CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}
+CONFIGURE_ARGS+=       --with-confdir=${PKG_SYSCONFDIR}
+CONFIGURE_ARGS+=       --with-expldir=${SYMPA_VARBASE}/list_data
 CONFIGURE_ARGS+=       --with-lockdir=${SYMPA_VARBASE}/lock
+CONFIGURE_ARGS+=       --with-modulesdir=${PREFIX}/sympa/bin
 CONFIGURE_ARGS+=       --with-piddir=${SYMPA_VARBASE}/run
-CONFIGURE_ARGS+=       --with-etcdir=${PKG_SYSCONFDIR}/sympa
-CONFIGURE_ARGS+=       --with-nlsdir=${SYMPA_PREFIX}/nls
+CONFIGURE_ARGS+=       --with-scriptdir=${PREFIX}/sympa/bin
+CONFIGURE_ARGS+=       --with-spooldir=${SYMPA_SPOOL:Q}
+CONFIGURE_ARGS+=       --mandir=${MAN8PREFIX}/man
+CONFIGURE_ARGS+=       --with-perl=${PERL5:Q}
+CONFIGURE_ARGS+=       --sharedstatedir=${SYMPA_PREFIX}/libdata
+CONFIGURE_ARGS+=       --datadir=${PREFIX}/share
+CONFIGURE_ARGS+=       --localstatedir=${SYMPA_VARBASE}
 CONFIGURE_ARGS+=       --with-docdir=${PREFIX}/share/doc/sympa
-CONFIGURE_ARGS+=       --with-scriptdir=${SYMPA_BIN:Q}
-CONFIGURE_ARGS+=       --with-sampledir=${PREFIX}/share/examples/sympa
-CONFIGURE_ARGS+=       --with-spooldir=${SYMPA_SPOOL:Q}
-CONFIGURE_ARGS+=       --with-perl=${PERL5:Q}
-CONFIGURE_ARGS+=       --with-mhonarc=${MHONARC_PREFIX}/bin/mhonarc
-CONFIGURE_ARGS+=       --with-openssl=${SSLBASE}/bin/openssl
 CONFIGURE_ARGS+=       --with-user=${SYMPA_USER:Q}
 CONFIGURE_ARGS+=       --with-group=${SYMPA_GROUP:Q}
-CONFIGURE_ARGS+=       --with-localedir=${PREFIX}/${PKGLOCALEDIR}/locale
 
-MHONARC_PREFIX_DEFAULT=        ${LOCALBASE}
-EVAL_PREFIX+=          MHONARC_PREFIX=mhonarc
+PKG_SYSCONFSUBDIR?=    sympa
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.sympa
 PKG_SUPPORTED_OPTIONS= mysql pgsql
 
-RCD_SCRIPTS=           archived bounced sympa task_manager
+RCD_SCRIPTS=           archived bounced bulk sympa task_manager
 
 .include "../../mk/bsd.options.mk"
 
@@ -88,7 +98,7 @@
 
 SYMPA_USER?=   sympa
 SYMPA_GROUP?=  sympa
-SYMPA_VARBASE?=        ${HOMEBASE}/sympa
+SYMPA_VARBASE?=        /var/sympa
 
 SYMPA_PREFIX=  ${PREFIX}/sympa
 SYMPA_SPOOL=   ${SYMPA_VARBASE}/spool
@@ -101,17 +111,22 @@
 
 PKG_GROUPS_VARS+=      SYMPA_GROUP
 PKG_USERS_VARS+=       SYMPA_USER
-USERGROUP_PHASE=       pre-install
 BUILD_DEFS+=           SYMPA_VARBASE
 
+OWN_DIRS_PERMS+=       ${PKG_SYSCONFDIR} ${SYMPA_USER} ${SYMPA_GROUP} 755
 .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} ${SYMPA_USER} ${SYMPA_GROUP} 775
 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_VARBASE}/arc ${SYMPA_USER} ${SYMPA_GROUP} 770
+OWN_DIRS_PERMS+=       ${SYMPA_VARBASE}/bounce ${SYMPA_USER} ${SYMPA_GROUP} 770
+OWN_DIRS_PERMS+=       ${SYMPA_VARBASE}/list_data ${SYMPA_USER} ${SYMPA_GROUP} 775
+OWN_DIRS_PERMS+=       ${SYMPA_VARBASE}/list_data/static_content ${SYMPA_USER} ${SYMPA_GROUP} 775
+OWN_DIRS_PERMS+=       ${SYMPA_VARBASE}/list_data/static_content/icons ${SYMPA_USER} ${SYMPA_GROUP} 775
 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
@@ -122,28 +137,55 @@
 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} 4550
-SPECIAL_PERMS+=                ${SYMPA_BIN}/bouncequeue ${SYMPA_USER} ${SYMPA_GROUP} 4555
-SPECIAL_PERMS+=                ${SYMPA_BIN}/queue ${SYMPA_USER} ${SYMPA_GROUP} 4555
-SPECIAL_PERMS+=                ${SYMPA_BIN}/virtualwrapper ${ROOT_USER} ${SYMPA_GROUP} 4550
+SPECIAL_PERMS+=         ${SYMPA_BIN}/aliaswrapper ${ROOT_USER} ${SYMPA_GROUP} 4550
+SPECIAL_PERMS+=         ${SYMPA_BIN}/bouncequeue ${SYMPA_USER} ${SYMPA_GROUP} 4555
+SPECIAL_PERMS+=         ${SYMPA_BIN}/familyqueue ${SYMPA_USER} ${SYMPA_GROUP} 4555
+SPECIAL_PERMS+=         ${SYMPA_BIN}/queue ${SYMPA_USER} ${SYMPA_GROUP} 4555
+SPECIAL_PERMS+=         ${SYMPA_BIN}/virtualwrapper ${ROOT_USER} ${SYMPA_GROUP} 4550
+SPECIAL_PERMS+=         ${SYMPA_PREFIX}/libexec/cgi-bin/wwsympa-wrapper.fcgi \
+                        ${SYMPA_USER} ${SYMPA_GROUP} 6555
+SPECIAL_PERMS+=         ${SYMPA_PREFIX}/libexec/cgi-bin/sympa_soap_server-wrapper.fcgi \
+                        ${SYMPA_USER} ${SYMPA_GROUP} 6555
 
-# Which pkgsrc platforms support set-uid scripts?
-#SPECIAL_PERMS+=       ${SYMPA_BIN}/sympa_soap_server.fcgi ${SYMPA_USER} ${SYMPA_GROUP} 6555
-#SPECIAL_PERMS+=       ${SYMPA_BIN}/wwsympa.fcgi ${SYMPA_USER} ${SYMPA_GROUP} 6555
+CONF_FILES=    ${PREFIX}/share/examples/sympa/sympa.conf \
+               ${PKG_SYSCONFDIR}/sympa.conf
+CONF_FILES+=   ${PREFIX}/share/examples/sympa/wwsympa.conf \
+               ${PKG_SYSCONFDIR}/wwsympa.conf
+.for f in back.png folder.open.png locked.png sound1.png begin.png folder.png\
+     logo-s-lock.png sv.png binary.png h.png logo-s.png text.png crosshairs.png\
+     image2.png logo_sympa.png top.png down.png junk.png movie.png unknown.png\
+     end.png left.png position.png favicon_sympa.png link.png right.png
+CONF_FILES+=   ${PREFIX}/sympa/static_content/icons/${f} \
+               ${SYMPA_VARBASE}/list_data/static_content/icons/${f}
+.endfor
 
-MESSAGE_SUBST+=        SYMPA_BIN=${SYMPA_BIN}
+MESSAGE_SUBST+=        SYMPA_BIN=${SYMPA_BIN} SYMPA_VARBASE=${SYMPA_VARBASE}
 
 INSTALLATION_DIRS+=    share/doc/sympa
 
 .include "../../mk/bsd.prefs.mk"
 
+SUBST_CLASSES+=                paths
+SUBST_STAGE.paths=     post-patch
+SUBST_FILES.paths=     configure
+SUBST_SED.paths=       -e "s|localstatedir/lib/sympa|localstatedir|g"
+SUBST_SED.paths+=      -e "s|prefix/static_content|prefix/sympa/static_content|g"
+SUBST_SED.paths+=      -e "s|prefix/default|prefix/sympa/default|g"
+SUBST_SED.paths+=      -e "s|prefix/arc|localstatedir/arc|g"
+SUBST_SED.paths+=      -e "s|prefix/bounce|localstatedir/bounce|g"
+SUBST_MESSAGE.paths=   Fixing configure paths
+
 post-install:
-.if ${OPSYS} == "NetBSD"
-       : We do not support set-uid scripts...
-       ${CHMOD} ug-s ${DESTDIR}${SYMPA_BIN}/sympa_soap_server.fcgi
-       ${CHMOD} ug-s ${DESTDIR}${SYMPA_BIN}/wwsympa.fcgi
-.endif
        ${INSTALL_DATA} ${WRKSRC}/NEWS ${DESTDIR}${PREFIX}/share/doc/sympa/NEWS
+       ${CHOWN} ${ROOT_USER}:${ROOT_GROUP} ${DESTDIR}${SYMPA_PREFIX}/static_content
+       ${CHMOD} a-w \
+           ${DESTDIR}${SYMPA_PREFIX}/libexec/cgi-bin/wwsympa-wrapper.fcgi \
+           ${DESTDIR}${SYMPA_PREFIX}/libexec/cgi-bin/sympa_soap_server-wrapper.fcgi \
+           ${DESTDIR}${SYMPA_BIN}/aliaswrapper \
+           ${DESTDIR}${SYMPA_BIN}/bouncequeue \
+           ${DESTDIR}${SYMPA_BIN}/familyqueue \
+           ${DESTDIR}${SYMPA_BIN}/queue \
+           ${DESTDIR}${SYMPA_BIN}/virtualwrapper
 
 .include "../../lang/perl5/buildlink3.mk"
 .include "../../security/openssl/buildlink3.mk"
diff -r f0ec3ab6af71 -r f9f3951cd31b mail/sympa/PLIST
--- a/mail/sympa/PLIST  Mon May 21 15:14:21 2012 +0000
+++ b/mail/sympa/PLIST  Mon May 21 15:51:48 2012 +0000
@@ -1,23 +1,32 @@
-@comment $NetBSD: PLIST,v 1.9 2010/12/02 11:17:43 reed Exp $
+@comment $NetBSD: PLIST,v 1.9.12.1 2012/05/21 15:51:48 tron Exp $
 man/man8/alias_manager.8
 man/man8/archived.8
 man/man8/bounced.8
 man/man8/sympa.8
+share/doc/sympa/sample/README
 share/doc/sympa/NEWS
-share/examples/sympa/README
-share/examples/sympa/employees.ldap
-share/examples/sympa/robot.conf
-share/examples/sympa/sample-list/config
-share/examples/sympa/sample-list/info
-share/examples/sympa/sample-list/message.footer
-share/examples/sympa/sample-list/welcome.tpl
-share/examples/sympa/trusted_applications.conf
+share/doc/sympa/sample/employees.ldap
+share/doc/sympa/sample/robot.conf
+share/doc/sympa/sample/test/config
+share/doc/sympa/sample/test/info
+share/doc/sympa/sample/test/message.footer
+share/doc/sympa/sample/test/web_tt2/welcome.tt2
+share/doc/sympa/sample/trusted_applications.conf
 share/examples/rc.d/archived



Home | Main Index | Thread Index | Old Index