Date: Fri, 14 Mar 2014 13:54:02 +0100 (CET) From: Geoffroy Desvernay <dgeo@centrale-marseille.fr> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/187573: [UPDATE] mail/sympa: update to 6.1.19 Message-ID: <201403141254.s2ECs2Dr045845@dgeo.sysadm.ec-m.fr> Resent-Message-ID: <201403141300.s2ED01rx089686@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 187573 >Category: ports >Synopsis: [UPDATE] mail/sympa: update to 6.1.19 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Mar 14 13:00:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Geoffroy Desvernay >Release: FreeBSD 10.0-RELEASE amd64 >Organization: Ecole Centrale de Marseille >Environment: System: FreeBSD dgeo.sysadm.ec-m.fr 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC >Description: - Update to 6.1.19 A note in UPDATING may be usefull for databases != mysql|sqlite and alias_manager changes ? (I did upgrade two servers without changes, only deprecation messages for pidfile* and localedir.) see http://www.sympa.org/distribution/latest-stable/NEWS Fixes many bugs ... Port maintainer (crees@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 1.00.2014.02.11 (mode: update, diff: SVN) >How-To-Repeat: >Fix: --- sympa-6.1.19.patch begins here --- Index: Makefile =================================================================== --- Makefile (revision 348212) +++ Makefile (working copy) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= sympa -PORTVERSION= 6.1.17 -PORTREVISION= 1 +PORTVERSION= 6.1.19 CATEGORIES= mail MASTER_SITES= http://www.sympa.org/distribution/ \ http://www.sympa.org/distribution/old/ @@ -127,7 +126,7 @@ -e 's|^\( *bouncedir=\).*$$|\1${DATADIR}/bounce|' \ -e 's|^\( *execcgidir=\).*$$|\1${PREFIX}/libexec/${PORTNAME}|' \ ${WRKSRC}/configure - ${REINPLACE_CMD} -e 's|\(--target.*sympa.conf\)|\1.sample|' \ + @${REINPLACE_CMD} -e 's|\(--target.*sympa.conf\)|\1.sample|' \ -e 's|/bin/true$$|:|' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's#\$$(DESTDIR)\$$(sampledir)#${STAGEDIR}\$$(sampledir)#g' \ @@ -140,11 +139,12 @@ for dir in $$(sort ${WRKSRC}/createddirs); do \ ${MKDIR} -m755 ${STAGEDIR}$$dir; \ ${TOUCH} ${STAGEDIR}$$dir/.keep; \ - ${ECHO_CMD} "@exec chown ${USERS}:${GROUPS} $${dir#${PREFIX}/}" >> ${TMPPLIST}; \ + ${ECHO_CMD} "@exec ${CHOWN} ${USERS}:${GROUPS} $${dir#${PREFIX}/}" >> ${TMPPLIST}; \ ${ECHO_CMD} "$${dir#${PREFIX}/}/.keep" >> ${TMPPLIST}; \ done; \ for dir in $$(sort -r ${WRKSRC}/createddirs); do \ - ${ECHO_CMD} "@unexec rmdir $$dir" >> ${TMPPLIST}; \ + ${ECHO_CMD} "@unexec ${RMDIR} $$dir" >> ${TMPPLIST}; \ done + ${INSTALL_DATA} ${WRKSRC}/etc_README ${STAGEDIR}/${ETCDIR} .include <bsd.port.mk> Index: distinfo =================================================================== --- distinfo (revision 348212) +++ distinfo (working copy) @@ -1,2 +1,2 @@ -SHA256 (sympa-6.1.17.tar.gz) = a506ea6e9c88c4a91d22bf146acb06fae5c277e98312b957bdae974739145b79 -SIZE (sympa-6.1.17.tar.gz) = 7881215 +SHA256 (sympa-6.1.19.tar.gz) = 6851ab836d156df187a687630d54a982e284f034d3e74b3bc1da850841f11482 +SIZE (sympa-6.1.19.tar.gz) = 8218756 Index: files/patch-Makefile.in =================================================================== --- files/patch-Makefile.in (revision 348212) +++ files/patch-Makefile.in (working copy) @@ -1,10 +1,6 @@ -Avoid chown before install, to avoid using root. - -createddirs is read in Makefile and processed there - ---- Makefile.in.orig 2013-02-05 14:57:30.000000000 +0000 -+++ Makefile.in 2014-01-01 20:07:50.489335639 +0000 -@@ -631,12 +631,9 @@ +--- Makefile.in.orig 2014-02-05 15:08:23.000000000 +0100 ++++ Makefile.in 2014-03-14 10:42:06.143965800 +0100 +@@ -639,12 +639,7 @@ $(spooldir)/moderation $(spooldir)/expire $(spooldir)/auth \ $(spooldir)/outgoing $(spooldir)/tmp $(spooldir)/task \ $(bouncedir) $(arcdir) $(piddir) $(staticdir) $(sysconfdir); do \ @@ -15,12 +11,10 @@ - chown $(USER) $(DESTDIR)$$dir || /bin/true; \ - chgrp $(GROUP) $(DESTDIR)$$dir || /bin/true; \ + echo "$${dir}" >> createddirs; \ -+ \ -+ \ done installconfig: installdir -@@ -668,8 +665,6 @@ +@@ -676,27 +671,12 @@ echo "# automatically created file" >> data_structure.version; \ echo "# you should not modify it" >> data_structure.version; \ echo $(VERSION) >> data_structure.version; \ @@ -27,5 +21,25 @@ - chown $(USER) data_structure.version || /bin/true; \ - chgrp $(GROUP) data_structure.version || /bin/true; \ fi + @for dir in create_list_templates families \ + global_task_models list_task_models scenari search_filters \ + mail_tt2 web_tt2; do \ +- if [ ! -d $(DESTDIR)$(sysconfdir)/$$dir ] ; then \ +- echo "Creating $(DESTDIR)$(sysconfdir)/$$dir"; \ +- install -d -m 755 $(DESTDIR)$(sysconfdir)/$$dir; \ +- fi; \ +- chown $(USER) $(DESTDIR)$(sysconfdir)/$$dir || /bin/true; \ +- chgrp $(GROUP) $(DESTDIR)$(sysconfdir)/$$dir || /bin/true; \ ++ echo "$(DESTDIR)$(sysconfdir)/$${dir}" >> createddirs; \ + done +- @if [ ! -e $(DESTDIR)$(sysconfdir)/README ]; then \ +- echo "Creating $(DESTDIR)$(sysconfdir)/README"; \ +- $(SED) \ +- -e 's|--sysconfdir--|$(sysconfdir)|' \ +- -e 's|--defaultdir--|$(defaultdir)|' \ +- etc_README > $(DESTDIR)$(sysconfdir)/README; \ +- chmod 444 $(DESTDIR)$(sysconfdir)/README; \ +- fi nextstep: + @echo "" Index: pkg-plist =================================================================== --- pkg-plist (revision 348212) +++ pkg-plist (working copy) @@ -38,7 +38,6 @@ libexec/sympa/WebAgent.pm libexec/sympa/admin.pm libexec/sympa/alias_manager.pl -libexec/sympa/aliaswrapper libexec/sympa/arc2webarc.pl libexec/sympa/archived.pl libexec/sympa/bounced.pl @@ -61,6 +60,8 @@ libexec/sympa/p12topem.pl libexec/sympa/queue libexec/sympa/report.pm +libexec/sympa/sympa_newaliases-wrapper +libexec/sympa/sympa_newaliases.pl libexec/sympa/sympa.pl libexec/sympa/sympa_soap_client.pl libexec/sympa/sympa_soap_server-wrapper.fcgi @@ -74,7 +75,6 @@ libexec/sympa/tools.pm libexec/sympa/tpl2tt2.pl libexec/sympa/tt2.pm -libexec/sympa/virtualwrapper libexec/sympa/wwslib.pm libexec/sympa/wwsympa-wrapper.fcgi libexec/sympa/wwsympa.fcgi --- sympa-6.1.19.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403141254.s2ECs2Dr045845>