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

(-)Makefile (-30 / +67 lines)
Lines 1-83 Link Here
1
# New ports collection makefile for:	froxlor
1
# Created by: Marco Steinbach <coco@executive-computing.de>
2
# Date created:		2010-10-13
3
# Whom:			Marco Steinbach <coco@executive-computing.de>
4
#
5
# $FreeBSD$
2
# $FreeBSD$
6
#
7
3
8
PORTNAME=	froxlor
4
PORTNAME=	froxlor
9
DISTVERSION=	0.9.26
5
DISTVERSION=	0.9.27
10
CATEGORIES=	sysutils www
6
CATEGORIES=	sysutils www
11
MASTER_SITES=	http://files.froxlor.org/releases/
7
MASTER_SITES=	http://files.froxlor.org/releases/
12
8
13
MAINTAINER=	coco@executive-computing.de
9
MAINTAINER=	coco@executive-computing.de
14
COMMENT=	PHP-based ISP Server Management Panel
10
COMMENT=	PHP-based ISP Server Management Panel
15
11
12
LICENSE=	GPLv2
13
16
WRKSRC=		${WRKDIR}
14
WRKSRC=		${WRKDIR}
17
15
18
NO_BUILD=	YES
16
NO_BUILD=	YES
19
17
20
SUB_FILES+=	pkg-message pkg-deinstall
18
SUB_FILES+=	pkg-message pkg-deinstall
21
19
22
USE_PHP=	xml bcmath posix filter session ftp mysqli gettext
20
USE_PHP=	xml bcmath posix filter session ftp mysql mysqli gettext
23
21
24
USE_GETTEXT=	RUN
22
USE_GETTEXT=	RUN
25
23
26
OPTIONS=	APACHE "Use Apache (2.2) as http server" On \
24
OPTIONS_DEFINE=	POWERDNS LIBNSS LOGROTATE MYSQLS DKIM
27
		MYSQL "Use MySQL as database server" On \
28
		POSTFIX "Use Postfix as smtp server" On \
29
		DKIM "Use OpenDKIM" Off \
30
		DOVECOT "Use Dovecot as imap/pop3 server" On \
31
		PROFTPD "Use Proftpd-mysql as ftp server (implies MySQL)" On \
32
		POWERDNS "Use Powerdns as dns server" Off \
33
		LIBNSS "Use Libnss-mysql for authentication (impl. MySQL)" Off \
34
		WEBALIZER "Use webalizer" On \
35
		AWSTATS "Use awstats" Off \
36
		LOGROTATE "Use logrotate" Off
