Initial import of trickle-1.04

trickle is a portable lightweight userspace bandwidth shaper.  It can
run in collaborative mode (together with trickled) or in stand alone
mode.  trickle works by taking advantage of the unix loader preloading.
Essentially it provides, to the application, a new version of the
functionality that is required to send and receive data through sockets.
It then limits traffic based on delaying the sending and receiving of
data over a socket.  trickle runs entirely in userspace and does not
require root privileges.

WWW: http://monkey.org/~marius/trickle/

Maintainer Jolan Luff <jolan@cryptonomicon.org>
This commit is contained in:
pvalchev 2003-04-13 08:07:50 +00:00
parent 8fa76ea898
commit c666ca6186
6 changed files with 81 additions and 0 deletions

20
net/trickle/Makefile Normal file
View File

@ -0,0 +1,20 @@
# $OpenBSD: Makefile,v 1.1.1.1 2003/04/13 08:07:50 pvalchev Exp $
COMMENT= "lightweight userspace bandwidth shaper"
DISTNAME= trickle-1.04
CATEGORIES= net
MASTER_SITES= ${HOMEPAGE}
HOMEPAGE= http://monkey.org/~marius/trickle/
MAINTAINER= Jolan Luff <jolan@cryptonomicon.org>
# BSD
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE=gnu
.include <bsd.port.mk>

3
net/trickle/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (trickle-1.04.tar.gz) = df301ea0418beb16b454e02def10ac72
RMD160 (trickle-1.04.tar.gz) = 461a563a1d279f4e0ec57fc8bd21e672ba543e14
SHA1 (trickle-1.04.tar.gz) = bcaebc2ce7000f268f9fb484306236edd7c5a72f

24
net/trickle/pkg/DEINSTALL Normal file
View File

@ -0,0 +1,24 @@
#!/bin/sh
# $OpenBSD: DEINSTALL,v 1.1.1.1 2003/04/13 08:07:50 pvalchev Exp $
set -e
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
CONFFILE=${SYSCONFDIR}/trickled.conf
if [ -f ${CONFFILE} ];
then
echo
echo "+---------------"
echo "| To completely deinstall the $1 package you need to perform"
echo "| this step as root:"
echo "|"
echo "| rm -f ${CONFFILE}"
echo "|"
echo "| Do not do this if you plan on re-installing $1"
echo "| at some future time."
echo "+---------------"
echo
fi
exit 0

10
net/trickle/pkg/DESCR Normal file
View File

@ -0,0 +1,10 @@
trickle is a portable lightweight userspace bandwidth shaper. It can
run in collaborative mode (together with trickled) or in stand alone
mode. trickle works by taking advantage of the unix loader preloading.
Essentially it provides, to the application, a new version of the
functionality that is required to send and receive data through sockets.
It then limits traffic based on delaying the sending and receiving of
data over a socket. trickle runs entirely in userspace and does not
require root privileges.
WWW: ${HOMEPAGE}

16
net/trickle/pkg/MESSAGE Normal file
View File

@ -0,0 +1,16 @@
Post Installation Set-Up of trickle
-----------------------------------
See trickle(1), trickled.conf(5), and trickled(8) for information on
configuring and using trickle. The optional trickled.conf configuration
file should be placed at ${SYSCONFDIR}/trickled.conf.
Additionally, you may wish to start trickled at system start-up time
via the /etc/rc.local script (it should be noted that trickled can run
with, but does not require root privileges):
if [ -x ${PREFIX}/bin/trickled ]; then
echo -n ' trickled'; ${PREFIX}/bin/trickled
fi

8
net/trickle/pkg/PLIST Normal file
View File

@ -0,0 +1,8 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2003/04/13 08:07:50 pvalchev Exp $
bin/trickle
bin/trickled
lib/trickle/trickle-overload.so
man/man1/trickle.1
man/man5/trickled.conf.5
man/man8/trickled.8
@dirrm lib/trickle