git: 47d428759113 - main - net/micro_proxy: use pkg-message to show message on remove
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 27 Jul 2022 12:58:28 UTC
The branch main has been updated by bapt: URL: https://cgit.FreeBSD.org/ports/commit/?id=47d428759113b461eba2f93c17be8d42f572ad3d commit 47d428759113b461eba2f93c17be8d42f572ad3d Author: Baptiste Daroussin <bapt@FreeBSD.org> AuthorDate: 2022-07-27 12:38:24 +0000 Commit: Baptiste Daroussin <bapt@FreeBSD.org> CommitDate: 2022-07-27 12:38:24 +0000 net/micro_proxy: use pkg-message to show message on remove --- net/micro_proxy/Makefile | 1 + net/micro_proxy/files/pkg-message.in | 6 ++++++ net/micro_proxy/pkg-deinstall | 12 ------------ 3 files changed, 7 insertions(+), 12 deletions(-) diff --git a/net/micro_proxy/Makefile b/net/micro_proxy/Makefile index 16c0038f740b..6daba3eba312 100644 --- a/net/micro_proxy/Makefile +++ b/net/micro_proxy/Makefile @@ -1,5 +1,6 @@ PORTNAME= micro_proxy PORTVERSION= 20140814 +PORTREVISION= 1 CATEGORIES= net MASTER_SITES= http://www.acme.com/software/micro_proxy/ \ LOCAL/ehaupt diff --git a/net/micro_proxy/files/pkg-message.in b/net/micro_proxy/files/pkg-message.in index 599c1176f116..bc4333b09716 100644 --- a/net/micro_proxy/files/pkg-message.in +++ b/net/micro_proxy/files/pkg-message.in @@ -16,5 +16,11 @@ to inetd.conf(5), to rc.conf(5) and restart inetd(8). See micro_proxy(8) for more information. EOM +}, +{ type: remove + message: <<EOM +Micro_proxy has been successfully deinstalled. If you ran it with inetd(8) make +sure you remove all the manual configuration. +EOM } ] diff --git a/net/micro_proxy/pkg-deinstall b/net/micro_proxy/pkg-deinstall deleted file mode 100644 index 70a8ab814341..000000000000 --- a/net/micro_proxy/pkg-deinstall +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/sh - -case $2 in -POST-DEINSTALL) -cat << "EOF" -=============================================================================== -Micro_proxy has been successfully deinstalled. If you ran it with inetd(8) make -sure you remove all the manual configuration. -=============================================================================== -EOF -;; -esac