notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
This referral link gives you 10% off a Fastmail.com account and gives me a discount on my Fastmail account.

Get notified when packages are built

A new feature has been added. FreshPorts already tracks package built by the FreeBSD project. This information is displayed on each port page. You can now get an email when FreshPorts notices a new package is available for something on one of your watch lists. However, you must opt into that. Click on Report Subscriptions on the right, and New Package Notification box, and click on Update.

FInally, under Watch Lists, click on ABI Package Subscriptions to select your ABI (e.g. FreeBSD:14:amd64) & package set (latest/quarterly) combinatio for a given watch list. This is what FreshPorts will look for.

Port details
ElectricFence Debugging malloc() that uses the VM hardware to detect buffer overruns
2.2.2_3 devel on this many watch lists=15 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 2.2.2_2Version of this port present on the latest quarterly branch.
There is no maintainer for this port.
Any concerns regarding this port should be directed to the FreeBSD Ports mailing list via ports@FreeBSD.org search for ports maintained by this maintainer
Port Added: unknown
Last Update: 2024-02-23 11:25:07
Commit Hash: 02a0940
People watching this port, also watch:: unzip, python, autoconf, zip, gettext
License: not specified in port
Description:
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. It will probably port to any ANSI/POSIX system that provides mmap(), and mprotect(), as long as mprotect() has the capability to turn off all access to a memory page, and mmap() can use /dev/zero or the MAP_ANONYMOUS flag to create virtual memory pages. Complete information on the use of Electric Fence is in the manual page efence(3).
cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (5 items)
Collapse this list.
  1. bin/ef.sh
  2. lib/libefence.a
  3. lib/libefence.so.0
  4. share/man/man3/efence.3.gz
  5. @ldconfig
Collapse this list.
Dependency lines:
  • electricfence>0:devel/ElectricFence
To install the port:
cd /usr/ports/devel/ElectricFence/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/ElectricFence
  • pkg install electricfence
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: electricfence
Flavors: there is no flavor information for this port.
distinfo:
SHA256 (ElectricFence-2.2.2.tar.gz) = e5be3a38a0d2b71ba558eb310a2db44ea6e7c208e16d4fd907dc6ed11c46b1a7 SIZE (ElectricFence-2.2.2.tar.gz) = 28247

Packages (timestamps in pop-ups are UTC):
electricfence
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest2.2.2_32.2.2_32.2.2_22.2.2_32.2.2_3-2.2.2_2-
FreeBSD:13:quarterly2.2.2_22.2.2_22.2.2_22.2.2_22.2.2_22.2.2_22.2.2_22.2.2_2
FreeBSD:14:latest2.2.2_32.2.2_32.2.2_22.2.2_32.2.2_32.2.2_2-2.2.2_2
FreeBSD:14:quarterly2.2.2_22.2.2_2-2.2.2_22.2.2_22.2.2_22.2.2_22.2.2_2
FreeBSD:15:latest2.2.2_32.2.2_3n/a2.2.2_2n/a2.2.2_22.2.2_22.2.2_3
FreeBSD:15:quarterly--n/a-n/a---
This port has no dependencies.
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
devel_ElectricFence
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (2 items)
Collapse this list.
  1. https://dl.packetstormsecurity.net/UNIX/misc/
  2. https://packetstorm.foofus.com/UNIX/misc/
Collapse this list.

Number of commits found: 33

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
2.2.2_3
23 Feb 2024 11:25:07
commit hash: 02a0940c4ea58f830d9c4abc2fc5aac2df465228commit hash: 02a0940c4ea58f830d9c4abc2fc5aac2df465228commit hash: 02a0940c4ea58f830d9c4abc2fc5aac2df465228commit hash: 02a0940c4ea58f830d9c4abc2fc5aac2df465228 files touched by this commit
Muhammad Moinur Rahman (bofh) search for other commits by this committer
devel/ElectricFence: Moved man to share/man

Approved by:    portmgr (blanket)
2.2.2_2
20 Jul 2022 14:21:35
commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746commit hash: aa6eefd5e663357e8223399bc38c7987f5e35746 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
devel: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Waitman Gobble" <uzimac@da3m0n8t3r.com>
  *  <jkoshy@FreeBSD.org>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Aaron H. K. Diep <ahkdiep@gmail.com>
  *  Aaron Hurt <ahurt@anbcs.com>
  *  Abel Chow <abel_chow@yahoo.com>
  *  Adam McLaurin
  *  Adam Saponara <as@php.net>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.2.2_2
