Path to this page:
./
net/vtun,
Virtual Tunnels over TCP/IP networks with traffic shaping
Branch: pkgsrc-2013Q1,
Version: 3.0.2nb1,
Package name: vtun-3.0.2nb1,
Maintainer: pkgsrc-usersVTun provides the method for creating Virtual Tunnels over TCP/IP
networks and allows to shape, compress, encrypt traffic in that
tunnels.
Supported type of tunnels are: PPP, IP, Ethernet and most of other
serial protocols and programs. VTun is easily and highly configurable,
it can be used for various network task like VPN, Mobile IP, Shaped
Internet access, IP address saving, etc. It is completely user
space implementation and does not require modification to any kernel
parts.
Note that the encryption used by VTun is quite weak;
see http://off.net/~jme/vtun_secu.html for details.
DEINSTALL [+/-]#!/bin/sh
#
# $NetBSD: DEINSTALL,v 1.4 2003/08/30 20:23:00 jlam Exp $
CONFDIR="@PKG_SYSCONFDIR@"
SAMPLECONFDIR=${PKG_PREFIX}/share/examples/vtun
CONFFILES="vtund.conf"
LOCKDIR=/var/lock/vtund
LOGDIR=/var/log/vtund
case ${STAGE} in
DEINSTALL)
# Remove configuration files if they don't differ from the default
# config file.
#
for file in ${CONFFILES}
do
FILE=${CONFDIR}/${file}
SAMPLEFILE=${SAMPLECONFDIR}/${file}.example
if ${CMP} -s ${FILE} ${SAMPLEFILE}
then
${RM} -f ${FILE}
fi
done
;;
POST-DEINSTALL)
modified_files=''
for file in ${CONFFILES}
do
FILE=${CONFDIR}/${file}
if [ -f ${FILE} ]
then
modified_files="${modified_files} ${FILE}"
fi
done
${RMDIR} ${LOCKDIR} 2>/dev/null || ${TRUE}
${RMDIR} ${LOGDIR} 2>/dev/null || ${TRUE}
existing_dirs=''
for dir in ${LOCKDIR} ${LOGDIR}
do
if [ -d ${dir} ]
then
existing_dirs="${existing_dirs} ${dir}"
fi
done
if [ -n "${modified_files}" -o -n "${existing_dirs}" ]
then
${CAT} << EOF
===========================================================================
If you won't be using ${PKGNAME} any longer, you may want to remove:
EOF
if [ -n "${modified_files}" ]
then
${CAT} << EOF
* the following files:
EOF
for file in ${modified_files}
do
echo " ${file}"
done
fi
if [ -n "${existing_dirs}" ]
then
${CAT} << EOF
* the following directories:
EOF
for dir in ${existing_dirs}
do
echo " ${dir}"
done
fi
${CAT} << EOF
===========================================================================
EOF
fi
;;
esac
Master sites:
SHA1: 6e2da196c70475e5d3750903b2dad032a7b1e8ac
RMD160: 6592251871f7e6b9a7e12b7e07ab0a700d816f57
Filesize: 122.829 KB
Version history: (Expand)
- (2013-04-01) Package added to pkgsrc.se, version vtun-3.0.2nb1 (created)