From owner-freebsd-ports Sun Aug 25 22:50:21 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BBCDD37B414 for ; Sun, 25 Aug 2002 22:50:02 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1369D43E81 for ; Sun, 25 Aug 2002 22:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7Q5o1JU056789 for ; Sun, 25 Aug 2002 22:50:01 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7Q5o1PW056788; Sun, 25 Aug 2002 22:50:01 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CEDE37B400 for ; Sun, 25 Aug 2002 22:40:39 -0700 (PDT) Received: from vampiro.rootshell.ru (vampiro.rootshell.ru [195.162.58.222]) by mx1.FreeBSD.org (Postfix) with ESMTP id AAE5343E6A for ; Sun, 25 Aug 2002 22:40:34 -0700 (PDT) (envelope-from vampiro@rootshell.ru) Received: by vampiro.rootshell.ru (Sendmail for UK-NC (RT11-SJ), from userid 1111) id 146545361; Mon, 26 Aug 2002 12:40:28 +0700 (OMSST) Message-Id: <20020826054028.146545361@vampiro.rootshell.ru> Date: Mon, 26 Aug 2002 12:40:28 +0700 (OMSST) From: El Vampiro Reply-To: El Vampiro To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/42020: New port: net/bpft Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 42020 >Category: ports >Synopsis: New port: net/bpft >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Aug 25 22:50:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: El Vampiro >Release: FreeBSD 4.6-STABLE i386 >Organization: >Environment: System: FreeBSD vampiro.rsb.local 4.6-STABLE FreeBSD 4.6-STABLE #0: Sun Aug 25 11:30:05 OMSST 2002 root@vampiro.rsb.local:/usr/obj/usr/src/sys/VAMPIRO i386 >Description: The BPF Traffic collector Enhanced version of trafd (/usr/ports/net/trafd/) WWW: http://bpft.by.ru/ >How-To-Repeat: make install >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # bpft # bpft/Makefile # bpft/distinfo # bpft/pkg-comment # bpft/pkg-descr # bpft/pkg-plist # bpft/files # bpft/files/patch-Makefile # bpft/files/patch-pathnames # bpft/pkg-install # echo c - bpft mkdir -p bpft > /dev/null 2>&1 echo x - bpft/Makefile sed 's/^X//' >bpft/Makefile << 'END-of-bpft/Makefile' X# New ports collection makefile for: bpft X# Date created: 26 August 2002 X# Whom: El Vampiro X# X# $FreeBSD$ X XPORTNAME= bpft XPORTVERSION= 4.0 XCATEGORIES= net XMASTER_SITES= http://bpft.by.ru/ \ X ftp://vampiro.rootshell.ru/pub/FreeBSD/distfiles/ XEXTRACT_SUFX= _29-07-2002.tgz X XMAINTAINER= vampiro@rootshell.ru X XWRKSRC= ${WRKDIR}/bpft XMAN1= traflog.1 trafstat.1 XMAN8= trafstatd.8 trafd.8 XMANCOMPRESSED= yes X Xpre-everything: X @${ECHO_MSG} X @${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" X @${ECHO_MSG} "!!! WARNING !!!" X @${ECHO_MSG} "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" X @${ECHO_MSG} X @${ECHO_MSG} "This port uses original trafd binaries layout" X @${ECHO_MSG} "Original trafd and bpft binaries layout are mutually exclusive" X @${ECHO_MSG} X Xpost-install: X ${MKDIR} ${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} X ${INSTALL_DATA} ${WRKSRC}/WhatsNew ${DOCSDIR} X ${STRIP_CMD} ${PREFIX}/sbin/trafd X ${STRIP_CMD} ${PREFIX}/sbin/trafstatd X ${STRIP_CMD} ${PREFIX}/bin/trafstat X ${STRIP_CMD} ${PREFIX}/bin/traflog X X.include END-of-bpft/Makefile echo x - bpft/distinfo sed 's/^X//' >bpft/distinfo << 'END-of-bpft/distinfo' XMD5 (bpft-4.0_29-07-2002.tgz) = 6e7c8f843b91fb9c771027bb8d9879c7 END-of-bpft/distinfo echo x - bpft/pkg-comment sed 's/^X//' >bpft/pkg-comment << 'END-of-bpft/pkg-comment' XThe BPF Traffic collector END-of-bpft/pkg-comment echo x - bpft/pkg-descr sed 's/^X//' >bpft/pkg-descr << 'END-of-bpft/pkg-descr' XThe BPF Traffic collector X XEnhanced version of trafd (/usr/ports/net/trafd/) X XWWW: http://bpft.by.ru/ X X- El Vampiro Xvampiro@rootshell.ru END-of-bpft/pkg-descr echo x - bpft/pkg-plist sed 's/^X//' >bpft/pkg-plist << 'END-of-bpft/pkg-plist' Xsbin/trafd Xsbin/trafstatd Xbin/trafstart Xbin/trafstop Xbin/trafsave Xbin/trafdump Xbin/trafstat Xbin/traflog Xetc/traflog.format Xetc/rc.d/trafd.sh Xshare/doc/bpft/README Xshare/doc/bpft/WhatsNew X@dirrm var/bpft X@dirrm var X@dirrm share/doc/bpft END-of-bpft/pkg-plist echo c - bpft/files mkdir -p bpft/files > /dev/null 2>&1 echo x - bpft/files/patch-Makefile sed 's/^X//' >bpft/files/patch-Makefile << 'END-of-bpft/files/patch-Makefile' X--- Makefile.orig Mon Aug 26 11:47:55 2002 X+++ Makefile Mon Aug 26 11:48:22 2002 X@@ -59,7 +59,7 @@ X PATH_SBINDIR=${PREFIX}/sbin X X # Trailing slash directory, summary traffic log files will be put there. X-PATH_TOSAVE=${PREFIX}/var/trafd/ X+PATH_TOSAVE=${PREFIX}/var/bpft/ X X # Full pathname where locate trafstat program. X PATH_TRAFSTAT=${PREFIX}/bin/trafstat END-of-bpft/files/patch-Makefile echo x - bpft/files/patch-pathnames sed 's/^X//' >bpft/files/patch-pathnames << 'END-of-bpft/files/patch-pathnames' X--- include/pathnames.h.orig Mon Aug 26 11:24:39 2002 X+++ include/pathnames.h Mon Aug 26 11:25:09 2002 X@@ -49,12 +49,12 @@ X X /* where unerased tmp directory */ X #ifndef _PATH_VARTMP X-#define _PATH_VARTMP "/usr/local/var/trafd/tmp/" X+#define _PATH_VARTMP "/usr/local/var/bpft/tmp/" X #endif X X /* where backuped data */ X #ifndef PATH_TOSAVE X-#define PATH_TOSAVE "/usr/local/var/trafd/" X+#define PATH_TOSAVE "/usr/local/var/bpft/" X #endif X X /* where locate trafstat */ END-of-bpft/files/patch-pathnames echo x - bpft/pkg-install sed 's/^X//' >bpft/pkg-install << 'END-of-bpft/pkg-install' X#!/bin/sh X XDBDIR=/usr/local/var/bpft Xmkdir -p $DBDIR END-of-bpft/pkg-install exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message