diff options
author | Dimitris Zlatanidis <d.zlatanidis@gmail.com> | 2014-12-17 05:45:23 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2014-12-19 22:41:36 +0700 |
commit | d4a552db5fcb8d3cf275a3701189ff3477ae00da (patch) | |
tree | 8df9400ffe02de915f47afaa55c4ff8b880d5fb1 /libraries/libhtp | |
parent | 57403cc4b133f5ec110ebbbfbd6827aaa5040e06 (diff) |
libraries/libhtp: Updated for version 0.5.16.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
Diffstat (limited to 'libraries/libhtp')
-rw-r--r-- | libraries/libhtp/libhtp.SlackBuild | 15 | ||||
-rw-r--r-- | libraries/libhtp/libhtp.info | 8 |
2 files changed, 9 insertions, 14 deletions
diff --git a/libraries/libhtp/libhtp.SlackBuild b/libraries/libhtp/libhtp.SlackBuild index 44455a8052f40..1253818686e34 100644 --- a/libraries/libhtp/libhtp.SlackBuild +++ b/libraries/libhtp/libhtp.SlackBuild @@ -23,8 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libhtp -SRCNAM=htp -VERSION=${VERSION:-0.2.14} +VERSION=${VERSION:-0.5.16} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -60,9 +59,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $SRCNAM-$VERSION -tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -cd $SRCNAM-$VERSION +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$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 \ @@ -70,6 +69,7 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +./autogen.sh CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -88,11 +88,6 @@ make install DESTDIR=$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 -find $PKG -name perllocal.pod \ - -o -name ".packlist" \ - -o -name "*.bs" \ - | xargs rm -f - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild diff --git a/libraries/libhtp/libhtp.info b/libraries/libhtp/libhtp.info index a5e78ffec3b00..4153a2237caf5 100644 --- a/libraries/libhtp/libhtp.info +++ b/libraries/libhtp/libhtp.info @@ -1,8 +1,8 @@ PRGNAM="libhtp" -VERSION="0.2.14" -HOMEPAGE="http://suricata-ids.org/download/" -DOWNLOAD="http://www.openinfosecfoundation.org/download/htp-0.2.14.tar.gz" -MD5SUM="6e6b01a78f2153572e4f9dbc7e98209b" +VERSION="0.5.16" +HOMEPAGE="https://github.com/OISF/libhtp" +DOWNLOAD="https://github.com/OISF/libhtp/archive/0.5.16.tar.gz" +MD5SUM="c1a20a884d76429e56e30dcf9eea69d9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |