mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
- Update to version 2.0.12
- Update $PKGDEINSTALL so that running Python processes beloning to mailman user should be killed correctly upon port/package deinstallation, even when the version of Python had been updated since the port/package was installed. - Fix a small oversight in $PLIST to allow clean package installations (i.e. where there is not an existing mailman user) to set file permissions correctly.
This commit is contained in:
parent
ca3d06fb6a
commit
2957ac7315
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=63385
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= mailman
|
||||
PORTVERSION= 2.0.11
|
||||
PORTVERSION= 2.0.12
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://www.list.org/ \
|
||||
${MASTER_SITE_GNU} \
|
||||
@ -82,7 +82,6 @@ pre-configure:
|
||||
post-configure:
|
||||
@ ${SED} -e 's#%%USER%%#${MM_USERNAME}#g' \
|
||||
-e 's#%%GROUP%%#${MM_GROUPNAME}#g' \
|
||||
-e 's#%%PYTHON_CMD%%#${PYTHON_CMD}#g' \
|
||||
-e 's#%%MAILMANDIR%%#${MAILMANDIR}#g' pkg-deinstall > \
|
||||
${PKGDEINSTALL}
|
||||
@ ${SED} -e 's#%%MAILMANDIR%%#${MAILMANDIR}#g' \
|
||||
|
@ -1 +1 @@
|
||||
MD5 (mailman-2.0.11.tgz) = 915264cb1ac8d7b78ea9eff3ba38ee04
|
||||
MD5 (mailman-2.0.12.tgz) = 94999f0954ff91e880a2102717c0474e
|
||||
|
@ -32,7 +32,7 @@ DEINSTALL)
|
||||
zero_crontab %%USER%%
|
||||
if ps -axwU %%USER%% | grep -q python; then
|
||||
echo 'Killing all running processes belonging to user "%%USER%%".'
|
||||
killall -u %%USER%% %%PYTHON_CMD%%
|
||||
killall -m -u %%USER%% python
|
||||
sleep 2
|
||||
fi
|
||||
;;
|
||||
|
@ -288,7 +288,7 @@
|
||||
%%MMDIR%%/templates/userpass.txt
|
||||
%%MMDIR%%/templates/verify.txt
|
||||
@exec chmod 2775 %B
|
||||
@exec chgrp -R %%MMGRP%% %%MMDIR%%
|
||||
@exec chgrp -R %%MMGRP%% %D/%%MMDIR%%
|
||||
%%PORTDOCS%%share/doc/mailman/BUGS
|
||||
%%PORTDOCS%%share/doc/mailman/FAQ
|
||||
%%PORTDOCS%%share/doc/mailman/INSTALL
|
||||
|
Loading…
Reference in New Issue
Block a user