1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

Install powerlogo.png in both image locations.

(Reported by Alex Stangl.)

Take the opportunity to convert powerlogo from GIF to PNG.

Check permissions of mailman/qfiles directory and top-level
subdirectories from post-install before running check_perms script,
further to the existing workarounds for pkg/libarchive permissions
issues.
This commit is contained in:
Matthias Andree 2015-01-17 13:29:24 +00:00
parent 77098893f9
commit 569aa08fee
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=377224
6 changed files with 10 additions and 6 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= mailman
DISTVERSION= 2.1.18-1
PORTREVISION= 7
PORTREVISION= 8
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_GNU} \
SF/${PORTNAME}/Mailman%202.1%20%28stable%29/${PORTVERSION} \
@ -181,8 +181,10 @@ post-install:
@${RM} -f ${STAGEDIR}${MAILMANDIR}/Mailman/mm_cfg.pyc
@${MKDIR} ${STAGEDIR}${PREFIX}/${IMGDIR}
${CP} -p ${STAGEDIR}${MAILMANDIR}/icons/* ${STAGEDIR}${PREFIX}/${IMGDIR}
${INSTALL_DATA} ${FILESDIR}/powerlogo.gif \
${STAGEDIR}${PREFIX}/${IMGDIR}/powerlogo.gif
${INSTALL_DATA} ${FILESDIR}/powerlogo.png \
${STAGEDIR}${PREFIX}/${IMGDIR}/
${INSTALL_DATA} ${FILESDIR}/powerlogo.png \
${STAGEDIR}${MAILMANDIR}/icons/
.if ${PORT_OPTIONS:MDOCS}
${CP} -R ${WRKSRC}/doc/* ${WRKSRC}/
@${MKDIR} ${STAGEDIR}${DOCSDIR}

View File

@ -11,7 +11,7 @@
DELIVERED_BY = 'mailman.jpg'
PYTHON_POWERED = 'PythonPowered.png'
GNU_HEAD = 'gnu-head-tiny.jpg'
+FREEBSD_POWERED = 'powerlogo.gif'
+FREEBSD_POWERED = 'powerlogo.png'
def MailmanLogo():

View File

@ -32,7 +32,8 @@ POST-INSTALL)
# fix up permissions - this is under investigation; pkg or libarchive
# goof up the group writable and/or setgid bits
/bin/chmod 02770 "%%MAILMANDIR%%/qfiles"
/usr/bin/find "%%MAILMANDIR%%/qfiles" -maxdepth 1 -type d -exec \
/bin/chmod u+rwx,g+rwsx,o-w "{}" +
/bin/chmod 02775 "%%MAILMANDIR%%" \
"%%MAILMANDIR%%/Mailman" \
"%%MAILMANDIR%%/bin" \

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

View File

@ -6,7 +6,7 @@
%%IMGDIR%%/mm-icon-large.ico
%%IMGDIR%%/mm-icon.ico
%%IMGDIR%%/mm-icon.png
%%IMGDIR%%/powerlogo.gif
%%IMGDIR%%/powerlogo.png
%%IMGDIR%%/PythonPowered.png
@group %%MM_GROUPNAME%%
%%MMDIR%%/Mailman/Archiver/Archiver.py
@ -393,6 +393,7 @@
%%MMDIR%%/icons/mm-icon-large.ico
%%MMDIR%%/icons/mm-icon.ico
%%MMDIR%%/icons/mm-icon.png
%%MMDIR%%/icons/powerlogo.png
%%MMDIR%%/mail/mailman
%%NLS%%%%MMDIR%%/messages/ar/LC_MESSAGES/mailman.mo
%%NLS%%%%MMDIR%%/messages/ar/LC_MESSAGES/mailman.po