Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Jan 2001 14:16:03 +0000 (GMT)
From:      George Reid <greid@dogma.freebsd-uk.eu.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/24105: New port: ftrace: A file modification/creation watcher
Message-ID:  <Pine.BSF.4.21.0101061415410.41413-100000@sobek.openirc.co.uk>
Resent-Message-ID: <200101061420.f06EK1D17131@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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 <greid@ukug.uk.freebsd.org>
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 <bsd.port.mk>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0101061415410.41413-100000>