06 Apr 2021 14:31:07
commit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344ebcommit hash: 305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
2.2.2_2
07 Nov 2019 16:30:12
Revision:516983Original commit files touched by this commit
rene search for other commits by this committer
Clean up support for FreeBSD 11.2.

While here, modernize some comments in Mk/bsd.*.mk.

Note that graphics/drm-fbsd11.2-kmod is not renamed yet, this was somewhat
under discussion.

Submitted by:	rene
Reviewed by:	antoine, jbeich, mat, zeising
Differential Revision:	https://reviews.freebsd.org/D21974
2.2.2_2
26 Feb 2019 22:28:53
Revision:493985Original commit files touched by this commit
pi search for other commits by this committer
devel/ElectricFence: add missing posix_memalign()

The current implementation did not handle posix_memalign().

Programs using posix_memalign() to allocate memory effectively
silently fall back to the standard implementation. Whenever the
program calls free() to release the memory, the efence implementation
is called and barfs that the memory is unknown, leading to a core
dump.

Sadly, many programs use posix_memalign and thus could not be debugged
with efence.

Example use case: See nginx, PR#235296

PR:		235297
Submitted by:	topical@gmx.net
Obtained from:	https://bugzilla.redhat.com/show_bug.cgi?id=603075
		https://launchpad.net/ubuntu/+source/electric-fence/+changelog
2.2.2_2
14 May 2015 10:15:09
Revision:386312Original commit files touched by this commit
mat search for other commits by this committer
MASTER_SITES cleanup.

- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2.2.2_2
28 Jul 2014 16:28:03
Revision:363197Original commit files touched by this commit
adamw search for other commits by this committer
Rename devel/ patch-xy patches to reflect the files they modify.
2.2.2_2
10 Dec 2013 20:48:33
Revision:336109Original commit files touched by this commit
bapt search for other commits by this committer
Support stage; strip library
2.2.2_2
20 Sep 2013 17:17:45
Revision:327726Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 4)
2.2.2_2
03 Jul 2011 14:59:23
Original commit files touched by this commit
ohauer search for other commits by this committer
-remove MD5
2.2.2_2
27 Jul 2007 13:31:55
Original commit files touched by this commit
mi search for other commits by this committer
Add two more patches found in the Linux wild. Would've been
better to be downloading them, but, strangely enough, they
don't seem available in the raw source -- only in the pretty-fied
HTML :-(

Of the two remaining once, the ElectricFence-2.2.2-madvise.patch
is currently causing me unexplained crashes, and the
ElectricFence-2.2.2-pthread.patch does not seem to matter for us,
because we don't USE_SEMAPHORE:

http://www.filewatcher.com/p/ElectricFence-2.2.2-19.src.rpm.38696/ElectricFence-2.2.2-madvise.patch.html
http://www.filewatcher.com/p/ElectricFence-2.2.2-19.src.rpm.38696/ElectricFence-2.2.2-pthread.patch.html
2.2.2_2
27 Jul 2007 13:00:52
Original commit files touched by this commit
mi search for other commits by this committer
Add a patch found on RedHat mailing list. It is quite important,
where size_t is wider than int...

Bump PORTREVISION.
2.2.2_1
22 Apr 2007 12:25:44
Original commit files touched by this commit
des search for other commits by this committer
Preserve whitespace in the argument list.  This can be tested by running
"ef.sh /bin/echo a\ \ b"; the correct output is "a  b\n", but before this
commit it would print "a b\n" instead.
2.2.2
22 Oct 2006 04:56:07
Original commit files touched by this commit
lawrance search for other commits by this committer
Disable self-tests which fail on pointyhat due to differences in
expected signal delivery between 7.x host and 6.x jail.  See patch
comment for more info.

Approved by:    portmgr (kris)
2.2.2
14 Aug 2006 22:55:18
Original commit files touched by this commit
clsung search for other commits by this committer
- s,INSTALLS_SHLIB,USE_LDCONFIG,g
- these include comms/ converters/ databases/ devel/ maintained by ports@

PR:             ports/101916
Submitted by:   Gea-Suan Lin <gslin_AT_gslin dot org>
2.2.2
01 Feb 2006 01:36:43
Original commit files touched by this commit
lawrance search for other commits by this committer
Fix build on i386 -current.
2.2.2
24 Nov 2005 15:40:04
Original commit files touched by this commit
pav search for other commits by this committer
- Add some SHA256 checksums
2.2.2
05 Nov 2005 18:35:06
Original commit files touched by this commit
arved search for other commits by this committer
Try to unbreak on amd64-CURRENT.
Not sure, why suddently a differnt signal is triggered by the eftest
program.
2.2.2
16 Oct 2005 15:12:31
Original commit files touched by this commit
vs search for other commits by this committer
- Prune MASTER_SITES: this particular flavour is no longer available from
perens.com
- Nuke 3-line plist while here

Noticed by: fenner's magical distfile survey
2.2.2
07 May 2004 08:31:14
Original commit files touched by this commit
vs search for other commits by this committer
- Unbreak on non-std hardware: Use -DPAGE_PROTECTION_VIOLATED_SIGNAL=SIGBUS
   on all archs except alpha.
- Pass CC through while here.

PR:             ports/65878
Submitted by:   Tim Robbins
2.2.2
29 Jan 2004 07:24:56
Original commit files touched by this commit
trevor search for other commits by this committer
SIZEify.
2.2.2
24 Dec 2003 09:27:51
Original commit files touched by this commit
linimon search for other commits by this committer
Per bento logs, mark as broken on the 64-bit architectures.
2.2.2
02 Mar 2003 16:40:15
Original commit files touched by this commit
naddy search for other commits by this committer
Update master sites.

PR:             48827
Submitted by:   Kimura Fuyuki <fuyuki@hadaly.org>
2.2.2
20 Feb 2003 17:07:10
Original commit files touched by this commit
knu search for other commits by this committer
De-pkg-comment.
2.2.2
13 Jan 2003 17:25:37
Original commit files touched by this commit
fjoe search for other commits by this committer
Disable printing version upon initialization.
This will allow using ElectricFence in multithreaded programs
(programs linked with libc_r).
2.2.2
16 Mar 2002 17:25:07
Original commit files touched by this commit
obrien search for other commits by this committer
Fix bad reference.

PR:             35977
Submitted by:   Slaven Rezic <slaven.rezic@berlin.de>
25 May 2001 11:00:21
commit hash: fp1.14134@dev.null.freshports.orgcommit hash: fp1.14134@dev.null.freshports.orgcommit hash: fp1.14134@dev.null.freshports.orgcommit hash: fp1.14134@dev.null.freshports.org files touched by this commit
obrien search for other commits by this committer
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.    
03 May 2001 09:34:57
commit hash: fp1.13348@dev.null.freshports.orgcommit hash: fp1.13348@dev.null.freshports.orgcommit hash: fp1.13348@dev.null.freshports.orgcommit hash: fp1.13348@dev.null.freshports.org files touched by this commit
obrien search for other commits by this committer
Fix incompatiblities in the script.    
28 Feb 2001 10:22:59
commit hash: fp1.10119@dev.null.freshports.orgcommit hash: fp1.10119@dev.null.freshports.orgcommit hash: fp1.10119@dev.null.freshports.orgcommit hash: fp1.10119@dev.null.freshports.org files touched by this commit
obrien search for other commits by this committer
Install the shared lib version and ef wrapper script.    
22 Nov 2000 00:17:18
commit hash: fp1.6602@dev.null.freshports.orgcommit hash: fp1.6602@dev.null.freshports.orgcommit hash: fp1.6602@dev.null.freshports.orgcommit hash: fp1.6602@dev.null.freshports.org files touched by this commit
obrien search for other commits by this committer
Add $FreeBSD$'s which help me in problem reports.    
08 Oct 2000 02:10:04
commit hash: fp1.4741@dev.null.freshports.orgcommit hash: fp1.4741@dev.null.freshports.orgcommit hash: fp1.4741@dev.null.freshports.orgcommit hash: fp1.4741@dev.null.freshports.org files touched by this commit
asami search for other commits by this committer
Convert category devel to new layout.  
22 Sep 2000 11:30:31
commit hash: fp1.4226@dev.null.freshports.orgcommit hash: fp1.4226@dev.null.freshports.orgcommit hash: fp1.4226@dev.null.freshports.orgcommit hash: fp1.4226@dev.null.freshports.org files touched by this commit
kris search for other commits by this committer
Correct PLIST    
27 Aug 2000 02:34:16
commit hash: fp1.3296@dev.null.freshports.orgcommit hash: fp1.3296@dev.null.freshports.orgcommit hash: fp1.3296@dev.null.freshports.orgcommit hash: fp1.3296@dev.null.freshports.org files touched by this commit
obrien search for other commits by this committer
Update to version 2.2.2.    

Number of commits found: 33