system/volatility: Updated for version 2.5.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
Barry J. Grundy 2016-08-26 01:04:28 +01:00 committed by David Spencer
parent 3dac6b0851
commit 1ceaf46b34
2 changed files with 12 additions and 9 deletions

View file

@ -21,16 +21,16 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# Created v2.4 December 2015, Barry J. Grundy.
# Created v2.5 August 2016, Barry J. Grundy.
PRGNAM=volatility
VERSION=${VERSION:-2.4}
VERSION=${VERSION:-2.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@ -41,8 +41,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@ -75,6 +75,9 @@ python setup.py install --root=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/share/$PRGNAM
mv $PKG/usr/contrib $PKG/usr/tools $PKG/usr/share/$PRGNAM
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a README.txt LICENSE.txt LEGAL.txt AUTHORS.txt CREDITS.txt \
$PKG/usr/doc/$PRGNAM-$VERSION

View file

@ -1,10 +1,10 @@
PRGNAM="volatility"
VERSION="2.4"
VERSION="2.5"
HOMEPAGE="https://github.com/volatilityfoundation/volatility"
DOWNLOAD="http://downloads.volatilityfoundation.org/releases/2.4/volatility-2.4.tar.gz"
MD5SUM="4f9ad730fb2174c90182cc29cb249d20"
DOWNLOAD="https://github.com/volatilityfoundation/volatility/archive/2.5/volatility-2.5.tar.gz"
MD5SUM="efd09489eb8d45e07691d6bdc0e9b329"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="distorm3 pycrypto"
REQUIRES="distorm pycrypto"
MAINTAINER="Barry J. Grundy"
EMAIL="bgrundy AT linuxleo.com"