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

(-)Makefile (-4 / +18 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	froxlor
4
PORTNAME=	froxlor
5
PORTVERSION=	0.9.32
5
PORTVERSION=	0.9.32
6
PORTREVISION=	1
6
CATEGORIES=	sysutils www
7
CATEGORIES=	sysutils www
7
MASTER_SITES=	http://files.froxlor.org/releases/
8
MASTER_SITES=	http://files.froxlor.org/releases/
8
9
Lines 13-37 Link Here
13
14
14
WRKSRC=		${WRKDIR}
15
WRKSRC=		${WRKDIR}
15
16
16
NEED_ROOT=	YES
17
18
NO_BUILD=	YES
17
NO_BUILD=	YES
19
18
20
SUB_FILES+=	pkg-message pkg-deinstall
19
SUB_FILES+=	pkg-message pkg-deinstall
20
SUB_LIST+=	WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
21
PLIST_SUB+=	${SUB_LIST}
21
22
22
USE_PHP=	xml bcmath posix filter session ftp mysql mysqli
23
USE_PHP=	xml bcmath posix filter session ftp mysql mysqli
23
24
25
WANT_PHP_CLI=	YES
26
24
USES=		shebangfix
27
USES=		shebangfix
25
28
26
SHEBANG_FILES=	froxlor/install/tsmarty2c.php
29
SHEBANG_FILES=	froxlor/install/tsmarty2c.php
27
30
28
OPTIONS_DEFINE=	POWERDNS LIBNSS LOGROTATE MYSQLS DKIM PCNTL NLS
31
OPTIONS_DEFINE=	LIBNSS LOGROTATE MYSQLS DKIM PCNTL NLS
29
32
30
OPTIONS_RADIO=	WEB SMTP IMAPPOP3 FTP
33
OPTIONS_RADIO=	WEB SMTP IMAPPOP3 FTP DNS
31
OPTIONS_RADIO_WEB=	APACHE LIGHTTPD NGINX
34
OPTIONS_RADIO_WEB=	APACHE LIGHTTPD NGINX
32
OPTIONS_RADIO_SMTP=	POSTFIX EXIM
35
OPTIONS_RADIO_SMTP=	POSTFIX EXIM
33
OPTIONS_RADIO_IMAPPOP3=	DOVECOT COURIER
36
OPTIONS_RADIO_IMAPPOP3=	DOVECOT COURIER
34
OPTIONS_RADIO_FTP=	PROFTPD PUREFTPD
37
OPTIONS_RADIO_FTP=	PROFTPD PUREFTPD
38
OPTIONS_RADIO_DNS=	POWERDNS ISCDNS
35
OPTIONS_MULTI=	WWWST
39
OPTIONS_MULTI=	WWWST
36
OPTIONS_MULTI_WWWST=	WEBALIZER AWSTATS
40
OPTIONS_MULTI_WWWST=	WEBALIZER AWSTATS
37
41
Lines 39-44 Link Here
39
WEB_DESC=	Web server dependency
43
WEB_DESC=	Web server dependency
40
SMTP_DESC=	SMTP server dependency
44
SMTP_DESC=	SMTP server dependency
41
IMAPPOP3_DESC=	IMAP/POP3 server dependency
45
IMAPPOP3_DESC=	IMAP/POP3 server dependency
46
DNS_DESC=	DNS server dependency
42
FTP_DESC=	FTP server dependency
47
FTP_DESC=	FTP server dependency
43
APACHE_DESC=	Apache (2.2) as HTTP/HTTPS server
48
APACHE_DESC=	Apache (2.2) as HTTP/HTTPS server
44
LIGHTTPD_DESC=	Lighttpd as HTTP/HTTPS server
49
LIGHTTPD_DESC=	Lighttpd as HTTP/HTTPS server
Lines 53-58 Link Here
53
PROFTPD_DESC=	ProFTPd as FTP server
58
PROFTPD_DESC=	ProFTPd as FTP server
54
PUREFTPD_DESC=	Pure-FTPd as FTP server
59
PUREFTPD_DESC=	Pure-FTPd as FTP server
55
POWERDNS_DESC=	Powerdns as DNS server
60
POWERDNS_DESC=	Powerdns as DNS server
61
ISCDNS_DESC=	ISC BIND 9.9 from ports as DNS server
56
PCNTL_DESC=	Use php-pcntl (speeds up statistics creation)
62
PCNTL_DESC=	Use php-pcntl (speeds up statistics creation)
57
LIBNSS_DESC=	Libnss-mysql for authentication
63
LIBNSS_DESC=	Libnss-mysql for authentication
58
WEBALIZER_DESC=	Webalizer (small, fast, static result pages)
64
WEBALIZER_DESC=	Webalizer (small, fast, static result pages)
Lines 79-84 Link Here
79
85
80
POWERDNS_RUN_DEPENDS=	powerdns:${PORTSDIR}/dns/powerdns
86
POWERDNS_RUN_DEPENDS=	powerdns:${PORTSDIR}/dns/powerdns
81
87
88
ISCDNS_RUN_DEPENDS=	bind>=9.9.0.0:${PORTSDIR}/dns/bind99
89
82
LIBNSS_RUN_DEPENDS=	${LOCALBASE}/lib/nss_mysql.so:${PORTSDIR}/net/libnss-mysql
90
LIBNSS_RUN_DEPENDS=	${LOCALBASE}/lib/nss_mysql.so:${PORTSDIR}/net/libnss-mysql
83
91
84
WEBALIZER_RUN_DEPENDS=	webalizer:${PORTSDIR}/www/webalizer
92
WEBALIZER_RUN_DEPENDS=	webalizer:${PORTSDIR}/www/webalizer
Lines 100-105 Link Here
100
NLS_USES=	gettext:run
108
NLS_USES=	gettext:run
101
NLS_USE=	PHP=gettext
109
NLS_USE=	PHP=gettext
102
110
111
.include <bsd.port.options.mk>
112
113
.if ${PORT_OPTIONS:MAPACHE}
114
WANT_PHP_MOD=	YES
115
.endif
116
103
do-install:
117
do-install:
104
	cd ${WRKDIR}/${PORTNAME} && \
118
	cd ${WRKDIR}/${PORTNAME} && \
105
	${FIND} . ! -name .gitignore | \
119
	${FIND} . ! -name .gitignore | \
(-)pkg-plist (-4 / +2 lines)
Lines 1-5 Link Here
1
@owner www
1
@group %%WWWGRP%%
2
@group www
2
@owner %%WWWOWN%%
3
%%WWWDIR%%/COPYING
3
%%WWWDIR%%/COPYING
4
%%WWWDIR%%/README.md
4
%%WWWDIR%%/README.md
5
%%WWWDIR%%/actions/admin/settings/000.version.php
5
%%WWWDIR%%/actions/admin/settings/000.version.php
Lines 1727-1731 Link Here
1727
@dirrmtry %%WWWDIR%%/templates
1727
@dirrmtry %%WWWDIR%%/templates
1728
@dirrmtry %%WWWDIR%%/templates_c
1728
@dirrmtry %%WWWDIR%%/templates_c
1729
@dirrmtry %%WWWDIR%%
1729
@dirrmtry %%WWWDIR%%
1730
@group
1731
@owner

Return to bug 191102