5274b14529
in SourceForge SVN. It now builds using SCons, and the Boost C++ libraries. The package is now relocatable using the rtld $ORIGIN feature, and should now conform to hier(7), and the Filesystem Hierarchy Standard. Other improvements include: more mature shared library support, default to using UNIX domain sockets for improved RPC performance, PIM-SM BSR, various bug fixes and performance enhancements, size reductions. With shared libraries, a full production router suite package of xorp-devel now weighs in at ~22MB on-disk, on amd64.
22 lines
411 B
Bash
22 lines
411 B
Bash
#!/bin/sh
|
|
#
|
|
# $FreeBSD: /tmp/pcvs/ports/net/xorp-devel/pkg-deinstall,v 1.1 2009-12-08 10:53:09 bms Exp $
|
|
#
|
|
|
|
PATH=/bin:/usr/sbin
|
|
|
|
if [ -z "${XORP_GROUP}" ]; then
|
|
XORP_GROUP=xorp
|
|
fi
|
|
|
|
case $2 in
|
|
POST-DEINSTALL)
|
|
if pw group show ${XORP_GROUP} 2>/dev/null
|
|
then
|
|
echo "Deleting group ${XORP_GROUP}..."
|
|
pw groupdel -n ${XORP_GROUP} 2>/dev/null
|
|
else
|
|
echo "Group ${XORP_GROUP} not found!"
|
|
fi
|
|
;;
|
|
esac
|