git: ad9099a50a4d - main - devel/flyspray: replace a deinstall script with a regular message
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 Jul 2022 12:13:17 UTC
The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/ports/commit/?id=ad9099a50a4d1d32b71226014622be2402491620 commit ad9099a50a4d1d32b71226014622be2402491620 Author: Baptiste Daroussin <bapt@FreeBSD.org> AuthorDate: 2022-07-27 12:09:29 +0000 Commit: Baptiste Daroussin <bapt@FreeBSD.org> CommitDate: 2022-07-27 12:12:12 +0000 devel/flyspray: replace a deinstall script with a regular message --- devel/flyspray/Makefile | 2 +- devel/flyspray/files/pkg-message.in | 18 ++++++++++++++++++ devel/flyspray/pkg-deinstall | 19 ------------------- 3 files changed, 19 insertions(+), 20 deletions(-) diff --git a/devel/flyspray/Makefile b/devel/flyspray/Makefile index 8421f2954ff7..dcc61a842717 100644 --- a/devel/flyspray/Makefile +++ b/devel/flyspray/Makefile @@ -1,6 +1,6 @@ PORTNAME= flyspray PORTVERSION= 0.9.9.7 -PORTREVISION= 4 +PORTREVISION= 5 CATEGORIES= devel www MASTER_SITES= http://flyspray.org/packed/ diff --git a/devel/flyspray/files/pkg-message.in b/devel/flyspray/files/pkg-message.in index d814150ab343..056143029e6e 100644 --- a/devel/flyspray/files/pkg-message.in +++ b/devel/flyspray/files/pkg-message.in @@ -5,5 +5,23 @@ Please read the installation instructions in: %%DOCSDIR%%/README.FreeBSD EOM +}, +{ type: remove + message: <<EOM +The Flyspray program has been deleted but the bug tracking database has +not been touched. To delete all the bug tracking information, execute the +following commands: + + # rm -rf /var/db/flyspray + # mysqladmin -u root -p drop flyspray + +or + + # dropdb -U pgsql flyspray + +if you are using PostgreSQL backend + +Thanks for using Flyspray! +EOM } ] diff --git a/devel/flyspray/pkg-deinstall b/devel/flyspray/pkg-deinstall deleted file mode 100644 index 1559940ec8f7..000000000000 --- a/devel/flyspray/pkg-deinstall +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh - -case $2 in -DEINSTALL) - echo "--" - echo "The Flyspray program has been deleted but the bug tracking database has" - echo "not been touched. To delete all the bug tracking information, execute the" - echo "following commands:" - echo "" - echo "# rm -rf /var/db/flyspray" - echo "# mysqladmin -u root -p drop flyspray" - echo "or" - echo "# dropdb -U pgsql flyspray" - echo "if you are using PostgreSQL backend" - echo "" - echo "Thanks for using Flyspray!" - echo "--" -;; -esac