aboutsummaryrefslogtreecommitdiffstats
path: root/irc/inspircd/files/pkg-deinstall.in
diff options
context:
space:
mode:
authorbeech <beech@FreeBSD.org>2008-05-19 15:01:38 +0800
committerbeech <beech@FreeBSD.org>2008-05-19 15:01:38 +0800
commit4db7e72463c97e59121cfe8bc1d3f7df608e5c8c (patch)
tree23143858618b87d5876dd0e9ceedd0d3e518a2c2 /irc/inspircd/files/pkg-deinstall.in
parent029481cd03a68aaefabe80e2e4d2967d88e2c15c (diff)
downloadfreebsd-ports-graphics-4db7e72463c97e59121cfe8bc1d3f7df608e5c8c.tar.gz
freebsd-ports-graphics-4db7e72463c97e59121cfe8bc1d3f7df608e5c8c.tar.zst
freebsd-ports-graphics-4db7e72463c97e59121cfe8bc1d3f7df608e5c8c.zip
- Update to version 1.1.19
- Add OPTIONS dialogue to enable extra modules - Add rc.subr start-up script - Add the usual boilerplate so that inspircd will run as user ircd from /usr/ports/UIDs - Fix compilation so it works with the base system version of the openssl libs as well as openssl installed from ports. PR: ports/123076 Submitted by: Matthew Seaman <matthew.seaman@thebunker.net> Approved by: Craig Edwards (Brain) <brain@inspircd.org> (maintainer)
Diffstat (limited to 'irc/inspircd/files/pkg-deinstall.in')
-rw-r--r--irc/inspircd/files/pkg-deinstall.in32
1 files changed, 32 insertions, 0 deletions
diff --git a/irc/inspircd/files/pkg-deinstall.in b/irc/inspircd/files/pkg-deinstall.in
new file mode 100644
index 00000000000..f182a03917b
--- /dev/null
+++ b/irc/inspircd/files/pkg-deinstall.in
@@ -0,0 +1,32 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+inspircd_usr=%%INSPIRCD_USR%%
+inspircd_grp=%%INSPIRCD_GRP%%
+etcdir=%%ETCDIR%%
+inspircd_name=%%PORTNAME%%
+
+case $2 in
+ POST-DEINSTALL)
+
+ cat <<EOMSG
+
+The $inspircd_name port has been deleted. If you are not
+upgrading and don't intend to use $inspircd_name any more
+then you may wish to delete the $inspircd_usr account,
+and the $inspircd_grp group together with the configuration
+directory ${etcdir}; which can be done with the
+following commands:
+
+ # pw userdel -n $inspircd_usr
+ # rm -rf $etcdir
+EOMSG
+ echo
+ ;;
+esac
+
+#
+# That's All Folks!
+#