aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorTAKATSU Tomonari <tota@FreeBSD.org>2014-07-05 17:42:23 +0000
committerTAKATSU Tomonari <tota@FreeBSD.org>2014-07-05 17:42:23 +0000
commit72c2472a7ff92483c276612679a25ad43f748651 (patch)
treea1f94cff607eb8e90a0a6c925806d8bff01da2bf /japanese
parent0f7b5354b93c4abfcd70f143cef77276ed3c0bfd (diff)
downloadports-72c2472a7ff92483c276612679a25ad43f748651.tar.gz
ports-72c2472a7ff92483c276612679a25ad43f748651.zip
Notes
Diffstat (limited to 'japanese')
-rw-r--r--japanese/mailman/Makefile98
-rw-r--r--japanese/mailman/files/FreeBSD-post-install-notes18
-rw-r--r--japanese/mailman/files/mailman.in14
-rw-r--r--japanese/mailman/files/pkg-deinstall.in33
-rw-r--r--japanese/mailman/files/pkg-install.in20
-rw-r--r--japanese/mailman/files/pkg-message.in19
-rw-r--r--japanese/mailman/pkg-descr2
-rw-r--r--japanese/mailman/pkg-plist12
8 files changed, 121 insertions, 95 deletions
diff --git a/japanese/mailman/Makefile b/japanese/mailman/Makefile
index 55e3d5958555..e6c0cb86eb62 100644
--- a/japanese/mailman/Makefile
+++ b/japanese/mailman/Makefile
@@ -3,6 +3,7 @@
PORTNAME= mailman
PORTVERSION= 2.1.14.j7
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= japanese mail
MASTER_SITES= http://www.python.jp/doc/contrib/mailman/_static/ \
@@ -24,7 +25,7 @@ PORTSCOUT= limit:.*\.j\d+$$
USE_AUTOTOOLS= autoconf
USES= gettext
-USE_PYTHON= yes
+USE_PYTHON= 2
USE_RC_SUBR= mailman
GNU_CONFIGURE_PREFIX= ${MAILMANDIR}
@@ -66,42 +67,34 @@ PORTDOCS= ACKNOWLEDGMENTS BUGS FAQ INSTALL NEWS NEWS.japan.utf-8 \
mailman-member.txt \
FreeBSD-post-install-notes
-OPTIONS_DEFINE= INTEGRATION NAMAZU2
+OPTIONS_DEFINE= DOCS NAMAZU2
-OPTIONS_SINGLE= MTA
-OPTIONS_SINGLE_MTA= SENDMAIL EXIM3 EXIM4 POSTFIX COURIER
+OPTIONS_SINGLE= MTA
+OPTIONS_SINGLE_MTA= SENDMAIL EXIM4 POSTFIX COURIER
-INTEGRATION_DESC= integrating postfix and mailman
-NAMAZU2_DESC= make private archives searchable with namazu2
-SENDMAIL_DESC= for use with sendmail
-EXIM3_DESC= for use with exim3
-EXIM4_DESC= for use with exim4
-POSTFIX_DESC= for use with postfix
-COURIER_DESC= for use with courier
+NAMAZU2_DESC= Make private archives searchable with namazu2
+MTA_DESC= Integrate with which MTA?
+SENDMAIL_DESC= for use with sendmail
+EXIM4_DESC= for use with exim4
+POSTFIX_DESC= for use with postfix
+COURIER_DESC= for use with courier
OPTIONS_DEFAULT= SENDMAIL
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MSENDMAIL}
MAIL_GID?= mailnull
.endif
-.if ${PORT_OPTIONS:MEXIM3}
-MAIL_GID?= nobody
-.endif
-
.if ${PORT_OPTIONS:MEXIM4}
MAIL_GID?= mail
.endif
.if ${PORT_OPTIONS:MPOSTFIX}
-.if ${PORT_OPTIONS:MINTEGRATION}
+RUN_DEPENDS+= ${LOCALBASE}/sbin/postconf:${PORTSDIR}/mail/postfix
+BUILD_DEPENDS+= ${LOCALBASE}/sbin/postconf:${PORTSDIR}/mail/postfix
MAIL_GID?= mailman
-.else
-MAIL_GID?= nobody
-.endif
EXTRA_PATCHES+= ${FILESDIR}/postfix-verp.diff
.endif
@@ -114,16 +107,22 @@ RUN_DEPENDS+= mknmz:${PORTSDIR}/japanese/namazu2
EXTRA_PATCHES+= ${FILESDIR}/extra-patch-Mailman-Cgi-private.py
.endif
-pre-fetch:
+pre-everything::
@${ECHO} ""
@${ECHO} "You may change the following build options:"
- @${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 ${PREFIX}/${MM_DIR}."
- @${ECHO} "CGI_GID=www The group name or id under which your web server executes CGI scripts."
- @${ECHO} "IMGDIR=www/icons Icon images will be installed in ${PREFIX}/${IMGDIR}."
+ @${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."
+ @${ECHO} "IMGDIR www/icons Icon images will be installed in"
+ @${ECHO} " ${PREFIX}/${IMGDIR}."
@${ECHO} ""
post-patch:
@@ -134,32 +133,43 @@ post-patch:
pre-configure:
@${ECHO} "DEFAULT_SERVER_LANGUAGE = 'ja'" >> ${WRKSRC}/Mailman/mm_cfg.py.dist.in
@${ECHO} "GLOBAL_PIPELINE.insert(1, 'iso2022jpfix')" >> ${WRKSRC}/Mailman/mm_cfg.py.dist.in
-.if ${PORT_OPTIONS:MPOSTFIX} && ${PORT_OPTIONS:MINTEGRATION}
+.if ${PORT_OPTIONS:MPOSTFIX}
@${ECHO} "MTA = 'Postfix'" >> ${WRKSRC}/Mailman/mm_cfg.py.dist.in
.endif
post-install:
- @${RM} -f ${MAILMANDIR}/pythonlib/*.egg-info
-.for dir in cron scripts
- @${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py ${MAILMANDIR}/${dir}
+.for i in admin admindb confirm create edithtml listinfo options private \
+ rmlist roster subscribe
+ ${STRIP_CMD} ${STAGEDIR}${MAILMANDIR}/cgi-bin/${i}
+.endfor
+ ${STRIP_CMD} ${STAGEDIR}${MAILMANDIR}/mail/mailman
+ ${STRIP_CMD} ${STAGEDIR}${MAILMANDIR}/pythonlib/pykf.so
+# Compile additional Python scripts:
+.for dir in Mailman bin pythonlib
+ (cd ${STAGEDIR}${MAILMANDIR} \
+ && ${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
+ -f -d ${MAILMANDIR}/${dir} ${dir})
.endfor
- @${CHGRP} -R ${MM_GROUPNAME} ${MAILMANDIR}
- @${MKDIR} ${PREFIX}/${IMGDIR}
+ @${RM} -f ${STAGEDIR}${MAILMANDIR}/pythonlib/*.egg-info
+ # mm_cfg.py is handled by pkg-plist:
+ @${RM} -f ${STAGEDIR}${MAILMANDIR}/Mailman/mm_cfg.py
+ @${RM} -f ${STAGEDIR}${MAILMANDIR}/Mailman/mm_cfg.pyc
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${IMGDIR}
.for imgfile in ${IMGFILES}
- @${CP} ${MAILMANDIR}/icons/${imgfile} ${PREFIX}/${IMGDIR}
+ ${CP} ${STAGEDIR}${MAILMANDIR}/icons/${imgfile} ${STAGEDIR}${PREFIX}/${IMGDIR}
.endfor
- @uudecode -p ${FILESDIR}/powerlogo.gif.uue > \
- ${PREFIX}/${IMGDIR}/powerlogo.gif
-.if !defined(NOPORTDOCS)
- @${CP} -R ${WRKSRC}/doc/* ${WRKSRC}/
- @${MKDIR} ${DOCSDIR}
- @${INSTALL_DATA} ${FILESDIR}/FreeBSD-post-install-notes ${DOCSDIR}
+ uudecode -p ${FILESDIR}/powerlogo.gif.uue > \
+ ${STAGEDIR}${PREFIX}/${IMGDIR}/powerlogo.gif
+.if ${PORT_OPTIONS:MDOCS}
+ ${CP} -R ${WRKSRC}/doc/* ${WRKSRC}/
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${FILESDIR}/FreeBSD-post-install-notes ${STAGEDIR}${DOCSDIR}
.for docfile in ${PORTDOCS:NFreeBSD-post-install-notes}
- @${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
- @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL
- @${CAT} ${PKGMESSAGE}
+ @${MKDIR} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
+ ${ECHO} "This marker file ensures that Python's upgrade-site-packages handles ${PKGNAME}." >${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/mailman-info.txt
.if ${PORT_OPTIONS:MPOSTFIX}
@if [ "x`${LOCALBASE}/sbin/postconf -h myhostname`" != "xlocalhost" ]; then \
${ECHO_CMD} ""; \
diff --git a/japanese/mailman/files/FreeBSD-post-install-notes b/japanese/mailman/files/FreeBSD-post-install-notes
index 67f67640ef7f..62f8d27bea9b 100644
--- a/japanese/mailman/files/FreeBSD-post-install-notes
+++ b/japanese/mailman/files/FreeBSD-post-install-notes
@@ -21,6 +21,7 @@ VERY IMPORTANT NOTE
The Mailman port has a number of build time options. Getting the values of
some of these right is CRUCIAL if you want your Mailman installation to work!
+
1) General post-installation instructions
You should find two files named "INSTALL" and "README" in the same
@@ -37,7 +38,7 @@ some of these right is CRUCIAL if you want your Mailman installation to work!
Mailman port works well with either Apache 1.3.x or Apache 2.x as
installed from their respective ports (www/apache13 and www/apache2).
- If you're using Apache, you need to add at least two lines to your
+ If you are using Apache, you need to add at least two lines to your
httpd.conf. Assuming that you installed the Mailman port in the default
location (/usr/local/mailman), they are:
@@ -86,10 +87,6 @@ some of these right is CRUCIAL if you want your Mailman installation to work!
exim_user = mailnull
exim_group = mail
- For Exim 3.x, the value of MAIL_GID has to be set to 'nobody' (or 65534)
- when building the Mailman port, so you have to choose EXIM3 on build options
- to set it to you.
-
For Exim 4.x, the value of MAIL_GID has to be set to 'mail' (or 6) when
building the Mailman port, so you have to choose EXIM4 on build options to
set it to you.
@@ -117,8 +114,8 @@ some of these right is CRUCIAL if you want your Mailman installation to work!
# /usr/local/etc/rc.d/mailman start
Troubleshooting: If you ever see an error message such as the following
- in your Exim's mainlog, it's a sure sign that Exim and Mailman disagree
- about the GID under which mail is delivered:
+ in your Exim's mainlog, that is a sure sign that Exim and Mailman
+ disagree about the GID under which mail is delivered:
** testlist@your.host.com R=mailman_router T=mailman_transport:
Child process of mailman_transport transport returned 2 from command:
@@ -152,10 +149,11 @@ some of these right is CRUCIAL if you want your Mailman installation to work!
Mailman port with Qmail. Please submit any such information to the
maintainer of the Mailman port.
+
4) Apache configuration
- You should add the follow lines in you httpd.conf to mailman interface
- works correctly:
+ You should add the follow lines to your httpd.conf so
+ that the mailman interface works correctly:
<Directory "/usr/local/mailman">
Options FollowSymLinks ExecCGI
@@ -169,4 +167,4 @@ some of these right is CRUCIAL if you want your Mailman installation to work!
# apachectl restart.
-- Jean Milanez Melo <jmelo@FreeBSD.org>
- (Mailman port maintainer)
+ (former Mailman port maintainer)
diff --git a/japanese/mailman/files/mailman.in b/japanese/mailman/files/mailman.in
index 6efc839a273e..0ac5450c53d4 100644
--- a/japanese/mailman/files/mailman.in
+++ b/japanese/mailman/files/mailman.in
@@ -23,7 +23,8 @@ load_rc_config $name
start_cmd=${name}_start
stop_cmd=${name}_stop
-extra_commands="reload"
+status_cmd=${name}_status
+extra_commands="reload status"
mailman_start() {
%%MAILMANDIR%%/bin/mailmanctl -s -q start
@@ -35,4 +36,15 @@ mailman_stop() {
|| echo ${name} not running? \(check ${pidfile}\)
}
+mailman_status() {
+ local retcode=0
+ if [ -f $pidfile ] && ps -p $(cat $pidfile) > /dev/null; then
+ echo $name is running as pid $(cat $pidfile).
+ else
+ echo $name is not running.
+ retcode=1
+ fi
+ return $retcode
+}
+
run_rc_command "$1"
diff --git a/japanese/mailman/files/pkg-deinstall.in b/japanese/mailman/files/pkg-deinstall.in
index 48ad970113fc..f8a389e8d545 100644
--- a/japanese/mailman/files/pkg-deinstall.in
+++ b/japanese/mailman/files/pkg-deinstall.in
@@ -5,26 +5,25 @@
PATH=/bin:/usr/bin:/usr/sbin
case $2 in
-
DEINSTALL)
- echo "---> Starting deinstall script:"
+ echo "---> Starting deinstall script"
if /usr/bin/crontab -u "%%USER%%" -l | \
- /usr/bin/diff - %%MAILMANDIR%%/cron/crontab.in >/dev/null 2>&1 ; then
+ /usr/bin/diff -B -b - "%%MAILMANDIR%%/cron/crontab.in" >/dev/null 2>&1 ; then
echo "---> Zeroing crontab for \"%%USER%%\""
- /usr/bin/crontab -u "%%USER%%" /dev/null
+ /usr/bin/crontab -u "%%USER%%" -r </dev/null
if [ -e /var/cron/allow ]; then
- grep -v %%USER%% /var/cron/allow > /var/cron/allow.new
- mv /var/cron/allow.new /var/cron/allow
+ grep -v "^%%USER%%$" /var/cron/allow > /var/cron/allow.new$$
+ mv /var/cron/allow.new$$ /var/cron/allow
fi
else
- echo "---> Crontab for \"%%USER%%\" not removed: please deinstall"
- echo "---> manually if you no-longer wish to use Mailman. eg:"
- echo "---> /usr/bin/crontab -u "%%USER%%" -r"
+ echo "---> Crontab for \"%%USER%%\" modified, not removed: please deinstall"
+ echo "---> it manually if you no longer wish to use Mailman. E.g.:"
+ echo "---> /usr/bin/crontab -u \"%%USER%%\" -r"
fi
echo "---> Preserving the \"last_mailman_version\" file"
- /bin/cp -f %%MAILMANDIR%%/data/last_mailman_version /var/tmp/
+ /bin/mv -f "%%MAILMANDIR%%/data/last_mailman_version" /var/tmp/
# If the errorlog is the only existing logfile, delete it. (If Mailman's
# qrunner had not been running, then the process of trying to stop the
@@ -33,20 +32,22 @@ DEINSTALL)
# errorlog will exist.)
if [ "`echo %%MAILMANDIR%%/logs/*`" = "%%MAILMANDIR%%/logs/error" ]; then
echo "---> Deleting errorlog (It is the only existing logfile.)"
- /bin/rm -f %%MAILMANDIR%%/logs/error
+ /bin/rm -f "%%MAILMANDIR%%/logs/error"
fi
;;
POST-DEINSTALL)
- echo "---> Starting post-deinstall script:"
+ echo "---> Starting post-deinstall script"
- if [ -d %%MAILMANDIR%% ]; then
+ # try to kill all empty directories - necessary on pkg_add-based systems
+ find "%%MAILMANDIR%%" -depth -type d -exec rmdir '{}' + >/dev/null 2>&1 || :
+ if [ -d "%%MAILMANDIR%%" ]; then
echo '---> %%MAILMANDIR%% is not empty - this installation may have active lists!'
+ ls -lRB "%%MAILMANDIR%%" | head -n200 || :
echo "---> Restoring \"last_mailman_version\" file"
- [ -d %%MAILMANDIR%%/data ] || /bin/mkdir %%MAILMANDIR%%/data
- /bin/mv -f /var/tmp/last_mailman_version %%MAILMANDIR%%/data/
+ /bin/mkdir -p "%%MAILMANDIR%%/data"
+ /bin/mv -f /var/tmp/last_mailman_version "%%MAILMANDIR%%/data/"
fi
;;
-
esac
diff --git a/japanese/mailman/files/pkg-install.in b/japanese/mailman/files/pkg-install.in
index 11add7d3e514..53564cac299f 100644
--- a/japanese/mailman/files/pkg-install.in
+++ b/japanese/mailman/files/pkg-install.in
@@ -7,18 +7,26 @@ PATH=/bin:/usr/bin:/usr/sbin
case $2 in
POST-INSTALL)
- echo "---> Starting post-install script:"
+ echo "---> Starting post-install script"
+
+ MYTMP="$(mktemp -d "${TMPDIR-/tmp}/mminstall.XXXXXXXXXX")" || exit 1
+ trap "rm -rf \"$MYTMP\"" EXIT
/bin/chmod g+s "%%MAILMANDIR%%" || exit 1
+ echo "---> Running update"
+
+ LC_ALL=C "%%MAILMANDIR%%/bin/update" || exit 1
+
echo "---> Checking crontab(5) file for user \"%%USER%%\""
if [ -e /var/cron/allow ]; then
- echo "%%USER%%" >> /var/cron/allow
+ grep -q "^%%USER%%\$" /var/cron/allow || \
+ printf '%s\n' "%%USER%%" >> /var/cron/allow
fi
- if /usr/bin/crontab -u "%%USER%%" -l >/tmp/mmctab$$ 2>&1 ; then
- if test -s /tmp/mmctab$$; then
+ if /usr/bin/crontab -u "%%USER%%" -l >"$MYTMP/crontab" 2>&1 ; then
+ if test -s "$MYTMP/crontab"; then
echo "---> \"%%USER%%\" already has a crontab. Not overwriting it"
echo "---> Please merge any changes from the standard crontab file"
echo "---> %%MAILMANDIR%%/cron/crontab.in"
@@ -30,10 +38,10 @@ POST-INSTALL)
echo "---> Creating crontab(5) file for user \"%%USER%%\""
/usr/bin/crontab -u "%%USER%%" "%%MAILMANDIR%%/cron/crontab.in" || exit 1
fi
- rm -f /tmp/mmctab$$
+ rm -f "$MYTMP/crontab"
echo "---> Checking (and fixing) file and directory permissions"
- %%MAILMANDIR%%/bin/check_perms -f >/dev/null 2>&1
+ "%%MAILMANDIR%%/bin/check_perms" -f >/dev/null
;;
esac
diff --git a/japanese/mailman/files/pkg-message.in b/japanese/mailman/files/pkg-message.in
index 11e07ab4e489..96ccb8d19042 100644
--- a/japanese/mailman/files/pkg-message.in
+++ b/japanese/mailman/files/pkg-message.in
@@ -7,23 +7,22 @@ extensive post-installation instructions may be found in:
%%DOCSDIR%%/FreeBSD-post-install-notes
-Note (1): If you use an alternate (non-Sendmail) MTA, you MUST be sure
-that the correct value of MAIL_GID was used when this port or package
-was built. Performing a "make config" in the Mailman port directory
-you can choose your MTA with the correct MAIL_GID.
+Note (1): If you use an alternate MTA (meaning "not Sendmail"), you MUST
+be sure that the correct value of MAIL_GID was used when this port or
+package was built. You can choose your MTA with the correct MAIL_GID by
+running "make config" in the Mailman port directory.
-Note (2): The entire Mailman installation resides under %%MAILMANDIR%%
+Note (2): The entire Mailman installation resides under %%MAILMANDIR%%.
The command-line scripts necessary to administer Mailman have been
-installed in %%MAILMANDIR%%/bin
+installed in %%MAILMANDIR%%/bin.
Note (3): As of version 2.1, Mailman's queue runner runs as a daemon and
is started by a script in %%LOCALBASE%%/etc/rc.d
In order to make private archives searchable with namazu2, you need copy
or link %%LOCALBASE%%/libexec/namazu.cgi to
-%%MAILMANDIR%%/archives/private/<ML name>/ and configure .namazurc
+%%MAILMANDIR%%/archives/private/<ML_name>/ and configure .namazurc
to refer to %%LOCALBASE%%/etc/namazu/namazu-sample.
-See also
-http://www.python.jp/pipermail/mailman-users-jp/2004-August/001008.html
-written in Japanese.
+You can also see the Japanese document in
+<http://www.python.jp/pipermail/mailman-users-jp/2004-August/001008.html>
----------------------------------------------------------------------------
diff --git a/japanese/mailman/pkg-descr b/japanese/mailman/pkg-descr
index bde30fe055be..586d18b7cc03 100644
--- a/japanese/mailman/pkg-descr
+++ b/japanese/mailman/pkg-descr
@@ -10,4 +10,4 @@ Security and Features:
clone_member to properly handle banned addresses.
- and so on
-WWW: http://www.python.jp/doc/contrib/mailman/releases.html
+WWW: http://www.python.jp/doc/contrib/mailman/releases.html
diff --git a/japanese/mailman/pkg-plist b/japanese/mailman/pkg-plist
index 33bfd1616b98..530d4e0159f0 100644
--- a/japanese/mailman/pkg-plist
+++ b/japanese/mailman/pkg-plist
@@ -1,6 +1,4 @@
@stopdaemon mailman
-@unexec if cmp -s %D/%%MMDIR%%/Mailman/mm_cfg.py %D/%%MMDIR%%/Mailman/mm_cfg.py.dist; then rm -f %D/%%MMDIR%%/Mailman/mm_cfg.py; fi
-@unexec rm -f %D/%%MMDIR%%/Mailman/mm_cfg.pyc
@exec mkdir -p %D/%%MMDIR%%/archives
@exec mkdir -p %D/%%MMDIR%%/archives/private
@exec mkdir -p %D/%%MMDIR%%/archives/public
@@ -307,9 +305,10 @@
%%MMDIR%%/Mailman/htmlformat.pyc
%%MMDIR%%/Mailman/i18n.py
%%MMDIR%%/Mailman/i18n.pyc
-@exec [ -f %B/mm_cfg.py ] || cp %B/%f %B/mm_cfg.py
+@unexec if cmp -s %D/%%MMDIR%%/Mailman/mm_cfg.py.dist %D/%%MMDIR%%/Mailman/mm_cfg.py; then rm -f %D/%%MMDIR%%/Mailman/mm_cfg.py; fi
%%MMDIR%%/Mailman/mm_cfg.py.dist
-%%MMDIR%%/Mailman/mm_cfg.pyc
+@exec if [ ! -f %B/mm_cfg.py ] ; then cp -p %D/%F %B/mm_cfg.py; fi
+@unexec rm -f %D/%%MMDIR%%/Mailman/mm_cfg.pyc
%%MMDIR%%/Mailman/versions.py
%%MMDIR%%/Mailman/versions.pyc
%%MMDIR%%/bin/add_members
@@ -371,9 +370,8 @@
%%MMDIR%%/cron/mailpasswds
%%MMDIR%%/cron/nightly_gzip
%%MMDIR%%/cron/paths.py
-%%MMDIR%%/cron/paths.pyc
+@unexec rm -f %%MMDIR%%/cron/paths.pyc
%%MMDIR%%/cron/senddigests
-%%MMDIR%%/data/last_mailman_version
%%MMDIR%%/data/sitelist.cfg
%%MMDIR%%/icons/PythonPowered.png
%%MMDIR%%/icons/gnu-head-tiny.jpg
@@ -530,7 +528,6 @@
%%MMDIR%%/scripts/mailman
%%MMDIR%%/scripts/owner
%%MMDIR%%/scripts/paths.py
-%%MMDIR%%/scripts/paths.pyc
%%MMDIR%%/scripts/post
%%MMDIR%%/scripts/request
%%MMDIR%%/scripts/subscribe
@@ -2246,6 +2243,7 @@
%%MMDIR%%/tests/test_security_mgr.py
%%MMDIR%%/tests/test_smtp.py
%%MMDIR%%/tests/testall.py
+%%PYTHON_SITELIBDIR%%/mailman-info.txt
@dirrm %%MMDIR%%/tests/msgs
@dirrm %%MMDIR%%/tests/bounces
@dirrm %%MMDIR%%/tests