3754b283d4
The ng_car netgraph module is a "Committed Access Rate" iplementation for netgraph. It provides an easy way to use a network interface at a rate below its specification. It uses a token bucket algorithm to measure and classify the network packets flowing through it. PR: 87098 Submitted by: Nuno Antunes <nuno.antunes@gmail.com>
37 lines
702 B
Makefile
37 lines
702 B
Makefile
# New ports collection makefile for: ng_car
|
|
# Date Created: Sep 26, 2005
|
|
# Whom: Nuno Antunes <nuno.antunes@gmail.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ng_car
|
|
PORTVERSION= 0.1
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://npf.pt.freebsd.org/~l1/softs/
|
|
|
|
MAINTAINER= nuno.antunes@gmail.com
|
|
COMMENT= Netgraph committed access rate node
|
|
|
|
NO_PACKAGE= Should be in sync with the kernel to work correctly
|
|
|
|
PLIST_SUB= KMODDIR=${KMODDIR}
|
|
|
|
MAN4= ng_car.4
|
|
MANCOMPRESSED= yes
|
|
|
|
.if !exists(${SRC_BASE}/sys/Makefile)
|
|
IGNORE= This port requires kernel sources
|
|
.endif
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 500000
|
|
IGNORE= Not supported < 5.x
|
|
.endif
|
|
|
|
post-install:
|
|
@${CAT} ${PKGMESSAGE}
|
|
|
|
.include <bsd.port.post.mk>
|