summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorreed <reed>2010-02-14 00:09:50 +0000
committerreed <reed>2010-02-14 00:09:50 +0000
commit750624e7979f1672919329cd481d7ce11065c8a2 (patch)
treea94d00e59258848c167c6f2fd1d3174a72e1a203 /devel
parent90a127ed77fd1039eba1006826e2a3818f8c158d (diff)
downloadpkgsrc-750624e7979f1672919329cd481d7ce11065c8a2.tar.gz
Moved devel/electricfence to devel/electric-fence
and renamed the package from ElectricFence to electric-fence. This is for my PR #40238
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile4
-rw-r--r--devel/electricfence/DESCR7
-rw-r--r--devel/electricfence/Makefile29
-rw-r--r--devel/electricfence/PLIST3
-rw-r--r--devel/electricfence/distinfo8
-rw-r--r--devel/electricfence/patches/patch-aa85
-rw-r--r--devel/electricfence/patches/patch-ab28
-rw-r--r--devel/electricfence/patches/patch-ac13
8 files changed, 2 insertions, 175 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 37ef73d11ab..fa1a0115202 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1292 2010/02/12 15:42:13 sno Exp $
+# $NetBSD: Makefile,v 1.1293 2010/02/14 00:09:50 reed Exp $
#
COMMENT= Development utilities
@@ -157,7 +157,7 @@ SUBDIR+= edcommon
SUBDIR+= eel
SUBDIR+= eet
SUBDIR+= eina
-SUBDIR+= electricfence
+SUBDIR+= electric-fence
SUBDIR+= elf
SUBDIR+= elfsh
SUBDIR+= elib
diff --git a/devel/electricfence/DESCR b/devel/electricfence/DESCR
deleted file mode 100644
index dccc91bf84b..00000000000
--- a/devel/electricfence/DESCR
+++ /dev/null
@@ -1,7 +0,0 @@
-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/Makefile b/devel/electricfence/Makefile
deleted file mode 100644
index 976a30aedca..00000000000
--- a/devel/electricfence/Makefile
+++ /dev/null
@@ -1,29 +0,0 @@
-# $NetBSD: Makefile,v 1.14 2008/12/02 22:26:45 rillig Exp $
-
-DISTNAME= electric-fence_2.1.13-0.1
-PKGNAME= ElectricFence-2.1.13.0.1
-CATEGORIES= devel
-MASTER_SITES= http://perens.com/works/software/ElectricFence/
-
-MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://www.perens.com/FreeSoftware/
-COMMENT= Different kind of malloc() debugger
-
-PKG_DESTDIR_SUPPORT= user-destdir
-USE_LIBTOOL= yes
-WRKSRC= ${WRKDIR}/${DISTNAME:C/-0.1//1:C/_/-/1}
-
-MAKE_FLAGS= INSTALL_MAN=${INSTALL_MAN:Q}
-PTHREAD_AUTO_VARS= yes
-AUTO_MKDIRS= yes
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${MACHINE_ARCH} == "mipsel" || ${OPSYS} == "DragonFly"
-CFLAGS+= -g -DPAGE_PROTECTION_VIOLATED_SIGNAL=SIGBUS
-.else
-CFLAGS+= -g
-.endif
-
-.include "../../mk/pthread.buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/devel/electricfence/PLIST b/devel/electricfence/PLIST
deleted file mode 100644
index 36146c1855f..00000000000
--- a/devel/electricfence/PLIST
+++ /dev/null
@@ -1,3 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2008/12/02 22:26:45 rillig Exp $
-lib/libefence.la
-man/man3/libefence.3
diff --git a/devel/electricfence/distinfo b/devel/electricfence/distinfo
deleted file mode 100644
index 2ea006736a3..00000000000
--- a/devel/electricfence/distinfo
+++ /dev/null
@@ -1,8 +0,0 @@
-$NetBSD: distinfo,v 1.10 2008/12/02 22:26:45 rillig Exp $
-
-SHA1 (electric-fence_2.1.13-0.1.tar.gz) = e6765bcb1543272040b806eea706fc7ae9b60524
-RMD160 (electric-fence_2.1.13-0.1.tar.gz) = 75e41de7bef263007f24a1053528959f9f7fe1fa
-Size (electric-fence_2.1.13-0.1.tar.gz) = 29991 bytes
-SHA1 (patch-aa) = 9b2f1720a92c805d8d4b36631317493124c2f2d7
-SHA1 (patch-ab) = 64c503ce8d2ea9b55432d59a187e644af38e257b
-SHA1 (patch-ac) = 4c56eeea0b8e53cdf260b61aa8fdef16f601b186
diff --git a/devel/electricfence/patches/patch-aa b/devel/electricfence/patches/patch-aa
deleted file mode 100644
index 36b0d73835f..00000000000
--- a/devel/electricfence/patches/patch-aa
+++ /dev/null
@@ -1,85 +0,0 @@
-$NetBSD: patch-aa,v 1.5 2008/12/02 22:26:45 rillig Exp $
-
---- Makefile.orig 2002-02-19 23:51:44.000000000 +0200
-+++ Makefile
-@@ -1,12 +1,14 @@
--ASFLAGS= -mips2
--CC= cc
--AR= ar
--INSTALL= install
--MV= mv
--CHMOD= chmod
--CFLAGS= -g
--LIB_INSTALL_DIR= /usr/lib
--MAN_INSTALL_DIR= /usr/man/man3
-+#ASFLAGS= -mips2
-+#CC= cc
-+#AR= ar
-+#INSTALL= install
-+#MV= mv
-+#CHMOD= chmod
-+#CFLAGS= -g
-+LIB_INSTALL_DIR= ${PREFIX}/lib
-+MAN_INSTALL_DIR= ${PREFIX}/${PKGMANDIR}/man3
-+SO_VER= 0:0
-+LIBTOOL= libtool
-
- PACKAGE_SOURCE= README libefence.3 Makefile efence.h \
- efence.c page.c print.c eftest.c tstheap.c CHANGES COPYING
-@@ -26,9 +28,9 @@ PACKAGE_SOURCE= README libefence.3 Makef
- # as well if using Sun's compiler, -static if using GCC.
- # CFLAGS= -g -Bstatic -DPAGE_PROTECTION_VIOLATED_SIGNAL=SIGBUS
-
--OBJECTS= efence.o page.o print.o
-+OBJECTS= efence.lo page.lo print.lo
-
--all: libefence.a tstheap eftest
-+all: libefence.la tstheap eftest
- @ echo
- @ echo "Testing Electric Fence."
- @ echo "After the last test, it should print that the test has PASSED."
-@@ -38,11 +40,9 @@ all: libefence.a tstheap eftest
- @ echo "Electric Fence confidence test PASSED."
- @ echo
-
--install: libefence.a libefence.3
-- $(MV) 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
-+install: libefence.la libefence.3
-+ $(LIBTOOL) --mode=install $(INSTALL) -c libefence.la $(DESTDIR)${LIB_INSTALL_DIR}
-+ $(INSTALL_MAN) libefence.3 ${DESTDIR}$(MAN_INSTALL_DIR)/libefence.3
-
- clean:
- - rm -f $(OBJECTS) tstheap.o eftest.o tstheap eftest libefence.a \
-@@ -57,16 +57,22 @@ ElectricFence.shar: $(PACKAGE_SOURCE)
-
- shar: ElectricFence.shar
-
--libefence.a: $(OBJECTS)
-- - rm -f libefence.a
-- $(AR) crv libefence.a $(OBJECTS)
-+libefence.la: $(OBJECTS)
-+ $(LIBTOOL) --tag=CC --mode=link ${CC} -o libefence.la \
-+ ${OBJECTS} ${LDFLAGS} ${LIBS} \
-+ -rpath ${LIB_INSTALL_DIR} -version-info ${SO_VER}
-
--tstheap: libefence.a tstheap.o
-+tstheap: libefence.la tstheap.o
- - rm -f tstheap
-- $(CC) $(CFLAGS) tstheap.o libefence.a -o tstheap -lpthread
-+ $(CC) $(CFLAGS) tstheap.o .libs/libefence.a -o tstheap -lpthread
-
--eftest: libefence.a eftest.o
-+eftest: libefence.la eftest.o
- - rm -f eftest
-- $(CC) $(CFLAGS) eftest.o libefence.a -o eftest -lpthread
-+ $(CC) $(CFLAGS) eftest.o .libs/libefence.a -o eftest -lpthread
-
- $(OBJECTS) tstheap.o eftest.o: efence.h
-+
-+.SUFFIXES: .lo
-+.c.lo:
-+ $(LIBTOOL) --tag=CC --mode=compile $(CC) -o ${.TARGET} \
-+ -c ${CPPFLAGS} ${CFLAGS} ${.IMPSRC}
diff --git a/devel/electricfence/patches/patch-ab b/devel/electricfence/patches/patch-ab
deleted file mode 100644
index 1573ae0dd3e..00000000000
--- a/devel/electricfence/patches/patch-ab
+++ /dev/null
@@ -1,28 +0,0 @@
-$NetBSD: patch-ab,v 1.6 2008/12/02 22:26:45 rillig Exp $
-
---- page.c.orig 2001-04-11 17:44:04.000000000 +0300
-+++ page.c
-@@ -29,7 +29,7 @@
-
- static caddr_t startAddr = (caddr_t) 0;
-
--#if ( !defined(sgi) && !defined(_AIX) )
-+#if ( !defined(sgi) && !defined(_AIX) && !(defined(BSD) && BSD >= 199306) && !defined(linux) && !defined(__INTERIX) )
- extern int sys_nerr;
- /*extern char * sys_errlist[];*/
- #endif
-@@ -39,13 +39,8 @@ stringErrorReport(void)
- {
- #if ( defined(sgi) )
- return strerror(oserror());
--#elif ( defined(_AIX) )
-- return strerror(errno);
- #else
-- if ( errno > 0 && errno < sys_nerr )
-- return sys_errlist[errno];
-- else
-- return "Unknown error.\n";
-+ return strerror(errno);
- #endif
- }
-
diff --git a/devel/electricfence/patches/patch-ac b/devel/electricfence/patches/patch-ac
deleted file mode 100644
index 296c8e855d7..00000000000
--- a/devel/electricfence/patches/patch-ac
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2001/11/09 00:39:39 hubertf Exp $
-
---- tstheap.c.orig Fri Jan 20 05:54:32 1995
-+++ tstheap.c
-@@ -47,7 +47,7 @@
-
- for ( ; count < duration; count++ ) {
- void * * element = &pool[(int)(drand48() * POOL_SIZE)];
-- size_t size = (size_t)(drand48() * (LARGEST_BUFFER + 1));
-+ size_t size = (size_t)(lrand48() % (LARGEST_BUFFER + 1));
-
- if ( *element ) {
- free( *element );