From owner-freebsd-ports Sat Jan 6 6:20: 8 2001 From owner-freebsd-ports@FreeBSD.ORG Sat Jan 6 06:20:02 2001 Return-Path: Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D5BE037B402 for ; Sat, 6 Jan 2001 06:20:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f06EK1D17131; Sat, 6 Jan 2001 06:20:01 -0800 (PST) (envelope-from gnats) Resent-Date: Sat, 6 Jan 2001 06:20:01 -0800 (PST) Resent-Message-Id: <200101061420.f06EK1D17131@freefall.freebsd.org> Resent-From: gnats-admin@FreeBSD.org (GNATS Management) Resent-To: freebsd-ports@FreeBSD.org Resent-Reply-To: gnats-admin@FreeBSD.org, George Reid Received: from mta01-svc.ntlworld.com (mta01-svc.ntlworld.com [62.253.162.41]) by hub.freebsd.org (Postfix) with ESMTP id AF10337B400 for ; Sat, 6 Jan 2001 06:11:10 -0800 (PST) Received: from sobek.openirc.co.uk ([62.252.9.150]) by mta01-svc.ntlworld.com (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20010106141108.PLYF6427.mta01-svc.ntlworld.com@sobek.openirc.co.uk> for ; Sat, 6 Jan 2001 14:11:08 +0000 Message-Id: Date: Sat, 6 Jan 2001 14:16:03 +0000 (GMT) From: George Reid To: FreeBSD-gnats-submit@freebsd.org Subject: ports/24105: New port: ftrace: A file modification/creation watcher Resent-Sender: gnats@FreeBSD.org Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 24105 >Category: ports >Synopsis: New port: ftrace: A file modification/creation watcher >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jan 06 06:20:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: George Reid >Release: FreeBSD 5.0-CURRENT i386 >Organization: FreeBSD UKUG >Environment: n/a >Description: Ftrace logs files created and/or modified by some process (typically `make install') and its children. It consists of a shell wrapper and library that is preloaded to the target program. Ftrace is basically an 'installwatch' clone, but has some additional features. - George Reid greid@ukug.uk.freebsd.org >How-To-Repeat: n/a >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: # # ftrace # ftrace/Makefile # ftrace/distinfo # ftrace/pkg-plist # ftrace/files # ftrace/files/patch-aa # ftrace/files/patch-ab # ftrace/pkg-comment # ftrace/pkg-descr # echo c - ftrace mkdir -p ftrace > /dev/null 2>&1 echo x - ftrace/Makefile sed 's/^X//' >ftrace/Makefile << 'END-of-ftrace/Makefile' X# New ports collection makefile for: ftrace X# Date created: 06 January 2001 X# Whom: George Reid X# X# $FreeBSD$ X# X XPORTNAME= ftrace XPORTVERSION= 0.9 XCATEGORIES= devel XMASTER_SITES= http://software.senko.net/pub/ XDISTNAME= ${PORTNAME}_${PORTVERSION} X XMAINTAINER= greid@ukug.uk.freebsd.org X XWRKSRC= ${WRKDIR}/${DISTNAME:S/_/-/} X X.include END-of-ftrace/Makefile echo x - ftrace/distinfo sed 's/^X//' >ftrace/distinfo << 'END-of-ftrace/distinfo' XMD5 (ftrace_0.9.tar.gz) = b2a479f2eec86ec24fd02a6723afe303 END-of-ftrace/distinfo echo x - ftrace/pkg-plist sed 's/^X//' >ftrace/pkg-plist << 'END-of-ftrace/pkg-plist' Xbin/ftrace Xlib/libftrace.so END-of-ftrace/pkg-plist echo c - ftrace/files mkdir -p ftrace/files > /dev/null 2>&1 echo x - ftrace/files/patch-aa sed 's/^X//' >ftrace/files/patch-aa << 'END-of-ftrace/files/patch-aa' X--- Makefile.orig Fri Jan 5 18:40:20 2001 X+++ Makefile Sat Jan 6 14:11:10 2001 X@@ -1,11 +1,10 @@ X-PREFIX = /usr/local X BINDIR = $(PREFIX)/bin X LIBDIR = $(PREFIX)/lib X X CC = gcc X LD = ld X-CFLAGS = -Wall -O3 -DPIC -fPIC -D_REENTRANT X-LDFLAGS = -shared -ldl X+CFLAGS += -Wall -O3 -DPIC -fPIC -D_REENTRANT X+LDFLAGS = -shared X OBJS = ftrace.o X X .PHONY: all clean install END-of-ftrace/files/patch-aa echo x - ftrace/files/patch-ab sed 's/^X//' >ftrace/files/patch-ab << 'END-of-ftrace/files/patch-ab' X--- ftrace.orig Sat Jan 6 14:11:37 2001 X+++ ftrace Sat Jan 6 14:11:24 2001 X@@ -1,4 +1,4 @@ X-#!/bin/bash X+#!/bin/sh X X if [ "$1" = "-i" ]; then X export FTRACEIGNOREME=1 END-of-ftrace/files/patch-ab echo x - ftrace/pkg-comment sed 's/^X//' >ftrace/pkg-comment << 'END-of-ftrace/pkg-comment' XA file modification/creation watcher END-of-ftrace/pkg-comment echo x - ftrace/pkg-descr sed 's/^X//' >ftrace/pkg-descr << 'END-of-ftrace/pkg-descr' XFtrace logs files created and/or modified by some process (typically X`make install') and its children. It consists of a shell wrapper and Xlibrary that is preloaded to the target program. Ftrace is basically Xan 'installwatch' clone, but has some additional features. X X- George Reid Xgreid@ukug.uk.freebsd.org END-of-ftrace/pkg-descr exit >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message