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

Collapse All | Expand All

(-)maia/Makefile (-15 / +15 lines)
Lines 2-11 Link Here
2
# $FreeBSD: head/security/maia/Makefile 477372 2018-08-16 20:29:28Z rene $
2
# $FreeBSD: head/security/maia/Makefile 477372 2018-08-16 20:29:28Z rene $
3
3
4
PORTNAME=	maia
4
PORTNAME=	maia
5
DISTVERSION=	1.0.4
5
DISTVERSION=	1.0.4-g20181202
6
PORTREVISION=	3
7
CATEGORIES=	security
6
CATEGORIES=	security
8
MASTER_SITES=	http://www.purplehat.org/downloads/maia/
7
DISTNAME=	maia_mailguard
8
9
USE_GITHUB=	yes
10
GH_ACCOUNT=	technion
11
GH_PROJECT=	maia_mailguard
12
GH_TAGNAME=	09eb7e5
9
13
10
MAINTAINER=	ek@purplehat.org
14
MAINTAINER=	ek@purplehat.org
11
COMMENT=	Web-based management system based on amavisd-new and SpamAssassin
15
COMMENT=	Web-based management system based on amavisd-new and SpamAssassin
Lines 24-30 Link Here
24
		p5-Template-Toolkit>=2.13:www/p5-Template-Toolkit \
28
		p5-Template-Toolkit>=2.13:www/p5-Template-Toolkit \
25
		p5-Net-Server>=0.93:net/p5-Net-Server
29
		p5-Net-Server>=0.93:net/p5-Net-Server
26
30
27
WRKSRC=		${WRKDIR}/${PORTNAME}-${DISTVERSION}
31
WRKSRC=		${WRKDIR}/${GH_PROJECT}-${GH_TAGNAME}
28
USES=		perl5 shebangfix
32
USES=		perl5 shebangfix
29
USE_PERL5=	run
33
USE_PERL5=	run
30
NO_BUILD=	yes
34
NO_BUILD=	yes
Lines 40-46 Link Here
40
PLIST_SUB+=	USERS="${USERS}" GROUPS="${GROUPS}" WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
44
PLIST_SUB+=	USERS="${USERS}" GROUPS="${GROUPS}" WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
41
45
42
OPTIONS_DEFINE=	APACHE LIGHTTPD WEBHOST MYSQL MYSQLSERVER PGSQL PGSQLSERVER DOVECOT2 \
46
OPTIONS_DEFINE=	APACHE LIGHTTPD WEBHOST MYSQL MYSQLSERVER PGSQL PGSQLSERVER DOVECOT2 \
43
		POSTFIX PFA FUZZYOCR CLAMAV SPAMASSASSIN BDB ALTERMIME CRYPT \
47
		POSTFIX PFA CLAMAV SPAMASSASSIN BDB ALTERMIME CRYPT \
44
		IPCOUNTRY DOMAINKEYS SPF DKIM FILE RAR ARJ UNARJ LHA ARC NOMARCH CAB \
48
		IPCOUNTRY DOMAINKEYS SPF DKIM FILE RAR ARJ UNARJ LHA ARC NOMARCH CAB \
45
		RPM ZOO UNZOO LZOP P7ZIP TNEF DOCS
49
		RPM ZOO UNZOO LZOP P7ZIP TNEF DOCS
46
50
Lines 57-63 Link Here
57
DOVECOT2_DESC=		Use Dovecot 2.x IMAP/POP3
61
DOVECOT2_DESC=		Use Dovecot 2.x IMAP/POP3
58
POSTFIX_DESC=		Use Postfix MTA
62
POSTFIX_DESC=		Use Postfix MTA
59
PFA_DESC=		Use Postfixadmin
63
PFA_DESC=		Use Postfixadmin
60
FUZZYOCR_DESC=		Use FuzzyOcr
61
CLAMAV_DESC=		Use ClamAV anti-virus
64
CLAMAV_DESC=		Use ClamAV anti-virus
62
SPAMASSASSIN_DESC=	Use SpamAssassin
65
SPAMASSASSIN_DESC=	Use SpamAssassin
63
BDB_DESC=		Use BerkeleyDB
66
BDB_DESC=		Use BerkeleyDB
Lines 124-131 Link Here
124
		${PEAR_DIR}/Numbers/Roman.php:textproc/pear-Numbers_Roman@${PHP_FLAVOR} \
