[arch-commits] Commit in mailman/repos/community-x86_64 (42 files)
Sébastien Luttringer
seblu at archlinux.org
Fri Apr 24 16:50:41 UTC 2020
Date: Friday, April 24, 2020 @ 16:50:40
Author: seblu
Revision: 619324
archrelease: copy trunk to community-x86_64
Added:
mailman/repos/community-x86_64/01-mailman-2.1-build.patch
(from rev 619323, mailman/trunk/01-mailman-2.1-build.patch)
mailman/repos/community-x86_64/PKGBUILD
(from rev 619323, mailman/trunk/PKGBUILD)
mailman/repos/community-x86_64/mailman-checkdbs.service
(from rev 619323, mailman/trunk/mailman-checkdbs.service)
mailman/repos/community-x86_64/mailman-checkdbs.timer
(from rev 619323, mailman/trunk/mailman-checkdbs.timer)
mailman/repos/community-x86_64/mailman-cullbadshunt.service
(from rev 619323, mailman/trunk/mailman-cullbadshunt.service)
mailman/repos/community-x86_64/mailman-cullbadshunt.timer
(from rev 619323, mailman/trunk/mailman-cullbadshunt.timer)
mailman/repos/community-x86_64/mailman-disabled.service
(from rev 619323, mailman/trunk/mailman-disabled.service)
mailman/repos/community-x86_64/mailman-disabled.timer
(from rev 619323, mailman/trunk/mailman-disabled.timer)
mailman/repos/community-x86_64/mailman-gatenews.service
(from rev 619323, mailman/trunk/mailman-gatenews.service)
mailman/repos/community-x86_64/mailman-gatenews.timer
(from rev 619323, mailman/trunk/mailman-gatenews.timer)
mailman/repos/community-x86_64/mailman-mailpasswds.service
(from rev 619323, mailman/trunk/mailman-mailpasswds.service)
mailman/repos/community-x86_64/mailman-mailpasswds.timer
(from rev 619323, mailman/trunk/mailman-mailpasswds.timer)
mailman/repos/community-x86_64/mailman-nightlygzip.service
(from rev 619323, mailman/trunk/mailman-nightlygzip.service)
mailman/repos/community-x86_64/mailman-nightlygzip.timer
(from rev 619323, mailman/trunk/mailman-nightlygzip.timer)
mailman/repos/community-x86_64/mailman-senddigests.service
(from rev 619323, mailman/trunk/mailman-senddigests.service)
mailman/repos/community-x86_64/mailman-senddigests.timer
(from rev 619323, mailman/trunk/mailman-senddigests.timer)
mailman/repos/community-x86_64/mailman.install
(from rev 619323, mailman/trunk/mailman.install)
mailman/repos/community-x86_64/mailman.profile.csh
(from rev 619323, mailman/trunk/mailman.profile.csh)
mailman/repos/community-x86_64/mailman.profile.sh
(from rev 619323, mailman/trunk/mailman.profile.sh)
mailman/repos/community-x86_64/mailman.service
(from rev 619323, mailman/trunk/mailman.service)
mailman/repos/community-x86_64/mailman.sysusers
(from rev 619323, mailman/trunk/mailman.sysusers)
Deleted:
mailman/repos/community-x86_64/01-mailman-2.1-build.patch
mailman/repos/community-x86_64/PKGBUILD
mailman/repos/community-x86_64/mailman-checkdbs.service
mailman/repos/community-x86_64/mailman-checkdbs.timer
mailman/repos/community-x86_64/mailman-cullbadshunt.service
mailman/repos/community-x86_64/mailman-cullbadshunt.timer
mailman/repos/community-x86_64/mailman-disabled.service
mailman/repos/community-x86_64/mailman-disabled.timer
mailman/repos/community-x86_64/mailman-gatenews.service
mailman/repos/community-x86_64/mailman-gatenews.timer
mailman/repos/community-x86_64/mailman-mailpasswds.service
mailman/repos/community-x86_64/mailman-mailpasswds.timer
mailman/repos/community-x86_64/mailman-nightlygzip.service
mailman/repos/community-x86_64/mailman-nightlygzip.timer
mailman/repos/community-x86_64/mailman-senddigests.service
mailman/repos/community-x86_64/mailman-senddigests.timer
mailman/repos/community-x86_64/mailman.install
mailman/repos/community-x86_64/mailman.profile.csh
mailman/repos/community-x86_64/mailman.profile.sh
mailman/repos/community-x86_64/mailman.service
mailman/repos/community-x86_64/mailman.sysusers
------------------------------+
01-mailman-2.1-build.patch | 1388 ++++++++++++++++++++---------------------
PKGBUILD | 258 +++----
mailman-checkdbs.service | 20
mailman-checkdbs.timer | 20
mailman-cullbadshunt.service | 20
mailman-cullbadshunt.timer | 20
mailman-disabled.service | 20
mailman-disabled.timer | 20
mailman-gatenews.service | 20
mailman-gatenews.timer | 20
mailman-mailpasswds.service | 20
mailman-mailpasswds.timer | 20
mailman-nightlygzip.service | 20
mailman-nightlygzip.timer | 20
mailman-senddigests.service | 20
mailman-senddigests.timer | 20
mailman.install | 32
mailman.profile.csh | 2
mailman.profile.sh | 6
mailman.service | 34 -
mailman.sysusers | 2
21 files changed, 1001 insertions(+), 1001 deletions(-)
Deleted: 01-mailman-2.1-build.patch
===================================================================
--- 01-mailman-2.1-build.patch 2020-04-24 16:50:18 UTC (rev 619323)
+++ 01-mailman-2.1-build.patch 2020-04-24 16:50:40 UTC (rev 619324)
@@ -1,694 +0,0 @@
-diff -ruN mailman-2.1.12-a/bin/Makefile.in mailman-2.1.12-b/bin/Makefile.in
---- mailman-2.1.12-a/bin/Makefile.in 2009-02-23 22:23:35.000000000 +0100
-+++ mailman-2.1.12-b/bin/Makefile.in 2009-07-28 12:19:48.000000000 +0200
-@@ -28,7 +28,6 @@
- DESTDIR=
-
- CC= @CC@
--CHMOD= @CHMOD@
- INSTALL= @INSTALL@
-
- DEFS= @DEFS@
-@@ -56,7 +55,7 @@
- # Modes for directories and executables created by the install
- # process. Default to group-writable directories but
- # user-only-writable for executables.
--DIRMODE= 775
-+DIRMODE= 2775
- EXEMODE= 755
- FILEMODE= 644
- INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
-@@ -72,8 +71,6 @@
- $(INSTALL) -m $(EXEMODE) $(BUILDDIR)/$$f $(DESTDIR)$(SCRIPTSDIR); \
- done
-
--finish:
--
- clean:
-
- distclean:
-diff -ruN mailman-2.1.12-a/cron/Makefile.in mailman-2.1.12-b/cron/Makefile.in
---- mailman-2.1.12-a/cron/Makefile.in 2009-02-23 22:23:35.000000000 +0100
-+++ mailman-2.1.12-b/cron/Makefile.in 2009-07-28 12:19:48.000000000 +0200
-@@ -28,7 +28,6 @@
- DESTDIR=
-
- CC= @CC@
--CHMOD= @CHMOD@
- INSTALL= @INSTALL@
-
- DEFS= @DEFS@
-@@ -68,8 +67,6 @@
- $(INSTALL) -m $(EXEMODE) $(BUILDDIR)/$$f $(DESTDIR)$(CRONDIR); \
- done
-
--finish:
--
- clean:
-
- distclean:
-diff -ruN mailman-2.1.12-a/Mailman/Archiver/Makefile.in mailman-2.1.12-b/Mailman/Archiver/Makefile.in
---- mailman-2.1.12-a/Mailman/Archiver/Makefile.in 2009-02-23 22:23:35.000000000 +0100
-+++ mailman-2.1.12-b/Mailman/Archiver/Makefile.in 2009-07-28 12:19:48.000000000 +0200
-@@ -28,7 +28,6 @@
- DESTDIR=
-
- CC= @CC@
--CHMOD= @CHMOD@
- INSTALL= @INSTALL@
-
- DEFS= @DEFS@
-@@ -47,7 +46,7 @@
- # Modes for directories and executables created by the install
- # process. Default to group-writable directories but
- # user-only-writable for executables.
--DIRMODE= 775
-+DIRMODE= 2775
- EXEMODE= 755
- FILEMODE= 644
- INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
-@@ -63,8 +62,6 @@
- $(INSTALL) -m $(FILEMODE) $(srcdir)/$$f $(DESTDIR)$(PACKAGEDIR); \
- done
-
--finish:
--
- clean:
-
- distclean:
-diff -ruN mailman-2.1.12-a/Mailman/Bouncers/Makefile.in mailman-2.1.12-b/Mailman/Bouncers/Makefile.in
---- mailman-2.1.12-a/Mailman/Bouncers/Makefile.in 2009-02-23 22:23:35.000000000 +0100
-+++ mailman-2.1.12-b/Mailman/Bouncers/Makefile.in 2009-07-28 12:19:48.000000000 +0200
-@@ -28,7 +28,6 @@
- DESTDIR=
-
- CC= @CC@
--CHMOD= @CHMOD@
- INSTALL= @INSTALL@
-
- DEFS= @DEFS@
-@@ -45,7 +44,7 @@
- # Modes for directories and executables created by the install
- # process. Default to group-writable directories but
- # user-only-writable for executables.
--DIRMODE= 775
-+DIRMODE= 2775
- EXEMODE= 755
- FILEMODE= 644
- INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
-@@ -61,8 +60,6 @@
- $(INSTALL) -m $(FILEMODE) $(srcdir)/$$f $(DESTDIR)$(PACKAGEDIR); \
- done
-
--finish:
--
- clean:
-
- distclean:
-diff -ruN mailman-2.1.12-a/Mailman/Cgi/Makefile.in mailman-2.1.12-b/Mailman/Cgi/Makefile.in
---- mailman-2.1.12-a/Mailman/Cgi/Makefile.in 2009-02-23 22:23:35.000000000 +0100
-+++ mailman-2.1.12-b/Mailman/Cgi/Makefile.in 2009-07-28 12:19:48.000000000 +0200
-@@ -28,7 +28,6 @@
- DESTDIR=
-
- CC= @CC@
--CHMOD= @CHMOD@
- INSTALL= @INSTALL@
-
- DEFS= @DEFS@
-@@ -47,7 +46,7 @@
- # Modes for directories and executables created by the install
- # process. Default to group-writable directories but
- # user-only-writable for executables.
--DIRMODE= 775
-+DIRMODE= 2775
- EXEMODE= 755
- FILEMODE= 644
- INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
-@@ -63,8 +62,6 @@
- $(INSTALL) -m $(FILEMODE) $(srcdir)/$$f $(DESTDIR)$(CGIDIR); \
- done
-
--finish:
--
- clean:
-
- distclean:
-diff -ruN mailman-2.1.12-a/Mailman/Commands/Makefile.in mailman-2.1.12-b/Mailman/Commands/Makefile.in
---- mailman-2.1.12-a/Mailman/Commands/Makefile.in 2009-02-23 22:23:35.000000000 +0100
-+++ mailman-2.1.12-b/Mailman/Commands/Makefile.in 2009-07-28 12:19:48.000000000 +0200
-@@ -28,7 +28,6 @@
- DESTDIR=
-
- CC= @CC@
--CHMOD= @CHMOD@
- INSTALL= @INSTALL@
-
- DEFS= @DEFS@
-@@ -45,7 +44,7 @@
- # Modes for directories and executables created by the install
- # process. Default to group-writable directories but
- # user-only-writable for executables.
--DIRMODE= 775
-+DIRMODE= 2775
- EXEMODE= 755
- FILEMODE= 644
- INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
-@@ -61,8 +60,6 @@
- $(INSTALL) -m $(FILEMODE) $(srcdir)/$$f $(DESTDIR)$(PACKAGEDIR); \
- done
-
--finish:
--
- clean:
-
- distclean:
-diff -ruN mailman-2.1.12-a/Mailman/Gui/Makefile.in mailman-2.1.12-b/Mailman/Gui/Makefile.in
---- mailman-2.1.12-a/Mailman/Gui/Makefile.in 2009-02-23 22:23:35.000000000 +0100
-+++ mailman-2.1.12-b/Mailman/Gui/Makefile.in 2009-07-28 12:19:48.000000000 +0200
-@@ -28,7 +28,6 @@
- DESTDIR=
-
- CC= @CC@
--CHMOD= @CHMOD@
- INSTALL= @INSTALL@
-
- DEFS= @DEFS@
-@@ -45,7 +44,7 @@
- # Modes for directories and executables created by the install
- # process. Default to group-writable directories but
- # user-only-writable for executables.
--DIRMODE= 775
-+DIRMODE= 2775
- EXEMODE= 755
- FILEMODE= 644
- INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
-@@ -61,8 +60,6 @@
- $(INSTALL) -m $(FILEMODE) $(srcdir)/$$f $(DESTDIR)$(PACKAGEDIR); \
- done
-
--finish:
--
- clean:
-
- distclean:
-diff -ruN mailman-2.1.12-a/Mailman/Handlers/Makefile.in mailman-2.1.12-b/Mailman/Handlers/Makefile.in
---- mailman-2.1.12-a/Mailman/Handlers/Makefile.in 2009-02-23 22:23:35.000000000 +0100
-+++ mailman-2.1.12-b/Mailman/Handlers/Makefile.in 2009-07-28 12:19:48.000000000 +0200
-@@ -28,7 +28,6 @@
- DESTDIR=
-
- CC= @CC@
--CHMOD= @CHMOD@
- INSTALL= @INSTALL@
-
- DEFS= @DEFS@
-@@ -45,7 +44,7 @@
- # Modes for directories and executables created by the install
- # process. Default to group-writable directories but
- # user-only-writable for executables.
--DIRMODE= 775
-+DIRMODE= 2775
- EXEMODE= 755
- FILEMODE= 644
- INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
-@@ -61,8 +60,6 @@
- $(INSTALL) -m $(FILEMODE) $(srcdir)/$$f $(DESTDIR)$(PACKAGEDIR); \
- done
-
--finish:
--
- clean:
-
- distclean:
-diff -ruN mailman-2.1.12-a/Mailman/Logging/Makefile.in mailman-2.1.12-b/Mailman/Logging/Makefile.in
---- mailman-2.1.12-a/Mailman/Logging/Makefile.in 2009-02-23 22:23:35.000000000 +0100
-+++ mailman-2.1.12-b/Mailman/Logging/Makefile.in 2009-07-28 12:19:48.000000000 +0200
-@@ -28,7 +28,6 @@
- DESTDIR=
-
- CC= @CC@
--CHMOD= @CHMOD@
- INSTALL= @INSTALL@
-
- DEFS= @DEFS@
-@@ -45,7 +44,7 @@
- # Modes for directories and executables created by the install
- # process. Default to group-writable directories but
- # user-only-writable for executables.
--DIRMODE= 775
-+DIRMODE= 2775
- EXEMODE= 755
- FILEMODE= 644
- INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
-@@ -61,8 +60,6 @@
- $(INSTALL) -m $(FILEMODE) $(srcdir)/$$f $(DESTDIR)$(PACKAGEDIR); \
- done
-
--finish:
--
- clean:
-
- distclean:
-diff -ruN mailman-2.1.12-a/Mailman/Makefile.in mailman-2.1.12-b/Mailman/Makefile.in
---- mailman-2.1.12-a/Mailman/Makefile.in 2009-02-23 22:23:35.000000000 +0100
-+++ mailman-2.1.12-b/Mailman/Makefile.in 2009-07-28 12:19:48.000000000 +0200
-@@ -20,8 +20,6 @@
-
- # Variables set by configure
-
--VERSION= @VERSION@
--
- VPATH= @srcdir@
- srcdir= @srcdir@
- bindir= @bindir@
-@@ -30,7 +28,6 @@
- DESTDIR=
-
- CC= @CC@
--CHMOD= @CHMOD@
- INSTALL= @INSTALL@
-
- DEFS= @DEFS@
-@@ -48,7 +45,7 @@
- # Modes for directories and executables created by the install
- # process. Default to group-writable directories but
- # user-only-writable for executables.
--DIRMODE= 775
-+DIRMODE= 2775
- EXEMODE= 755
- FILEMODE= 644
- INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
-@@ -79,12 +76,6 @@
- (cd $$d; $(MAKE) DESTDIR=$(DESTDIR) install); \
- done
-
--finish:
-- @for d in $(SUBDIRS); \
-- do \
-- (cd $$d; $(MAKE) DESTDIR=$(DESTDIR) finish); \
-- done
--
- clean:
- for d in $(SUBDIRS); \
- do \
-diff -ruN mailman-2.1.12-a/Mailman/MTA/Makefile.in mailman-2.1.12-b/Mailman/MTA/Makefile.in
---- mailman-2.1.12-a/Mailman/MTA/Makefile.in 2009-02-23 22:23:35.000000000 +0100
-+++ mailman-2.1.12-b/Mailman/MTA/Makefile.in 2009-07-28 12:19:48.000000000 +0200
-@@ -28,7 +28,6 @@
- DESTDIR=
-
- CC= @CC@
--CHMOD= @CHMOD@
- INSTALL= @INSTALL@
-
- DEFS= @DEFS@
-@@ -45,7 +44,7 @@
- # Modes for directories and executables created by the install
- # process. Default to group-writable directories but
- # user-only-writable for executables.
--DIRMODE= 775
-+DIRMODE= 2775
- EXEMODE= 755
- FILEMODE= 644
- INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
-@@ -61,8 +60,6 @@
- $(INSTALL) -m $(FILEMODE) $(srcdir)/$$f $(DESTDIR)$(PACKAGEDIR); \
- done
-
--finish:
--
- clean:
-
- distclean:
-diff -ruN mailman-2.1.12-a/Mailman/Queue/Makefile.in mailman-2.1.12-b/Mailman/Queue/Makefile.in
---- mailman-2.1.12-a/Mailman/Queue/Makefile.in 2009-02-23 22:23:35.000000000 +0100
-+++ mailman-2.1.12-b/Mailman/Queue/Makefile.in 2009-07-28 12:19:48.000000000 +0200
-@@ -28,7 +28,6 @@
- DESTDIR=
-
- CC= @CC@
--CHMOD= @CHMOD@
- INSTALL= @INSTALL@
-
- DEFS= @DEFS@
-@@ -45,7 +44,7 @@
- # Modes for directories and executables created by the install
- # process. Default to group-writable directories but
- # user-only-writable for executables.
--DIRMODE= 775
-+DIRMODE= 2775
- EXEMODE= 755
- FILEMODE= 644
- INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
-@@ -61,8 +60,6 @@
- $(INSTALL) -m $(FILEMODE) $(srcdir)/$$f $(DESTDIR)$(PACKAGEDIR); \
- done
-
--finish:
--
- clean:
-
- distclean:
-diff -ruN mailman-2.1.12-a/Makefile.in mailman-2.1.12-b/Makefile.in
---- mailman-2.1.12-a/Makefile.in 2009-02-23 22:23:35.000000000 +0100
-+++ mailman-2.1.12-b/Makefile.in 2009-07-28 12:19:48.000000000 +0200
-@@ -61,11 +61,10 @@
- # Modes for directories and executables created by the install
- # process. Default to group-writable directories but
- # user-only-writable for executables.
--DIRMODE= 775
-+DIRMODE= 2775
- EXEMODE= 755
- FILEMODE= 644
- INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
--DIRSETGID= chmod g+s
-
- DATE = $(shell python -c 'import time; print time.strftime("%d-%b-%Y"),')
- LANGPACK = README-I18N.en templates messages
-@@ -85,14 +84,24 @@
-
- doinstall: $(SUBDIRS)
- @echo "Creating architecture independent directories..."
-+ dir=$(DESTDIR)$(prefix); \
-+ if test ! -d $$dir; then \
-+ echo "Creating directory hierarchy $$dir"; \
-+ $(INSTALL) -d -m $(DIRMODE) $$dir; \
-+ else true; \
-+ fi;
-+ dir=$(DESTDIR)$(var_prefix); \
-+ if test ! -d $$dir; then \
-+ echo "Creating directory hierarchy $$dir"; \
-+ $(INSTALL) -d -m $(DIRMODE) $$dir; \
-+ else true; \
-+ fi;
- @for d in $(VAR_DIRS); \
- do \
- dir=$(DESTDIR)$(var_prefix)/$$d; \
- if test ! -d $$dir; then \
- echo "Creating directory hierarchy $$dir"; \
-- $(srcdir)/mkinstalldirs $$dir; \
-- chmod $(DIRMODE) $$dir; \
-- $(DIRSETGID) $$dir; \
-+ $(INSTALL) -d -m $(DIRMODE) $$dir; \
- else true; \
- fi; \
- done
-@@ -102,9 +111,7 @@
- dir=$(DESTDIR)$(prefix)/$$d; \
- if test ! -d $$dir; then \
- echo "Creating directory hierarchy $$dir"; \
-- $(srcdir)/mkinstalldirs $$dir; \
-- chmod $(DIRMODE) $$dir; \
-- $(DIRSETGID) $$dir; \
-+ $(INSTALL) -d -m $(DIRMODE) $$dir; \
- else true; \
- fi; \
- done
-@@ -114,9 +121,7 @@
- dir=$(DESTDIR)$(exec_prefix)/$$d; \
- if test ! -d $$dir; then \
- echo "Creating directory hierarchy $$dir"; \
-- $(srcdir)/mkinstalldirs $$dir; \
-- chmod $(DIRMODE) $$dir; \
-- $(DIRSETGID) $$dir; \
-+ $(INSTALL) -d -m $(DIRMODE) $$dir; \
- else true; \
- fi; \
- done
-diff -ruN mailman-2.1.12-a/messages/Makefile.in mailman-2.1.12-b/messages/Makefile.in
---- mailman-2.1.12-a/messages/Makefile.in 2009-02-23 22:23:35.000000000 +0100
-+++ mailman-2.1.12-b/messages/Makefile.in 2009-07-28 12:19:48.000000000 +0200
-@@ -32,7 +32,6 @@
- DESTDIR=
-
- CC= @CC@
--CHMOD= @CHMOD@
- INSTALL= @INSTALL@
-
- DEFS= @DEFS@
-@@ -43,7 +42,6 @@
- CFLAGS= $(OPT) $(DEFS)
- PACKAGEDIR= $(prefix)/messages
- SHELL= /bin/sh
--DIRSETGID= chmod g+s
- MSGFMT= @PYTHON@ ../build/bin/msgfmt.py
- MSGMERGE= msgmerge
-
-@@ -60,7 +58,7 @@
- # Modes for directories and executables created by the install
- # process. Default to group-writable directories but
- # user-only-writable for executables.
--DIRMODE= 775
-+DIRMODE= 2775
- EXEMODE= 755
- FILEMODE= 644
- INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
-@@ -90,9 +88,8 @@
- do \
- dir=$(DESTDIR)$(prefix)/$$d; \
- echo "Creating language directory $$dir"; \
-- $(srcdir)/../mkinstalldirs $$dir; \
-- chmod $(DIRMODE) $$dir; \
-- $(DIRSETGID) $$dir; \
-+ $(INSTALL) -d -m $(DIRMODE) `dirname $$dir`; \
-+ $(INSTALL) -d -m $(DIRMODE) $$dir; \
- done
- @for d in $(LANGUAGES); \
- do \
-@@ -113,8 +110,6 @@
-
- mofiles: $(MOFILES)
-
--finish:
--
- clean:
- -rm -f */LC_MESSAGES/mailman.mo
-
-diff -ruN mailman-2.1.12-a/misc/Makefile.in mailman-2.1.12-b/misc/Makefile.in
---- mailman-2.1.12-a/misc/Makefile.in 2009-02-23 22:23:35.000000000 +0100
-+++ mailman-2.1.12-b/misc/Makefile.in 2009-07-28 12:19:48.000000000 +0200
-@@ -30,7 +30,6 @@
- DESTDIR=
-
- CC= @CC@
--CHMOD= @CHMOD@
- INSTALL= @INSTALL@
- PYTHON= @PYTHON@
-
-@@ -62,7 +61,7 @@
- # Modes for directories and executables created by the install
- # process. Default to group-writable directories but
- # user-only-writable for executables.
--DIRMODE= 775
-+DIRMODE= 2775
- EXEMODE= 755
- FILEMODE= 644
- DATAMODE= 664
-@@ -101,8 +100,6 @@
- (cd $(PKGDIR)/$$p ; umask 02 ; PYTHONPATH=$(PYTHONLIBDIR) $(PYTHON) $(SETUPCMD)); \
- done
-
--finish:
--
- clean:
-
- distclean:
-diff -ruN mailman-2.1.12-a/scripts/Makefile.in mailman-2.1.12-b/scripts/Makefile.in
---- mailman-2.1.12-a/scripts/Makefile.in 2009-02-23 22:23:35.000000000 +0100
-+++ mailman-2.1.12-b/scripts/Makefile.in 2009-07-28 12:19:48.000000000 +0200
-@@ -28,7 +28,6 @@
- DESTDIR=
-
- CC= @CC@
--CHMOD= @CHMOD@
- INSTALL= @INSTALL@
-
- DEFS= @DEFS@
-@@ -49,7 +48,7 @@
- # Modes for directories and executables created by the install
- # process. Default to group-writable directories but
- # user-only-writable for executables.
--DIRMODE= 775
-+DIRMODE= 2775
- EXEMODE= 755
- FILEMODE= 644
- INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
-@@ -68,8 +67,6 @@
- $(INSTALL) -m $(FILEMODE) $(srcdir)/join $(DESTDIR)$(SCRIPTSDIR)/subscribe
- $(INSTALL) -m $(FILEMODE) $(srcdir)/leave $(DESTDIR)$(SCRIPTSDIR)/unsubscribe
-
--finish:
--
- clean:
-
- distclean:
-diff -ruN mailman-2.1.12-a/src/Makefile.in mailman-2.1.12-b/src/Makefile.in
---- mailman-2.1.12-a/src/Makefile.in 2009-07-28 12:19:47.000000000 +0200
-+++ mailman-2.1.12-b/src/Makefile.in 2009-07-28 12:19:48.000000000 +0200
-@@ -28,7 +28,6 @@
- DESTDIR=
-
- CC= @CC@
--CHMOD= @CHMOD@
- INSTALL= @INSTALL@
- PYTHON= @PYTHON@
-
-@@ -63,10 +62,9 @@
- # Modes for directories and executables created by the install
- # process. Default to group-writable directories but
- # user-only-writable for executables.
--DIRMODE= 775
--EXEMODE= 755
-+DIRMODE= 2775
-+EXEMODE= 2755
- INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
--DIRSETGID= chmod g+s
-
- # Fixed definitions
-
-@@ -110,20 +108,10 @@
- do \
- exe=$(DESTDIR)$(CGIDIR)/$$f$(CGIEXT); \
- $(INSTALL_PROGRAM) $$f $$exe; \
-- $(DIRSETGID) $$exe; \
- done
- for f in $(MAIL_PROGS); \
- do \
- $(INSTALL_PROGRAM) $$f $(DESTDIR)$(MAILDIR); \
-- $(DIRSETGID) $(DESTDIR)$(MAILDIR)/$$f; \
-- done
--
--finish:
-- -for f in $(SUID_CGI_PROGS); \
-- do \
-- exe=$(DESTDIR)$(CGIDIR)/$$f$(CGIEXT); \
-- chown $(MAILMAN_USER) $$exe; \
-- chmod u+s $$exe; \
- done
-
- clean:
-diff -ruN mailman-2.1.12-a/templates/Makefile.in mailman-2.1.12-b/templates/Makefile.in
---- mailman-2.1.12-a/templates/Makefile.in 2009-02-23 22:23:35.000000000 +0100
-+++ mailman-2.1.12-b/templates/Makefile.in 2009-07-28 12:19:48.000000000 +0200
-@@ -28,7 +28,6 @@
- DESTDIR=
-
- CC= @CC@
--CHMOD= @CHMOD@
- INSTALL= @INSTALL@
- TRUE= @TRUE@
-
-@@ -48,7 +47,7 @@
- # Modes for directories and executables created by the install
- # process. Default to group-writable directories but
- # user-only-writable for executables.
--DIRMODE= 775
-+DIRMODE= 2775
- EXEMODE= 755
- FILEMODE= 644
- INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
-@@ -61,15 +60,13 @@
- install:
- for d in $(LANGUAGES); \
- do \
-- $(srcdir)/../mkinstalldirs $(DESTDIR)$(TEMPLATEDIR)/$$d; \
-+ $(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$(TEMPLATEDIR)/$$d; \
- for f in $(srcdir)/$$d/*.html $(srcdir)/$$d/*.txt; \
- do \
- $(INSTALL) -m $(FILEMODE) $$f $(DESTDIR)$(TEMPLATEDIR)/$$d; \
- done; \
- done
-
--finish:
--
- clean:
-
- distclean:
-diff -ruN mailman-2.1.12-a/tests/bounces/Makefile.in mailman-2.1.12-b/tests/bounces/Makefile.in
---- mailman-2.1.12-a/tests/bounces/Makefile.in 2009-02-23 22:23:35.000000000 +0100
-+++ mailman-2.1.12-b/tests/bounces/Makefile.in 2009-07-28 12:19:48.000000000 +0200
-@@ -28,7 +28,6 @@
- DESTDIR=
-
- CC= @CC@
--CHMOD= @CHMOD@
- INSTALL= @INSTALL@
-
- DEFS= @DEFS@
-@@ -46,7 +45,7 @@
- # Modes for directories and executables created by the install
- # process. Default to group-writable directories but
- # user-only-writable for executables.
--DIRMODE= 775
-+DIRMODE= 2775
- EXEMODE= 755
- FILEMODE= 644
- INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
-@@ -60,8 +59,6 @@
- $(INSTALL) -m $(FILEMODE) $$f $(DESTDIR)$(BOUNCEDIR); \
- done
-
--finish:
--
- clean:
-
- distclean:
-diff -ruN mailman-2.1.12-a/tests/Makefile.in mailman-2.1.12-b/tests/Makefile.in
---- mailman-2.1.12-a/tests/Makefile.in 2009-02-23 22:23:35.000000000 +0100
-+++ mailman-2.1.12-b/tests/Makefile.in 2009-07-28 12:19:48.000000000 +0200
-@@ -28,7 +28,6 @@
- DESTDIR=
-
- CC= @CC@
--CHMOD= @CHMOD@
- INSTALL= @INSTALL@
-
- DEFS= @DEFS@
-@@ -46,7 +45,7 @@
- # Modes for directories and executables created by the install
- # process. Default to group-writable directories but
- # user-only-writable for executables.
--DIRMODE= 775
-+DIRMODE= 2775
- EXEMODE= 755
- FILEMODE= 644
- INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
-@@ -71,8 +70,6 @@
- (cd $$d; $(MAKE) DESTDIR=$(DESTDIR) install); \
- done
-
--finish:
--
- clean:
-
- distclean:
-diff -ruN mailman-2.1.12-a/tests/msgs/Makefile.in mailman-2.1.12-b/tests/msgs/Makefile.in
---- mailman-2.1.12-a/tests/msgs/Makefile.in 2009-02-23 22:23:35.000000000 +0100
-+++ mailman-2.1.12-b/tests/msgs/Makefile.in 2009-07-28 12:19:48.000000000 +0200
-@@ -28,7 +28,6 @@
- DESTDIR=
-
- CC= @CC@
--CHMOD= @CHMOD@
- INSTALL= @INSTALL@
-
- DEFS= @DEFS@
-@@ -46,7 +45,7 @@
- # Modes for directories and executables created by the install
- # process. Default to group-writable directories but
- # user-only-writable for executables.
--DIRMODE= 775
-+DIRMODE= 2775
- EXEMODE= 755
- FILEMODE= 644
- INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
-@@ -60,8 +59,6 @@
- $(INSTALL) -m $(FILEMODE) $$f $(DESTDIR)$(MSGSDIR); \
- done
-
--finish:
--
- clean:
-
- distclean:
Copied: mailman/repos/community-x86_64/01-mailman-2.1-build.patch (from rev 619323, mailman/trunk/01-mailman-2.1-build.patch)
===================================================================
--- 01-mailman-2.1-build.patch (rev 0)
+++ 01-mailman-2.1-build.patch 2020-04-24 16:50:40 UTC (rev 619324)
@@ -0,0 +1,694 @@
+diff -ruN mailman-2.1.12-a/bin/Makefile.in mailman-2.1.12-b/bin/Makefile.in
+--- mailman-2.1.12-a/bin/Makefile.in 2009-02-23 22:23:35.000000000 +0100
++++ mailman-2.1.12-b/bin/Makefile.in 2009-07-28 12:19:48.000000000 +0200
+@@ -28,7 +28,6 @@
+ DESTDIR=
+
+ CC= @CC@
+-CHMOD= @CHMOD@
+ INSTALL= @INSTALL@
+
+ DEFS= @DEFS@
+@@ -56,7 +55,7 @@
+ # Modes for directories and executables created by the install
+ # process. Default to group-writable directories but
+ # user-only-writable for executables.
+-DIRMODE= 775
++DIRMODE= 2775
+ EXEMODE= 755
+ FILEMODE= 644
+ INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
+@@ -72,8 +71,6 @@
+ $(INSTALL) -m $(EXEMODE) $(BUILDDIR)/$$f $(DESTDIR)$(SCRIPTSDIR); \
+ done
+
+-finish:
+-
+ clean:
+
+ distclean:
+diff -ruN mailman-2.1.12-a/cron/Makefile.in mailman-2.1.12-b/cron/Makefile.in
+--- mailman-2.1.12-a/cron/Makefile.in 2009-02-23 22:23:35.000000000 +0100
++++ mailman-2.1.12-b/cron/Makefile.in 2009-07-28 12:19:48.000000000 +0200
+@@ -28,7 +28,6 @@
+ DESTDIR=
+
+ CC= @CC@
+-CHMOD= @CHMOD@
+ INSTALL= @INSTALL@
+
+ DEFS= @DEFS@
+@@ -68,8 +67,6 @@
+ $(INSTALL) -m $(EXEMODE) $(BUILDDIR)/$$f $(DESTDIR)$(CRONDIR); \
+ done
+
+-finish:
+-
+ clean:
+
+ distclean:
+diff -ruN mailman-2.1.12-a/Mailman/Archiver/Makefile.in mailman-2.1.12-b/Mailman/Archiver/Makefile.in
+--- mailman-2.1.12-a/Mailman/Archiver/Makefile.in 2009-02-23 22:23:35.000000000 +0100
++++ mailman-2.1.12-b/Mailman/Archiver/Makefile.in 2009-07-28 12:19:48.000000000 +0200
+@@ -28,7 +28,6 @@
+ DESTDIR=
+
+ CC= @CC@
+-CHMOD= @CHMOD@
+ INSTALL= @INSTALL@
+
+ DEFS= @DEFS@
+@@ -47,7 +46,7 @@
+ # Modes for directories and executables created by the install
+ # process. Default to group-writable directories but
+ # user-only-writable for executables.
+-DIRMODE= 775
++DIRMODE= 2775
+ EXEMODE= 755
+ FILEMODE= 644
+ INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
+@@ -63,8 +62,6 @@
+ $(INSTALL) -m $(FILEMODE) $(srcdir)/$$f $(DESTDIR)$(PACKAGEDIR); \
+ done
+
+-finish:
+-
+ clean:
+
+ distclean:
+diff -ruN mailman-2.1.12-a/Mailman/Bouncers/Makefile.in mailman-2.1.12-b/Mailman/Bouncers/Makefile.in
+--- mailman-2.1.12-a/Mailman/Bouncers/Makefile.in 2009-02-23 22:23:35.000000000 +0100
++++ mailman-2.1.12-b/Mailman/Bouncers/Makefile.in 2009-07-28 12:19:48.000000000 +0200
+@@ -28,7 +28,6 @@
+ DESTDIR=
+
+ CC= @CC@
+-CHMOD= @CHMOD@
+ INSTALL= @INSTALL@
+
+ DEFS= @DEFS@
+@@ -45,7 +44,7 @@
+ # Modes for directories and executables created by the install
+ # process. Default to group-writable directories but
+ # user-only-writable for executables.
+-DIRMODE= 775
++DIRMODE= 2775
+ EXEMODE= 755
+ FILEMODE= 644
+ INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
+@@ -61,8 +60,6 @@
+ $(INSTALL) -m $(FILEMODE) $(srcdir)/$$f $(DESTDIR)$(PACKAGEDIR); \
+ done
+
+-finish:
+-
+ clean:
+
+ distclean:
+diff -ruN mailman-2.1.12-a/Mailman/Cgi/Makefile.in mailman-2.1.12-b/Mailman/Cgi/Makefile.in
+--- mailman-2.1.12-a/Mailman/Cgi/Makefile.in 2009-02-23 22:23:35.000000000 +0100
++++ mailman-2.1.12-b/Mailman/Cgi/Makefile.in 2009-07-28 12:19:48.000000000 +0200
+@@ -28,7 +28,6 @@
+ DESTDIR=
+
+ CC= @CC@
+-CHMOD= @CHMOD@
+ INSTALL= @INSTALL@
+
+ DEFS= @DEFS@
+@@ -47,7 +46,7 @@
+ # Modes for directories and executables created by the install
+ # process. Default to group-writable directories but
+ # user-only-writable for executables.
+-DIRMODE= 775
++DIRMODE= 2775
+ EXEMODE= 755
+ FILEMODE= 644
+ INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
+@@ -63,8 +62,6 @@
+ $(INSTALL) -m $(FILEMODE) $(srcdir)/$$f $(DESTDIR)$(CGIDIR); \
+ done
+
+-finish:
+-
+ clean:
+
+ distclean:
+diff -ruN mailman-2.1.12-a/Mailman/Commands/Makefile.in mailman-2.1.12-b/Mailman/Commands/Makefile.in
+--- mailman-2.1.12-a/Mailman/Commands/Makefile.in 2009-02-23 22:23:35.000000000 +0100
++++ mailman-2.1.12-b/Mailman/Commands/Makefile.in 2009-07-28 12:19:48.000000000 +0200
+@@ -28,7 +28,6 @@
+ DESTDIR=
+
+ CC= @CC@
+-CHMOD= @CHMOD@
+ INSTALL= @INSTALL@
+
+ DEFS= @DEFS@
+@@ -45,7 +44,7 @@
+ # Modes for directories and executables created by the install
+ # process. Default to group-writable directories but
+ # user-only-writable for executables.
+-DIRMODE= 775
++DIRMODE= 2775
+ EXEMODE= 755
+ FILEMODE= 644
+ INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
+@@ -61,8 +60,6 @@
+ $(INSTALL) -m $(FILEMODE) $(srcdir)/$$f $(DESTDIR)$(PACKAGEDIR); \
+ done
+
+-finish:
+-
+ clean:
+
+ distclean:
+diff -ruN mailman-2.1.12-a/Mailman/Gui/Makefile.in mailman-2.1.12-b/Mailman/Gui/Makefile.in
+--- mailman-2.1.12-a/Mailman/Gui/Makefile.in 2009-02-23 22:23:35.000000000 +0100
++++ mailman-2.1.12-b/Mailman/Gui/Makefile.in 2009-07-28 12:19:48.000000000 +0200
+@@ -28,7 +28,6 @@
+ DESTDIR=
+
+ CC= @CC@
+-CHMOD= @CHMOD@
+ INSTALL= @INSTALL@
+
+ DEFS= @DEFS@
+@@ -45,7 +44,7 @@
+ # Modes for directories and executables created by the install
+ # process. Default to group-writable directories but
+ # user-only-writable for executables.
+-DIRMODE= 775
++DIRMODE= 2775
+ EXEMODE= 755
+ FILEMODE= 644
+ INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
+@@ -61,8 +60,6 @@
+ $(INSTALL) -m $(FILEMODE) $(srcdir)/$$f $(DESTDIR)$(PACKAGEDIR); \
+ done
+
+-finish:
+-
+ clean:
+
+ distclean:
+diff -ruN mailman-2.1.12-a/Mailman/Handlers/Makefile.in mailman-2.1.12-b/Mailman/Handlers/Makefile.in
+--- mailman-2.1.12-a/Mailman/Handlers/Makefile.in 2009-02-23 22:23:35.000000000 +0100
++++ mailman-2.1.12-b/Mailman/Handlers/Makefile.in 2009-07-28 12:19:48.000000000 +0200
+@@ -28,7 +28,6 @@
+ DESTDIR=
+
+ CC= @CC@
+-CHMOD= @CHMOD@
+ INSTALL= @INSTALL@
+
+ DEFS= @DEFS@
+@@ -45,7 +44,7 @@
+ # Modes for directories and executables created by the install
+ # process. Default to group-writable directories but
+ # user-only-writable for executables.
+-DIRMODE= 775
++DIRMODE= 2775
+ EXEMODE= 755
+ FILEMODE= 644
+ INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
+@@ -61,8 +60,6 @@
+ $(INSTALL) -m $(FILEMODE) $(srcdir)/$$f $(DESTDIR)$(PACKAGEDIR); \
+ done
+
+-finish:
+-
+ clean:
+
+ distclean:
+diff -ruN mailman-2.1.12-a/Mailman/Logging/Makefile.in mailman-2.1.12-b/Mailman/Logging/Makefile.in
+--- mailman-2.1.12-a/Mailman/Logging/Makefile.in 2009-02-23 22:23:35.000000000 +0100
++++ mailman-2.1.12-b/Mailman/Logging/Makefile.in 2009-07-28 12:19:48.000000000 +0200
+@@ -28,7 +28,6 @@
+ DESTDIR=
+
+ CC= @CC@
+-CHMOD= @CHMOD@
+ INSTALL= @INSTALL@
+
+ DEFS= @DEFS@
+@@ -45,7 +44,7 @@
+ # Modes for directories and executables created by the install
+ # process. Default to group-writable directories but
+ # user-only-writable for executables.
+-DIRMODE= 775
++DIRMODE= 2775
+ EXEMODE= 755
+ FILEMODE= 644
+ INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
+@@ -61,8 +60,6 @@
+ $(INSTALL) -m $(FILEMODE) $(srcdir)/$$f $(DESTDIR)$(PACKAGEDIR); \
+ done
+
+-finish:
+-
+ clean:
+
+ distclean:
+diff -ruN mailman-2.1.12-a/Mailman/Makefile.in mailman-2.1.12-b/Mailman/Makefile.in
+--- mailman-2.1.12-a/Mailman/Makefile.in 2009-02-23 22:23:35.000000000 +0100
++++ mailman-2.1.12-b/Mailman/Makefile.in 2009-07-28 12:19:48.000000000 +0200
+@@ -20,8 +20,6 @@
+
+ # Variables set by configure
+
+-VERSION= @VERSION@
+-
+ VPATH= @srcdir@
+ srcdir= @srcdir@
+ bindir= @bindir@
+@@ -30,7 +28,6 @@
+ DESTDIR=
+
+ CC= @CC@
+-CHMOD= @CHMOD@
+ INSTALL= @INSTALL@
+
+ DEFS= @DEFS@
+@@ -48,7 +45,7 @@
+ # Modes for directories and executables created by the install
+ # process. Default to group-writable directories but
+ # user-only-writable for executables.
+-DIRMODE= 775
++DIRMODE= 2775
+ EXEMODE= 755
+ FILEMODE= 644
+ INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
+@@ -79,12 +76,6 @@
+ (cd $$d; $(MAKE) DESTDIR=$(DESTDIR) install); \
+ done
+
+-finish:
+- @for d in $(SUBDIRS); \
+- do \
+- (cd $$d; $(MAKE) DESTDIR=$(DESTDIR) finish); \
+- done
+-
+ clean:
+ for d in $(SUBDIRS); \
+ do \
+diff -ruN mailman-2.1.12-a/Mailman/MTA/Makefile.in mailman-2.1.12-b/Mailman/MTA/Makefile.in
+--- mailman-2.1.12-a/Mailman/MTA/Makefile.in 2009-02-23 22:23:35.000000000 +0100
++++ mailman-2.1.12-b/Mailman/MTA/Makefile.in 2009-07-28 12:19:48.000000000 +0200
+@@ -28,7 +28,6 @@
+ DESTDIR=
+
+ CC= @CC@
+-CHMOD= @CHMOD@
+ INSTALL= @INSTALL@
+
+ DEFS= @DEFS@
+@@ -45,7 +44,7 @@
+ # Modes for directories and executables created by the install
+ # process. Default to group-writable directories but
+ # user-only-writable for executables.
+-DIRMODE= 775
++DIRMODE= 2775
+ EXEMODE= 755
+ FILEMODE= 644
+ INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
+@@ -61,8 +60,6 @@
+ $(INSTALL) -m $(FILEMODE) $(srcdir)/$$f $(DESTDIR)$(PACKAGEDIR); \
+ done
+
+-finish:
+-
+ clean:
+
+ distclean:
+diff -ruN mailman-2.1.12-a/Mailman/Queue/Makefile.in mailman-2.1.12-b/Mailman/Queue/Makefile.in
+--- mailman-2.1.12-a/Mailman/Queue/Makefile.in 2009-02-23 22:23:35.000000000 +0100
++++ mailman-2.1.12-b/Mailman/Queue/Makefile.in 2009-07-28 12:19:48.000000000 +0200
+@@ -28,7 +28,6 @@
+ DESTDIR=
+
+ CC= @CC@
+-CHMOD= @CHMOD@
+ INSTALL= @INSTALL@
+
+ DEFS= @DEFS@
+@@ -45,7 +44,7 @@
+ # Modes for directories and executables created by the install
+ # process. Default to group-writable directories but
+ # user-only-writable for executables.
+-DIRMODE= 775
++DIRMODE= 2775
+ EXEMODE= 755
+ FILEMODE= 644
+ INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
+@@ -61,8 +60,6 @@
+ $(INSTALL) -m $(FILEMODE) $(srcdir)/$$f $(DESTDIR)$(PACKAGEDIR); \
+ done
+
+-finish:
+-
+ clean:
+
+ distclean:
+diff -ruN mailman-2.1.12-a/Makefile.in mailman-2.1.12-b/Makefile.in
+--- mailman-2.1.12-a/Makefile.in 2009-02-23 22:23:35.000000000 +0100
++++ mailman-2.1.12-b/Makefile.in 2009-07-28 12:19:48.000000000 +0200
+@@ -61,11 +61,10 @@
+ # Modes for directories and executables created by the install
+ # process. Default to group-writable directories but
+ # user-only-writable for executables.
+-DIRMODE= 775
++DIRMODE= 2775
+ EXEMODE= 755
+ FILEMODE= 644
+ INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
+-DIRSETGID= chmod g+s
+
+ DATE = $(shell python -c 'import time; print time.strftime("%d-%b-%Y"),')
+ LANGPACK = README-I18N.en templates messages
+@@ -85,14 +84,24 @@
+
+ doinstall: $(SUBDIRS)
+ @echo "Creating architecture independent directories..."
++ dir=$(DESTDIR)$(prefix); \
++ if test ! -d $$dir; then \
++ echo "Creating directory hierarchy $$dir"; \
++ $(INSTALL) -d -m $(DIRMODE) $$dir; \
++ else true; \
++ fi;
++ dir=$(DESTDIR)$(var_prefix); \
++ if test ! -d $$dir; then \
++ echo "Creating directory hierarchy $$dir"; \
++ $(INSTALL) -d -m $(DIRMODE) $$dir; \
++ else true; \
++ fi;
+ @for d in $(VAR_DIRS); \
+ do \
+ dir=$(DESTDIR)$(var_prefix)/$$d; \
+ if test ! -d $$dir; then \
+ echo "Creating directory hierarchy $$dir"; \
+- $(srcdir)/mkinstalldirs $$dir; \
+- chmod $(DIRMODE) $$dir; \
+- $(DIRSETGID) $$dir; \
++ $(INSTALL) -d -m $(DIRMODE) $$dir; \
+ else true; \
+ fi; \
+ done
+@@ -102,9 +111,7 @@
+ dir=$(DESTDIR)$(prefix)/$$d; \
+ if test ! -d $$dir; then \
+ echo "Creating directory hierarchy $$dir"; \
+- $(srcdir)/mkinstalldirs $$dir; \
+- chmod $(DIRMODE) $$dir; \
+- $(DIRSETGID) $$dir; \
++ $(INSTALL) -d -m $(DIRMODE) $$dir; \
+ else true; \
+ fi; \
+ done
+@@ -114,9 +121,7 @@
+ dir=$(DESTDIR)$(exec_prefix)/$$d; \
+ if test ! -d $$dir; then \
+ echo "Creating directory hierarchy $$dir"; \
+- $(srcdir)/mkinstalldirs $$dir; \
+- chmod $(DIRMODE) $$dir; \
+- $(DIRSETGID) $$dir; \
++ $(INSTALL) -d -m $(DIRMODE) $$dir; \
+ else true; \
+ fi; \
+ done
+diff -ruN mailman-2.1.12-a/messages/Makefile.in mailman-2.1.12-b/messages/Makefile.in
+--- mailman-2.1.12-a/messages/Makefile.in 2009-02-23 22:23:35.000000000 +0100
++++ mailman-2.1.12-b/messages/Makefile.in 2009-07-28 12:19:48.000000000 +0200
+@@ -32,7 +32,6 @@
+ DESTDIR=
+
+ CC= @CC@
+-CHMOD= @CHMOD@
+ INSTALL= @INSTALL@
+
+ DEFS= @DEFS@
+@@ -43,7 +42,6 @@
+ CFLAGS= $(OPT) $(DEFS)
+ PACKAGEDIR= $(prefix)/messages
+ SHELL= /bin/sh
+-DIRSETGID= chmod g+s
+ MSGFMT= @PYTHON@ ../build/bin/msgfmt.py
+ MSGMERGE= msgmerge
+
+@@ -60,7 +58,7 @@
+ # Modes for directories and executables created by the install
+ # process. Default to group-writable directories but
+ # user-only-writable for executables.
+-DIRMODE= 775
++DIRMODE= 2775
+ EXEMODE= 755
+ FILEMODE= 644
+ INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
+@@ -90,9 +88,8 @@
+ do \
+ dir=$(DESTDIR)$(prefix)/$$d; \
+ echo "Creating language directory $$dir"; \
+- $(srcdir)/../mkinstalldirs $$dir; \
+- chmod $(DIRMODE) $$dir; \
+- $(DIRSETGID) $$dir; \
++ $(INSTALL) -d -m $(DIRMODE) `dirname $$dir`; \
++ $(INSTALL) -d -m $(DIRMODE) $$dir; \
+ done
+ @for d in $(LANGUAGES); \
+ do \
+@@ -113,8 +110,6 @@
+
+ mofiles: $(MOFILES)
+
+-finish:
+-
+ clean:
+ -rm -f */LC_MESSAGES/mailman.mo
+
+diff -ruN mailman-2.1.12-a/misc/Makefile.in mailman-2.1.12-b/misc/Makefile.in
+--- mailman-2.1.12-a/misc/Makefile.in 2009-02-23 22:23:35.000000000 +0100
++++ mailman-2.1.12-b/misc/Makefile.in 2009-07-28 12:19:48.000000000 +0200
+@@ -30,7 +30,6 @@
+ DESTDIR=
+
+ CC= @CC@
+-CHMOD= @CHMOD@
+ INSTALL= @INSTALL@
+ PYTHON= @PYTHON@
+
+@@ -62,7 +61,7 @@
+ # Modes for directories and executables created by the install
+ # process. Default to group-writable directories but
+ # user-only-writable for executables.
+-DIRMODE= 775
++DIRMODE= 2775
+ EXEMODE= 755
+ FILEMODE= 644
+ DATAMODE= 664
+@@ -101,8 +100,6 @@
+ (cd $(PKGDIR)/$$p ; umask 02 ; PYTHONPATH=$(PYTHONLIBDIR) $(PYTHON) $(SETUPCMD)); \
+ done
+
+-finish:
+-
+ clean:
+
+ distclean:
+diff -ruN mailman-2.1.12-a/scripts/Makefile.in mailman-2.1.12-b/scripts/Makefile.in
+--- mailman-2.1.12-a/scripts/Makefile.in 2009-02-23 22:23:35.000000000 +0100
++++ mailman-2.1.12-b/scripts/Makefile.in 2009-07-28 12:19:48.000000000 +0200
+@@ -28,7 +28,6 @@
+ DESTDIR=
+
+ CC= @CC@
+-CHMOD= @CHMOD@
+ INSTALL= @INSTALL@
+
+ DEFS= @DEFS@
+@@ -49,7 +48,7 @@
+ # Modes for directories and executables created by the install
+ # process. Default to group-writable directories but
+ # user-only-writable for executables.
+-DIRMODE= 775
++DIRMODE= 2775
+ EXEMODE= 755
+ FILEMODE= 644
+ INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
+@@ -68,8 +67,6 @@
+ $(INSTALL) -m $(FILEMODE) $(srcdir)/join $(DESTDIR)$(SCRIPTSDIR)/subscribe
+ $(INSTALL) -m $(FILEMODE) $(srcdir)/leave $(DESTDIR)$(SCRIPTSDIR)/unsubscribe
+
+-finish:
+-
+ clean:
+
+ distclean:
+diff -ruN mailman-2.1.12-a/src/Makefile.in mailman-2.1.12-b/src/Makefile.in
+--- mailman-2.1.12-a/src/Makefile.in 2009-07-28 12:19:47.000000000 +0200
++++ mailman-2.1.12-b/src/Makefile.in 2009-07-28 12:19:48.000000000 +0200
+@@ -28,7 +28,6 @@
+ DESTDIR=
+
+ CC= @CC@
+-CHMOD= @CHMOD@
+ INSTALL= @INSTALL@
+ PYTHON= @PYTHON@
+
+@@ -63,10 +62,9 @@
+ # Modes for directories and executables created by the install
+ # process. Default to group-writable directories but
+ # user-only-writable for executables.
+-DIRMODE= 775
+-EXEMODE= 755
++DIRMODE= 2775
++EXEMODE= 2755
+ INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
+-DIRSETGID= chmod g+s
+
+ # Fixed definitions
+
+@@ -110,20 +108,10 @@
+ do \
+ exe=$(DESTDIR)$(CGIDIR)/$$f$(CGIEXT); \
+ $(INSTALL_PROGRAM) $$f $$exe; \
+- $(DIRSETGID) $$exe; \
+ done
+ for f in $(MAIL_PROGS); \
+ do \
+ $(INSTALL_PROGRAM) $$f $(DESTDIR)$(MAILDIR); \
+- $(DIRSETGID) $(DESTDIR)$(MAILDIR)/$$f; \
+- done
+-
+-finish:
+- -for f in $(SUID_CGI_PROGS); \
+- do \
+- exe=$(DESTDIR)$(CGIDIR)/$$f$(CGIEXT); \
+- chown $(MAILMAN_USER) $$exe; \
+- chmod u+s $$exe; \
+ done
+
+ clean:
+diff -ruN mailman-2.1.12-a/templates/Makefile.in mailman-2.1.12-b/templates/Makefile.in
+--- mailman-2.1.12-a/templates/Makefile.in 2009-02-23 22:23:35.000000000 +0100
++++ mailman-2.1.12-b/templates/Makefile.in 2009-07-28 12:19:48.000000000 +0200
+@@ -28,7 +28,6 @@
+ DESTDIR=
+
+ CC= @CC@
+-CHMOD= @CHMOD@
+ INSTALL= @INSTALL@
+ TRUE= @TRUE@
+
+@@ -48,7 +47,7 @@
+ # Modes for directories and executables created by the install
+ # process. Default to group-writable directories but
+ # user-only-writable for executables.
+-DIRMODE= 775
++DIRMODE= 2775
+ EXEMODE= 755
+ FILEMODE= 644
+ INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
+@@ -61,15 +60,13 @@
+ install:
+ for d in $(LANGUAGES); \
+ do \
+- $(srcdir)/../mkinstalldirs $(DESTDIR)$(TEMPLATEDIR)/$$d; \
++ $(INSTALL) -d -m $(DIRMODE) $(DESTDIR)$(TEMPLATEDIR)/$$d; \
+ for f in $(srcdir)/$$d/*.html $(srcdir)/$$d/*.txt; \
+ do \
+ $(INSTALL) -m $(FILEMODE) $$f $(DESTDIR)$(TEMPLATEDIR)/$$d; \
+ done; \
+ done
+
+-finish:
+-
+ clean:
+
+ distclean:
+diff -ruN mailman-2.1.12-a/tests/bounces/Makefile.in mailman-2.1.12-b/tests/bounces/Makefile.in
+--- mailman-2.1.12-a/tests/bounces/Makefile.in 2009-02-23 22:23:35.000000000 +0100
++++ mailman-2.1.12-b/tests/bounces/Makefile.in 2009-07-28 12:19:48.000000000 +0200
+@@ -28,7 +28,6 @@
+ DESTDIR=
+
+ CC= @CC@
+-CHMOD= @CHMOD@
+ INSTALL= @INSTALL@
+
+ DEFS= @DEFS@
+@@ -46,7 +45,7 @@
+ # Modes for directories and executables created by the install
+ # process. Default to group-writable directories but
+ # user-only-writable for executables.
+-DIRMODE= 775
++DIRMODE= 2775
+ EXEMODE= 755
+ FILEMODE= 644
+ INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
+@@ -60,8 +59,6 @@
+ $(INSTALL) -m $(FILEMODE) $$f $(DESTDIR)$(BOUNCEDIR); \
+ done
+
+-finish:
+-
+ clean:
+
+ distclean:
+diff -ruN mailman-2.1.12-a/tests/Makefile.in mailman-2.1.12-b/tests/Makefile.in
+--- mailman-2.1.12-a/tests/Makefile.in 2009-02-23 22:23:35.000000000 +0100
++++ mailman-2.1.12-b/tests/Makefile.in 2009-07-28 12:19:48.000000000 +0200
+@@ -28,7 +28,6 @@
+ DESTDIR=
+
+ CC= @CC@
+-CHMOD= @CHMOD@
+ INSTALL= @INSTALL@
+
+ DEFS= @DEFS@
+@@ -46,7 +45,7 @@
+ # Modes for directories and executables created by the install
+ # process. Default to group-writable directories but
+ # user-only-writable for executables.
+-DIRMODE= 775
++DIRMODE= 2775
+ EXEMODE= 755
+ FILEMODE= 644
+ INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
+@@ -71,8 +70,6 @@
+ (cd $$d; $(MAKE) DESTDIR=$(DESTDIR) install); \
+ done
+
+-finish:
+-
+ clean:
+
+ distclean:
+diff -ruN mailman-2.1.12-a/tests/msgs/Makefile.in mailman-2.1.12-b/tests/msgs/Makefile.in
+--- mailman-2.1.12-a/tests/msgs/Makefile.in 2009-02-23 22:23:35.000000000 +0100
++++ mailman-2.1.12-b/tests/msgs/Makefile.in 2009-07-28 12:19:48.000000000 +0200
+@@ -28,7 +28,6 @@
+ DESTDIR=
+
+ CC= @CC@
+-CHMOD= @CHMOD@
+ INSTALL= @INSTALL@
+
+ DEFS= @DEFS@
+@@ -46,7 +45,7 @@
+ # Modes for directories and executables created by the install
+ # process. Default to group-writable directories but
+ # user-only-writable for executables.
+-DIRMODE= 775
++DIRMODE= 2775
+ EXEMODE= 755
+ FILEMODE= 644
+ INSTALL_PROGRAM=$(INSTALL) -m $(EXEMODE)
+@@ -60,8 +59,6 @@
+ $(INSTALL) -m $(FILEMODE) $$f $(DESTDIR)$(MSGSDIR); \
+ done
+
+-finish:
+-
+ clean:
+
+ distclean:
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-24 16:50:18 UTC (rev 619323)
+++ PKGBUILD 2020-04-24 16:50:40 UTC (rev 619324)
@@ -1,129 +0,0 @@
-# Maintainer: Sébastien Luttringer
-# Contributor: Paul Mattal <paul at archlinux.org>
-
-pkgname=mailman
-pkgver=2.1.29
-pkgrel=2
-pkgdesc='The GNU Mailing List Manager'
-arch=(x86_64)
-license=('GPL')
-url='https://www.list.org/'
-# we need to have the mailman user to build mailman
-makedepends=('mailman')
-depends=('glibc' 'python2' 'smtp-server' 'python2-dnspython' 'systemd')
-# 'Defaults.py' should not be changed by users; 'mm_cfg.py' should instead.
-backup=('usr/lib/mailman/Mailman/mm_cfg.py')
-install=$pkgname.install
-source=("https://launchpad.net/mailman/2.1/$pkgver/+download/mailman-$pkgver.tgz"{,.asc}
- 'mailman.profile.sh'
- 'mailman.profile.csh'
- 'mailman.sysusers'
- 'mailman.service'
- 'mailman-checkdbs.service'
- 'mailman-checkdbs.timer'
- 'mailman-cullbadshunt.service'
- 'mailman-cullbadshunt.timer'
- 'mailman-disabled.service'
- 'mailman-disabled.timer'
- 'mailman-gatenews.service'
- 'mailman-gatenews.timer'
- 'mailman-mailpasswds.service'
- 'mailman-mailpasswds.timer'
- 'mailman-nightlygzip.service'
- 'mailman-nightlygzip.timer'
- 'mailman-senddigests.service'
- 'mailman-senddigests.timer'
- '01-mailman-2.1-build.patch'
- )
-validpgpkeys=('C638CAEF0AC21563736B5A22555B975E953B8693') # Mark Sapiro <mark at msapiro.net>
-sha256sums=('838872713601e8a124146e550f53709482c1ef168f1e16d201465c651cbf0d2c'
- 'SKIP'
- '1af0e72434c6dbaada49df3b2b7de03ec4574f7534ce5545b4de26372241d9f4'
- '058d35874967ccd8b9a92fa40480c1350f4ef5ad2fa783e4baf1b0309f6782cb'
- '3e10268d5dfa64699efa247ef0082a6ec5f1dea401fa4d05c030994c6a115348'
- '006653e4eb99c2c50713a10f1532fdf943247dc6cbf7c06f75a7d3ab6401dcab'
- '4e59a77b6d000b19909c0e7fdd46e265f75b5d97c2fdc4574ece22541845af6e'
- 'b08b0617e3039248c8ae7a222dcd0d8097154746d6fc0c6b51cd36e1f6b0f4d8'
- '58bfa5dc0fc3132f0300e2cb612d58c0b9f8d2c0972c71cb903bc252c155992e'
- 'f49fdecdeb4353ea8b980a93031a5a9ba8b528f7fbcd1e5277c80e5eaaa25c89'
- 'c100a159168261937a3fea9e715fe2c55c2bdec60d4891c1bfef6edbaf7ea6bf'
- '8794f8e3a448f980a231e00024e3e579d1ee02020ce94ae3e5e29abbfd8fb043'
- 'f84f61cd87d8c584e1a5ad010f28b764c09ee034296d24b468b05695edbd6a38'
- 'd07d9373447a53da9c7cec3722b3defd27ff52b609eb9b78c72f48452773fa0f'
- 'ceb61fb03ea3cdc307985b6885dd516c7921f0408037a5a4ba8e76ad64d5b940'
- '20015b4d292a19deaeabb49cc1b55d6712453a26f1118d7561eea472da52e60f'
- '37cc29eb737700cd14be4cc5c442ebfeb50dfedcc3b0149dc7d9edbcb3558307'
- '4e22a0fec29e6e13d3bcf91a3e89e943aa4a67026f1b818438744cb9925d017e'
- '1c01dc43807366e2cdd9f95bb6ae257641f45946a7b33753692de68bba0c1b11'
- '274ec372975a8092ad2d743668b3a2c73e027ebe46d9f51098edeef6e712eaef'
- '50f14274db4eb34a172cb0658903189ed0b7c77b3c0ecdd59e9a11f770051561')
-
-prepare() {
- cd $pkgname-$pkgver
-
- # apply patch from the source array (should be a pacman feature)
- local filename
- for filename in "${source[@]}"; do
- if [[ "$filename" =~ \.patch$ ]]; then
- msg2 "Applying patch ${filename##*/}"
- patch -p1 -N -i "$srcdir/${filename##*/}"
- fi
- done
-
- # some files in mailman doesn't use configure parameter
- msg2 'Fix python2 sheebang'
- find . -type f -exec \
- sed -i '1s,^#! \?/usr/bin/\(env \|\)python$,#!/usr/bin/python2,' {} \;
-}
-
-build() {
- cd $pkgname-$pkgver
- ./configure \
- --without-permcheck \
- --prefix=/usr/lib/mailman \
- --with-var-prefix=/var/lib/mailman \
- --with-mail-gid=mailman \
- --with-username=mailman \
- --with-groupname=mailman \
- --with-cgi-gid=http \
- --with-python=/usr/bin/python2 \
- --with-mailhost=localhost \
- --with-urlhost=localhost
- make
-}
-
-package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
-
- # let's follow Fedora FHS way; Gentoo does it the other way round
-
- # Create a link so that the config file mm_cfg.py appears in config
- # directory /etc/mailman. We don't put mm_cfg.py in the config directory
- # because its executable code (python file) and the security policy wants
- # to keep executable code out of /etc and inside of a lib directory instead,
- # and because traditionally mm_cfg.py was in the Mailman subdirectory and
- # experienced mailman admins will expect to find it there. But having it
- # "appear" in the config directory is good practice and heading in the
- # right direction for FHS compliance.
- install -d -m755 "$pkgdir/etc/$pkgname"
- ln -sv /usr/lib/mailman/Mailman/mm_cfg.py "$pkgdir/etc/$pkgname/mm_cfg.py"
- # fix some permissions to satisfy check_perms
- chown -R mailman:mailman "$pkgdir"/{usr/lib/mailman,var/lib/mailman,etc/mailman/*}
- chown http:mailman "$pkgdir"/var/lib/mailman/archives/private
- chmod 2770 "$pkgdir"/var/lib/mailman/archives/private
- chmod 2755 "$pkgdir"/usr/lib/mailman/cgi-bin/*
- chmod 2755 "$pkgdir"/usr/lib/mailman/mail/mailman
- cd "$srcdir"
- # profiles
- install -Dm 755 $pkgname.profile.sh "$pkgdir/etc/profile.d/$pkgname.sh"
- install -Dm 755 $pkgname.profile.csh "$pkgdir/etc/profile.d/$pkgname.csh"
- # systemd timers and services
- install -t "${pkgdir}/usr/lib/systemd/system/" \
- -vDm644 ${pkgname}*.{service,timer}
- # sysusers.d
- install -vDm 644 $pkgname.sysusers \
- "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: mailman/repos/community-x86_64/PKGBUILD (from rev 619323, mailman/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-24 16:50:40 UTC (rev 619324)
@@ -0,0 +1,129 @@
+# Maintainer: Sébastien Luttringer
+# Contributor: Paul Mattal <paul at archlinux.org>
+
+pkgname=mailman
+pkgver=2.1.30
+pkgrel=1
+pkgdesc='The GNU Mailing List Manager'
+arch=(x86_64)
+license=('GPL')
+url='https://www.list.org/'
+# we need to have the mailman user to build mailman
+makedepends=('mailman')
+depends=('glibc' 'python2' 'smtp-server' 'python2-dnspython' 'systemd')
+# 'Defaults.py' should not be changed by users; 'mm_cfg.py' should instead.
+backup=('usr/lib/mailman/Mailman/mm_cfg.py')
+install=$pkgname.install
+source=("https://launchpad.net/mailman/2.1/$pkgver/+download/mailman-$pkgver.tgz"{,.asc}
+ 'mailman.profile.sh'
+ 'mailman.profile.csh'
+ 'mailman.sysusers'
+ 'mailman.service'
+ 'mailman-checkdbs.service'
+ 'mailman-checkdbs.timer'
+ 'mailman-cullbadshunt.service'
+ 'mailman-cullbadshunt.timer'
+ 'mailman-disabled.service'
+ 'mailman-disabled.timer'
+ 'mailman-gatenews.service'
+ 'mailman-gatenews.timer'
+ 'mailman-mailpasswds.service'
+ 'mailman-mailpasswds.timer'
+ 'mailman-nightlygzip.service'
+ 'mailman-nightlygzip.timer'
+ 'mailman-senddigests.service'
+ 'mailman-senddigests.timer'
+ '01-mailman-2.1-build.patch'
+ )
+validpgpkeys=('C638CAEF0AC21563736B5A22555B975E953B8693') # Mark Sapiro <mark at msapiro.net>
+sha256sums=('ea028d6106f776038cf135cdd786ebb14b4fe708d77386729c4a2253248d0364'
+ 'SKIP'
+ '1af0e72434c6dbaada49df3b2b7de03ec4574f7534ce5545b4de26372241d9f4'
+ '058d35874967ccd8b9a92fa40480c1350f4ef5ad2fa783e4baf1b0309f6782cb'
+ '3e10268d5dfa64699efa247ef0082a6ec5f1dea401fa4d05c030994c6a115348'
+ '006653e4eb99c2c50713a10f1532fdf943247dc6cbf7c06f75a7d3ab6401dcab'
+ '4e59a77b6d000b19909c0e7fdd46e265f75b5d97c2fdc4574ece22541845af6e'
+ 'b08b0617e3039248c8ae7a222dcd0d8097154746d6fc0c6b51cd36e1f6b0f4d8'
+ '58bfa5dc0fc3132f0300e2cb612d58c0b9f8d2c0972c71cb903bc252c155992e'
+ 'f49fdecdeb4353ea8b980a93031a5a9ba8b528f7fbcd1e5277c80e5eaaa25c89'
+ 'c100a159168261937a3fea9e715fe2c55c2bdec60d4891c1bfef6edbaf7ea6bf'
+ '8794f8e3a448f980a231e00024e3e579d1ee02020ce94ae3e5e29abbfd8fb043'
+ 'f84f61cd87d8c584e1a5ad010f28b764c09ee034296d24b468b05695edbd6a38'
+ 'd07d9373447a53da9c7cec3722b3defd27ff52b609eb9b78c72f48452773fa0f'
+ 'ceb61fb03ea3cdc307985b6885dd516c7921f0408037a5a4ba8e76ad64d5b940'
+ '20015b4d292a19deaeabb49cc1b55d6712453a26f1118d7561eea472da52e60f'
+ '37cc29eb737700cd14be4cc5c442ebfeb50dfedcc3b0149dc7d9edbcb3558307'
+ '4e22a0fec29e6e13d3bcf91a3e89e943aa4a67026f1b818438744cb9925d017e'
+ '1c01dc43807366e2cdd9f95bb6ae257641f45946a7b33753692de68bba0c1b11'
+ '274ec372975a8092ad2d743668b3a2c73e027ebe46d9f51098edeef6e712eaef'
+ '50f14274db4eb34a172cb0658903189ed0b7c77b3c0ecdd59e9a11f770051561')
+
+prepare() {
+ cd $pkgname-$pkgver
+
+ # apply patch from the source array (should be a pacman feature)
+ local filename
+ for filename in "${source[@]}"; do
+ if [[ "$filename" =~ \.patch$ ]]; then
+ msg2 "Applying patch ${filename##*/}"
+ patch -p1 -N -i "$srcdir/${filename##*/}"
+ fi
+ done
+
+ # some files in mailman doesn't use configure parameter
+ msg2 'Fix python2 sheebang'
+ find . -type f -exec \
+ sed -i '1s,^#! \?/usr/bin/\(env \|\)python$,#!/usr/bin/python2,' {} \;
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure \
+ --without-permcheck \
+ --prefix=/usr/lib/mailman \
+ --with-var-prefix=/var/lib/mailman \
+ --with-mail-gid=mailman \
+ --with-username=mailman \
+ --with-groupname=mailman \
+ --with-cgi-gid=http \
+ --with-python=/usr/bin/python2 \
+ --with-mailhost=localhost \
+ --with-urlhost=localhost
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ # let's follow Fedora FHS way; Gentoo does it the other way round
+
+ # Create a link so that the config file mm_cfg.py appears in config
+ # directory /etc/mailman. We don't put mm_cfg.py in the config directory
+ # because its executable code (python file) and the security policy wants
+ # to keep executable code out of /etc and inside of a lib directory instead,
+ # and because traditionally mm_cfg.py was in the Mailman subdirectory and
+ # experienced mailman admins will expect to find it there. But having it
+ # "appear" in the config directory is good practice and heading in the
+ # right direction for FHS compliance.
+ install -d -m755 "$pkgdir/etc/$pkgname"
+ ln -sv /usr/lib/mailman/Mailman/mm_cfg.py "$pkgdir/etc/$pkgname/mm_cfg.py"
+ # fix some permissions to satisfy check_perms
+ chown -R mailman:mailman "$pkgdir"/{usr/lib/mailman,var/lib/mailman,etc/mailman/*}
+ chown http:mailman "$pkgdir"/var/lib/mailman/archives/private
+ chmod 2770 "$pkgdir"/var/lib/mailman/archives/private
+ chmod 2755 "$pkgdir"/usr/lib/mailman/cgi-bin/*
+ chmod 2755 "$pkgdir"/usr/lib/mailman/mail/mailman
+ cd "$srcdir"
+ # profiles
+ install -Dm 755 $pkgname.profile.sh "$pkgdir/etc/profile.d/$pkgname.sh"
+ install -Dm 755 $pkgname.profile.csh "$pkgdir/etc/profile.d/$pkgname.csh"
+ # systemd timers and services
+ install -t "${pkgdir}/usr/lib/systemd/system/" \
+ -vDm644 ${pkgname}*.{service,timer}
+ # sysusers.d
+ install -vDm 644 $pkgname.sysusers \
+ "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: mailman-checkdbs.service
===================================================================
--- mailman-checkdbs.service 2020-04-24 16:50:18 UTC (rev 619323)
+++ mailman-checkdbs.service 2020-04-24 16:50:40 UTC (rev 619324)
@@ -1,10 +0,0 @@
-[Unit]
-Description=Send mailman pending requests reminders to admins
-Documentation=file:///usr/lib/mailman/cron/crontab.in
-
-[Service]
-Type=oneshot
-ExecStart=/usr/bin/python2 -S /usr/lib/mailman/cron/checkdbs
-Nice=19
-IOSchedulingClass=best-effort
-IOSchedulingPriority=7
Copied: mailman/repos/community-x86_64/mailman-checkdbs.service (from rev 619323, mailman/trunk/mailman-checkdbs.service)
===================================================================
--- mailman-checkdbs.service (rev 0)
+++ mailman-checkdbs.service 2020-04-24 16:50:40 UTC (rev 619324)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Send mailman pending requests reminders to admins
+Documentation=file:///usr/lib/mailman/cron/crontab.in
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/python2 -S /usr/lib/mailman/cron/checkdbs
+Nice=19
+IOSchedulingClass=best-effort
+IOSchedulingPriority=7
Deleted: mailman-checkdbs.timer
===================================================================
--- mailman-checkdbs.timer 2020-04-24 16:50:18 UTC (rev 619323)
+++ mailman-checkdbs.timer 2020-04-24 16:50:40 UTC (rev 619324)
@@ -1,10 +0,0 @@
-[Unit]
-Description=Daily mailman checkdbs
-
-[Timer]
-OnCalendar=8:00:00
-AccuracySec=1h
-Persistent=true
-
-[Install]
-WantedBy=timers.target
Copied: mailman/repos/community-x86_64/mailman-checkdbs.timer (from rev 619323, mailman/trunk/mailman-checkdbs.timer)
===================================================================
--- mailman-checkdbs.timer (rev 0)
+++ mailman-checkdbs.timer 2020-04-24 16:50:40 UTC (rev 619324)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Daily mailman checkdbs
+
+[Timer]
+OnCalendar=8:00:00
+AccuracySec=1h
+Persistent=true
+
+[Install]
+WantedBy=timers.target
Deleted: mailman-cullbadshunt.service
===================================================================
--- mailman-cullbadshunt.service 2020-04-24 16:50:18 UTC (rev 619323)
+++ mailman-cullbadshunt.service 2020-04-24 16:50:40 UTC (rev 619324)
@@ -1,10 +0,0 @@
-[Unit]
-Description=Cull old entries from the bad and shunt queues
-Documentation=file:///usr/lib/mailman/cron/crontab.in
-
-[Service]
-Type=oneshot
-ExecStart=/usr/bin/python2 -S /usr/lib/mailman/cron/cull_bad_shunt
-Nice=19
-IOSchedulingClass=best-effort
-IOSchedulingPriority=7
Copied: mailman/repos/community-x86_64/mailman-cullbadshunt.service (from rev 619323, mailman/trunk/mailman-cullbadshunt.service)
===================================================================
--- mailman-cullbadshunt.service (rev 0)
+++ mailman-cullbadshunt.service 2020-04-24 16:50:40 UTC (rev 619324)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Cull old entries from the bad and shunt queues
+Documentation=file:///usr/lib/mailman/cron/crontab.in
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/python2 -S /usr/lib/mailman/cron/cull_bad_shunt
+Nice=19
+IOSchedulingClass=best-effort
+IOSchedulingPriority=7
Deleted: mailman-cullbadshunt.timer
===================================================================
--- mailman-cullbadshunt.timer 2020-04-24 16:50:18 UTC (rev 619323)
+++ mailman-cullbadshunt.timer 2020-04-24 16:50:40 UTC (rev 619324)
@@ -1,10 +0,0 @@
-[Unit]
-Description=Daily mailman cull_bad_shunt
-
-[Timer]
-OnCalendar=04:00:00
-AccuracySec=1h
-Persistent=true
-
-[Install]
-WantedBy=timers.target
Copied: mailman/repos/community-x86_64/mailman-cullbadshunt.timer (from rev 619323, mailman/trunk/mailman-cullbadshunt.timer)
===================================================================
--- mailman-cullbadshunt.timer (rev 0)
+++ mailman-cullbadshunt.timer 2020-04-24 16:50:40 UTC (rev 619324)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Daily mailman cull_bad_shunt
+
+[Timer]
+OnCalendar=04:00:00
+AccuracySec=1h
+Persistent=true
+
+[Install]
+WantedBy=timers.target
Deleted: mailman-disabled.service
===================================================================
--- mailman-disabled.service 2020-04-24 16:50:18 UTC (rev 619323)
+++ mailman-disabled.service 2020-04-24 16:50:40 UTC (rev 619324)
@@ -1,10 +0,0 @@
-[Unit]
-Description=Send mailman notifications to disabled members
-Documentation=file:///usr/lib/mailman/cron/crontab.in
-
-[Service]
-Type=oneshot
-ExecStart=/usr/bin/python2 -S /usr/lib/mailman/cron/disabled
-Nice=19
-IOSchedulingClass=best-effort
-IOSchedulingPriority=7
Copied: mailman/repos/community-x86_64/mailman-disabled.service (from rev 619323, mailman/trunk/mailman-disabled.service)
===================================================================
--- mailman-disabled.service (rev 0)
+++ mailman-disabled.service 2020-04-24 16:50:40 UTC (rev 619324)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Send mailman notifications to disabled members
+Documentation=file:///usr/lib/mailman/cron/crontab.in
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/python2 -S /usr/lib/mailman/cron/disabled
+Nice=19
+IOSchedulingClass=best-effort
+IOSchedulingPriority=7
Deleted: mailman-disabled.timer
===================================================================
--- mailman-disabled.timer 2020-04-24 16:50:18 UTC (rev 619323)
+++ mailman-disabled.timer 2020-04-24 16:50:40 UTC (rev 619324)
@@ -1,10 +0,0 @@
-[Unit]
-Description=Daily mailman disabled
-
-[Timer]
-OnCalendar=9:00:00
-AccuracySec=1h
-Persistent=true
-
-[Install]
-WantedBy=timers.target
Copied: mailman/repos/community-x86_64/mailman-disabled.timer (from rev 619323, mailman/trunk/mailman-disabled.timer)
===================================================================
--- mailman-disabled.timer (rev 0)
+++ mailman-disabled.timer 2020-04-24 16:50:40 UTC (rev 619324)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Daily mailman disabled
+
+[Timer]
+OnCalendar=9:00:00
+AccuracySec=1h
+Persistent=true
+
+[Install]
+WantedBy=timers.target
Deleted: mailman-gatenews.service
===================================================================
--- mailman-gatenews.service 2020-04-24 16:50:18 UTC (rev 619323)
+++ mailman-gatenews.service 2020-04-24 16:50:40 UTC (rev 619324)
@@ -1,10 +0,0 @@
-[Unit]
-Description=Poll NNTP servers for messages to be gatewayed to mailing lists
-Documentation=file:///usr/lib/mailman/cron/crontab.in
-
-[Service]
-Type=oneshot
-ExecStart=/usr/bin/python2 -S /usr/lib/mailman/cron/gate_news
-Nice=19
-IOSchedulingClass=best-effort
-IOSchedulingPriority=7
Copied: mailman/repos/community-x86_64/mailman-gatenews.service (from rev 619323, mailman/trunk/mailman-gatenews.service)
===================================================================
--- mailman-gatenews.service (rev 0)
+++ mailman-gatenews.service 2020-04-24 16:50:40 UTC (rev 619324)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Poll NNTP servers for messages to be gatewayed to mailing lists
+Documentation=file:///usr/lib/mailman/cron/crontab.in
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/python2 -S /usr/lib/mailman/cron/gate_news
+Nice=19
+IOSchedulingClass=best-effort
+IOSchedulingPriority=7
Deleted: mailman-gatenews.timer
===================================================================
--- mailman-gatenews.timer 2020-04-24 16:50:18 UTC (rev 619323)
+++ mailman-gatenews.timer 2020-04-24 16:50:40 UTC (rev 619324)
@@ -1,10 +0,0 @@
-[Unit]
-Description=Periodic mailman gate_news
-
-[Timer]
-OnCalendar=*:0/5
-AccuracySec=5m
-Persistent=true
-
-[Install]
-WantedBy=timers.target
Copied: mailman/repos/community-x86_64/mailman-gatenews.timer (from rev 619323, mailman/trunk/mailman-gatenews.timer)
===================================================================
--- mailman-gatenews.timer (rev 0)
+++ mailman-gatenews.timer 2020-04-24 16:50:40 UTC (rev 619324)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Periodic mailman gate_news
+
+[Timer]
+OnCalendar=*:0/5
+AccuracySec=5m
+Persistent=true
+
+[Install]
+WantedBy=timers.target
Deleted: mailman-mailpasswds.service
===================================================================
--- mailman-mailpasswds.service 2020-04-24 16:50:18 UTC (rev 619323)
+++ mailman-mailpasswds.service 2020-04-24 16:50:40 UTC (rev 619324)
@@ -1,10 +0,0 @@
-[Unit]
-Description=Send mailman password reminders
-Documentation=file:///usr/lib/mailman/cron/crontab.in
-
-[Service]
-Type=oneshot
-ExecStart=/usr/bin/python2 -S /usr/lib/mailman/cron/mailpasswds
-Nice=19
-IOSchedulingClass=best-effort
-IOSchedulingPriority=7
Copied: mailman/repos/community-x86_64/mailman-mailpasswds.service (from rev 619323, mailman/trunk/mailman-mailpasswds.service)
===================================================================
--- mailman-mailpasswds.service (rev 0)
+++ mailman-mailpasswds.service 2020-04-24 16:50:40 UTC (rev 619324)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Send mailman password reminders
+Documentation=file:///usr/lib/mailman/cron/crontab.in
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/python2 -S /usr/lib/mailman/cron/mailpasswds
+Nice=19
+IOSchedulingClass=best-effort
+IOSchedulingPriority=7
Deleted: mailman-mailpasswds.timer
===================================================================
--- mailman-mailpasswds.timer 2020-04-24 16:50:18 UTC (rev 619323)
+++ mailman-mailpasswds.timer 2020-04-24 16:50:40 UTC (rev 619324)
@@ -1,10 +0,0 @@
-[Unit]
-Description=Monthly mailman mailpasswds
-
-[Timer]
-OnCalendar=*-*-1 05:00:00
-AccuracySec=1h
-Persistent=true
-
-[Install]
-WantedBy=timers.target
Copied: mailman/repos/community-x86_64/mailman-mailpasswds.timer (from rev 619323, mailman/trunk/mailman-mailpasswds.timer)
===================================================================
--- mailman-mailpasswds.timer (rev 0)
+++ mailman-mailpasswds.timer 2020-04-24 16:50:40 UTC (rev 619324)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Monthly mailman mailpasswds
+
+[Timer]
+OnCalendar=*-*-1 05:00:00
+AccuracySec=1h
+Persistent=true
+
+[Install]
+WantedBy=timers.target
Deleted: mailman-nightlygzip.service
===================================================================
--- mailman-nightlygzip.service 2020-04-24 16:50:18 UTC (rev 619323)
+++ mailman-nightlygzip.service 2020-04-24 16:50:40 UTC (rev 619324)
@@ -1,10 +0,0 @@
-[Unit]
-Description=Compression of mailman archive files
-Documentation=file:///usr/lib/mailman/cron/crontab.in
-
-[Service]
-Type=oneshot
-ExecStart=/usr/bin/python2 -S /usr/lib/mailman/cron/nightly_gzip
-Nice=19
-IOSchedulingClass=best-effort
-IOSchedulingPriority=7
Copied: mailman/repos/community-x86_64/mailman-nightlygzip.service (from rev 619323, mailman/trunk/mailman-nightlygzip.service)
===================================================================
--- mailman-nightlygzip.service (rev 0)
+++ mailman-nightlygzip.service 2020-04-24 16:50:40 UTC (rev 619324)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Compression of mailman archive files
+Documentation=file:///usr/lib/mailman/cron/crontab.in
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/python2 -S /usr/lib/mailman/cron/nightly_gzip
+Nice=19
+IOSchedulingClass=best-effort
+IOSchedulingPriority=7
Deleted: mailman-nightlygzip.timer
===================================================================
--- mailman-nightlygzip.timer 2020-04-24 16:50:18 UTC (rev 619323)
+++ mailman-nightlygzip.timer 2020-04-24 16:50:40 UTC (rev 619324)
@@ -1,10 +0,0 @@
-[Unit]
-Description=Daily mailman nightly_gzip
-
-[Timer]
-OnCalendar=03:00:00
-AccuracySec=1h
-Persistent=true
-
-[Install]
-WantedBy=timers.target
Copied: mailman/repos/community-x86_64/mailman-nightlygzip.timer (from rev 619323, mailman/trunk/mailman-nightlygzip.timer)
===================================================================
--- mailman-nightlygzip.timer (rev 0)
+++ mailman-nightlygzip.timer 2020-04-24 16:50:40 UTC (rev 619324)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Daily mailman nightly_gzip
+
+[Timer]
+OnCalendar=03:00:00
+AccuracySec=1h
+Persistent=true
+
+[Install]
+WantedBy=timers.target
Deleted: mailman-senddigests.service
===================================================================
--- mailman-senddigests.service 2020-04-24 16:50:18 UTC (rev 619323)
+++ mailman-senddigests.service 2020-04-24 16:50:40 UTC (rev 619324)
@@ -1,10 +0,0 @@
-[Unit]
-Description=Send mailman digests
-Documentation=file:///usr/lib/mailman/cron/crontab.in
-
-[Service]
-Type=oneshot
-ExecStart=/usr/bin/python2 -S /usr/lib/mailman/cron/senddigests
-Nice=19
-IOSchedulingClass=best-effort
-IOSchedulingPriority=7
Copied: mailman/repos/community-x86_64/mailman-senddigests.service (from rev 619323, mailman/trunk/mailman-senddigests.service)
===================================================================
--- mailman-senddigests.service (rev 0)
+++ mailman-senddigests.service 2020-04-24 16:50:40 UTC (rev 619324)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Send mailman digests
+Documentation=file:///usr/lib/mailman/cron/crontab.in
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/python2 -S /usr/lib/mailman/cron/senddigests
+Nice=19
+IOSchedulingClass=best-effort
+IOSchedulingPriority=7
Deleted: mailman-senddigests.timer
===================================================================
--- mailman-senddigests.timer 2020-04-24 16:50:18 UTC (rev 619323)
+++ mailman-senddigests.timer 2020-04-24 16:50:40 UTC (rev 619324)
@@ -1,10 +0,0 @@
-[Unit]
-Description=Daily mailman senddigests
-
-[Timer]
-OnCalendar=12:00:00
-AccuracySec=1h
-Persistent=true
-
-[Install]
-WantedBy=timers.target
Copied: mailman/repos/community-x86_64/mailman-senddigests.timer (from rev 619323, mailman/trunk/mailman-senddigests.timer)
===================================================================
--- mailman-senddigests.timer (rev 0)
+++ mailman-senddigests.timer 2020-04-24 16:50:40 UTC (rev 619324)
@@ -0,0 +1,10 @@
+[Unit]
+Description=Daily mailman senddigests
+
+[Timer]
+OnCalendar=12:00:00
+AccuracySec=1h
+Persistent=true
+
+[Install]
+WantedBy=timers.target
Deleted: mailman.install
===================================================================
--- mailman.install 2020-04-24 16:50:18 UTC (rev 619323)
+++ mailman.install 2020-04-24 16:50:40 UTC (rev 619324)
@@ -1,16 +0,0 @@
-#!/bin/sh
-
-## arg 1: the new package version
-post_install() {
- # check file permissions
- cd /usr/lib/mailman && bin/check_perms > /dev/null
-}
-
-## arg 1: the new package version
-## arg 2: the old package version
-post_upgrade() {
- # check file permissions
- cd /usr/lib/mailman && bin/check_perms > /dev/null
-}
-
-# vim:set ts=2 sw=2 ft=sh et:
Copied: mailman/repos/community-x86_64/mailman.install (from rev 619323, mailman/trunk/mailman.install)
===================================================================
--- mailman.install (rev 0)
+++ mailman.install 2020-04-24 16:50:40 UTC (rev 619324)
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+## arg 1: the new package version
+post_install() {
+ # check file permissions
+ cd /usr/lib/mailman && bin/check_perms > /dev/null
+}
+
+## arg 1: the new package version
+## arg 2: the old package version
+post_upgrade() {
+ # check file permissions
+ cd /usr/lib/mailman && bin/check_perms > /dev/null
+}
+
+# vim:set ts=2 sw=2 ft=sh et:
Deleted: mailman.profile.csh
===================================================================
--- mailman.profile.csh 2020-04-24 16:50:18 UTC (rev 619323)
+++ mailman.profile.csh 2020-04-24 16:50:40 UTC (rev 619324)
@@ -1 +0,0 @@
-[ -d /usr/lib/mailman/bin ] && setenv PATH ${PATH}:/usr/lib/mailman/bin
Copied: mailman/repos/community-x86_64/mailman.profile.csh (from rev 619323, mailman/trunk/mailman.profile.csh)
===================================================================
--- mailman.profile.csh (rev 0)
+++ mailman.profile.csh 2020-04-24 16:50:40 UTC (rev 619324)
@@ -0,0 +1 @@
+[ -d /usr/lib/mailman/bin ] && setenv PATH ${PATH}:/usr/lib/mailman/bin
Deleted: mailman.profile.sh
===================================================================
--- mailman.profile.sh 2020-04-24 16:50:18 UTC (rev 619323)
+++ mailman.profile.sh 2020-04-24 16:50:40 UTC (rev 619324)
@@ -1,3 +0,0 @@
-[ -d /usr/lib/mailman/bin ] && PATH=$PATH:/usr/lib/mailman/bin
-
-export PATH
Copied: mailman/repos/community-x86_64/mailman.profile.sh (from rev 619323, mailman/trunk/mailman.profile.sh)
===================================================================
--- mailman.profile.sh (rev 0)
+++ mailman.profile.sh 2020-04-24 16:50:40 UTC (rev 619324)
@@ -0,0 +1,3 @@
+[ -d /usr/lib/mailman/bin ] && PATH=$PATH:/usr/lib/mailman/bin
+
+export PATH
Deleted: mailman.service
===================================================================
--- mailman.service 2020-04-24 16:50:18 UTC (rev 619323)
+++ mailman.service 2020-04-24 16:50:40 UTC (rev 619324)
@@ -1,17 +0,0 @@
-[Unit]
-Description=GNU Mailing List Manager
-After=network.target
-
-[Service]
-ExecStart=/usr/lib/mailman/bin/mailmanctl -s start
-ExecReload=/usr/lib/mailman/bin/mailmanctl restart
-ExecStop=/usr/lib/mailman/bin/mailmanctl stop
-StandardError=syslog
-Type=forking
-ProtectSystem=full
-ProtectHostname=true
-MemoryDenyWriteExecute=yes
-PrivateDevices=yes
-
-[Install]
-WantedBy=multi-user.target
Copied: mailman/repos/community-x86_64/mailman.service (from rev 619323, mailman/trunk/mailman.service)
===================================================================
--- mailman.service (rev 0)
+++ mailman.service 2020-04-24 16:50:40 UTC (rev 619324)
@@ -0,0 +1,17 @@
+[Unit]
+Description=GNU Mailing List Manager
+After=network.target
+
+[Service]
+ExecStart=/usr/lib/mailman/bin/mailmanctl -s start
+ExecReload=/usr/lib/mailman/bin/mailmanctl restart
+ExecStop=/usr/lib/mailman/bin/mailmanctl stop
+StandardError=syslog
+Type=forking
+ProtectSystem=full
+ProtectHostname=true
+MemoryDenyWriteExecute=yes
+PrivateDevices=yes
+
+[Install]
+WantedBy=multi-user.target
Deleted: mailman.sysusers
===================================================================
--- mailman.sysusers 2020-04-24 16:50:18 UTC (rev 619323)
+++ mailman.sysusers 2020-04-24 16:50:40 UTC (rev 619324)
@@ -1 +0,0 @@
-u mailman 80 "GNU Mailing List Manager" /usr/lib/mailman
Copied: mailman/repos/community-x86_64/mailman.sysusers (from rev 619323, mailman/trunk/mailman.sysusers)
===================================================================
--- mailman.sysusers (rev 0)
+++ mailman.sysusers 2020-04-24 16:50:40 UTC (rev 619324)
@@ -0,0 +1 @@
+u mailman 80 "GNU Mailing List Manager" /usr/lib/mailman
More information about the arch-commits
mailing list