Skip to content

Commit

Permalink
Merge pull request #14 from wxsBSD/0.5.21-update
Browse files Browse the repository at this point in the history
Update libhtp to 0.5.21.
  • Loading branch information
Mraoul authored Jul 25, 2016
2 parents c16e9df + 540e972 commit f2243fd
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
htp-0.5.19
libhtp-0.5.21
build/*
*.swp
Binary file removed htp-0.5.19.tar.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion htpy.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
#include "htp.h"
#include "htp_private.h"

#define HTPY_VERSION "0.23"
#define HTPY_VERSION "0.24"

static PyObject *htpy_error;
static PyObject *htpy_stop;
Expand Down
Binary file added libhtp-0.5.21.tar.gz
Binary file not shown.
10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@

pathjoin = os.path.join

GITVER = '0.5.19'
PKGNAME = 'htp-' + GITVER
GITVER = '0.5.21'
PKGNAME = 'libhtp-' + GITVER
PKGTAR = PKGNAME + '.tar.gz'
BUILDDIR = 'htp-' + GITVER
BUILDDIR = 'libhtp-' + GITVER

INCLUDE_DIRS = ['/usr/local/include', '/opt/local/include', '/usr/include']
LIBRARY_DIRS = ['/usr/lib', '/usr/local/lib']
Expand All @@ -37,7 +37,7 @@ def buildHtp(self):

spawn(['tar', '-zxf', self.HTPTAR], search_path = 1)
os.chdir(self.HTPDIR)
#spawn([pathjoin('.','autogen.sh')], '-i')
spawn([pathjoin('.','autogen.sh')], '-i')
spawn([pathjoin('.','configure'), 'CFLAGS=-fPIC'])
spawn(['make'], search_path = 1)
os.chdir('..')
Expand All @@ -51,7 +51,7 @@ def run(self):

setup (# Distribution meta-data
name = "htpy",
version = "0.23",
version = "0.24",
description = "python bindings for libhtp",
author = "Wesley Shields",
author_email = "wxs@atarininja.org",
Expand Down

0 comments on commit f2243fd

Please sign in to comment.