git: 794d9d09ddb6 - main - www/bacula-web: Show a message on deinstall to remove files
Matthias Fechner
mfechner at FreeBSD.org
Sat Jul 17 08:08:28 UTC 2021
The branch main has been updated by mfechner:
URL: https://cgit.FreeBSD.org/ports/commit/?id=794d9d09ddb62f65ffdc66df5eb4ec5944924604
commit 794d9d09ddb62f65ffdc66df5eb4ec5944924604
Author: Matthias Fechner <mfechner at FreeBSD.org>
AuthorDate: 2021-07-17 08:06:00 +0000
Commit: Matthias Fechner <mfechner at FreeBSD.org>
CommitDate: 2021-07-17 08:08:24 +0000
www/bacula-web: Show a message on deinstall to remove files
The application is generating some files on usage which are maybe not
required anymore if you deinstalled the application.
Suggest on deinstall a command the user can execute to remove all
files.
PR: 196016
---
www/bacula-web/Makefile | 2 +-
www/bacula-web/files/pkg-message.in | 7 +++++++
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/www/bacula-web/Makefile b/www/bacula-web/Makefile
index f1fe22020865..62b4ad954d73 100644
--- a/www/bacula-web/Makefile
+++ b/www/bacula-web/Makefile
@@ -3,7 +3,7 @@
PORTNAME= bacula-web
DISTVERSIONPREFIX= v
DISTVERSION= 8.4.2
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= www sysutils
PKGNAMESUFFIX= ${PHP_PKGNAMESUFFIX}
diff --git a/www/bacula-web/files/pkg-message.in b/www/bacula-web/files/pkg-message.in
index 02bdcc7292ec..79d51091ded5 100644
--- a/www/bacula-web/files/pkg-message.in
+++ b/www/bacula-web/files/pkg-message.in
@@ -31,4 +31,11 @@ Make sure to update dependencies with:
cd %%WWWDIR%%; composer i
EOM
}
+{
+ type: remove
+ message: <<EOM
+You would like to delete:
+ rm -R %%WWWDIR%%
+EOM
+}
]
More information about the dev-commits-ports-all
mailing list