View | Details | Raw Unified | Return to bug 268087 | Differences between
and this patch

Collapse All | Expand All

(-)maia/Makefile (-1 / +3 lines)
Lines 1-6 Link Here
1
PORTNAME=	maia
1
PORTNAME=	maia
2
DISTVERSION=	1.0.4
2
DISTVERSION=	1.0.4
3
PORTREVISION=	10
3
PORTREVISION=	11
4
CATEGORIES=	security
4
CATEGORIES=	security
5
5
6
MAINTAINER=	ek@purplehat.org
6
MAINTAINER=	ek@purplehat.org
Lines 315-323 Link Here
315
	@${FIND} -E ${WRKSRC} -iregex '.*(gitkeep|~)$$' -delete
315
	@${FIND} -E ${WRKSRC} -iregex '.*(gitkeep|~)$$' -delete
316
316
317
do-install:
317
do-install:
318
.if ${PORT_OPTIONS:MWEBHOST}
318
	${MKDIR} ${STAGEDIR}${WWWDIR} ${STAGEDIR}${WWWDIR}/web
319
	${MKDIR} ${STAGEDIR}${WWWDIR} ${STAGEDIR}${WWWDIR}/web
319
	@cd ${WRKSRC}/php && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
320
	@cd ${WRKSRC}/php && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
320
	${LN} -s ${PREFIX}/share/smarty3-${PHP_FLAVOR} ${STAGEDIR}${WWWDIR}/libs/Smarty
321
	${LN} -s ${PREFIX}/share/smarty3-${PHP_FLAVOR} ${STAGEDIR}${WWWDIR}/libs/Smarty
322
.endif
321
	${MKDIR} ${STAGEDIR}${DATADIR}
323
	${MKDIR} ${STAGEDIR}${DATADIR}
322
	@cd ${WRKSRC}/scripts && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/scripts
324
	@cd ${WRKSRC}/scripts && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/scripts
323
	${MKDIR} ${STAGEDIR}${ETCDIR}/templates
325
	${MKDIR} ${STAGEDIR}${ETCDIR}/templates
(-)maia/files/patch-maiad (+12 lines)
Line 0 Link Here
1
--- maiad.orig	2022-12-01 19:36:50 UTC
2
+++ maiad
3
@@ -3833,9 +3833,6 @@ sub maia_store_mail($$$$$@) {
4
     $subject = substr($subject, 0, 255) if length($subject) > 255;
5
     $subject = untaint($subject);
6
     $sender = substr($sender, 0, 255) if length($sender) > 255;
7
-    if ($document_charset ne "") {
8
-	from_to($contents, $document_charset, 'UTF-8');
9
-    }
10
 
11
     if (!$oversized) {
12
         if ($dbtype =~ /^mysql$/si) { # MySQL

Return to bug 268087