You are not logged in.

#1 2007-11-10 20:20:36

voodoo.child
Member
Registered: 2007-11-01
Posts: 30

electric-fence?

which package contains electric fence?


--
Alexandru

Offline

#2 2007-11-11 00:14:10

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,384
Website

Re: electric-fence?

I don't think there is one in the main repositories...  efence is now developed as DUMA which has no package.  I am going to post one to AUR soon.

Edit:  It appears my old PKGBUILD no longer works.  Here it is if you want to fix it:

# Contributor: Allan McRae <mcrae_allan@hotmail.com>

pkgname=duma
pkgver=2.5.8
_pkgver=2_5_8
pkgrel=1
pkgdesc="Library to Detect Unintended Memory Access in C/C++ programs"
arch=('i686')
license=('GPL' 'LGPL')
url="http://duma.sourceforge.net/"
depends=('gcc')
source=(http://downloads.sourceforge.net/duma/${pkgname}_${_pkgver}.tar.gz)
md5sums=('23d5868996f76a79bd148e76ff10eb23')

build() {
  cd $startdir/src/${pkgname}_${_pkgver}
  make || return 1
  mkdir -p $startdir/pkg/usr/{bin,lib,man/man3,include}
  sed -i "s#/share##" Makefile
  make prefix=$startdir/pkg/usr install || return 1
  install {duma.h,dumapp.h,sem_inc.h,paging.h,print.h,duma_hlp.h,noduma.h,duma_config.h} \
    $startdir/pkg/usr/include
}

example5 fails to compile and a few fail to run under duma...

My advise is to look into valgrind.  A very good program.

Last edited by Allan (2007-11-11 01:34:04)

Offline

Board footer

Powered by FluxBB