head 1.6; access; symbols pkgsrc-2013Q2:1.6.0.8 pkgsrc-2013Q2-base:1.6 pkgsrc-2012Q4:1.6.0.6 pkgsrc-2012Q4-base:1.6 pkgsrc-2011Q4:1.6.0.4 pkgsrc-2011Q4-base:1.6 pkgsrc-2011Q2:1.6.0.2 pkgsrc-2011Q2-base:1.6 pkgsrc-2009Q4:1.5.0.10 pkgsrc-2009Q4-base:1.5 pkgsrc-2009Q3:1.5.0.8 pkgsrc-2009Q3-base:1.5 pkgsrc-2009Q2:1.5.0.6 pkgsrc-2009Q2-base:1.5 pkgsrc-2009Q1:1.5.0.4 pkgsrc-2009Q1-base:1.5 pkgsrc-2008Q4:1.5.0.2 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.4.0.42 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.40 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.38 pkgsrc-2008Q2-base:1.4 cwrapper:1.4.0.36 pkgsrc-2008Q1:1.4.0.34 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.32 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.30 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.28 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.26 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.24 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.22 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.20 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.18 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.16 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.14 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.12 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.10 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.8 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.6 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.4 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.2 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.3.0.10 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.3.0.6 netbsd-1-6-1-base:1.3 netbsd-1-6:1.3.0.8 netbsd-1-6-RELEASE-base:1.3 pkgviews:1.3.0.4 pkgviews-base:1.3 buildlink2:1.3.0.2 buildlink2-base:1.3 netbsd-1-5-PATCH003:1.3 netbsd-1-5-PATCH001:1.3 netbsd-1-5-RELEASE:1.3 netbsd-1-4-PATCH003:1.3 netbsd-1-4-PATCH002:1.2 comdex-fall-1999:1.2 netbsd-1-4-PATCH001:1.2 netbsd-1-4-RELEASE:1.2 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.6 date 2010.02.14.00.09.51; author reed; state dead; branches; next 1.5; 1.5 date 2008.12.02.22.26.45; author rillig; state Exp; branches; next 1.4; 1.4 date 2004.02.04.13.33.36; author grant; state Exp; branches; next 1.3; 1.3 date 2000.07.07.02.42.10; author dmcmahill; state Exp; branches; next 1.2; 1.2 date 98.10.27.11.03.09; author agc; state Exp; branches; next 1.1; 1.1 date 98.10.27.04.04.11; author garbled; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 98.10.27.04.04.11; author garbled; state Exp; branches; next ; desc @@ 1.6 log @Moved devel/electricfence to devel/electric-fence and renamed the package from ElectricFence to electric-fence. This is for my PR #40238 @ text @$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} @ 1.5 log @Updated ElectricFence to 2.1.13.0.1. Changes since 2.1.0 (from debian/changelog): electric-fence (2.1.13-0.1) unstable; urgency=low * Non-maintainer upload * eftest.c: uses sig{set,long}jmp() instead of {set,long}jmp() to work on both 2.4 and 2.6 kernels (closes: #203436) * Added a proper description (closes: #209479) * Changed order of commands to build static library without PIC (closes: #154034) * Clarified and fixed manpage: - clarified semantics of EF_PROTECT_FREE (closes: #177800) - EF_ALLOC_MALLOC_0 -> EF_ALLOW_MALLOC_0 (closes: #177807) - mention EF_ALLOW_MALLOC_0 in the synopsis, correct number of conf switches (closes: #177808) * /usr/doc symlink not created any more, added postrm with ldconfig call, added debhelper tokens (closes: #222980) -- Martin Pitt Fri, 5 Dec 2003 16:51:38 +0100 electric-fence (2.1.13) unstable; urgency=high * Link with pthreads (closes: #135122) -- Matthew Vernon Fri, 22 Feb 2001 09:57:50 +0000 electric-fence (2.1.12) unstable; urgency=high * Add multithreading support (thanks to infrared@@mail.index.hu) (closes: #67838) * Specify the GPL version (closes: #133494) * Patch to allow you to specify that electric-fence should set freed memory to a fixed value - makes things more helpful under gdb in certain circumstances (patch from Petter Reinholdtsen and modified by yours truly to make it legal :-) (closes: #59764) * That's all the outstanding bugs fixed for the next release -- Matthew Vernon Tue, 19 Feb 2001 22:09:37 +0000 electric-fence (2.1.11) unstable; urgency=low * Fix daft typo (closes: #105418) -- Matthew Vernon Mon, 16 Jul 2001 08:56:01 +0100 electric-fence (2.1.10) unstable; urgency=low * pass int not char as type to va_arg (closes: #104800) -- Matthew Vernon Sun, 15 Jul 2001 13:05:34 +0100 electric-fence (2.1.9) unstable; urgency=low * Get the /usr/doc/ stuff right this time (closes: #97010, #97890) -- Matthew Vernon Fri, 18 May 2001 14:28:01 +0100 electric-fence (2.1.8) unstable; urgency=low * Remove spurious (int) casts in calls to mmap (closes: #84940) -- Matthew Vernon Wed, 11 Apr 2001 15:48:39 +0100 electric-fence (2.1.7) unstable; urgency=low * Check if /usr/doc/electric-fence is a symlink in postinst (closes: #93534) -- Matthew Vernon Tue, 10 Apr 2001 15:41:49 +0100 electric-fence (2.1.6) unstable; urgency=low * Make the banner print a correct version (closes: #81413) * Man page into /usr/share/man (closes: #91147,#81450) * Be sure to get rid of /usr/doc/electric-fence (closes: #81023) -- Matthew Vernon Mon, 09 Apr 2001 14:52:03 +0100 electric-fence (2.1.5) unstable; urgency=low * rename the manpage to correspond to the README file (closes: #77243) -- Matthew Vernon Fri, 17 Nov 2000 18:35:42 +0000 electric-fence (2.1.4) unstable; urgency=low * build tidy-ups (closes: #48156, #52927, #56142) -- Matthew Vernon Mon, 16 Oct 2000 18:01:36 +0100 electric-fence (2.1.3) unstable; urgency=low * install libefence.so (closes:48156) -- Matthew Vernon Mon, 07 dec 1999 15:42:00 +0000 electric-fence (2.1.2) unstable; urgency=low * Actually install that gdb documentation -- Matthew Vernon Mon, 13 Sep 1999 14:08:00 +0100 electric-fence (2.1.1) unstable; urgency=low * Taking over this package properly * Version numbering fixed (I hope) -- Matthew Vernon Mon, 01 Sep 1999 13:00:00 +0100 electric-fence (2.1-2) unstable; urgency=low * Added Ian Jackson's patches (closes: #41314) * Added gdb documentation (closes: #33186) -- Matthew Vernon Mon, 16 Aug 1999 16:08:22 +0100 electric-fence (2.1-1) unstable; urgency=low * new upstream release (closes: #35853) @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @simplify by commenting the pkg's Makefile variables as they're already set by pkgsrc. override the do-install target. @ text @d3 1 a3 1 --- Makefile.orig 1998-03-13 06:52:19.000000000 +1100 d5 1 a5 1 @@@@ -1,12 +1,12 @@@@ d22 4 a25 2 +#LIB_INSTALL_DIR= /usr/lib +#MAN_INSTALL_DIR= /usr/man/man3 d29 57 @ 1.3 log @make this work on mips machines @ text @d3 3 a5 3 --- Makefile.orig Fri Jan 20 00:33:04 1995 +++ Makefile Thu Jul 6 16:59:59 2000 @@@@ -1,11 +1,14 @@@@ d7 2 a8 3 +#ASFLAGS= -mips2 CC= cc AR= ar d10 2 a11 2 MV= mv CHMOD= chmod d15 9 a23 7 +.if ${MACHINE_ARCH} == "mipsel" +CFLAGS= -g -DPAGE_PROTECTION_VIOLATED_SIGNAL=SIGBUS +.else +CFLAGS= -g +.endif +LIB_INSTALL_DIR= ${PREFIX}/lib +MAN_INSTALL_DIR= ${PREFIX}/man/man3 d26 1 a26 12 @@@@ -40,8 +43,7 @@@@ 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} -c -m 0644 -o root -g wheel libefence.a $(LIB_INSTALL_DIR) + ${RANLIB} ${LIB_INSTALL_DIR}/libefence.a + ${INSTALL} -c -m 0644 -o root -g wheel libefence.3 $(MAN_INSTALL_DIR)/libefence.3 clean: @ 1.2 log @Call ranlib(1) on the installed library. Use a generic BSD definition, rather than just __NetBSD__. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1.1.1 1998/10/27 04:04:11 garbled Exp $ d3 3 a5 3 --- Makefile.orig Fri Jan 20 05:33:04 1995 +++ Makefile Tue Oct 27 10:55:46 1998 @@@@ -1,12 +1,11 @@@@ d13 1 a13 1 CFLAGS= -g d16 5 d25 1 a25 3 efence.c page.c print.c eftest.c tstheap.c CHANGES @@@@ -39,10 +38,9 @@@@ @@ echo a36 1 - rm -f $(OBJECTS) tstheap.o eftest.o tstheap eftest libefence.a \ @ 1.1 log @Initial revision @ text @d1 5 a5 4 $NetBSD$ --- Makefile.orig Thu Jan 19 22:33:04 1995 +++ Makefile Mon Oct 26 00:27:29 1998 @@@@ -1,12 +1,12 @@@@ a10 1 +INSTALL= install -c -g bin -o bin d21 1 a21 1 @@@@ -39,7 +39,7 @@@@ d26 9 a34 4 + $(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 @ 1.1.1.1 log @Add new pkg for ElectricFence-2.0.5, a debugging malloc implementation. @ text @@