127
		${PEAR_DIR}/Numbers/Roman.php:textproc/pear-Numbers_Roman@${PHP_FLAVOR} \
125
		${PEAR_DIR}/Numbers/Words.php:textproc/pear-Numbers_Words@${PHP_FLAVOR} \
128
		${PEAR_DIR}/Numbers/Words.php:textproc/pear-Numbers_Words@${PHP_FLAVOR} \
126
		${PEAR_DIR}/MDB2.php:databases/pear-MDB2@${PHP_FLAVOR} \
129
		${PEAR_DIR}/MDB2.php:databases/pear-MDB2@${PHP_FLAVOR} \
127
		${PEAR_DIR}/MDB2/Driver/mysql.php:databases/pear-MDB2_Driver_mysql@${PHP_FLAVOR} \
130
		${PEAR_DIR}/MDB2/Driver/mysqli.php:databases/pear-MDB2_Driver_mysqli@${PHP_FLAVOR} \
128
		${LOCALBASE}/share/smarty/Smarty.class.php:www/smarty2@${PHP_FLAVOR} \
131
		${LOCALBASE}/share/smarty3-${PHP_FLAVOR}/Smarty.class.php:www/smarty3@${PHP_FLAVOR} \
129
		${LOCALBASE}/lib/php/${PHP_EXT_DIR}/scrypt.so:security/pecl-scrypt@${PHP_FLAVOR}
132
		${LOCALBASE}/lib/php/${PHP_EXT_DIR}/scrypt.so:security/pecl-scrypt@${PHP_FLAVOR}
130
PLIST_SUB+=     WEBHOST=""
133
PLIST_SUB+=     WEBHOST=""
131
.else
134
.else
Lines 136-142 Link Here
136
USE_MYSQL=	yes
139
USE_MYSQL=	yes
137
.endif
140
.endif
138
.if ${PORT_OPTIONS:MMYSQL} && ${PORT_OPTIONS:MWEBHOST}
141
.if ${PORT_OPTIONS:MMYSQL} && ${PORT_OPTIONS:MWEBHOST}
139
USE_PHP+=	mysql mysqli
142
USE_PHP+=	mysqli
140
.endif
143
.endif
141
144
142
.if ${PORT_OPTIONS:MPGSQL}
145
.if ${PORT_OPTIONS:MPGSQL}
Lines 179-188 Link Here
179
RUN_DEPENDS+=	${LOCALBASE}/www/postfixadmin/config.inc.php:mail/postfixadmin
182
RUN_DEPENDS+=	${LOCALBASE}/www/postfixadmin/config.inc.php:mail/postfixadmin
180
.endif
183
.endif
181
184
182
.if ${PORT_OPTIONS:MFUZZYOCR}
183
RUN_DEPENDS+=	p5-FuzzyOcr-devel>=0:mail/p5-FuzzyOcr-devel
184
.endif
185
186
.if ${PORT_OPTIONS:MCLAMAV}
185
.if ${PORT_OPTIONS:MCLAMAV}
187
RUN_DEPENDS+=	clamd:security/clamav
186
RUN_DEPENDS+=	clamd:security/clamav
188
.endif
187
.endif
Lines 323-333 Link Here
323
		-e "s@'zoo'\]@['zoo','unzoo'] ]@" ${WRKSRC}/maiad
322
		-e "s@'zoo'\]@['zoo','unzoo'] ]@" ${WRKSRC}/maiad
324
323
325
	@${FIND} -E ${WRKSRC} -iregex '.*(bak|~)$$' -delete
324
	@${FIND} -E ${WRKSRC} -iregex '.*(bak|~)$$' -delete
325
	@${FIND} -E ${WRKSRC} -iregex '.*(gitkeep|~)$$' -delete
326
326
327
do-install:
327
do-install:
328
	${MKDIR} ${STAGEDIR}${WWWDIR}
328
	${MKDIR} ${STAGEDIR}${WWWDIR} ${STAGEDIR}${WWWDIR}/web
329
	@cd ${WRKSRC}/php && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
329
	@cd ${WRKSRC}/php && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}
330
	${LN} -s ${PREFIX}/share/smarty ${STAGEDIR}${WWWDIR}/libs/Smarty
