freebsd-ports/sysutils/cbsd/pkg-deinstall
Kubilay Kocak 5420b82d0d sysutils/cbsd: Add libsqlite3.so to LIB_DEPENDS
- Add sqlite3 to LIB_DEPENDS
- Remove MASTER_SITES, not required when USE_GITHUB=yes
- Remove GH_PROJECT, already defaults to ${PORTNAME}
- Strip trailing-slash from pkg-descr WWW: URL

While I'm here:

- Tweak IGNORE message
- Tweak pkg-message.in and pkg-deinstall

PR:		191772
Submitted by:	Oleg Ginzburg <olevole@olevole.ru> (maintainer)
2014-07-10 07:39:26 +00:00

34 lines
1.1 KiB
Bash

#!/bin/sh
case $2 in
POST-DEINSTALL)
echo
echo "The cbsd package has been deleted."
echo
echo "If you are *not* upgrading this package, you may want to"
echo "remove the following to complete the deinstallation process:"
echo
echo "1) Records in /var/cron/tabs/root"
echo
echo " * * * * * /usr/bin/lockf -s -t0 \$workdir/ftmp/periodic_minutes \\"
echo " /usr/sbin/periodic minutes > /dev/null 2>&1"
echo " 0 * * * * /usr/bin/lockf -s -t0 \$workdir/ftmp/periodic_hourly \\"
echo " /usr/sbin/periodic hourly > /dev/null 2>&1"
echo
echo "2) Records in /etc/periodic.conf"
echo
echo " local_periodic=\"/usr/local/etc/periodic \$workdir/etc/periodic\""
echo
echo "3) Records in /etc/rc.conf"
echo
echo " cbsdrsyncd_enable=\"YES\""
echo " cbsdrsyncd_flags=\"--config=\$workdir/etc/rsyncd.conf\""
echo " cbsdd_enable=\"YES\""
echo " devfs_load_rulesets=\"YES\""
echo " cbsd_workdir=\"\$workdir\""
echo " rcshutdown_timeout=\"900\""
echo " sshd_flags=\"-oPort=22222\""
echo
echo "4) Remove /usr/local/etc/sudoers.d/cbsd_sudoers"
echo
;;
esac