wok-6.x rev 24512
updated electric-fence (2.2.5 -> 2.2.6)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Feb 21 10:26:56 2022 +0100 (2022-02-21) |
parents | ff9ccba72fd2 |
children | 4e7edc76de88 |
files | electric-fence/description.txt electric-fence/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/electric-fence/description.txt Mon Feb 21 10:26:56 2022 +0100 1.3 @@ -0,0 +1,12 @@ 1.4 +Electric Fence is a debugger that uses virtual memory hardware to detect illegal 1.5 +memory accesses. 1.6 +It can detect two common programming bugs: 1.7 +software that overruns or underruns the boundaries of a malloc() memory allocation, 1.8 +and software that touches a memory allocation that has been released by free(). 1.9 + 1.10 +Unlike other malloc() debuggers, Electric Fence will detect read accesses as well 1.11 +as writes, and it will stop and pinpoint the exact instruction that causes an error. 1.12 +It is not as thorough as Purify, however. 1.13 + 1.14 +In order to debug a program it needs to be linked with Electric Fence's library or 1.15 +dynamic linking needs to be used.
2.1 --- a/electric-fence/receipt Mon Feb 21 09:33:38 2022 +0100 2.2 +++ b/electric-fence/receipt Mon Feb 21 10:26:56 2022 +0100 2.3 @@ -1,16 +1,17 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="electric-fence" 2.7 -VERSION="2.2.5" 2.8 +VERSION="2.2.6" 2.9 CATEGORY="development" 2.10 TAGS="debugger" 2.11 -SHORT_DESC="Memory allocation debugger" 2.12 +SHORT_DESC="Memory allocation debugger." 2.13 MAINTAINER="erjo@slitaz.org" 2.14 LICENSE="GPL2" 2.15 WEB_SITE="https://web.archive.org/web/20121027131441/http://perens.com/works/software/ElectricFence/" 2.16 +REPOLOGY="electricfence" 2.17 2.18 TARBALL="${PACKAGE}_${VERSION}.tar.gz" 2.19 -WGET_URL="http://deb.debian.org/debian/pool/main/e/$PACKAGE/$TARBALL" 2.20 +WGET_URL="https://deb.debian.org/debian/pool/main/${PACKAGE:0:1}/$PACKAGE/$TARBALL" 2.21 2.22 DEPENDS="gdb" 2.23 2.24 @@ -30,8 +31,10 @@ 2.25 # Rules to gen a SliTaz package suitable for Tazpkg. 2.26 genpkg_rules() 2.27 { 2.28 - mkdir -p $fs/usr/lib $fs/usr/bin 2.29 - cp -a $src/eftest $fs/usr/bin 2.30 - cp -a $src/tstheap $fs/usr/bin 2.31 - cp -a $src/*.a $fs/usr/lib 2.32 + mkdir -p $fs/usr/bin 2.33 + mkdir -p $fs/usr/lib 2.34 + 2.35 + cp -a $src/eftest $fs/usr/bin 2.36 + cp -a $src/tstheap $fs/usr/bin 2.37 + cp -a $src/*.a $fs/usr/lib 2.38 }