diff options
Diffstat (limited to 'devel/electricfence')
-rw-r--r-- | devel/electricfence/Makefile | 9 | ||||
-rw-r--r-- | devel/electricfence/files/md5 | 3 | ||||
-rw-r--r-- | devel/electricfence/patches/patch-aa | 29 | ||||
-rw-r--r-- | devel/electricfence/patches/patch-ab | 12 | ||||
-rw-r--r-- | devel/electricfence/pkg/COMMENT | 1 | ||||
-rw-r--r-- | devel/electricfence/pkg/DESCR | 7 | ||||
-rw-r--r-- | devel/electricfence/pkg/PLIST | 3 |
7 files changed, 64 insertions, 0 deletions
diff --git a/devel/electricfence/Makefile b/devel/electricfence/Makefile new file mode 100644 index 00000000000..4f3a07a33a2 --- /dev/null +++ b/devel/electricfence/Makefile @@ -0,0 +1,9 @@ +# $NetBSD: Makefile,v 1.1.1.1 1998/10/27 04:04:11 garbled Exp $ + +DISTNAME= ElectricFence-2.0.5 +CATEGORIES= devel +MASTER_SITES= http://sunsite.unc.edu/pub/Linux/devel/lang/c/ + +MAINTAINER= root@garbled.net + +.include "../../mk/bsd.pkg.mk" diff --git a/devel/electricfence/files/md5 b/devel/electricfence/files/md5 new file mode 100644 index 00000000000..9347b31989f --- /dev/null +++ b/devel/electricfence/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 1998/10/27 04:04:11 garbled Exp $ + +MD5 (ElectricFence-2.0.5.tar.gz) = d6a8459d2e9ef955eb4d3f76004617f8 diff --git a/devel/electricfence/patches/patch-aa b/devel/electricfence/patches/patch-aa new file mode 100644 index 00000000000..048a1f0703c --- /dev/null +++ b/devel/electricfence/patches/patch-aa @@ -0,0 +1,29 @@ +$NetBSD: patch-aa,v 1.1.1.1 1998/10/27 04:04:11 garbled Exp $ +--- Makefile.orig Thu Jan 19 22:33:04 1995 ++++ Makefile Mon Oct 26 00:27:29 1998 +@@ -1,12 +1,12 @@ +-ASFLAGS= -mips2 ++#ASFLAGS= -mips2 + CC= cc + AR= ar +-INSTALL= install ++INSTALL= install -c -g bin -o bin + MV= mv + CHMOD= chmod + CFLAGS= -g +-LIB_INSTALL_DIR= /usr/lib +-MAN_INSTALL_DIR= /usr/man/man3 ++LIB_INSTALL_DIR= ${PREFIX}/lib ++MAN_INSTALL_DIR= ${PREFIX}/man/man3 + + PACKAGE_SOURCE= README libefence.3 Makefile efence.h \ + efence.c page.c print.c eftest.c tstheap.c CHANGES +@@ -39,7 +39,7 @@ + @ echo + + install: libefence.a libefence.3 +- $(MV) libefence.a $(LIB_INSTALL_DIR) ++ $(INSTALL) libefence.a $(LIB_INSTALL_DIR) + $(CHMOD) 644 $(LIB_INSTALL_DIR)/libefence.a + $(INSTALL) libefence.3 $(MAN_INSTALL_DIR)/libefence.3 + $(CHMOD) 644 $(MAN_INSTALL_DIR)/libefence.3 diff --git a/devel/electricfence/patches/patch-ab b/devel/electricfence/patches/patch-ab new file mode 100644 index 00000000000..84063268717 --- /dev/null +++ b/devel/electricfence/patches/patch-ab @@ -0,0 +1,12 @@ +$NetBSD: patch-ab,v 1.1.1.1 1998/10/27 04:04:11 garbled Exp $ +--- page.c.orig Mon Oct 26 00:21:10 1998 ++++ page.c Mon Oct 26 00:21:34 1998 +@@ -29,7 +29,7 @@ + + static caddr_t startAddr = (caddr_t) 0; + +-#if ( !defined(sgi) && !defined(_AIX) ) ++#if ( !defined(sgi) && !defined(_AIX) && !defined(__NetBSD__)) + extern int sys_nerr; + extern char * sys_errlist[]; + #endif diff --git a/devel/electricfence/pkg/COMMENT b/devel/electricfence/pkg/COMMENT new file mode 100644 index 00000000000..07abc4e94ae --- /dev/null +++ b/devel/electricfence/pkg/COMMENT @@ -0,0 +1 @@ +a different kind of malloc() debugger. diff --git a/devel/electricfence/pkg/DESCR b/devel/electricfence/pkg/DESCR new file mode 100644 index 00000000000..dccc91bf84b --- /dev/null +++ b/devel/electricfence/pkg/DESCR @@ -0,0 +1,7 @@ +Electric Fence is a different kind of malloc() debugger. It uses the virtual +memory hardware of your system to detect when software overruns the boundaries +of a malloc() buffer. It will also detect any accesses of memory that has +been released by free(). Because it uses the VM hardware for detection, +Electric Fence stops your program on the first instruction that causes +a bounds violation. It's then trivial to use a debugger to display the +offending statement. diff --git a/devel/electricfence/pkg/PLIST b/devel/electricfence/pkg/PLIST new file mode 100644 index 00000000000..addc5f7ef4b --- /dev/null +++ b/devel/electricfence/pkg/PLIST @@ -0,0 +1,3 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1998/10/27 04:04:11 garbled Exp $ +lib/libefence.a +man/man3/libefence.3 |