View | Details | Raw Unified | Return to bug 254221
Collapse All | Expand All

(-)maia/Makefile (-11 / +15 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	maia
4
PORTNAME=	maia
5
DISTVERSION=	1.0.4
5
DISTVERSION=	1.0.4
6
PORTREVISION=	5
6
PORTREVISION=	6
7
CATEGORIES=	security
7
CATEGORIES=	security
8
8
9
MAINTAINER=	ek@purplehat.org
9
MAINTAINER=	ek@purplehat.org
Lines 31-37 Link Here
31
USE_GITHUB=	yes
31
USE_GITHUB=	yes
32
GH_ACCOUNT=	technion
32
GH_ACCOUNT=	technion
33
GH_PROJECT=	maia_mailguard
33
GH_PROJECT=	maia_mailguard
34
GH_TAGNAME=	09eb7e5
34
GH_TAGNAME=	7f20bd4	
35
USE_PERL5=	run
35
USE_PERL5=	run
36
NO_BUILD=	yes
36
NO_BUILD=	yes
37
DOCS=	LICENSE.txt README.md maiad.conf.dist maia-mysql.sql maia-pgsql.sql maia.conf.dist
37
DOCS=	LICENSE.txt README.md maiad.conf.dist maia-mysql.sql maia-pgsql.sql maia.conf.dist
Lines 42-49 Link Here
42
PEAR_DIR?=	${LOCALBASE}/share/pear
42
PEAR_DIR?=	${LOCALBASE}/share/pear
43
PLIST_SUB+=	USERS="${USERS}" GROUPS="${GROUPS}" WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
43
PLIST_SUB+=	USERS="${USERS}" GROUPS="${GROUPS}" WWWOWN="${WWWOWN}" WWWGRP="${WWWGRP}"
44
44
45
OPTIONS_DEFINE=	APACHE LIGHTTPD WEBHOST MYSQL MYSQLSERVER PGSQL PGSQLSERVER DOVECOT2 \
45
OPTIONS_DEFINE=	APACHE LIGHTTPD NGINX WEBHOST MYSQL MYSQLSERVER PGSQL PGSQLSERVER \
46
		POSTFIX PFA CLAMAV SPAMASSASSIN BDB CRYPT \
46
		DOVECOT2 POSTFIX PFA CLAMAV SPAMASSASSIN BDB CRYPT \
47
		IPCOUNTRY DOMAINKEYS SPF DKIM FILE RAR UNRAR ARJ UNARJ LHA ARC NOMARCH CAB \
47
		IPCOUNTRY DOMAINKEYS SPF DKIM FILE RAR UNRAR ARJ UNARJ LHA ARC NOMARCH CAB \
48
		RPM ZOO UNZOO LZOP P7ZIP TNEF DOCS
48
		RPM ZOO UNZOO LZOP P7ZIP TNEF DOCS
49
49
Lines 53-58 Link Here
53
53
54
APACHE_DESC=		Use Apache web server
54
APACHE_DESC=		Use Apache web server
55
LIGHTTPD_DESC=		Use LighTTPD web server
55
LIGHTTPD_DESC=		Use LighTTPD web server
56
NGINX_DESC=			Use Nginx web server
56
WEBHOST_DESC=		PHP, PEAR, etc... for Maia web interface
57
WEBHOST_DESC=		PHP, PEAR, etc... for Maia web interface
57
MYSQL_DESC=		Use MySQL datebase
58
MYSQL_DESC=		Use MySQL datebase
58
MYSQLSERVER_DESC=	Install MySQL Server
59
MYSQLSERVER_DESC=	Install MySQL Server
Lines 101-114 Link Here
101
# setting USE_ variables. C'est la vie.
102
# setting USE_ variables. C'est la vie.
102
103
103
.if ${PORT_OPTIONS:MAPACHE}
104
.if ${PORT_OPTIONS:MAPACHE}
104
USES+=		apache:run,2.2+
105
USES+=		apache:run,2.4+
105
.endif
106
.endif
106
107
107
.if ${PORT_OPTIONS:MWEBHOST}
108
.if ${PORT_OPTIONS:MWEBHOST}
108
USES+=		php
109
USES+=		php
109
USE_PHP=	bcmath ctype dom gettext hash iconv imap json mbstring \
110
USE_PHP=	bcmath ctype dom gettext hash iconv imap json mbstring \
110
		mcrypt pdo pdo_sqlite posix session simplexml sockets \
111
		mcrypt pdo pdo_sqlite posix session simplexml sockets \
111
		sqlite3 tokenizer xml wddx xmlreader xmlwriter xmlrpc
112
		sqlite3 tokenizer xml xmlreader xmlwriter xmlrpc
112
113
113
RUN_DEPENDS+=	${PEAR_DIR}/Mail/mime.php:mail/pear-Mail_Mime@${PHP_FLAVOR} \
114
RUN_DEPENDS+=	${PEAR_DIR}/Mail/mime.php:mail/pear-Mail_Mime@${PHP_FLAVOR} \
114
		${PEAR_DIR}/Mail/mimeDecode.php:mail/pear-Mail_mimeDecode@${PHP_FLAVOR} \
115
		${PEAR_DIR}/Mail/mimeDecode.php:mail/pear-Mail_mimeDecode@${PHP_FLAVOR} \
Lines 136-143 Link Here
136
.endif
137
.endif
137
138
138
.if ${PORT_OPTIONS:MMYSQL}
139
.if ${PORT_OPTIONS:MMYSQL}
139
USES+=		mysql
140
USES+=		mysql:client
141
RUN_DEPENDS+=	p5-DBD-mysql>=0:databases/p5-DBD-mysql
140
.endif
142
.endif
143
141
.if ${PORT_OPTIONS:MMYSQL} && ${PORT_OPTIONS:MWEBHOST}
144
.if ${PORT_OPTIONS:MMYSQL} && ${PORT_OPTIONS:MWEBHOST}
142
USE_PHP+=	mysqli
145
USE_PHP+=	mysqli
143
.endif
146
.endif
Lines 153-162 Link Here
153
RUN_DEPENDS+=	lighttpd:www/lighttpd
156
RUN_DEPENDS+=	lighttpd:www/lighttpd
154
.endif
157
.endif
155
158
156
.if ${PORT_OPTIONS:MMYSQL}
159
.if ${PORT_OPTIONS:MNGINX}
157
RUN_DEPENDS+=	p5-DBD-mysql>=0:databases/p5-DBD-mysql
160
RUN_DEPENDS+=	nginx:www/nginx
158
.endif
161
.endif
159
162
 
160
.if ${PORT_OPTIONS:MMYSQLSERVER}
163
.if ${PORT_OPTIONS:MMYSQLSERVER}
161
USES+=		mysql:server
164
USES+=		mysql:server
162
.endif
165
.endif
Lines 290-296 Link Here
290
	scripts/process-quarantine.pl scripts/resend.pl scripts/send-quarantine-digests.pl \
293
	scripts/process-quarantine.pl scripts/resend.pl scripts/send-quarantine-digests.pl \
291
	scripts/send-quarantine-reminders.pl scripts/stats-snapshot.pl
294
	scripts/send-quarantine-reminders.pl scripts/stats-snapshot.pl
292
		@${REINPLACE_CMD} -e "s|/etc/maia/maia.conf|${ETCDIR}/maia.conf|" \
295
		@${REINPLACE_CMD} -e "s|/etc/maia/maia.conf|${ETCDIR}/maia.conf|" \
293
			${WRKSRC}/${m}
296
		-e "s|/usr/bin/perl|/usr/bin/env perl|" \
297
		${WRKSRC}/${m}
294
.endfor
298
.endfor
295
299
296
.for i in digest.tpl newuser.tpl reminder.tpl
300
.for i in digest.tpl newuser.tpl reminder.tpl
(-)maia/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1546121679
1
TIMESTAMP = 1615478289
2
SHA256 (technion-maia_mailguard-1.0.4-09eb7e5_GH0.tar.gz) = 15789ad4b7e00efdfe115bd7688e02d7b456c015ef4d061a2425ff8a1d4b818f
2
SHA256 (technion-maia_mailguard-1.0.4-7f20bd4_GH0.tar.gz) = dc54b76ee72b4018768665f504315ccc831d4d64dff24421bfc3775a70548f16
3
SIZE (technion-maia_mailguard-1.0.4-09eb7e5_GH0.tar.gz) = 2298436
3
SIZE (technion-maia_mailguard-1.0.4-7f20bd4_GH0.tar.gz) = 2298104

Return to bug 254221