diff --git a/www/bacula-web/Makefile b/www/bacula-web/Makefile index 20c3da66bd53..2c9e4edb74d2 100644 --- a/www/bacula-web/Makefile +++ b/www/bacula-web/Makefile @@ -1,56 +1,57 @@ PORTNAME= bacula-web DISTVERSIONPREFIX= v DISTVERSION= 8.6.1 +PORTREVISION= 1 CATEGORIES= www sysutils PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX} MAINTAINER= ler@FreeBSD.org COMMENT= Bacula-web provides a summarized output of Bacula jobs WWW= https://www.bacula-web.org/ LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/LICENSE RUN_DEPENDS= ${LOCALBASE}/bin/composer:devel/php-composer@${PHP_FLAVOR} USES= php:web,flavors USE_PHP= dom gd gettext posix session simplexml tokenizer xml xmlwriter USE_GITHUB= yes NO_BUILD= yes NO_ARCH= yes SUB_FILES= pkg-message OPTIONS_DEFINE= MYSQL PGSQL SQLITE OPTIONS_DEFAULT= MYSQL PGSQL SQLITE SQLITE_USES= sqlite .include .if ${PORT_OPTIONS:MMYSQL} USES+= mysql CONFIGURE_ARGS+= --with-mysql=yes SUB_LIST+= REQ_MYSQL=mysql USE_PHP+= pdo_mysql .endif .if ${PORT_OPTIONS:MPGSQL} USES+= pgsql CONFIGURE_ARGS+= --with-postgresql=yes SUB_LIST+= REQ_PGSQL=postgresql USE_PHP+= pdo_pgsql .endif .if ${PORT_OPTIONS:MSQLITE} CONFIGURE_ARGS+= --with-sqlite=yes SUB_LIST+= REQ_SQLITE=sqlite USE_PHP+= pdo_sqlite sqlite3 .endif do-install: # Maybe we should delete some files ${FIND} ${WRKSRC} -name '*.orig' -delete @${ECHO} "Installing in ${WWWDIR}" (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/www/${PORTNAME}) .include diff --git a/www/bacula-web/files/patch-application_config_config.php.sample b/www/bacula-web/files/patch-application_config_config.php.sample deleted file mode 100644 index 47e0d73ebcc0..000000000000 --- a/www/bacula-web/files/patch-application_config_config.php.sample +++ /dev/null @@ -1,21 +0,0 @@ ---- application/config/config.php.sample.orig 2020-04-17 09:56:28 UTC -+++ application/config/config.php.sample -@@ -53,13 +53,13 @@ $config['language'] = 'en_US'; - // $config[0]['db_port'] = '3306'; - - // postgreSQL bacula catalog --// $config[0]['label'] = 'Prod Server'; -+$config[0]['label'] = 'Prod Server'; - // $config[0]['host'] = 'db-server.domain.com'; --// $config[0]['login'] = 'bacula'; -+$config[0]['login'] = 'bacula'; - // $config[0]['password'] = 'otherstrongpassword'; --// $config[0]['db_name'] = 'bacula'; --// $config[0]['db_type'] = 'pgsql'; --// $config[0]['db_port'] = '5432'; -+$config[0]['db_name'] = 'bacula'; -+$config[0]['db_type'] = 'pgsql'; -+$config[0]['db_port'] = '5432'; - - // SQLite bacula catalog - // $config[0]['label'] = 'Dev backup server'; diff --git a/www/bacula-web/pkg-plist b/www/bacula-web/pkg-plist index 73a6cbe8ce84..e22093070deb 100644 --- a/www/bacula-web/pkg-plist +++ b/www/bacula-web/pkg-plist @@ -1,180 +1,181 @@ @dir(,,744) %%WWWDIR%%/application/assets/protected @dir(,,744) %%WWWDIR%%/application/views/cache @group www @owner www %%WWWDIR%%/.codeclimate.yml %%WWWDIR%%/.csslintrc %%WWWDIR%%/.eslintignore %%WWWDIR%%/.eslintrc.yml %%WWWDIR%%/.github/ISSUE_TEMPLATE/bug_report.md %%WWWDIR%%/.github/workflows/build.yml %%WWWDIR%%/.htaccess %%WWWDIR%%/.readthedocs.yaml %%WWWDIR%%/.tx/config %%WWWDIR%%/CONTRIBUTING.md %%WWWDIR%%/LICENSE %%WWWDIR%%/README.md +%%WWWDIR%%/application/Entity/Job.php %%WWWDIR%%/application/Entity/log.php %%WWWDIR%%/application/Entity/user.php %%WWWDIR%%/application/assets/css/default.css %%WWWDIR%%/application/assets/images/bacula-web-logo.png %%WWWDIR%%/application/assets/js/default.js %%WWWDIR%%/application/assets/js/ie10-viewport-bug-workaround.js %%WWWDIR%%/application/assets/protected/.htaccess %%WWWDIR%%/application/config/.htaccess %%WWWDIR%%/application/config/application.php %%WWWDIR%%/application/libs/fileconfig.class.php %%WWWDIR%%/application/locale/be/LC_MESSAGES/messages.mo %%WWWDIR%%/application/locale/be/LC_MESSAGES/messages.po %%WWWDIR%%/application/locale/be_BY/LC_MESSAGES/messages.mo %%WWWDIR%%/application/locale/be_BY/LC_MESSAGES/messages.po %%WWWDIR%%/application/locale/ca/LC_MESSAGES/messages.mo %%WWWDIR%%/application/locale/ca/LC_MESSAGES/messages.po %%WWWDIR%%/application/locale/ca_ES/LC_MESSAGES/messages.mo %%WWWDIR%%/application/locale/ca_ES/LC_MESSAGES/messages.po %%WWWDIR%%/application/locale/de_DE/LC_MESSAGES/messages.mo %%WWWDIR%%/application/locale/de_DE/LC_MESSAGES/messages.po %%WWWDIR%%/application/locale/en_EN/LC_MESSAGES/messages.mo %%WWWDIR%%/application/locale/en_EN/LC_MESSAGES/messages.po %%WWWDIR%%/application/locale/es_ES/LC_MESSAGES/messages.mo %%WWWDIR%%/application/locale/es_ES/LC_MESSAGES/messages.po %%WWWDIR%%/application/locale/fr_FR/LC_MESSAGES/messages.mo %%WWWDIR%%/application/locale/fr_FR/LC_MESSAGES/messages.po %%WWWDIR%%/application/locale/it_IT/LC_MESSAGES/messages.mo %%WWWDIR%%/application/locale/it_IT/LC_MESSAGES/messages.po %%WWWDIR%%/application/locale/ja_JP/LC_MESSAGES/messages.mo %%WWWDIR%%/application/locale/ja_JP/LC_MESSAGES/messages.po %%WWWDIR%%/application/locale/nl_NL/LC_MESSAGES/messages.mo %%WWWDIR%%/application/locale/nl_NL/LC_MESSAGES/messages.po %%WWWDIR%%/application/locale/no_NO/LC_MESSAGES/messages.mo %%WWWDIR%%/application/locale/no_NO/LC_MESSAGES/messages.po %%WWWDIR%%/application/locale/pl/LC_MESSAGES/messages.mo %%WWWDIR%%/application/locale/pl/LC_MESSAGES/messages.po %%WWWDIR%%/application/locale/pl_PL/LC_MESSAGES/messages.mo %%WWWDIR%%/application/locale/pl_PL/LC_MESSAGES/messages.po %%WWWDIR%%/application/locale/pt_BR/LC_MESSAGES/messages.mo %%WWWDIR%%/application/locale/pt_BR/LC_MESSAGES/messages.po %%WWWDIR%%/application/locale/ro_RO/LC_MESSAGES/messages.mo %%WWWDIR%%/application/locale/ro_RO/LC_MESSAGES/messages.po %%WWWDIR%%/application/locale/ru_RU/LC_MESSAGES/messages.mo %%WWWDIR%%/application/locale/ru_RU/LC_MESSAGES/messages.po %%WWWDIR%%/application/locale/sv_SE/LC_MESSAGES/messages.mo %%WWWDIR%%/application/locale/sv_SE/LC_MESSAGES/messages.po %%WWWDIR%%/application/locale/zh_CN/LC_MESSAGES/messages.mo %%WWWDIR%%/application/locale/zh_CN/LC_MESSAGES/messages.po %%WWWDIR%%/application/tables/CatalogTable.php %%WWWDIR%%/application/tables/ClientTable.php %%WWWDIR%%/application/tables/FileSetTable.php %%WWWDIR%%/application/tables/JobFileTable.php %%WWWDIR%%/application/tables/JobTable.php %%WWWDIR%%/application/tables/LogTable.php %%WWWDIR%%/application/tables/PoolTable.php %%WWWDIR%%/application/tables/UserTable.php %%WWWDIR%%/application/tables/VolumeTable.php %%WWWDIR%%/application/views/backupjob.view.php %%WWWDIR%%/application/views/cache/README %%WWWDIR%%/application/views/client.view.php %%WWWDIR%%/application/views/dashboard.view.php %%WWWDIR%%/application/views/directors.view.php %%WWWDIR%%/application/views/jobfiles.php %%WWWDIR%%/application/views/joblogs.view.php %%WWWDIR%%/application/views/jobs.view.php %%WWWDIR%%/application/views/login.view.php %%WWWDIR%%/application/views/pools.view.php %%WWWDIR%%/application/views/settings.view.php %%WWWDIR%%/application/views/templates/backupjob-report.tpl %%WWWDIR%%/application/views/templates/client-report.tpl %%WWWDIR%%/application/views/templates/dashboard.tpl %%WWWDIR%%/application/views/templates/directors.tpl %%WWWDIR%%/application/views/templates/footer.tpl %%WWWDIR%%/application/views/templates/header.tpl %%WWWDIR%%/application/views/templates/jobfiles.tpl %%WWWDIR%%/application/views/templates/joblogs.tpl %%WWWDIR%%/application/views/templates/jobs.tpl %%WWWDIR%%/application/views/templates/layouts/default.tpl %%WWWDIR%%/application/views/templates/login.tpl %%WWWDIR%%/application/views/templates/pagination.tpl %%WWWDIR%%/application/views/templates/pools.tpl %%WWWDIR%%/application/views/templates/settings.tpl %%WWWDIR%%/application/views/templates/test.tpl %%WWWDIR%%/application/views/templates/usersettings.tpl %%WWWDIR%%/application/views/templates/volumes.tpl %%WWWDIR%%/application/views/test.view.php %%WWWDIR%%/application/views/usersettings.view.php %%WWWDIR%%/application/views/volumes.view.php %%WWWDIR%%/bwc %%WWWDIR%%/composer.json %%WWWDIR%%/composer.lock %%WWWDIR%%/console.php %%WWWDIR%%/core/Exception/NotAuthorizedException.php %%WWWDIR%%/core/Exception/PageNotFoundException.php %%WWWDIR%%/core/app/cerrorhandler.class.php %%WWWDIR%%/core/app/cview.class.php %%WWWDIR%%/core/app/userauth.class.php %%WWWDIR%%/core/app/webapplication.class.php %%WWWDIR%%/core/bootstrap.php %%WWWDIR%%/core/const.inc.php %%WWWDIR%%/core/db/Database.php %%WWWDIR%%/core/db/DatabaseFactory.php %%WWWDIR%%/core/db/Table.php %%WWWDIR%%/core/db/cdbpagination.class.php %%WWWDIR%%/core/db/cdbquery.class.php %%WWWDIR%%/core/graph/chart.class.php %%WWWDIR%%/core/helpers/sanitizer.php %%WWWDIR%%/core/i18n/ctranslation.class.php %%WWWDIR%%/core/utils/cutils.class.php %%WWWDIR%%/core/utils/datetimeutil.class.php %%WWWDIR%%/core/utils/file.class.php %%WWWDIR%%/core/utils/htmlhelper.class.php %%WWWDIR%%/docs/CHANGELOG.md %%WWWDIR%%/docs/requirements.txt %%WWWDIR%%/docs/source/01_about/about.rst %%WWWDIR%%/docs/source/01_about/features.rst %%WWWDIR%%/docs/source/01_about/index.rst %%WWWDIR%%/docs/source/01_about/license.rst %%WWWDIR%%/docs/source/01_about/release.rst %%WWWDIR%%/docs/source/02_install/apache-installation.rst %%WWWDIR%%/docs/source/02_install/configure.rst %%WWWDIR%%/docs/source/02_install/finalize.rst %%WWWDIR%%/docs/source/02_install/index.rst %%WWWDIR%%/docs/source/02_install/installarchive.rst %%WWWDIR%%/docs/source/02_install/installcomposer.rst %%WWWDIR%%/docs/source/02_install/nginx-installation.rst %%WWWDIR%%/docs/source/02_install/overview.rst %%WWWDIR%%/docs/source/02_install/requirements.rst %%WWWDIR%%/docs/source/02_install/test.rst %%WWWDIR%%/docs/source/02_install/upgrade.rst %%WWWDIR%%/docs/source/03_gethelp/faq.rst %%WWWDIR%%/docs/source/03_gethelp/index.rst %%WWWDIR%%/docs/source/03_gethelp/support.rst %%WWWDIR%%/docs/source/04_contribute/development.rst %%WWWDIR%%/docs/source/04_contribute/index.rst %%WWWDIR%%/docs/source/04_contribute/translations.rst %%WWWDIR%%/docs/source/_static/bacula-web-backupjob-report.jpg %%WWWDIR%%/docs/source/_static/bacula-web-client-report.jpg %%WWWDIR%%/docs/source/_static/bacula-web-dashboard.jpg %%WWWDIR%%/docs/source/_static/bacula-web-directors.jpg %%WWWDIR%%/docs/source/_static/bacula-web-job-logs-option.jpg %%WWWDIR%%/docs/source/_static/bacula-web-job-logs.jpg %%WWWDIR%%/docs/source/_static/bacula-web-jobfiles.jpg %%WWWDIR%%/docs/source/_static/bacula-web-jobs-report-options.jpg %%WWWDIR%%/docs/source/_static/bacula-web-jobs-report.jpg %%WWWDIR%%/docs/source/_static/bacula-web-logo.png %%WWWDIR%%/docs/source/_static/bacula-web-pools.jpg %%WWWDIR%%/docs/source/_static/bacula-web-settings-menu.jpg %%WWWDIR%%/docs/source/_static/bacula-web-settings.jpg %%WWWDIR%%/docs/source/_static/bacula-web-test-page.jpg %%WWWDIR%%/docs/source/_static/bacula-web-user-settings-menu.jpg %%WWWDIR%%/docs/source/_static/bacula-web-user-settings.jpg %%WWWDIR%%/docs/source/_static/bacula-web-users.jpg %%WWWDIR%%/docs/source/_static/bacula-web-volumes.jpg %%WWWDIR%%/docs/source/conf.py %%WWWDIR%%/docs/source/index.rst %%WWWDIR%%/public/.htaccess %%WWWDIR%%/public/css/.gitkeep %%WWWDIR%%/public/fonts/.gitkeep %%WWWDIR%%/public/img/.gitkeep %%WWWDIR%%/public/index.php %%WWWDIR%%/public/js/.gitkeep %%WWWDIR%%/sonar-project.properties @sample %%WWWDIR%%/application/config/config.php.sample