diff options
author | steve <steve@FreeBSD.org> | 2000-01-01 08:20:17 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 2000-01-01 08:20:17 +0800 |
commit | 456083a2e8658c286ad69a28cc9c890a40f12be4 (patch) | |
tree | 497d5bdc08585f0c53f1f711f2bc9b48dced0fa7 /devel | |
parent | 0009090fe283442ba77c77452c378d6c943deb14 (diff) | |
download | freebsd-ports-gnome-456083a2e8658c286ad69a28cc9c890a40f12be4.tar.gz freebsd-ports-gnome-456083a2e8658c286ad69a28cc9c890a40f12be4.tar.zst freebsd-ports-gnome-456083a2e8658c286ad69a28cc9c890a40f12be4.zip |
Adding fhist version 1.1.
Utilities to maintain file history, do file comparisions and merges.
PR: 6445
Submitted by: jkoshy
Diffstat (limited to 'devel')
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/fhist/Makefile | 29 | ||||
-rw-r--r-- | devel/fhist/distinfo | 1 | ||||
-rw-r--r-- | devel/fhist/files/patch-aa | 24 | ||||
-rw-r--r-- | devel/fhist/files/patch-ab | 38 | ||||
-rw-r--r-- | devel/fhist/pkg-comment | 1 | ||||
-rw-r--r-- | devel/fhist/pkg-descr | 18 | ||||
-rw-r--r-- | devel/fhist/pkg-plist | 3 |
8 files changed, 115 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index e73a3d64b5f0..017395fcaf0a 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -43,6 +43,7 @@ SUBDIR += elftoaout SUBDIR += f77flow SUBDIR += fastcrc + SUBDIR += fhist SUBDIR += flick SUBDIR += fortran-utils SUBDIR += fpp diff --git a/devel/fhist/Makefile b/devel/fhist/Makefile new file mode 100644 index 000000000000..8bb682e3bcc5 --- /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: <koshy@india.hp.com> +# +# $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 <bsd.port.mk> diff --git a/devel/fhist/distinfo b/devel/fhist/distinfo new file mode 100644 index 000000000000..1ee6421265bb --- /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 000000000000..975c0aac823c --- /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 000000000000..522763b11f0d --- /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 <sys/param.h> ++#endif ++ + #include <signal.h> + + #include <breaks.h> + +-#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 000000000000..ea43952d9f78 --- /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 000000000000..2809bcf668de --- /dev/null +++ b/devel/fhist/pkg-descr @@ -0,0 +1,18 @@ +This package contains three source control utilities from Peter Miller +<millerp@canb.auug.org.au>: + + 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 + <jkoshy@acm.org> diff --git a/devel/fhist/pkg-plist b/devel/fhist/pkg-plist new file mode 100644 index 000000000000..ea96f2086827 --- /dev/null +++ b/devel/fhist/pkg-plist @@ -0,0 +1,3 @@ +bin/fcomp +bin/fhist +bin/fmerge |