37
25
26
OPTIONS_SINGLE=	WEB SMTP IMAPPOP3 FTP
27
OPTIONS_SINGLE_WEB=	APACHE LIGHTTPD NGINX
28
OPTIONS_SINGLE_SMTP=	POSTFIX EXIM
29
OPTIONS_SINGLE_IMAPPOP3=	DOVECOT COURIER
30
OPTIONS_SINGLE_FTP=	PROFTPD PUREFTPD
31
OPTIONS_MULTI=	WWWST
32
OPTIONS_MULTI_WWWST=	WEBALIZER AWSTATS
33
34
APACHE_DESC=	Apache (2.2) as http server
35
LIGHTTPD_DESC=	Lighttpd as http server
36
NGINX_DESC=	Nginx as http server
37
MYSQLC_DESC=	MySQL database client only
38
MYSQLS_DESC=	MySQL database server and client
39
POSTFIX_DESC=	Postfix as smtp server
40
EXIM_DESC=	Exim as smtp server
41
DKIM_DESC=	OpenDKIM for DomainKeys Identified Mail
42
DOVECOT_DESC=	Dovecot as imap/pop3 server
43
COURIER_DESC=	Courier as imap/pop3 server
44
PROFTPD_DESC=	ProFTPd as ftp server
45
PUREFTPD_DESC=	Pure-FTPd as ftp server
46
POWERDNS_DESC=	Powerdns as dns server
47
LIBNSS_DESC=	Libnss-mysql for authentication
48
WEBALIZER_DESC=	Webalizer for web statistics
49
AWSTATS_DESC=	Awstats for web statistics
50
LOGROTATE_DESC=	Logrotate for log rotation
51
MYSQLS_DESC=	Install/depend on MySQL server
52
53
OPTIONS_DEFAULT=	APACHE MYSQLS POSTFIX DOVECOT PROFTPD WEBALIZER MYSQLS
54
38
.include <bsd.port.options.mk>
55
.include <bsd.port.options.mk>
39
56
40
.if !defined(WITHOUT_APACHE)
57
.if ${PORT_OPTIONS:MAPACHE}
41
USE_APACHE_RUN=	22
58
USE_APACHE_RUN=	22
42
.endif
59
.endif
43
60
44
.if !defined(WITHOUT_MYSQL)
61
.if ${PORT_OPTIONS:MLIGHTTPD}
45
USE_PHP+=	mysql
62
RUN_DEPENDS+=	lighttpd:${PORTSDIR}/www/lighttpd
46
.endif
63
.endif
47
64
48
.if !defined(WITHOUT_POSTFIX)
65
.if ${PORT_OPTIONS:MNGINX}
66
RUN_DEPENDS+=	nginx:${PORTSDIR}/www/nginx
67
.endif
68
69
.if ${PORT_OPTIONS:MMYSQLS}
70
USE_MYSQL=	server
71
.endif
72
73
.if ${PORT_OPTIONS:MPOSTFIX}
49
RUN_DEPENDS+=	postfix:${PORTSDIR}/mail/postfix
74
RUN_DEPENDS+=	postfix:${PORTSDIR}/mail/postfix
50
.endif
75
.endif
51
76
52
.if defined(WITH_DKIM)
77
.if ${PORT_OPTIONS:MEXIM}
78
RUN_DEPENDS+=	exim:${PORTSDIR}/mail/exim
79
.endif
80
81
.if ${PORT_OPTIONS:MDKIM}
53
RUN_DEPENDS+=	opendkim:${PORTSDIR}/mail/opendkim
82
RUN_DEPENDS+=	opendkim:${PORTSDIR}/mail/opendkim
54
.endif
83
.endif
55
84
56
.if !defined(WITHOUT_DOVECOT)
85
.if ${PORT_OPTIONS:MDOVECOT}
57
RUN_DEPENDS+=	dovecot:${PORTSDIR}/mail/dovecot
86
RUN_DEPENDS+=	dovecot:${PORTSDIR}/mail/dovecot
58
.endif
87
.endif
59
88
60
.if !defined(WITHOUT_PROFTPD)
89
.if ${PORT_OPTIONS:MCOURIER}
90
RUN_DEPENDS+=	courier:${PORTSDIR}/mail/courier
91
.endif
92
93
.if ${PORT_OPTIONS:MPROFTPD}
61
RUN_DEPENDS+=	${LOCALBASE}/libexec/proftpd/mod_sql_mysql.so:${PORTSDIR}/databases/proftpd-mod_sql_mysql
94
RUN_DEPENDS+=	${LOCALBASE}/libexec/proftpd/mod_sql_mysql.so:${PORTSDIR}/databases/proftpd-mod_sql_mysql
62
.endif
95
.endif
63
96
64
.if defined(WITH_POWERDNS)
97
.if ${PORT_OPTIONS:MPUREFTPD}
98
RUN_DEPENDS+=	pure-ftpd:${PORTSDIR}/ftp/pure-ftpd
99
.endif
100
101
.if ${PORT_OPTIONS:MPOWERDNS}
65
RUN_DEPENDS+=	powerdns:${PORTSDIR}/dns/powerdns
102
RUN_DEPENDS+=	powerdns:${PORTSDIR}/dns/powerdns
66
.endif
103
.endif
67
104
68
.if defined(WITH_LIBNSS)
105
.if ${PORT_OPTIONS:MLIBNSS}
69
RUN_DEPENDS+=	${LOCALBASE}/lib/nss_mysql.so:${PORTSDIR}/net/libnss-mysql
106
RUN_DEPENDS+=	${LOCALBASE}/lib/nss_mysql.so:${PORTSDIR}/net/libnss-mysql
70
.endif
107
.endif
71
108
72
.if !defined(WITHOUT_WEBALIZER)
109
.if ${PORT_OPTIONS:MWEBALIZER}
73
RUN_DEPENDS+=	webalizer:${PORTSDIR}/www/webalizer
110
RUN_DEPENDS+=	webalizer:${PORTSDIR}/www/webalizer
74
.endif
111
.endif
75
112
76
.if defined(WITH_AWSTATS)
113
.if ${PORT_OPTIONS:MAWSTATS}
77
RUN_DEPENDS+=	awstats>=6.8:${PORTSDIR}/www/awstats
114
RUN_DEPENDS+=	awstats>=6.8:${PORTSDIR}/www/awstats
78
.endif
115
.endif
79
116
80
.if defined(WITH_LOGROTATE)
117
.if ${PORT_OPTIONS:MLOGROTATE}
81
RUN_DEPENDS+=	logrotate:${PORTSDIR}/sysutils/logrotate
118
RUN_DEPENDS+=	logrotate:${PORTSDIR}/sysutils/logrotate
82
.endif
119
.endif
83
120
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (froxlor-0.9.26.tar.gz) = 99c47a7127d672778e898e1916b0a1be74378ae7694669bb9c01f4b887951e5c
1
SHA256 (froxlor-0.9.27.tar.gz) = 0468811f545d93ca98e9346e4c207b57fbbcd7669fa4435cb37cf046e2e3c031
2
SIZE (froxlor-0.9.26.tar.gz) = 1602312
2
SIZE (froxlor-0.9.27.tar.gz) = 1662621
(-)files/pkg-deinstall.in (-1 / +3 lines)
Lines 1-7 Link Here
1
#!/bin/sh
1
#!/bin/sh
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
if [ "$2" = DEINSTALL ]; then
4
if [ "$2" == "POST-DEINSTALL" ]; then
5
if [ -d %%WWWDIR%% ]; then
5
	echo ""
