svn commit: r544738 - in head/security/tripwire: . files
Cy Schubert
cy at FreeBSD.org
Wed Aug 12 08:53:50 UTC 2020
Author: cy
Date: Wed Aug 12 08:53:49 2020
New Revision: 544738
URL: https://svnweb.freebsd.org/changeset/ports/544738
Log:
pkg delete tripwire results in an infinite loop due to it askking
whether to retain the tripwrie databse or not. The resolution is
to notify the user to manually remove the tripwrie database if it
is not longer needed.
MFH: 2020Q3 (packaging bugfix)
Modified:
head/security/tripwire/Makefile (contents, props changed)
head/security/tripwire/files/pkg-deinstall.in (contents, props changed)
Modified: head/security/tripwire/Makefile
==============================================================================
--- head/security/tripwire/Makefile Wed Aug 12 07:55:50 2020 (r544737)
+++ head/security/tripwire/Makefile Wed Aug 12 08:53:49 2020 (r544738)
@@ -3,6 +3,7 @@
PORTNAME= tripwire
PORTVERSION= 2.4.3.7
+PORTREVISION= 1
CATEGORIES= security
MAINTAINER= cy at FreeBSD.org
Modified: head/security/tripwire/files/pkg-deinstall.in
==============================================================================
--- head/security/tripwire/files/pkg-deinstall.in Wed Aug 12 07:55:50 2020 (r544737)
+++ head/security/tripwire/files/pkg-deinstall.in Wed Aug 12 08:53:49 2020 (r544738)
@@ -6,25 +6,7 @@ POST-DEINSTALL)
return 0
fi
if [ -d %%TWCFG%% -o -d %%TWDB%% ]; then
- unset ANS
- echo
- while [ -z "$ANS" ]; do
- echo If permanently deleting this package,
- echo %%TWCFG%% and %%TWDB%% may be removed.
- echo Do you wish to delete %%TWCFG%%
- echo -n and %%TWDB%%? '(yes/no) -: '
- read ANS
- case $ANS in
- [Yy]|[Yy][Ee][Ss])
- rm -rf %%TWCFG%% %%TWDB%%
- ;;
- [Nn]|[Nn][Oo])
- ;;
- *) echo Answer must be yes or no.
- echo
- unset ANS
- ;;
- esac
- done
+ echo If permanently deleting this package,
+ echo %%TWCFG%% and %%TWDB%% may be removed.
fi
esac
More information about the svn-ports-head
mailing list