diff options
author | Vegard Haugland <vegard@haugland.at> | 2017-01-22 08:43:15 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-01-24 07:22:55 +0700 |
commit | 0ae53b88497f400f648500c20bc5bf9c255167d1 (patch) | |
tree | c6efa99694d0a0be4dc1d19af3385400c45a215b /misc | |
parent | 22d7f38cd26bba6ec2741c5110bab12de38471e2 (diff) |
misc/yara: Updated for version 3.5.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc')
-rw-r--r-- | misc/yara/doinst.sh | 0 | ||||
-rw-r--r-- | misc/yara/yara.SlackBuild | 21 | ||||
-rw-r--r-- | misc/yara/yara.info | 8 |
3 files changed, 15 insertions, 14 deletions
diff --git a/misc/yara/doinst.sh b/misc/yara/doinst.sh deleted file mode 100644 index e69de29bb2d1d..0000000000000 --- a/misc/yara/doinst.sh +++ /dev/null diff --git a/misc/yara/yara.SlackBuild b/misc/yara/yara.SlackBuild index 67f4ed7efaafc..2cb7609ac9849 100644 --- a/misc/yara/yara.SlackBuild +++ b/misc/yara/yara.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for yara -# Copyright 2011 Vegard Haugland <vegard@haugland.at> +# Copyright 2017 Vegard Haugland <vegard@haugland.at> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,13 +23,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=yara -VERSION=${VERSION:-1.5} +VERSION=${VERSION:-3.5.0} 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 @@ -61,15 +61,15 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz - 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 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -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 {} \; +./bootstrap.sh CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -78,7 +78,8 @@ CXXFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ - --libdir=/usr/lib${LIBDIRSUFFIX} + --libdir=/usr/lib${LIBDIRSUFFIX} \ + --build=$ARCH-slackware-linux make make install DESTDIR=$PKG @@ -90,7 +91,7 @@ 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 README INSTALL AUTHORS COPYING NEWS $PKG/usr/doc/$PRGNAM-$VERSION +cp -a sample.file README.md AUTHORS CONTRIBUTORS COPYING $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/misc/yara/yara.info b/misc/yara/yara.info index f0fa5bd03bbb4..3e853af85991e 100644 --- a/misc/yara/yara.info +++ b/misc/yara/yara.info @@ -1,8 +1,8 @@ PRGNAM="yara" -VERSION="1.5" -HOMEPAGE="http://code.google.com/p/yara-project/" -DOWNLOAD="http://yara-project.googlecode.com/files/yara-1.5.tar.gz" -MD5SUM="ccca92dfd8423186f5270fabd52782e5" +VERSION="3.5.0" +HOMEPAGE="https://github.com/VirusTotal/yara/releases" +DOWNLOAD="https://github.com/VirusTotal/yara/archive/v3.5.0/yara-3.5.0.tar.gz" +MD5SUM="7a3248719771ece845f2ef94b09732f2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |