parent
d70bbd216b
commit
65392f003b
@ -1,17 +1,17 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
iQJNBAABCgA3FiEEm8dazQnvu0U1Gdmc9s+lqZ57WVcFAmCONaQZHGd6YW11ZGlv
|
iQJNBAABCgA3FiEEm8dazQnvu0U1Gdmc9s+lqZ57WVcFAmCONmEZHGd6YW11ZGlv
|
||||||
QGxpYnJlbWV4Lm9yZy5teAAKCRD2z6WpnntZVxV4EACgRCkMZa4cfBtyw1e2fISY
|
QGxpYnJlbWV4Lm9yZy5teAAKCRD2z6WpnntZV1AjEACpeTWx+II8gCi4Bzr2Pzfc
|
||||||
oqCUZQ8Iijxs55MIWQpe3jlvFE8pmLfDrMLbv/7jKzx1CtfA6ukkoUeaIoipeZhS
|
zX13Lap4ILLSfJhNfR/xWfsFRdq/0Ts+vWT/baKXyTHvWJiKGi1m8iI9e5l1zAoH
|
||||||
C7AW06N3dZ7PpH0OnJCtMlexc8oczh/Deae2/F8KknnPKIgZqWMkucWxIyrtRwJi
|
HM/+2PDygmeBWhrTfVdNrlTMlnvxqsd4q0wlG8C/vLRztsEsOyl8vnZnBT5j/uon
|
||||||
QLeICydP1gOfefQt+I21T+HmglZ3Wi6ExmPjHj0heDgp4YCBRkNJkr5uoWxgeO+5
|
/dS+LPCqfMPnylgXQUr2ZhshrqeyviX+04i+GDmPRym7XFWVjRzZ1OWKcaX2jU7K
|
||||||
9dTsqwxLNozD1DIw/jgrPAv+FW15nWMvusvCt26LpGTPIbGcw6gAng7kA+rupnXo
|
/o3n7Rrd8k4xEYysC1bcg8i02WomXOZBExrYeyw2wln/rf6fuusmmZLFnQbegHnn
|
||||||
pVHhnZ/7WgmPSTZsH+0ElA5q+jnmMBw0VCW/jfqsxo6VC3OfTwp82DhKFB5ox3vn
|
0cUqpUEIp8iI4UX9+A8+6kR+LgR//GI1B7biapOziYkbiUtbjv0fXRkNiX/J1brJ
|
||||||
No5QCUo3IRmsrMkH9gIlCwUH4l1pdB9D/BKj2pQzCBLs4mcNOFhUME2m7689wZ/8
|
sgVb8UIZfW15/2o4pe31ixk7Pc7hS5a/jNL51Orzme8ziRtV6zfqvBL5+udmM+sX
|
||||||
1989XvIfDgjbCWd8rZ3QwNjYSeFVfL8ye7U28mPNn0oI5U/wuQ8Nni8mR+IV7472
|
/8uUU049TVdREhG22V1H5O3vnsVdOGyJnPuFAXF2IxQAi+BS/FChSShZb5R/GTtR
|
||||||
+ZmMX6+XiROqv/t933zPCj+49A/u0i3bS5ZXGoF+1lNbq3jeG6bFpG4eiDkj22rS
|
MoLIYvzo+SJK2GsrszxKhp4zJYN0TY2166232UWAK0louD6hZmjkHCkzlfN1z9Yk
|
||||||
i+FnAZCjJP8VBe1wJbkMcFQO3S/dY0ab2nmjyw+vwMlDV02CJRFE5t3I0+4p+H4G
|
5dCnNtxFpwG4Baf8EVRNcjlqSc/f8OUmhZPZ9cN0oiM/Ta3HarG8yStmaFun/H7E
|
||||||
tH6yjQxs+XXlyIZ6aaEQBG9L1IC+SkVKrGWZzvIl12W0WiuS/+J/0PuFWGDU8F1f
|
YSjE4AlCt7hxTkRjylb0NukwFTAHUE9HscvkJumBrdtIEITimO8a6jYdX1tHrFNU
|
||||||
J6vpzs+lrWoNvaWIdnQ9Dw==
|
ffZ71NjO4i9ij8WXsOm/mA==
|
||||||
=+3hS
|
=zrK6
|
||||||
-----END PGP SIGNATURE-----
|
-----END PGP SIGNATURE-----
|
||||||
|
Binary file not shown.
@ -1,17 +1,17 @@
|
|||||||
-----BEGIN PGP SIGNATURE-----
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
iQJNBAABCgA3FiEEm8dazQnvu0U1Gdmc9s+lqZ57WVcFAmCONaQZHGd6YW11ZGlv
|
iQJNBAABCgA3FiEEm8dazQnvu0U1Gdmc9s+lqZ57WVcFAmCONmEZHGd6YW11ZGlv
|
||||||
QGxpYnJlbWV4Lm9yZy5teAAKCRD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ps6+9kmrr0lb
|
||||||
GKqCQ9+TfGS6pfMmfaRtwStK9A+EtpikgcfYblKr4PjdJiL0HBcq7QpYfPv5ExmM
|
2lwWVvq9luapdweioRA2nb9cYzzAGu2ICE29TpZUlK9hrblUWHcfu0mOw9TJWWyS
|
||||||
QRjC/AJyf6/lbXVo5rOcKUMXPhK7sQlZr1bwqwawvD4kx2rB7imzE894RnYft7xW
|
MqSkbJu5tM8HMd5k15DomJ958G333yGYOp71EiFRZiOEAVZHD6qRVZhNnDiR28fw
|
||||||
P49D0nYpWk4EtTkOyfu4GONo3qzhCiW/VIG8kTMuqJFkPAiru0IqOmyFqPEhjdJQ
|
b1RnKjqeR6GkQZ4TsFBUnbt3NWubZq4vPdDAIJhFVN2LKKYs4tBA5l6HxtTIxsLh
|
||||||
vOhvkMMl60haUEJ2qvPGdw==
|
YksARNUr1Tm5hYAPv7GsnA==
|
||||||
=7Oxn
|
=p5RM
|
||||||
-----END PGP SIGNATURE-----
|
-----END PGP SIGNATURE-----
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,19 @@
|
|||||||
|
# HOW TO EDIT THIS FILE:
|
||||||
|
# The "handy ruler" below makes it easier to edit a package description.
|
||||||
|
# Line up the first '|' above the ':' following the base package name, and
|
||||||
|
# the '|' on the right side marks the last column you can put a character in.
|
||||||
|
# You must make exactly 11 lines for the formatting to be correct. It's also
|
||||||
|
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||||
|
|
||||||
|
|-----handy-ruler------------------------------------------------------|
|
||||||
|
valgrind: valgrind (award-winning suite of tools for debugging)
|
||||||
|
valgrind:
|
||||||
|
valgrind: Valgrind is an award-winning suite of tools for debugging and
|
||||||
|
valgrind: profiling Linux programs. With the tools that come with Valgrind,
|
||||||
|
valgrind: you can automatically detect many memory management and threading
|
||||||
|
valgrind: bugs, avoiding hours of frustrating bug-hunting, making your
|
||||||
|
valgrind: programs more stable. You can also perform detailed profiling,
|
||||||
|
valgrind: to speed up and reduce memory use of your programs.
|
||||||
|
valgrind:
|
||||||
|
valgrind:
|
||||||
|
valgrind:
|
@ -0,0 +1,19 @@
|
|||||||
|
# HOW TO EDIT THIS FILE:
|
||||||
|
# The "handy ruler" below makes it easier to edit a package description.
|
||||||
|
# Line up the first '|' above the ':' following the base package name, and
|
||||||
|
# the '|' on the right side marks the last column you can put a character in.
|
||||||
|
# You must make exactly 11 lines for the formatting to be correct. It's also
|
||||||
|
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||||
|
|
||||||
|
|-----handy-ruler------------------------------------------------------|
|
||||||
|
valgrind: valgrind (award-winning suite of tools for debugging)
|
||||||
|
valgrind:
|
||||||
|
valgrind: Valgrind is an award-winning suite of tools for debugging and
|
||||||
|
valgrind: profiling Linux programs. With the tools that come with Valgrind,
|
||||||
|
valgrind: you can automatically detect many memory management and threading
|
||||||
|
valgrind: bugs, avoiding hours of frustrating bug-hunting, making your
|
||||||
|
valgrind: programs more stable. You can also perform detailed profiling,
|
||||||
|
valgrind: to speed up and reduce memory use of your programs.
|
||||||
|
valgrind:
|
||||||
|
valgrind:
|
||||||
|
valgrind:
|
@ -0,0 +1,13 @@
|
|||||||
|
Valgrind is a framework for building dynamic analysis tools. There are
|
||||||
|
Valgrind tools that can automatically detect many memory management
|
||||||
|
and threading bugs, and profile your programs in detail. You can also
|
||||||
|
use Valgrind to build new tools.
|
||||||
|
|
||||||
|
The Valgrind distribution currently includes six production-quality
|
||||||
|
tools: a memory error detector, two thread error detectors, a cache
|
||||||
|
and branch-prediction profiler, a call-graph generating cache and
|
||||||
|
branch-prediction profiler, and a heap profiler. It also includes
|
||||||
|
three experimental tools: a heap/stack/global array overrun detector,
|
||||||
|
a different kind of heap profiler, and a SimPoint basic block vector
|
||||||
|
generator. It runs on the following platforms: x86/Linux, AMD64/Linux,
|
||||||
|
PPC32/Linux, PPC64/Linux, ARM/Linux, x86/MacOSX and AMD64/MacOSX.
|
@ -0,0 +1,19 @@
|
|||||||
|
# HOW TO EDIT THIS FILE:
|
||||||
|
# The "handy ruler" below makes it easier to edit a package description.
|
||||||
|
# Line up the first '|' above the ':' following the base package name, and
|
||||||
|
# the '|' on the right side marks the last column you can put a character in.
|
||||||
|
# You must make exactly 11 lines for the formatting to be correct. It's also
|
||||||
|
# customary to leave one space after the ':' except on otherwise blank lines.
|
||||||
|
|
||||||
|
|-----handy-ruler------------------------------------------------------|
|
||||||
|
valgrind: valgrind (award-winning suite of tools for debugging)
|
||||||
|
valgrind:
|
||||||
|
valgrind: Valgrind is an award-winning suite of tools for debugging and
|
||||||
|
valgrind: profiling Linux programs. With the tools that come with Valgrind,
|
||||||
|
valgrind: you can automatically detect many memory management and threading
|
||||||
|
valgrind: bugs, avoiding hours of frustrating bug-hunting, making your
|
||||||
|
valgrind: programs more stable. You can also perform detailed profiling,
|
||||||
|
valgrind: to speed up and reduce memory use of your programs.
|
||||||
|
valgrind:
|
||||||
|
valgrind:
|
||||||
|
valgrind:
|
@ -0,0 +1,112 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Slackware build script for valgrind
|
||||||
|
# Written by Kyle Guinn <elyk03@gmail.com>
|
||||||
|
# Updated by Peter Wang <novalazy@gmail.com>
|
||||||
|
# Maintained by Willy Sudiarto Raharjo <willysr@slackbuilds.org>
|
||||||
|
|
||||||
|
# All rights reserved.
|
||||||
|
#
|
||||||
|
# Redistribution and use of this script, with or without modification, is
|
||||||
|
# permitted provided that the following conditions are met:
|
||||||
|
#
|
||||||
|
# 1. Redistributions of this script must retain the above copyright
|
||||||
|
# notice, this list of conditions and the following disclaimer.
|
||||||
|
#
|
||||||
|
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
|
||||||
|
# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
|
# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
|
||||||
|
# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||||
|
# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
|
||||||
|
# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
||||||
|
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
|
||||||
|
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
|
||||||
|
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
|
||||||
|
PRGNAM=valgrind
|
||||||
|
VERSION=${VERSION:-3.17.0}
|
||||||
|
BUILD=${BUILD:-1}
|
||||||
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
if [ -z "$ARCH" ]; then
|
||||||
|
case "$( uname -m )" in
|
||||||
|
i?86) ARCH=i586 ;;
|
||||||
|
arm*) ARCH=arm ;;
|
||||||
|
*) ARCH=$( uname -m ) ;;
|
||||||
|
esac
|
||||||
|
fi
|
||||||
|
|
||||||
|
CWD=$(pwd)
|
||||||
|
TMP=${TMP:-/tmp/SBo}
|
||||||
|
PKG=$TMP/package-$PRGNAM
|
||||||
|
OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
|
if [ "$ARCH" = "i586" ]; then
|
||||||
|
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
|
# The valgrind build system already passes -fpic
|
||||||
|
# and forcing -fPIC results in a build failure.
|
||||||
|
SLKCFLAGS="-O2"
|
||||||
|
LIBDIRSUFFIX="64"
|
||||||
|
else
|
||||||
|
SLKCFLAGS="-O2"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
|
fi
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
rm -rf $PKG
|
||||||
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
|
cd $TMP
|
||||||
|
rm -rf $PRGNAM-$VERSION
|
||||||
|
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
|
||||||
|
cd $PRGNAM-$VERSION
|
||||||
|
chown -R root:root .
|
||||||
|
find -L . \
|
||||||
|
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
|
||||||
|
-o -perm 511 \) -exec chmod 755 {} \; -o \
|
||||||
|
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||||
|
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||||
|
|
||||||
|
CFLAGS="$SLKCFLAGS" \
|
||||||
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
|
./configure \
|
||||||
|
--prefix=/usr \
|
||||||
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||||
|
--sysconfdir=/etc \
|
||||||
|
--localstatedir=/var \
|
||||||
|
--mandir=/usr/man \
|
||||||
|
--docdir=/usr/doc/$PRGNAM-$VERSION \
|
||||||
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
|
make
|
||||||
|
make install DESTDIR=$PKG
|
||||||
|
|
||||||
|
# Do NOT strip the shared objects, as recommended by the developers.
|
||||||
|
find $PKG -print0 | xargs -0 file | grep -e "executable" | grep ELF \
|
||||||
|
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||||
|
|
||||||
|
find $PKG/usr/man -type f -exec gzip -9 {} \;
|
||||||
|
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
|
||||||
|
|
||||||
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
cp -a AUTHORS COPYING* FAQ.txt NEWS README* \
|
||||||
|
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
mv $PKG/usr/share/doc/valgrind/html $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
# The doc directory is the only thing in $PKG/usr/share, and the only things
|
||||||
|
# left in it now are pdf and a ps doc files. They are large, so we won't keep
|
||||||
|
# them around. If you still want them, uncomment the line below.
|
||||||
|
# mv $PKG/usr/share/doc/valgrind/*.{ps,pdf} $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
rm -rf $PKG/usr/share
|
||||||
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
|
mkdir -p $PKG/install
|
||||||
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
|
|
||||||
|
cd $PKG
|
||||||
|
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
@ -0,0 +1,10 @@
|
|||||||
|
PRGNAM="valgrind"
|
||||||
|
VERSION="3.17.0"
|
||||||
|
HOMEPAGE="http://www.valgrind.org/"
|
||||||
|
DOWNLOAD="http://sourceware.org/pub/valgrind/valgrind-3.17.0.tar.bz2"
|
||||||
|
MD5SUM="afe11b5572c3121a781433b7c0ab741b"
|
||||||
|
DOWNLOAD_x86_64=""
|
||||||
|
MD5SUM_x86_64=""
|
||||||
|
REQUIRES=""
|
||||||
|
MAINTAINER="Willy Sudiarto Raharjo"
|
||||||
|
EMAIL="willysr@slackbuilds.org"
|
Loading…
Reference in new issue