From 456083a2e8658c286ad69a28cc9c890a40f12be4 Mon Sep 17 00:00:00 2001 From: steve Date: Sat, 1 Jan 2000 00:20:17 +0000 Subject: Adding fhist version 1.1. Utilities to maintain file history, do file comparisions and merges. PR: 6445 Submitted by: jkoshy --- devel/fhist/Makefile | 29 +++++++++++++++++++++++++++++ devel/fhist/distinfo | 1 + devel/fhist/files/patch-aa | 24 ++++++++++++++++++++++++ devel/fhist/files/patch-ab | 38 ++++++++++++++++++++++++++++++++++++++ devel/fhist/pkg-comment | 1 + devel/fhist/pkg-descr | 18 ++++++++++++++++++ devel/fhist/pkg-plist | 3 +++ 7 files changed, 114 insertions(+) create mode 100644 devel/fhist/Makefile create mode 100644 devel/fhist/distinfo create mode 100644 devel/fhist/files/patch-aa create mode 100644 devel/fhist/files/patch-ab create mode 100644 devel/fhist/pkg-comment create mode 100644 devel/fhist/pkg-descr create mode 100644 devel/fhist/pkg-plist (limited to 'devel/fhist') diff --git a/devel/fhist/Makefile b/devel/fhist/Makefile new file mode 100644 index 0000000..8bb682e --- /dev/null +++ b/devel/fhist/Makefile @@ -0,0 +1,29 @@ +# New ports collection makefile for: fhist +# Version required: 1.1 +# Date created: Apr 23 1998 +# Whom: +# +# $FreeBSD$ +# + +DISTNAME= fhist.1.1 +PKGNAME= fhist-1.1 +CATEGORIES= devel +MASTER_SITES= ftp://archie.au/unix/Aegis/ \ + http://www.canb.auug.org.au/~millerp/ \ + ftp://ftp.agso.gov.au/pub/Aegis/ \ + ftp://ftp.u-aizu.ac.jp/pub/misc/tools/Aegis/ \ + http://gd.tuwien.ac.at/softeng/Aegis/ + +MAINTAINER= koshy@india.hp.com + +MAN1= fcomp.1 fhist.1 fmerge.1 + +GNU_CONFIGURE= yes + +post-install: +.for file in fhist fcomp fmerge + strip ${PREFIX}/bin/${file} +.endfor + +.include diff --git a/devel/fhist/distinfo b/devel/fhist/distinfo new file mode 100644 index 0000000..1ee6421 --- /dev/null +++ b/devel/fhist/distinfo @@ -0,0 +1 @@ +MD5 (fhist.1.1.tar.gz) = 4ff344982859003078e853f387a5493b diff --git a/devel/fhist/files/patch-aa b/devel/fhist/files/patch-aa new file mode 100644 index 0000000..975c0aa --- /dev/null +++ b/devel/fhist/files/patch-aa @@ -0,0 +1,24 @@ +--- common/compare.c-- Fri Oct 7 18:05:04 1994 ++++ common/compare.c Thu Apr 23 12:53:41 1998 +@@ -326,10 +326,10 @@ + } + + +-static int isblank _((char *s)); ++static int isblank_ _((char *s)); + + static int +-isblank(s) ++isblank_(s) + char *s; + { + while (*s) +@@ -387,7 +387,7 @@ + ((linenumber % READBLABINTERVAL) == 0) + ) + error("[%ld lines]", linenumber); +- if (fc.blankflag && isblank(cp)) ++ if (fc.blankflag && isblank_(cp)) + continue; + if (linecount >= linesavail) + { diff --git a/devel/fhist/files/patch-ab b/devel/fhist/files/patch-ab new file mode 100644 index 0000000..522763b --- /dev/null +++ b/devel/fhist/files/patch-ab @@ -0,0 +1,38 @@ +--- fhist/breaks.c~ Fri Oct 7 18:05:04 1994 ++++ fhist/breaks.c Wed Apr 29 09:25:29 1998 +@@ -23,13 +23,34 @@ + * MANIFEST: Unix-specific routines to implement special actions. + */ + ++#ifdef HAVE_SYS_PARAM_H ++#include ++#endif ++ + #include + + #include + +-#if defined(sun) || defined(__sun__) ++#if defined(sun) || defined(__sun__) + #define sighold(n) + #define sigrelse(n) ++#elif (defined(BSD) && (BSD > 199306)) ++/* POSIX handling, assumed present from 4.4 days */ ++/* Will this be valid for {Open,Net}BSD too? */ ++#define sighold(n) \ ++ do { \ ++ sigset_t set; \ ++ (void) sigemptyset(&set); \ ++ (void) sigaddset(&set, (n)); \ ++ (void) sigprocmask(SIG_BLOCK, &set, (void *)0); \ ++ } while(0) ++#define sigrelse(n) \ ++ do { \ ++ sigset_t set; \ ++ (void) sigemptyset(&set); \ ++ (void) sigaddset(&set, (n)); \ ++ (void) sigprocmask(SIG_UNBLOCK, &set, (void *)0); \ ++ } while (0) + #endif + + diff --git a/devel/fhist/pkg-comment b/devel/fhist/pkg-comment new file mode 100644 index 0000000..ea43952 --- /dev/null +++ b/devel/fhist/pkg-comment @@ -0,0 +1 @@ +Utilities to maintain file history, do file comparisions and merges diff --git a/devel/fhist/pkg-descr b/devel/fhist/pkg-descr new file mode 100644 index 0000000..2809bcf --- /dev/null +++ b/devel/fhist/pkg-descr @@ -0,0 +1,18 @@ +This package contains three source control utilities from Peter Miller +: + + fhist: Keeps track of versions of a file. + fcomp: Compares two versions of a file. + fmerge: Merges together edits from two descendants of a file. + +This program is based on the algorithm in ``An O(ND) Difference +Algorithm and Its Variations'', Eugene W. Myers, TR 85-6, 10-April-1985, +Department of Computer Science, The University of Arizona, Tuscon, +Arizona 85721. + +See also: ``A File Comparison Program, Webb Miller and Eugene W. +Myers'', Software Practice and Experience, Volume 15, No. 11, +November 1985. + +- Koshy + diff --git a/devel/fhist/pkg-plist b/devel/fhist/pkg-plist new file mode 100644 index 0000000..ea96f20 --- /dev/null +++ b/devel/fhist/pkg-plist @@ -0,0 +1,3 @@ +bin/fcomp +bin/fhist +bin/fmerge -- cgit v1.1