6
	echo ""
6
	echo "-------------------------------------------------------"
7
	echo "-------------------------------------------------------"
7
	echo "Run the following command, if you plan to permanently"
8
	echo "Run the following command, if you plan to permanently"
Lines 11-13 Link Here
11
	echo "-------------------------------------------------------"
12
	echo "-------------------------------------------------------"
12
	echo ""
13
	echo ""
13
fi
14
fi
15
fi
(-)pkg-descr (-1 / +1 lines)
Lines 4-7 Link Here
4
4
5
Froxlor is a fork of SysCP.  Froxlor saw its first release on February 15 2010.
5
Froxlor is a fork of SysCP.  Froxlor saw its first release on February 15 2010.
6
6
7
WWW:	http://www.froxlor.org/
7
WWW: http://www.froxlor.org/
(-)pkg-plist (+3 lines)
Lines 39-44 Link Here
39
www/froxlor/cache/.keep
39
www/froxlor/cache/.keep
40
www/froxlor/css/jquery.jqplot.css
40
www/froxlor/css/jquery.jqplot.css
41
www/froxlor/css/jquery.jqplot.min.css
41
www/froxlor/css/jquery.jqplot.min.css
42
www/froxlor/css/jquery.jquery-ui.css
42
www/froxlor/customer_aps.php
43
www/froxlor/customer_aps.php
43
www/froxlor/customer_autoresponder.php
44
www/froxlor/customer_autoresponder.php
44
www/froxlor/customer_domains.php
45
www/froxlor/customer_domains.php
Lines 239-244 Link Here
239
www/froxlor/install/updates/syscp/1.4/update_1.4.inc.php
240
www/froxlor/install/updates/syscp/1.4/update_1.4.inc.php
240
www/froxlor/install/updatesql.php
241
www/froxlor/install/updatesql.php
241
www/froxlor/js/excanvas.min.js
242
www/froxlor/js/excanvas.min.js
243
www/froxlor/js/jquery-ui-1.8.13.min.js
244
www/froxlor/js/jquery-ui.min.js
242
www/froxlor/js/jquery.jqplot.min.js
245
www/froxlor/js/jquery.jqplot.min.js
243
www/froxlor/js/jquery.min.js
246
www/froxlor/js/jquery.min.js
244
www/froxlor/js/jquery.tablesorter.min.js
247
www/froxlor/js/jquery.tablesorter.min.js

Return to bug 176975