head 1.3; access; symbols; locks; strict; comment @# @; 1.3 date 2026.09.13.10.52.33; author bouyer; state Exp; branches; next 1.2; commitid Sqxhwbkt3hjhWrVG; 1.2 date 2026.09.13.10.23.25; author wiz; state Exp; branches; next 1.1; commitid hvehRRWkOyPPMrVG; 1.1 date 2026.08.29.19.47.06; author bouyer; state Exp; branches; next ; commitid aBSiif5QZiGudzTG; desc @@ 1.3 log @Fix a missing / that caused share/examples/sympa/README to not be installed, and Add it to CONF_FILES. While there add Sympa/Template/Plugin to MAKE_DIRS_PERMS to match install instructions. Bump PKGREVISION @ text @$NetBSD: patch-Makefile.in,v 1.2 2026/09/13 10:23:25 wiz Exp $ --- Makefile.in.orig 2026-08-14 07:06:17.723111300 +0200 +++ Makefile.in 2026-08-28 11:44:24.576665046 +0200 @@@@ -1020,62 +1020,22 @@@@ @@for dir in $(modulesdir)/Sympa/Template/Plugin; do \ if [ ! -d $(DESTDIR)$$dir ] ; then \ echo "Creating $(DESTDIR)$$dir"; \ $(INSTALL) -d -m 755 $(DESTDIR)$$dir; \ fi; \ done - @@echo "Creating writable directories" - -@@for dir in $(expldir) $(spooldir) $(bouncedir) $(arcdir) $(piddir) \ - $(confdir) $(sysconfdir); do \ - if [ ! -d $(DESTDIR)$$dir ] ; then \ - echo "Creating $(DESTDIR)$$dir"; \ - $(INSTALL) -d -m 755 $(DESTDIR)$$dir; \ - fi; \ - chown $(USER) $(DESTDIR)$$dir; \ - chgrp $(GROUP) $(DESTDIR)$$dir; \ - done - -@@for subdir in automatic bounce msg task tmp; do \ - if [ ! -d $(DESTDIR)$(spooldir)/$$subdir ] ; then \ - echo "Creating $(DESTDIR)$(spooldir)/$$subdir"; \ - $(INSTALL) -d -m 750 $(DESTDIR)$(spooldir)/$$subdir; \ - fi; \ - chown $(USER) $(DESTDIR)$(spooldir)/$$subdir; \ - chgrp $(GROUP) $(DESTDIR)$(spooldir)/$$subdir; \ - done installconfig: installdir - @@echo "Installing basic configuration ..." - -@@if [ ! -f $(DESTDIR)$(confdir)/sympa.conf ]; then \ - echo "installing sympa.conf"; \ - $(INSTALL) -m 640 sympa.conf $(DESTDIR)$(confdir); \ - chown $(USER) $(DESTDIR)$(confdir)/sympa.conf; \ - chgrp $(GROUP) $(DESTDIR)$(confdir)/sympa.conf; \ - fi - -@@if [ ! -f $(DESTDIR)$(sysconfdir)/data_structure.version ]; then \ - cd $(DESTDIR)$(sysconfdir); \ - echo "# automatically created file" >> data_structure.version; \ - echo "# you should not modify it" >> data_structure.version; \ - echo $(VERSION) >> data_structure.version; \ - chown $(USER) data_structure.version; \ - chgrp $(GROUP) data_structure.version; \ - fi - -@@for dir in create_list_templates custom_actions custom_conditions \ - data_sources families tasks \ - mail_tt2 scenari search_filters 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; \ - chgrp $(GROUP) $(DESTDIR)$(sysconfdir)/$$dir; \ - done - @@if [ ! -e $(DESTDIR)$(sysconfdir)/README ]; then \ - echo "Creating $(DESTDIR)$(sysconfdir)/README"; \ - $(SED) \ - -e 's|--sysconfdir--|$(sysconfdir)|' \ - -e 's|--defaultdir--|$(defaultdir)|' \ - $(srcdir)/etc_README > $(DESTDIR)$(sysconfdir)/README; \ - chmod 644 $(DESTDIR)$(sysconfdir)/README; \ - fi + $(INSTALL) -d -m 755 $(DESTDIR)$(prefix)/share/examples/sympa; \ + $(INSTALL) -m 644 sympa.conf $(DESTDIR)$(prefix)/share/examples/sympa/sympa.conf; \ + echo "Creating $(DESTDIR)$(prefix)/share/examples/sympa/README"; \ + $(SED) \ + -e 's|--sysconfdir--|$(sysconfdir)|' \ + -e 's|--defaultdir--|$(defaultdir)|' \ + $(srcdir)/etc_README > $(DESTDIR)$(prefix)/share/examples/sympa/README; \ + cd $(DESTDIR)$(prefix)/share/examples/sympa; \ + echo "# automatically created file" >> data_structure.version; \ + echo "# you should not modify it" >> data_structure.version; \ + echo $(VERSION) >> data_structure.version; \ nextstep: @@echo "" @ 1.2 log @sympa: switch to standard user-destdir install @ text @d1 1 a1 1 $NetBSD: patch-Makefile.in,v 1.1 2026/08/29 19:47:06 bouyer Exp $ d67 1 a67 1 + echo "Creating $(DESTDIR)$(prefix)share/examples/sympa/README"; \ d71 1 a71 1 + $(srcdir)/etc_README > $(DESTDIR)$(sysconfdir)/README; \ @ 1.1 log @Update sympa to 6.2.80 Lots of changes since 6.2.56, complete list here: https://github.com/sympa-community/sympa/releases Several bug fixes and enhancement, including DKIM/DMARC support, RFC 8058 One-Click Unsubscribe, blacklist has been renamed to blocklist. Check https://www.sympa.community/manual/upgrade/notes.html for complete upgrade instructions. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.10 2020/04/27 17:57:52 bouyer Exp $ d9 1 a9 2 - $(INSTALL) -d -m 755 $(DESTDIR)$$dir; \ + $(INSTALL) -o $(USER) -g $(GROUP) -d -m 755 $(DESTDIR)$$dir; \ @