summaryrefslogtreecommitdiff
path: root/net/trickle/Makefile
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2003-09-25 14:19:41 +0000
committerxtraeme <xtraeme>2003-09-25 14:19:41 +0000
commit6520d64693441806aef54295651884d2a7f0cd68 (patch)
tree1d25459d232544720c3b748e35d5e77b5c5f0a3c /net/trickle/Makefile
parentca1eabb9a41b9d16ae65bcaa8444f279e31bb0e6 (diff)
downloadpkgsrc-6520d64693441806aef54295651884d2a7f0cd68.tar.gz
Initial import of trickle 1.06. Package imported from pkgsrc-wip.
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.
Diffstat (limited to 'net/trickle/Makefile')
-rw-r--r--net/trickle/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/net/trickle/Makefile b/net/trickle/Makefile
new file mode 100644
index 00000000000..224aa60e576
--- /dev/null
+++ b/net/trickle/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/09/25 14:19:41 xtraeme Exp $
+#
+
+DISTNAME= trickle-1.06
+CATEGORIES= net
+MASTER_SITES= http://monkey.org/~marius/trickle/
+
+MAINTAINER= xtraeme@NetBSD.org
+HOMEPAGE= http://monkey.org/~marius/trickle/
+COMMENT= Portable lightweight userspace bandwidth shaper
+
+USE_BUILDLINK2= yes
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+USE_PKGINSTALL= yes
+
+LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
+
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+
+EGDIR= ${PREFIX}/share/examples/trickle
+CONF_FILES= ${EGDIR}/trickled.conf ${PKG_SYSCONFDIR}/trickled.conf
+
+pre-install:
+ ${INSTALL_DATA_DIR} ${EGDIR}
+ ${INSTALL_DATA} ${FILESDIR}/trickled.conf ${EGDIR}
+
+.include "../../devel/libevent/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"