Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Apr 2000 17:57:41 +0100 (BST)
From:      eoin@maths.tcd.ie
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/18259: ElectricFence installation broken
Message-ID:  <200004271757.aa33039@bell.maths.tcd.ie>

next in thread | raw e-mail | index | archive | help

>Number:         18259
>Category:       ports
>Synopsis:       ElectricFence installation breaks if the EF_XXX environment variables are set
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Apr 27 10:00:02 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Eoin Lawless
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
>Environment:

	

>Description:

If a user has set the EF_ALIGNMENT, EF_PROTECT_BELOW or EF_PROTECT_FREE
variables, this can cause the ElectricFence self test to fail.

	

>How-To-Repeat:

cd /usr/ports/devel/ElectricFence
setenv EF_PROTECT_BELOW 1
make
	

>Fix:
	
	

Apply this patch to patch-aa:


diff -ru ElectricFence.old/patches/patch-aa ElectricFence/patches/patch-aa
--- ElectricFence.old/patches/patch-aa	Thu Apr 27 17:25:48 2000
+++ ElectricFence/patches/patch-aa	Thu Apr 27 17:37:15 2000
@@ -1,5 +1,5 @@
---- Makefile.orig	Thu Jan 19 23:33:04 1995
-+++ Makefile	Tue Sep 21 17:44:46 1999
+--- Makefile.orig	Fri Jan 20 05:33:04 1995
++++ Makefile	Thu Apr 27 17:36:29 2000
 @@ -4,7 +4,10 @@
  INSTALL= install
  MV= mv
@@ -12,3 +12,12 @@
  LIB_INSTALL_DIR= /usr/lib
  MAN_INSTALL_DIR= /usr/man/man3
  
+@@ -32,7 +35,7 @@
+ 	@ echo
+ 	@ echo "Testing Electric Fence."
+ 	@ echo "After the last test, it should print that the test has PASSED."
+-	./eftest
++	EF_PROTECT_BELOW= && EF_PROTECT_FREE= && EF_ALIGNMENT= && ./eftest
+ 	./tstheap 3072
+ 	@ echo
+ 	@ echo "Electric Fence confidence test PASSED." 

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004271757.aa33039>