diff --git a/.gitignore b/.gitignore index c0bb60a..320a20b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ -htp-0.5.19 +libhtp-0.5.21 build/* *.swp diff --git a/htp-0.5.19.tar.gz b/htp-0.5.19.tar.gz deleted file mode 100644 index bb59521..0000000 Binary files a/htp-0.5.19.tar.gz and /dev/null differ diff --git a/htpy.c b/htpy.c index a202731..d521167 100644 --- a/htpy.c +++ b/htpy.c @@ -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; diff --git a/libhtp-0.5.21.tar.gz b/libhtp-0.5.21.tar.gz new file mode 100644 index 0000000..dc88d39 Binary files /dev/null and b/libhtp-0.5.21.tar.gz differ diff --git a/setup.py b/setup.py index 89d7b7f..2c26ce8 100644 --- a/setup.py +++ b/setup.py @@ -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'] @@ -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('..') @@ -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",