mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-15 03:14:23 +00:00
e8643086f5
There is development version of openldap named 2.3.2beta2. These ports are based on http://people.freebsd.org/~eik/ports/openldap23.shar. The repocopy has been already made in ports/77170. PR: ports/80618 Submitted by: Vsevolod Stakhov <vsevolod@highsecure.ru>
34 lines
867 B
Bash
34 lines
867 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
ECHO_CMD=echo
|
|
|
|
case $2 in
|
|
POST-DEINSTALL)
|
|
${ECHO_CMD}
|
|
${ECHO_CMD} "The OpenLDAP server package has been deleted."
|
|
${ECHO_CMD} "If you're *not* upgrading and won't be using"
|
|
${ECHO_CMD} "it any longer, you may want to issue the"
|
|
${ECHO_CMD} "following commands:"
|
|
${ECHO_CMD}
|
|
if [ -d %%DATABASEDIR%% ]; then
|
|
${ECHO_CMD} "- to delete the OpenLDAP database permanently (losing all data):"
|
|
${ECHO_CMD} " rm -Rf %%DATABASEDIR%%"
|
|
${ECHO_CMD}
|
|
fi
|
|
if [ -d %%SLURPDIR%% ]; then
|
|
${ECHO_CMD} "- to remove the OpenLDAP replication directory:"
|
|
${ECHO_CMD} " rm -Rf %%SLURPDIR%%"
|
|
${ECHO_CMD}
|
|
fi
|
|
${ECHO_CMD} "- to remove the OpenLDAP user:"
|
|
${ECHO_CMD} " pw userdel ldap"
|
|
${ECHO_CMD}
|
|
${ECHO_CMD} "If you are upgrading, don't forget to restart"
|
|
${ECHO_CMD} "slapd and slurpd."
|
|
${ECHO_CMD}
|
|
;;
|
|
esac
|