330
	${LN} -s ${PREFIX}/share/smarty3-${PHP_FLAVOR} ${STAGEDIR}${WWWDIR}/libs/Smarty
331
	${MKDIR} -p ${STAGEDIR}${DATADIR}
331
	${MKDIR} -p ${STAGEDIR}${DATADIR}
332
	@cd ${WRKSRC}/scripts && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/scripts
332
	@cd ${WRKSRC}/scripts && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/scripts
333
	${MKDIR} -p ${STAGEDIR}${ETCDIR}/templates
333
	${MKDIR} -p ${STAGEDIR}${ETCDIR}/templates
(-)maia/distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (maia-1.0.4.tar.gz) = fdb971d916979172019c5ad5802a45d94980e9a847aede75d6249fac52d78748
1
TIMESTAMP = 1546121679
2
SIZE (maia-1.0.4.tar.gz) = 4514924
2
SHA256 (maia_mailguard_GH0.tar.gz) = 15789ad4b7e00efdfe115bd7688e02d7b456c015ef4d061a2425ff8a1d4b818f
3
SIZE (maia_mailguard_GH0.tar.gz) = 2298436
(-)maia/pkg-plist (+37 lines)
Lines 358-363 Link Here
358
%%WWWDIR%%/locale/it/welcome.php
358
%%WWWDIR%%/locale/it/welcome.php
359
%%WWWDIR%%/locale/it/xadminusers.php
359
%%WWWDIR%%/locale/it/xadminusers.php
360
%%WWWDIR%%/locale/it/xlogin.php
360
%%WWWDIR%%/locale/it/xlogin.php
361
%%WWWDIR%%/locale/ja/admindex.php
362
%%WWWDIR%%/locale/ja/admindomains.php
363
%%WWWDIR%%/locale/ja/adminhelp.php
364
%%WWWDIR%%/locale/ja/adminlanguages.php
365
%%WWWDIR%%/locale/ja/adminstats.php
366
%%WWWDIR%%/locale/ja/adminsystem.php
367
%%WWWDIR%%/locale/ja/adminthemes.php
368
%%WWWDIR%%/locale/ja/adminusers.php
369
%%WWWDIR%%/locale/ja/adminviruses.php
370
%%WWWDIR%%/locale/ja/auth.php
371
%%WWWDIR%%/locale/ja/confirmspam.php
372
%%WWWDIR%%/locale/ja/db.php
373
%%WWWDIR%%/locale/ja/deleteitem.php
374
%%WWWDIR%%/locale/ja/deliver.php
375
%%WWWDIR%%/locale/ja/display.php
376
%%WWWDIR%%/locale/ja/domainsettings.php
377
%%WWWDIR%%/locale/ja/errors.php
378
%%WWWDIR%%/locale/ja/falsenegative.php
379
%%WWWDIR%%/locale/ja/help.php
380
%%WWWDIR%%/locale/ja/internal-init.php
381
%%WWWDIR%%/locale/ja/listcache.php
382
%%WWWDIR%%/locale/ja/login.php
383
%%WWWDIR%%/locale/ja/logout.php
384
%%WWWDIR%%/locale/ja/mime.php
385
%%WWWDIR%%/locale/ja/quarantine.php
386
%%WWWDIR%%/locale/ja/quickstats.php
387
%%WWWDIR%%/locale/ja/reportspam.php
388
%%WWWDIR%%/locale/ja/rulestats.php
389
%%WWWDIR%%/locale/ja/settings.php
390
%%WWWDIR%%/locale/ja/smtp.php
391
%%WWWDIR%%/locale/ja/stats.php
392
%%WWWDIR%%/locale/ja/viewmail.php
393
%%WWWDIR%%/locale/ja/virusstats.php
394
%%WWWDIR%%/locale/ja/wblist.php
395
%%WWWDIR%%/locale/ja/welcome.php
396
%%WWWDIR%%/locale/ja/xadminusers.php
397
%%WWWDIR%%/locale/ja/xlogin.php
361
%%WWWDIR%%/locale/nl/admindex.php
398
%%WWWDIR%%/locale/nl/admindex.php
362
%%WWWDIR%%/locale/nl/admindomains.php
399
%%WWWDIR%%/locale/nl/admindomains.php
363
%%WWWDIR%%/locale/nl/adminhelp.php
400
%%WWWDIR%%/locale/nl/adminhelp.php

Return to bug 234518