2011-02-03 10:01:18 +01:00
|
|
|
PORTNAME= froxlor
|
2022-09-03 20:58:19 +02:00
|
|
|
DISTVERSION= 0.10.38
|
2011-02-03 10:01:18 +01:00
|
|
|
CATEGORIES= sysutils www
|
2022-04-06 01:12:16 +02:00
|
|
|
MASTER_SITES= https://files.froxlor.org/releases/
|
2011-02-03 10:01:18 +01:00
|
|
|
|
2022-04-21 19:50:37 +02:00
|
|
|
MAINTAINER= nc@FreeBSD.org
|
2011-02-03 10:01:18 +01:00
|
|
|
COMMENT= PHP-based ISP Server Management Panel
|
2022-09-07 23:06:12 +02:00
|
|
|
WWW= https://www.froxlor.org/
|
2011-02-03 10:01:18 +01:00
|
|
|
|
2013-03-21 01:37:33 +01:00
|
|
|
LICENSE= GPLv2
|
|
|
|
|
2022-04-06 01:12:16 +02:00
|
|
|
USES= cpe php:cli shebangfix
|
2017-04-28 11:10:37 +02:00
|
|
|
USE_PHP= bcmath curl filter ftp json pdo_mysql posix session xml zip
|
2022-04-06 01:12:16 +02:00
|
|
|
SHEBANG_FILES= froxlor/install/scripts/*
|
2011-07-15 22:55:22 +02:00
|
|
|
|
2022-04-06 01:12:16 +02:00
|
|
|
SUB_FILES= pkg-deinstall pkg-message
|
|
|
|
SUB_LIST= PORTNAME=${PORTNAME} \
|
|
|
|
WWWGRP=${WWWGRP} \
|
|
|
|
WWWOWN=${WWWOWN}
|
2019-02-02 08:24:52 +01:00
|
|
|
PLIST_SUB= ${SUB_LIST}
|
2014-06-18 20:09:40 +02:00
|
|
|
|
2015-08-20 17:54:14 +02:00
|
|
|
NO_ARCH= yes
|
|
|
|
NO_BUILD= yes
|
2019-02-02 08:24:52 +01:00
|
|
|
NO_WRKSUBDIR= yes
|
2014-04-23 03:03:16 +02:00
|
|
|
|
2022-04-06 01:12:16 +02:00
|
|
|
OPTIONS_DEFINE= DKIM LIBNSS LOGROTATE MYSQLS NLS PCNTL
|
2011-02-03 10:01:18 +01:00
|
|
|
|
2022-04-06 01:12:16 +02:00
|
|
|
OPTIONS_RADIO= DNS FTP IMAPPOP3 SMTP WEB
|
2013-05-21 12:11:15 +02:00
|
|
|
OPTIONS_RADIO_WEB= APACHE LIGHTTPD NGINX
|
2022-04-06 01:12:16 +02:00
|
|
|
OPTIONS_RADIO_SMTP= EXIM POSTFIX
|
|
|
|
OPTIONS_RADIO_IMAPPOP3= COURIER DOVECOT2
|
2013-05-21 12:11:15 +02:00
|
|
|
OPTIONS_RADIO_FTP= PROFTPD PUREFTPD
|
2022-04-06 01:12:16 +02:00
|
|
|
OPTIONS_RADIO_DNS= ISCDNS POWERDNS
|
|
|
|
OPTIONS_MULTI= WWWST
|
|
|
|
OPTIONS_MULTI_WWWST= AWSTATS WEBALIZER
|
2013-03-21 01:37:33 +01:00
|
|
|
|
2013-05-21 12:11:15 +02:00
|
|
|
WWWST_DESC= Web access and traffic statistics dependency
|
|
|
|
WEB_DESC= Web server dependency
|
|
|
|
SMTP_DESC= SMTP server dependency
|
|
|
|
IMAPPOP3_DESC= IMAP/POP3 server dependency
|
2014-06-18 20:09:40 +02:00
|
|
|
DNS_DESC= DNS server dependency
|
2013-05-21 12:11:15 +02:00
|
|
|
FTP_DESC= FTP server dependency
|
2015-08-20 17:54:14 +02:00
|
|
|
APACHE_DESC= Apache as HTTP/HTTPS server
|
2013-05-21 12:11:15 +02:00
|
|
|
LIGHTTPD_DESC= Lighttpd as HTTP/HTTPS server
|
|
|
|
NGINX_DESC= Nginx as HTTP/HTTPS server
|
2013-03-21 01:37:33 +01:00
|
|
|
POSTFIX_DESC= Postfix as SMTP server
|
|
|
|
EXIM_DESC= Exim as SMTP server
|
|
|
|
DKIM_DESC= OpenDKIM for DomainKeys Identified Mail
|
2015-08-20 17:54:14 +02:00
|
|
|
DOVECOT2_DESC= Dovecot 2.x as IMAP/POP3 server
|
2013-03-21 01:37:33 +01:00
|
|
|
COURIER_DESC= Courier as IMAP/POP3 server
|
|
|
|
PROFTPD_DESC= ProFTPd as FTP server
|
|
|
|
PUREFTPD_DESC= Pure-FTPd as FTP server
|
|
|
|
POWERDNS_DESC= Powerdns as DNS server
|
2018-07-04 13:52:25 +02:00
|
|
|
ISCDNS_DESC= ISC BIND 9.11 from ports as DNS server
|
2013-05-21 12:11:15 +02:00
|
|
|
PCNTL_DESC= Use php-pcntl (speeds up statistics creation)
|
2013-03-21 01:37:33 +01:00
|
|
|
LIBNSS_DESC= Libnss-mysql for authentication
|
2013-05-21 12:11:15 +02:00
|
|
|
WEBALIZER_DESC= Webalizer (small, fast, static result pages)
|
|
|
|
AWSTATS_DESC= Awstats (more fancy, dynamic and static result pages)
|
2013-03-21 01:37:33 +01:00
|
|
|
LOGROTATE_DESC= Logrotate for log rotation
|
2013-05-21 12:11:15 +02:00
|
|
|
MYSQLS_DESC= Depend on MySQL server
|
|
|
|
NLS_DESC= Enable NLS support (required for webFTP frontend)
|
2013-03-21 01:37:33 +01:00
|
|
|
|
2022-04-06 01:12:16 +02:00
|
|
|
OPTIONS_DEFAULT= APACHE DOVECOT2 MYSQLS PCNTL POSTFIX PROFTPD WEBALIZER
|
2011-02-03 10:01:18 +01:00
|
|
|
|
2016-04-01 16:25:16 +02:00
|
|
|
POSTFIX_RUN_DEPENDS= postfix:mail/postfix
|
2011-02-03 10:01:18 +01:00
|
|
|
|
2016-04-01 16:25:16 +02:00
|
|
|
EXIM_RUN_DEPENDS= exim:mail/exim
|
2011-02-03 10:01:18 +01:00
|
|
|
|
2016-04-01 16:25:16 +02:00
|
|
|
DKIM_RUN_DEPENDS= opendkim:mail/opendkim
|
2013-03-21 01:37:33 +01:00
|
|
|
|
2017-08-07 23:44:00 +02:00
|
|
|
DOVECOT2_RUN_DEPENDS= dovecot>=2:mail/dovecot
|
2011-02-03 10:01:18 +01:00
|
|
|
|
2016-04-01 16:25:16 +02:00
|
|
|
COURIER_RUN_DEPENDS= courier:mail/courier
|
2013-03-21 01:37:33 +01:00
|
|
|
|
2016-04-01 16:25:16 +02:00
|
|
|
PROFTPD_RUN_DEPENDS= ${LOCALBASE}/libexec/proftpd/mod_sql_mysql.so:databases/proftpd-mod_sql_mysql
|
2011-02-03 10:01:18 +01:00
|
|
|
|
2016-04-01 16:25:16 +02:00
|
|
|
PUREFTPD_RUN_DEPENDS= pure-ftpd:ftp/pure-ftpd
|
2013-03-21 01:37:33 +01:00
|
|
|
|
2017-04-28 11:10:37 +02:00
|
|
|
POWERDNS_RUN_DEPENDS= pdns_control:dns/powerdns
|
2011-02-03 10:01:18 +01:00
|
|
|
|
2018-07-04 13:52:25 +02:00
|
|
|
ISCDNS_RUN_DEPENDS= bind>=9.11.0.0:dns/bind911
|
2014-06-18 20:09:40 +02:00
|
|
|
|
2016-04-01 16:25:16 +02:00
|
|
|
LIBNSS_RUN_DEPENDS= ${LOCALBASE}/lib/nss_mysql.so:net/libnss-mysql
|
2011-02-03 10:01:18 +01:00
|
|
|
|
2016-04-01 16:25:16 +02:00
|
|
|
WEBALIZER_RUN_DEPENDS= webalizer:www/webalizer
|
2013-03-21 01:37:33 +01:00
|
|
|
|
2016-04-01 16:25:16 +02:00
|
|
|
AWSTATS_RUN_DEPENDS= awstats>=6.8:www/awstats
|
2011-02-03 10:01:18 +01:00
|
|
|
|
2016-04-01 16:25:16 +02:00
|
|
|
LOGROTATE_RUN_DEPENDS= logrotate:sysutils/logrotate
|
2013-03-21 01:37:33 +01:00
|
|
|
|
2016-04-01 16:25:16 +02:00
|
|
|
LIGHTTPD_RUN_DEPENDS= lighttpd:www/lighttpd
|
2011-02-03 10:01:18 +01:00
|
|
|
|
2016-04-01 16:25:16 +02:00
|
|
|
NGINX_RUN_DEPENDS= nginx:www/nginx
|
2011-02-03 10:01:18 +01:00
|
|
|
|
2018-04-08 14:41:36 +02:00
|
|
|
APACHE_USES= apache php:mod
|
2011-02-03 10:01:18 +01:00
|
|
|
|
2019-10-19 00:49:02 +02:00
|
|
|
MYSQLS_USES= mysql:server
|
2011-02-03 10:01:18 +01:00
|
|
|
|
2013-11-26 11:44:18 +01:00
|
|
|
PCNTL_USE= PHP=pcntl
|
2012-02-20 01:06:18 +01:00
|
|
|
|
2014-11-29 19:22:32 +01:00
|
|
|
NLS_USES= gettext-runtime:run
|
2013-11-26 11:44:18 +01:00
|
|
|
NLS_USE= PHP=gettext
|
2013-05-21 12:11:15 +02:00
|
|
|
|
2011-02-03 10:01:18 +01:00
|
|
|
do-install:
|
2019-02-02 08:24:52 +01:00
|
|
|
cd ${WRKSRC}/${PORTNAME} && \
|
2011-07-15 22:55:22 +02:00
|
|
|
${FIND} . ! -name .gitignore | \
|
2013-10-25 04:38:15 +02:00
|
|
|
${CPIO} --quiet -pdm ${STAGEDIR}${WWWDIR}
|
2011-02-03 10:01:18 +01:00
|
|
|
|
2013-05-21 12:11:15 +02:00
|
|
|
.include <bsd.port.mk>
|