2013-03-07 03:25:10 +00:00
|
|
|
# Created by: n_hibma@qubesoft.com
|
Adding mailman version 1.1.
Mailman is software to help manage email discussion lists, much like Majordomo
and Smartmail. Unlike most similar products, Mailman gives each mailing list a
web page, and allows users to subscribe, unsubscribe, etc. over the web. Even
the list manager can administer his or her list entirely from the web. Mailman
also integrates most things people want to do with mailing lists, including
archiving, mail-to-news gateways, integrated bounce handling, spam prevention,
email-based admin commands, direct SMTP delivery (with fast bulk mailing),
support for virtual domains, and more.
PR: 19400
Submitted by: Nick Hibma <n_hibma@calcaphon.com>
2000-07-17 01:16:02 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= mailman
|
2013-11-25 07:56:14 +00:00
|
|
|
DISTVERSION= 2.1.17
|
2012-03-04 06:00:38 +00:00
|
|
|
CATEGORIES= mail
|
2010-10-17 01:38:20 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_GNU} \
|
Note that I could not fully test all integrations yet. If integrations are
failing, please add detailed information how you set up your MTA, and
Mailman, what user/group IDs are, how list aliases are managed, and
thereabouts.
- Update to 2.1.15. [2] Changes: click View the full Changelog on
https://launchpad.net/mailman/2.1/2.1.15
- Fix without-NLS install: Install at least English template. [1]
- Drop EXIM3 option, we don't have an Exim 3 port any more.
- Drop INTEGRATION option, which would at best be confusing.
- Reformat COMMENT to fit into common limits.
- Fix typo in COURIER_DESC.
- When Postfix integration is chosen, add BUILD and RUN_DEPENDS on
Postfix because we need the postconf program.
- Use htdig patches for Mailman version 2.1.12 and remove BROKEN tag,
in an experimental attempt to revive htdig support.
- Fix a few minor glitches in FreeBSD-post-install-notes.
- Drop files/patch-Mailman__Cgi__confirm.py, integrated in upstream tarball.
- Add launchpad.net to MASTER_SITES.
- Update files/postfix-verp.diff.
- Install a dummy one-line text file into PYTHON_SITELIBDIR so that
Python's upgrade-site-packages would reinstall Mailman. [1]
- Add "status" support for rc.d script. [3]
- Change pre-fetch: to pre-everything::
- Revise formatting of pre-everything text to make clear it displays
default values, not current values. To avoid ports/170280.
PR: ports/135503 [1]
PR: ports/170280 [2]
PR: ports/170285 [2]
PR: ports/176180 [1]
PR: ports/181298 [3]
Submitted by: Lowell Gilbert [1]
Submitted by: Stefan Lasiewski [2]
Submitted by: Oliver Fromme [3]
2013-08-29 22:58:07 +00:00
|
|
|
SF/${PORTNAME}/Mailman%202.1%20%28stable%29/${PORTVERSION} \
|
|
|
|
https://launchpad.net/mailman/${DISTVERSION:R}/${DISTVERSION}/+download/
|
2010-10-17 01:38:20 +00:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2001-12-06 07:45:02 +00:00
|
|
|
EXTRACT_SUFX= .tgz
|
2003-12-12 23:50:02 +00:00
|
|
|
DIST_SUBDIR= mailman
|
|
|
|
|
2013-08-21 08:05:53 +00:00
|
|
|
MAINTAINER= mandree@FreeBSD.org
|
Note that I could not fully test all integrations yet. If integrations are
failing, please add detailed information how you set up your MTA, and
Mailman, what user/group IDs are, how list aliases are managed, and
thereabouts.
- Update to 2.1.15. [2] Changes: click View the full Changelog on
https://launchpad.net/mailman/2.1/2.1.15
- Fix without-NLS install: Install at least English template. [1]
- Drop EXIM3 option, we don't have an Exim 3 port any more.
- Drop INTEGRATION option, which would at best be confusing.
- Reformat COMMENT to fit into common limits.
- Fix typo in COURIER_DESC.
- When Postfix integration is chosen, add BUILD and RUN_DEPENDS on
Postfix because we need the postconf program.
- Use htdig patches for Mailman version 2.1.12 and remove BROKEN tag,
in an experimental attempt to revive htdig support.
- Fix a few minor glitches in FreeBSD-post-install-notes.
- Drop files/patch-Mailman__Cgi__confirm.py, integrated in upstream tarball.
- Add launchpad.net to MASTER_SITES.
- Update files/postfix-verp.diff.
- Install a dummy one-line text file into PYTHON_SITELIBDIR so that
Python's upgrade-site-packages would reinstall Mailman. [1]
- Add "status" support for rc.d script. [3]
- Change pre-fetch: to pre-everything::
- Revise formatting of pre-everything text to make clear it displays
default values, not current values. To avoid ports/170280.
PR: ports/135503 [1]
PR: ports/170280 [2]
PR: ports/170285 [2]
PR: ports/176180 [1]
PR: ports/181298 [3]
Submitted by: Lowell Gilbert [1]
Submitted by: Stefan Lasiewski [2]
Submitted by: Oliver Fromme [3]
2013-08-29 22:58:07 +00:00
|
|
|
COMMENT= Mailing list manager with user-friendly web front-end
|
Adding mailman version 1.1.
Mailman is software to help manage email discussion lists, much like Majordomo
and Smartmail. Unlike most similar products, Mailman gives each mailing list a
web page, and allows users to subscribe, unsubscribe, etc. over the web. Even
the list manager can administer his or her list entirely from the web. Mailman
also integrates most things people want to do with mailing lists, including
archiving, mail-to-news gateways, integrated bounce handling, spam prevention,
email-based admin commands, direct SMTP delivery (with fast bulk mailing),
support for virtual domains, and more.
PR: 19400
Submitted by: Nick Hibma <n_hibma@calcaphon.com>
2000-07-17 01:16:02 +00:00
|
|
|
|
2012-03-04 06:00:38 +00:00
|
|
|
LICENSE= GPLv2
|
|
|
|
LICENSE_FILE= ${WRKSRC}/gnu-COPYING-GPL
|
|
|
|
|
|
|
|
CONFLICTS= ja-mailman-2.1.*
|
Adding mailman version 1.1.
Mailman is software to help manage email discussion lists, much like Majordomo
and Smartmail. Unlike most similar products, Mailman gives each mailing list a
web page, and allows users to subscribe, unsubscribe, etc. over the web. Even
the list manager can administer his or her list entirely from the web. Mailman
also integrates most things people want to do with mailing lists, including
archiving, mail-to-news gateways, integrated bounce handling, spam prevention,
email-based admin commands, direct SMTP delivery (with fast bulk mailing),
support for virtual domains, and more.
PR: 19400
Submitted by: Nick Hibma <n_hibma@calcaphon.com>
2000-07-17 01:16:02 +00:00
|
|
|
|
2011-06-21 16:00:53 +00:00
|
|
|
USE_AUTOTOOLS= autoconf
|
2013-10-18 16:42:11 +00:00
|
|
|
USE_PYTHON= 2.7
|
2012-03-04 06:00:38 +00:00
|
|
|
USE_RC_SUBR= mailman
|
|
|
|
|
|
|
|
GNU_CONFIGURE_PREFIX= ${MAILMANDIR}
|
2011-06-21 16:00:53 +00:00
|
|
|
CONFIGURE_ARGS+=--with-python=${PYTHON_CMD} \
|
2002-05-09 12:50:27 +00:00
|
|
|
--with-username=${MM_USERNAME} \
|
|
|
|
--with-groupname=${MM_GROUPNAME} \
|
2011-06-21 16:00:53 +00:00
|
|
|
--with-mail-gid=${MAIL_GID} --with-cgi-gid=${CGI_GID} \
|
|
|
|
--with-permcheck=no
|
2002-02-13 09:07:06 +00:00
|
|
|
|
2002-02-19 13:58:55 +00:00
|
|
|
# The Mailman port supports a number of variables that may be tweaked at
|
|
|
|
# build time. Getting the values of some of them right is crucial!
|
2002-02-08 14:04:37 +00:00
|
|
|
#
|
2002-05-09 12:50:27 +00:00
|
|
|
MM_USERNAME?= mailman
|
|
|
|
MM_USERID?= 91
|
|
|
|
MM_GROUPNAME?= ${MM_USERNAME}
|
|
|
|
MM_GROUPID?= ${MM_USERID}
|
|
|
|
MM_DIR?= mailman
|
2003-01-20 13:02:39 +00:00
|
|
|
CGI_GID?= www
|
2005-12-16 09:19:13 +00:00
|
|
|
IMGDIR?= www/icons
|
2002-02-20 09:09:44 +00:00
|
|
|
#
|
|
|
|
# End of user-configurable variables.
|
2002-02-08 14:04:37 +00:00
|
|
|
|
2011-06-21 16:00:53 +00:00
|
|
|
USERS= ${MM_USERNAME}
|
|
|
|
GROUPS= ${MM_GROUPNAME}
|
|
|
|
|
2002-05-09 12:50:27 +00:00
|
|
|
MAILMANDIR= ${PREFIX}/${MM_DIR}
|
2013-10-18 16:42:11 +00:00
|
|
|
PLIST_SUB= MMDIR=${MM_DIR} IMGDIR=${IMGDIR} MM_USERNAME=${MM_USERNAME} MM_GROUPNAME=${MM_GROUPNAME}
|
2012-03-04 06:00:38 +00:00
|
|
|
SUB_FILES= pkg-message pkg-install pkg-deinstall
|
|
|
|
SUB_LIST= MAILMANDIR=${MAILMANDIR} USER=${MM_USERNAME} GROUP=${MM_GROUPNAME}
|
2005-06-10 20:44:46 +00:00
|
|
|
|
2003-02-12 08:10:37 +00:00
|
|
|
IMGFILES= PythonPowered.png mailman.jpg mm-icon.png
|
Adding mailman version 1.1.
Mailman is software to help manage email discussion lists, much like Majordomo
and Smartmail. Unlike most similar products, Mailman gives each mailing list a
web page, and allows users to subscribe, unsubscribe, etc. over the web. Even
the list manager can administer his or her list entirely from the web. Mailman
also integrates most things people want to do with mailing lists, including
archiving, mail-to-news gateways, integrated bounce handling, spam prevention,
email-based admin commands, direct SMTP delivery (with fast bulk mailing),
support for virtual domains, and more.
PR: 19400
Submitted by: Nick Hibma <n_hibma@calcaphon.com>
2000-07-17 01:16:02 +00:00
|
|
|
|
2012-03-04 06:00:38 +00:00
|
|
|
PORTDOCS= ACKNOWLEDGMENTS BUGS FAQ INSTALL NEWS README README-I18N.en \
|
|
|
|
README.CONTRIB README.NETSCAPE \
|
|
|
|
README.USERAGENT TODO UPGRADING \
|
|
|
|
mailman-admin.txt \
|
|
|
|
mailman-install.txt \
|
|
|
|
mailman-member.txt \
|
|
|
|
FreeBSD-post-install-notes
|
|
|
|
|
Note that I could not fully test all integrations yet. If integrations are
failing, please add detailed information how you set up your MTA, and
Mailman, what user/group IDs are, how list aliases are managed, and
thereabouts.
- Update to 2.1.15. [2] Changes: click View the full Changelog on
https://launchpad.net/mailman/2.1/2.1.15
- Fix without-NLS install: Install at least English template. [1]
- Drop EXIM3 option, we don't have an Exim 3 port any more.
- Drop INTEGRATION option, which would at best be confusing.
- Reformat COMMENT to fit into common limits.
- Fix typo in COURIER_DESC.
- When Postfix integration is chosen, add BUILD and RUN_DEPENDS on
Postfix because we need the postconf program.
- Use htdig patches for Mailman version 2.1.12 and remove BROKEN tag,
in an experimental attempt to revive htdig support.
- Fix a few minor glitches in FreeBSD-post-install-notes.
- Drop files/patch-Mailman__Cgi__confirm.py, integrated in upstream tarball.
- Add launchpad.net to MASTER_SITES.
- Update files/postfix-verp.diff.
- Install a dummy one-line text file into PYTHON_SITELIBDIR so that
Python's upgrade-site-packages would reinstall Mailman. [1]
- Add "status" support for rc.d script. [3]
- Change pre-fetch: to pre-everything::
- Revise formatting of pre-everything text to make clear it displays
default values, not current values. To avoid ports/170280.
PR: ports/135503 [1]
PR: ports/170280 [2]
PR: ports/170285 [2]
PR: ports/176180 [1]
PR: ports/181298 [3]
Submitted by: Lowell Gilbert [1]
Submitted by: Stefan Lasiewski [2]
Submitted by: Oliver Fromme [3]
2013-08-29 22:58:07 +00:00
|
|
|
OPTIONS_SINGLE= MTA
|
|
|
|
OPTIONS_SINGLE_MTA= SENDMAIL EXIM4 POSTFIX COURIER
|
|
|
|
OPTIONS_DEFINE= HTDIG NAMAZU2 NLS DOCS
|
|
|
|
OPTIONS_DEFAULT= SENDMAIL
|
2012-06-13 05:55:02 +00:00
|
|
|
SENDMAIL_DESC= for use with sendmail
|
|
|
|
EXIM4_DESC= for use with exim4
|
|
|
|
POSTFIX_DESC= for use with postfix
|
Note that I could not fully test all integrations yet. If integrations are
failing, please add detailed information how you set up your MTA, and
Mailman, what user/group IDs are, how list aliases are managed, and
thereabouts.
- Update to 2.1.15. [2] Changes: click View the full Changelog on
https://launchpad.net/mailman/2.1/2.1.15
- Fix without-NLS install: Install at least English template. [1]
- Drop EXIM3 option, we don't have an Exim 3 port any more.
- Drop INTEGRATION option, which would at best be confusing.
- Reformat COMMENT to fit into common limits.
- Fix typo in COURIER_DESC.
- When Postfix integration is chosen, add BUILD and RUN_DEPENDS on
Postfix because we need the postconf program.
- Use htdig patches for Mailman version 2.1.12 and remove BROKEN tag,
in an experimental attempt to revive htdig support.
- Fix a few minor glitches in FreeBSD-post-install-notes.
- Drop files/patch-Mailman__Cgi__confirm.py, integrated in upstream tarball.
- Add launchpad.net to MASTER_SITES.
- Update files/postfix-verp.diff.
- Install a dummy one-line text file into PYTHON_SITELIBDIR so that
Python's upgrade-site-packages would reinstall Mailman. [1]
- Add "status" support for rc.d script. [3]
- Change pre-fetch: to pre-everything::
- Revise formatting of pre-everything text to make clear it displays
default values, not current values. To avoid ports/170280.
PR: ports/135503 [1]
PR: ports/170280 [2]
PR: ports/170285 [2]
PR: ports/176180 [1]
PR: ports/181298 [3]
Submitted by: Lowell Gilbert [1]
Submitted by: Stefan Lasiewski [2]
Submitted by: Oliver Fromme [3]
2013-08-29 22:58:07 +00:00
|
|
|
COURIER_DESC= for use with courier
|
|
|
|
HTDIG_DESC= - EXPERIMENTAL - htdig integration patches
|
|
|
|
NAMAZU2_DESC= Make private archives searchable with namazu2
|
|
|
|
MTA_DESC= Integrate with which MTA?
|
2012-03-04 06:00:38 +00:00
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2012-06-13 05:55:02 +00:00
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
2013-04-24 18:10:30 +00:00
|
|
|
USES+= gettext
|
2012-03-04 06:00:38 +00:00
|
|
|
PLIST_SUB+= NLS=""
|
2012-06-13 05:55:02 +00:00
|
|
|
.else
|
|
|
|
PLIST_SUB+= NLS="@comment "
|
Note that I could not fully test all integrations yet. If integrations are
failing, please add detailed information how you set up your MTA, and
Mailman, what user/group IDs are, how list aliases are managed, and
thereabouts.
- Update to 2.1.15. [2] Changes: click View the full Changelog on
https://launchpad.net/mailman/2.1/2.1.15
- Fix without-NLS install: Install at least English template. [1]
- Drop EXIM3 option, we don't have an Exim 3 port any more.
- Drop INTEGRATION option, which would at best be confusing.
- Reformat COMMENT to fit into common limits.
- Fix typo in COURIER_DESC.
- When Postfix integration is chosen, add BUILD and RUN_DEPENDS on
Postfix because we need the postconf program.
- Use htdig patches for Mailman version 2.1.12 and remove BROKEN tag,
in an experimental attempt to revive htdig support.
- Fix a few minor glitches in FreeBSD-post-install-notes.
- Drop files/patch-Mailman__Cgi__confirm.py, integrated in upstream tarball.
- Add launchpad.net to MASTER_SITES.
- Update files/postfix-verp.diff.
- Install a dummy one-line text file into PYTHON_SITELIBDIR so that
Python's upgrade-site-packages would reinstall Mailman. [1]
- Add "status" support for rc.d script. [3]
- Change pre-fetch: to pre-everything::
- Revise formatting of pre-everything text to make clear it displays
default values, not current values. To avoid ports/170280.
PR: ports/135503 [1]
PR: ports/170280 [2]
PR: ports/170285 [2]
PR: ports/176180 [1]
PR: ports/181298 [3]
Submitted by: Lowell Gilbert [1]
Submitted by: Stefan Lasiewski [2]
Submitted by: Oliver Fromme [3]
2013-08-29 22:58:07 +00:00
|
|
|
MAKE_ARGS+= LANGUAGES=en
|
2012-03-04 06:00:38 +00:00
|
|
|
.endif
|
2006-05-05 18:49:11 +00:00
|
|
|
|
2012-06-13 05:55:02 +00:00
|
|
|
.if ${PORT_OPTIONS:MSENDMAIL}
|
2006-06-08 15:20:10 +00:00
|
|
|
MAIL_GID?= mailnull
|
2006-05-05 18:49:11 +00:00
|
|
|
.endif
|
|
|
|
|
2012-06-13 05:55:02 +00:00
|
|
|
.if ${PORT_OPTIONS:MEXIM4}
|
2006-06-08 15:20:10 +00:00
|
|
|
MAIL_GID?= mail
|
2006-05-05 18:49:11 +00:00
|
|
|
.endif
|
|
|
|
|
2012-06-13 05:55:02 +00:00
|
|
|
.if ${PORT_OPTIONS:MPOSTFIX}
|
Note that I could not fully test all integrations yet. If integrations are
failing, please add detailed information how you set up your MTA, and
Mailman, what user/group IDs are, how list aliases are managed, and
thereabouts.
- Update to 2.1.15. [2] Changes: click View the full Changelog on
https://launchpad.net/mailman/2.1/2.1.15
- Fix without-NLS install: Install at least English template. [1]
- Drop EXIM3 option, we don't have an Exim 3 port any more.
- Drop INTEGRATION option, which would at best be confusing.
- Reformat COMMENT to fit into common limits.
- Fix typo in COURIER_DESC.
- When Postfix integration is chosen, add BUILD and RUN_DEPENDS on
Postfix because we need the postconf program.
- Use htdig patches for Mailman version 2.1.12 and remove BROKEN tag,
in an experimental attempt to revive htdig support.
- Fix a few minor glitches in FreeBSD-post-install-notes.
- Drop files/patch-Mailman__Cgi__confirm.py, integrated in upstream tarball.
- Add launchpad.net to MASTER_SITES.
- Update files/postfix-verp.diff.
- Install a dummy one-line text file into PYTHON_SITELIBDIR so that
Python's upgrade-site-packages would reinstall Mailman. [1]
- Add "status" support for rc.d script. [3]
- Change pre-fetch: to pre-everything::
- Revise formatting of pre-everything text to make clear it displays
default values, not current values. To avoid ports/170280.
PR: ports/135503 [1]
PR: ports/170280 [2]
PR: ports/170285 [2]
PR: ports/176180 [1]
PR: ports/181298 [3]
Submitted by: Lowell Gilbert [1]
Submitted by: Stefan Lasiewski [2]
Submitted by: Oliver Fromme [3]
2013-08-29 22:58:07 +00:00
|
|
|
RUN_DEPENDS+= ${LOCALBASE}/sbin/postconf:${PORTSDIR}/mail/postfix
|
|
|
|
BUILD_DEPENDS+= ${LOCALBASE}/sbin/postconf:${PORTSDIR}/mail/postfix
|
2012-03-04 06:00:38 +00:00
|
|
|
MAIL_GID?= mailman
|
2007-10-22 21:26:49 +00:00
|
|
|
EXTRA_PATCHES+= ${FILESDIR}/postfix-verp.diff
|
2006-05-05 18:49:11 +00:00
|
|
|
.endif
|
|
|
|
|
2012-06-13 05:55:02 +00:00
|
|
|
.if ${PORT_OPTIONS:MCOURIER}
|
2007-05-31 12:51:56 +00:00
|
|
|
MAIL_GID?= courier
|
|
|
|
.endif
|
|
|
|
|
2012-06-13 05:55:02 +00:00
|
|
|
.if ${PORT_OPTIONS:MHTDIG}
|
2006-05-05 18:49:11 +00:00
|
|
|
PATCH_SITES+= http://www.openinfo.co.uk/mm/patches/444879/:patch1 \
|
|
|
|
http://www.openinfo.co.uk/mm/patches/444884/:patch2
|
Note that I could not fully test all integrations yet. If integrations are
failing, please add detailed information how you set up your MTA, and
Mailman, what user/group IDs are, how list aliases are managed, and
thereabouts.
- Update to 2.1.15. [2] Changes: click View the full Changelog on
https://launchpad.net/mailman/2.1/2.1.15
- Fix without-NLS install: Install at least English template. [1]
- Drop EXIM3 option, we don't have an Exim 3 port any more.
- Drop INTEGRATION option, which would at best be confusing.
- Reformat COMMENT to fit into common limits.
- Fix typo in COURIER_DESC.
- When Postfix integration is chosen, add BUILD and RUN_DEPENDS on
Postfix because we need the postconf program.
- Use htdig patches for Mailman version 2.1.12 and remove BROKEN tag,
in an experimental attempt to revive htdig support.
- Fix a few minor glitches in FreeBSD-post-install-notes.
- Drop files/patch-Mailman__Cgi__confirm.py, integrated in upstream tarball.
- Add launchpad.net to MASTER_SITES.
- Update files/postfix-verp.diff.
- Install a dummy one-line text file into PYTHON_SITELIBDIR so that
Python's upgrade-site-packages would reinstall Mailman. [1]
- Add "status" support for rc.d script. [3]
- Change pre-fetch: to pre-everything::
- Revise formatting of pre-everything text to make clear it displays
default values, not current values. To avoid ports/170280.
PR: ports/135503 [1]
PR: ports/170280 [2]
PR: ports/170285 [2]
PR: ports/176180 [1]
PR: ports/181298 [3]
Submitted by: Lowell Gilbert [1]
Submitted by: Stefan Lasiewski [2]
Submitted by: Oliver Fromme [3]
2013-08-29 22:58:07 +00:00
|
|
|
PATCHFILES+= indexing-2.1.12-0.1.patch.gz:patch1 \
|
|
|
|
htdig-2.1.12-0.1.patch.gz:patch2
|
2006-05-05 18:49:11 +00:00
|
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
PKGNAMESUFFIX+= -with-htdig
|
|
|
|
RUN_DEPENDS+= htdig:${PORTSDIR}/textproc/htdig
|
|
|
|
PLIST_SUB+= SUB_HTDIG=""
|
|
|
|
.else
|
|
|
|
PLIST_SUB+= SUB_HTDIG="@comment "
|
2002-02-19 13:58:55 +00:00
|
|
|
.endif
|
|
|
|
|
2012-06-13 05:55:02 +00:00
|
|
|
.if ${PORT_OPTIONS:MNAMAZU2}
|
2011-04-17 13:34:01 +00:00
|
|
|
RUN_DEPENDS+= mknmz:${PORTSDIR}/databases/namazu2
|
|
|
|
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-Mailman-Cgi-private.py
|
|
|
|
.endif
|
|
|
|
|
Note that I could not fully test all integrations yet. If integrations are
failing, please add detailed information how you set up your MTA, and
Mailman, what user/group IDs are, how list aliases are managed, and
thereabouts.
- Update to 2.1.15. [2] Changes: click View the full Changelog on
https://launchpad.net/mailman/2.1/2.1.15
- Fix without-NLS install: Install at least English template. [1]
- Drop EXIM3 option, we don't have an Exim 3 port any more.
- Drop INTEGRATION option, which would at best be confusing.
- Reformat COMMENT to fit into common limits.
- Fix typo in COURIER_DESC.
- When Postfix integration is chosen, add BUILD and RUN_DEPENDS on
Postfix because we need the postconf program.
- Use htdig patches for Mailman version 2.1.12 and remove BROKEN tag,
in an experimental attempt to revive htdig support.
- Fix a few minor glitches in FreeBSD-post-install-notes.
- Drop files/patch-Mailman__Cgi__confirm.py, integrated in upstream tarball.
- Add launchpad.net to MASTER_SITES.
- Update files/postfix-verp.diff.
- Install a dummy one-line text file into PYTHON_SITELIBDIR so that
Python's upgrade-site-packages would reinstall Mailman. [1]
- Add "status" support for rc.d script. [3]
- Change pre-fetch: to pre-everything::
- Revise formatting of pre-everything text to make clear it displays
default values, not current values. To avoid ports/170280.
PR: ports/135503 [1]
PR: ports/170280 [2]
PR: ports/170285 [2]
PR: ports/176180 [1]
PR: ports/181298 [3]
Submitted by: Lowell Gilbert [1]
Submitted by: Stefan Lasiewski [2]
Submitted by: Oliver Fromme [3]
2013-08-29 22:58:07 +00:00
|
|
|
pre-everything::
|
2006-05-09 18:07:54 +00:00
|
|
|
@${ECHO} ""
|
2006-09-08 19:15:59 +00:00
|
|
|
@${ECHO} "You may change the following build options:"
|
Note that I could not fully test all integrations yet. If integrations are
failing, please add detailed information how you set up your MTA, and
Mailman, what user/group IDs are, how list aliases are managed, and
thereabouts.
- Update to 2.1.15. [2] Changes: click View the full Changelog on
https://launchpad.net/mailman/2.1/2.1.15
- Fix without-NLS install: Install at least English template. [1]
- Drop EXIM3 option, we don't have an Exim 3 port any more.
- Drop INTEGRATION option, which would at best be confusing.
- Reformat COMMENT to fit into common limits.
- Fix typo in COURIER_DESC.
- When Postfix integration is chosen, add BUILD and RUN_DEPENDS on
Postfix because we need the postconf program.
- Use htdig patches for Mailman version 2.1.12 and remove BROKEN tag,
in an experimental attempt to revive htdig support.
- Fix a few minor glitches in FreeBSD-post-install-notes.
- Drop files/patch-Mailman__Cgi__confirm.py, integrated in upstream tarball.
- Add launchpad.net to MASTER_SITES.
- Update files/postfix-verp.diff.
- Install a dummy one-line text file into PYTHON_SITELIBDIR so that
Python's upgrade-site-packages would reinstall Mailman. [1]
- Add "status" support for rc.d script. [3]
- Change pre-fetch: to pre-everything::
- Revise formatting of pre-everything text to make clear it displays
default values, not current values. To avoid ports/170280.
PR: ports/135503 [1]
PR: ports/170280 [2]
PR: ports/170285 [2]
PR: ports/176180 [1]
PR: ports/181298 [3]
Submitted by: Lowell Gilbert [1]
Submitted by: Stefan Lasiewski [2]
Submitted by: Oliver Fromme [3]
2013-08-29 22:58:07 +00:00
|
|
|
@${ECHO} ""
|
|
|
|
@${ECHO} "Option Default Value Description"
|
|
|
|
@${ECHO} "------------- --------------- ------------------------------------------------"
|
|
|
|
@${ECHO} "MM_USERNAME mailman The username of the Mailman user."
|
|
|
|
@${ECHO} "MM_USERID 91 The user ID of the Mailman user."
|
|
|
|
@${ECHO} "MM_GROUPNAME mailman The group to which the Mailman user will belong."
|
|
|
|
@${ECHO} "MM_GROUPID \$$MM_USERID The group ID for the Mailman user."
|
|
|
|
@${ECHO} "MM_DIR mailman Mailman will be installed in"
|
|
|
|
@${ECHO} " ${PREFIX}/${MM_DIR}."
|
|
|
|
@${ECHO} "CGI_GID www The group name or id under which your web"
|
|
|
|
@${ECHO} " server executes CGI scripts."
|
2013-09-02 21:52:27 +00:00
|
|
|
@${ECHO} "IMGDIR www/icons Icon images will be installed in"
|
Note that I could not fully test all integrations yet. If integrations are
failing, please add detailed information how you set up your MTA, and
Mailman, what user/group IDs are, how list aliases are managed, and
thereabouts.
- Update to 2.1.15. [2] Changes: click View the full Changelog on
https://launchpad.net/mailman/2.1/2.1.15
- Fix without-NLS install: Install at least English template. [1]
- Drop EXIM3 option, we don't have an Exim 3 port any more.
- Drop INTEGRATION option, which would at best be confusing.
- Reformat COMMENT to fit into common limits.
- Fix typo in COURIER_DESC.
- When Postfix integration is chosen, add BUILD and RUN_DEPENDS on
Postfix because we need the postconf program.
- Use htdig patches for Mailman version 2.1.12 and remove BROKEN tag,
in an experimental attempt to revive htdig support.
- Fix a few minor glitches in FreeBSD-post-install-notes.
- Drop files/patch-Mailman__Cgi__confirm.py, integrated in upstream tarball.
- Add launchpad.net to MASTER_SITES.
- Update files/postfix-verp.diff.
- Install a dummy one-line text file into PYTHON_SITELIBDIR so that
Python's upgrade-site-packages would reinstall Mailman. [1]
- Add "status" support for rc.d script. [3]
- Change pre-fetch: to pre-everything::
- Revise formatting of pre-everything text to make clear it displays
default values, not current values. To avoid ports/170280.
PR: ports/135503 [1]
PR: ports/170280 [2]
PR: ports/170285 [2]
PR: ports/176180 [1]
PR: ports/181298 [3]
Submitted by: Lowell Gilbert [1]
Submitted by: Stefan Lasiewski [2]
Submitted by: Oliver Fromme [3]
2013-08-29 22:58:07 +00:00
|
|
|
@${ECHO} " ${PREFIX}/${IMGDIR}."
|
2006-05-09 18:07:54 +00:00
|
|
|
@${ECHO} ""
|
|
|
|
|
2003-01-20 13:02:39 +00:00
|
|
|
post-patch:
|
2006-05-05 18:49:11 +00:00
|
|
|
@${REINPLACE_CMD} -e 's#%%LOCALBASE%%#${LOCALBASE}#g' \
|
2003-01-20 13:02:39 +00:00
|
|
|
${WRKSRC}/Mailman/Defaults.py.in
|
2011-06-26 07:27:12 +00:00
|
|
|
@${REINPLACE_CMD} -e 's/^0,5,10/#&/' ${WRKSRC}/cron/crontab.in.in
|
2012-06-17 21:57:30 +00:00
|
|
|
.if empty(PORT_OPTIONS:MNLS)
|
2012-03-04 06:00:38 +00:00
|
|
|
@${REINPLACE_CMD} -e 's/messages//' ${WRKSRC}/Makefile.in
|
|
|
|
.endif
|
|
|
|
|
Note that I could not fully test all integrations yet. If integrations are
failing, please add detailed information how you set up your MTA, and
Mailman, what user/group IDs are, how list aliases are managed, and
thereabouts.
- Update to 2.1.15. [2] Changes: click View the full Changelog on
https://launchpad.net/mailman/2.1/2.1.15
- Fix without-NLS install: Install at least English template. [1]
- Drop EXIM3 option, we don't have an Exim 3 port any more.
- Drop INTEGRATION option, which would at best be confusing.
- Reformat COMMENT to fit into common limits.
- Fix typo in COURIER_DESC.
- When Postfix integration is chosen, add BUILD and RUN_DEPENDS on
Postfix because we need the postconf program.
- Use htdig patches for Mailman version 2.1.12 and remove BROKEN tag,
in an experimental attempt to revive htdig support.
- Fix a few minor glitches in FreeBSD-post-install-notes.
- Drop files/patch-Mailman__Cgi__confirm.py, integrated in upstream tarball.
- Add launchpad.net to MASTER_SITES.
- Update files/postfix-verp.diff.
- Install a dummy one-line text file into PYTHON_SITELIBDIR so that
Python's upgrade-site-packages would reinstall Mailman. [1]
- Add "status" support for rc.d script. [3]
- Change pre-fetch: to pre-everything::
- Revise formatting of pre-everything text to make clear it displays
default values, not current values. To avoid ports/170280.
PR: ports/135503 [1]
PR: ports/170280 [2]
PR: ports/170285 [2]
PR: ports/176180 [1]
PR: ports/181298 [3]
Submitted by: Lowell Gilbert [1]
Submitted by: Stefan Lasiewski [2]
Submitted by: Oliver Fromme [3]
2013-08-29 22:58:07 +00:00
|
|
|
.if ${PORT_OPTIONS:MPOSTFIX}
|
2012-03-04 06:00:38 +00:00
|
|
|
pre-configure:
|
|
|
|
@${ECHO} "MTA = 'Postfix'" >> ${WRKSRC}/Mailman/mm_cfg.py.dist.in
|
|
|
|
.endif
|
2001-12-06 07:45:02 +00:00
|
|
|
|
Adding mailman version 1.1.
Mailman is software to help manage email discussion lists, much like Majordomo
and Smartmail. Unlike most similar products, Mailman gives each mailing list a
web page, and allows users to subscribe, unsubscribe, etc. over the web. Even
the list manager can administer his or her list entirely from the web. Mailman
also integrates most things people want to do with mailing lists, including
archiving, mail-to-news gateways, integrated bounce handling, spam prevention,
email-based admin commands, direct SMTP delivery (with fast bulk mailing),
support for virtual domains, and more.
PR: 19400
Submitted by: Nick Hibma <n_hibma@calcaphon.com>
2000-07-17 01:16:02 +00:00
|
|
|
post-install:
|
2013-10-18 16:42:11 +00:00
|
|
|
.for i in admindb admin confirm create edithtml listinfo options private \
|
|
|
|
rmlist roster subscribe
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${MAILMANDIR}/cgi-bin/${i}
|
2002-02-11 14:24:46 +00:00
|
|
|
.endfor
|
2013-10-18 16:42:11 +00:00
|
|
|
.if ${PORT_OPTIONS:MHTDIG}
|
|
|
|
.for i in htdig mmsearch
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${MAILMANDIR}/cgi-bin/${i}
|
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
${STRIP_CMD} ${STAGEDIR}${MAILMANDIR}/mail/mailman
|
2013-10-18 18:34:09 +00:00
|
|
|
# Compile additional Python scripts:
|
|
|
|
.for dir in bin
|
2013-10-18 16:42:11 +00:00
|
|
|
(cd ${STAGEDIR}${MAILMANDIR} \
|
|
|
|
&& ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
|
2013-10-18 18:34:09 +00:00
|
|
|
-d ${MAILMANDIR}/${dir} ${dir})
|
2013-10-18 16:42:11 +00:00
|
|
|
.endfor
|
|
|
|
@${RM} -f ${STAGEDIR}${MAILMANDIR}/pythonlib/*.egg-info
|
|
|
|
@${RM} -f ${STAGEDIR}${MAILMANDIR}/Mailman/mm_cfg.pyc
|
|
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/${IMGDIR}
|
2003-02-12 08:10:37 +00:00
|
|
|
.for imgfile in ${IMGFILES}
|
2013-10-18 16:42:11 +00:00
|
|
|
${CP} ${STAGEDIR}${MAILMANDIR}/icons/${imgfile} ${STAGEDIR}${PREFIX}/${IMGDIR}
|
2002-02-20 09:09:44 +00:00
|
|
|
.endfor
|
2013-10-18 16:42:11 +00:00
|
|
|
uudecode -p ${FILESDIR}/powerlogo.gif.uue > \
|
|
|
|
${STAGEDIR}${PREFIX}/${IMGDIR}/powerlogo.gif
|
2012-06-13 05:55:02 +00:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2013-10-18 16:42:11 +00:00
|
|
|
${CP} -R ${WRKSRC}/doc/* ${WRKSRC}/
|
|
|
|
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
${INSTALL_DATA} ${FILESDIR}/FreeBSD-post-install-notes ${STAGEDIR}${DOCSDIR}
|
2012-03-04 06:00:38 +00:00
|
|
|
.for docfile in ${PORTDOCS:NFreeBSD-post-install-notes}
|
2013-10-18 16:42:11 +00:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/${docfile} ${STAGEDIR}${DOCSDIR}
|
2001-01-08 10:04:49 +00:00
|
|
|
.endfor
|
|
|
|
.endif
|
2013-10-18 16:42:11 +00:00
|
|
|
${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
|
|
|
|
${ECHO} "This marker file ensures that Python's upgrade-site-packages handles ${PKGNAME}." >${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/mailman-info.txt
|
2012-06-13 05:55:02 +00:00
|
|
|
.if ${PORT_OPTIONS:MPOSTFIX}
|
2006-09-08 19:56:29 +00:00
|
|
|
@if [ "x`${LOCALBASE}/sbin/postconf -h myhostname`" != "xlocalhost" ]; then \
|
2006-09-08 19:15:59 +00:00
|
|
|
${ECHO_CMD} ""; \
|
|
|
|
${ECHO_CMD} "Your Postfix hostname is non-default."; \
|
2011-03-29 02:38:16 +00:00
|
|
|
${ECHO_CMD} -n "You must add \"SMTPHOST = "; \
|
2006-09-08 19:56:29 +00:00
|
|
|
${ECHO_CMD} -n `${LOCALBASE}/sbin/postconf -h myhostname`; \
|
2006-09-08 19:15:59 +00:00
|
|
|
${ECHO_CMD} "\" to the bottom of mm_cfg.py."; \
|
|
|
|
${ECHO_CMD} ""; \
|
|
|
|
fi
|
|
|
|
.endif
|
Adding mailman version 1.1.
Mailman is software to help manage email discussion lists, much like Majordomo
and Smartmail. Unlike most similar products, Mailman gives each mailing list a
web page, and allows users to subscribe, unsubscribe, etc. over the web. Even
the list manager can administer his or her list entirely from the web. Mailman
also integrates most things people want to do with mailing lists, including
archiving, mail-to-news gateways, integrated bounce handling, spam prevention,
email-based admin commands, direct SMTP delivery (with fast bulk mailing),
support for virtual domains, and more.
PR: 19400
Submitted by: Nick Hibma <n_hibma@calcaphon.com>
2000-07-17 01:16:02 +00:00
|
|
|
|
2012-03-04 06:00:38 +00:00
|
|
|
.include <bsd.port.mk>
|