mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-23 09:10:43 +00:00
- Copy bareos-* ports to bareos18-*. bareos-* will be update to 19.2.5
This commit is contained in:
parent
2cee7900c7
commit
03c12257f8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=525236
@ -42,6 +42,7 @@
|
||||
SUBDIR += bareos-webui
|
||||
SUBDIR += bareos16-webui
|
||||
SUBDIR += bareos17-webui
|
||||
SUBDIR += bareos18-webui
|
||||
SUBDIR += bkmrkconv
|
||||
SUBDIR += blastbeat
|
||||
SUBDIR += bluefish
|
||||
|
67
www/bareos18-webui/Makefile
Normal file
67
www/bareos18-webui/Makefile
Normal file
@ -0,0 +1,67 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= bareos18
|
||||
DISTVERSIONPREFIX= Release/
|
||||
DISTVERSION= 18.2.7
|
||||
CATEGORIES?= www sysutils
|
||||
PKGNAMESUFFIX= -webui
|
||||
|
||||
MAINTAINER= acm@FreeBSD.org
|
||||
COMMENT= PHP-Frontend to manage Bareos over the web
|
||||
|
||||
LICENSE= AGPLv3+
|
||||
LICENSE_FILE= ${WRKSRC}/webui/LICENSE
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= bareos
|
||||
GH_PROJECT= bareos
|
||||
|
||||
USES= php
|
||||
USE_PHP= openssl gettext ctype hash json session iconv
|
||||
NO_BUILD= yes
|
||||
NO_ARCH= yes
|
||||
|
||||
SUB_FILES= pkg-message
|
||||
PLIST_SUB+= WWWOWN=${WWWOWN} WWWGRP=${WWWGRP}
|
||||
SUB_LIST= BAREOSWEBUIDIR=${WWWDIR}
|
||||
|
||||
OPTIONS_DEFINE= MYSQL PGSQL ZENDFRAMEWORK
|
||||
OPTIONS_DEFAULT= PGSQL
|
||||
ZENDFRAMEWORK_DESC= Install zend framework
|
||||
|
||||
MYSQL_USE= PHP=pdo_mysql
|
||||
PGSQL_USE= PHP=pdo_pgsql
|
||||
ZENDFRAMEWORK_RUN_DEPENDS= ${LOCALBASE}/share/ZendFramework/bin/classmap_generator.php:www/zend-framework
|
||||
|
||||
post-extract:
|
||||
${RM} ${WRKSRC}/webui/config/autoload/.gitignore
|
||||
${RM} ${WRKSRC}/webui/data/cache/.gitignore
|
||||
${RM} ${WRKSRC}/webui/vendor/.gitignore
|
||||
${MV} ${WRKSRC}/webui/version.php.in ${WRKSRC}/webui/version.php
|
||||
${MV} ${WRKSRC}/webui/config/autoload/global.php.in ${WRKSRC}/webui/config/autoload/global.php
|
||||
${MV} ${WRKSRC}/webui/module/Application/view/layout/layout.phtml.in ${WRKSRC}/webui/module/Application/view/layout/layout.phtml
|
||||
${MV} ${WRKSRC}/webui/module/Application/view/layout/login.phtml.in ${WRKSRC}/webui/module/Application/view/layout/login.phtml
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/etc/|${LOCALBASE}/etc/|g' -e 's|@WEBUICONFDIR@|${ETCDIR}|g' -e \
|
||||
's|@dirport@|9101|g' ${WRKSRC}/webui/config/autoload/global.php
|
||||
@${REINPLACE_CMD} -e 's|@BAREOS_FULL_VERSION@|${PORTVERSION}|g' ${WRKSRC}/webui/version.php
|
||||
|
||||
do-install:
|
||||
@${ECHO} "Installing in ${WWWDIR}"
|
||||
@${MKDIR} ${STAGEDIR}${ETCDIR}/bareos-dir.d/console
|
||||
@${MKDIR} ${STAGEDIR}${ETCDIR}/bareos-dir.d/profile
|
||||
@${MKDIR} ${STAGEDIR}${BAREOSWEB_HOME}
|
||||
cd ${WRKSRC}/webui && ${COPYTREE_SHARE} "config data module public vendor" \
|
||||
${STAGEDIR}${WWWDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/webui/*.php ${STAGEDIR}${WWWDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/webui/composer* ${STAGEDIR}${WWWDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/webui/phpunit.xml ${STAGEDIR}${WWWDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/webui/install/directors.ini.in ${STAGEDIR}${ETCDIR}/directors.ini
|
||||
${INSTALL_DATA} ${WRKSRC}/webui/install/configuration.ini.in ${STAGEDIR}${ETCDIR}/configuration.ini
|
||||
${INSTALL_DATA} ${WRKSRC}/webui/install/bareos/bareos-dir.d/console/admin.conf.example ${STAGEDIR}${ETCDIR}/bareos-dir.d/console/admin.conf.sample
|
||||
${INSTALL_DATA} ${WRKSRC}/webui/install/bareos/bareos-dir.d/profile/webui-admin.conf ${STAGEDIR}${ETCDIR}/bareos-dir.d/profile/webui-admin.conf.sample
|
||||
${INSTALL_DATA} ${WRKSRC}/webui/install/apache/bareos-webui.conf ${STAGEDIR}${ETCDIR}/apache-bareos-webui.conf
|
||||
${INSTALL_DATA} ${WRKSRC}/webui/install/nginx/bareos-webui.conf ${STAGEDIR}${ETCDIR}/nginx-bareos-webui.conf
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/bareos18-webui/distinfo
Normal file
3
www/bareos18-webui/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1577572373
|
||||
SHA256 (bareos-bareos-Release-18.2.7_GH0.tar.gz) = 08fea6e9505188a5e585f90448d6f30befeff2fafc2c494a68e2b571c7c6637f
|
||||
SIZE (bareos-bareos-Release-18.2.7_GH0.tar.gz) = 10552298
|
15
www/bareos18-webui/files/pkg-message.in
Normal file
15
www/bareos18-webui/files/pkg-message.in
Normal file
@ -0,0 +1,15 @@
|
||||
[
|
||||
{ type: install
|
||||
message: <<EOM
|
||||
bareos webui was installed
|
||||
|
||||
Please note that everything has been installed in %%BAREOSWEBUIDIR%%. You can
|
||||
look bareos-webui installation/configuration instructions at:
|
||||
|
||||
https://github.com/bareos/bareos-webui/blob/master/doc/INSTALL.md
|
||||
|
||||
1) Configuration files are stored at %%ETCDIR%%
|
||||
2) Bacula-webgui needs www/zend-framework port with PGSQL or MYSQL support.
|
||||
EOM
|
||||
}
|
||||
]
|
10
www/bareos18-webui/pkg-descr
Normal file
10
www/bareos18-webui/pkg-descr
Normal file
@ -0,0 +1,10 @@
|
||||
The bareos-webui is a free software tool written in PHP, intended to monitor
|
||||
and manage Bareos over the web.
|
||||
|
||||
The webui is based on Zend Framework 2, an open source framework for developing
|
||||
web applications and services using PHP 5.3+ and makes extensive use of the
|
||||
Twitter Bootstrap front-end framework.
|
||||
|
||||
The bareos-webui is licensed under AGPL Version 3.
|
||||
|
||||
WWW: http://www.bareos.org/
|
1956
www/bareos18-webui/pkg-plist
Normal file
1956
www/bareos18-webui/pkg-plist
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user