--- libhtp-0.2.12.orig/debian/libhtp1.install +++ libhtp-0.2.12/debian/libhtp1.install @@ -0,0 +1,2 @@ +usr/lib/*/lib*.so.* +debian/overrides/libhtp1 usr/share/lintian/overrides/ --- libhtp-0.2.12.orig/debian/copyright +++ libhtp-0.2.12/debian/copyright @@ -0,0 +1,47 @@ +This work was packaged for Debian by: + + Pierre Chifflier on Thu, 14 Jan 2010 20:54:57 +0100 + +It was downloaded from http://www.openinfosecfoundation.org/downloads/ + +Upstream Author: + + Ivan Ristic + +Copyright: + + Copyright (C) 2009 Ivan Ristic + +License: + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Library General Public License version 2 + as published by the Free Software Foundation + +see `/usr/share/common-licenses/GPL-2'. + +with the following exception: + + We want specified Free/Libre and Open Source Software ("FLOSS") programs to be + able to use LibHTP (the "Program") despite the fact that not all FLOSS + licenses are compatible with version 2 of the GNU General Public License (the + "GPLv2") + +The complete description of the exception can be found in file +`/usr/share/doc/libhtp-dev/LIBHTP_LICENSING_EXCEPTION.gz'. + +The Debian packaging is: + + Copyright (C) 2010 Pierre Chifflier + +and is licensed under the GPL version 2, +see `/usr/share/common-licenses/GPL-2'. + +Other files/licenses: + +htp/utf8_decoder.c +htp/utf8_decoder.h + + are Copyright (c) 2008-2009 Bjoern Hoehrmann and +are licensed under MIT/X11 (BSD like) license. + --- libhtp-0.2.12.orig/debian/libhtp1.symbols +++ libhtp-0.2.12/debian/libhtp1.symbols @@ -0,0 +1,196 @@ +libhtp-0.2.so.1 libhtp1 #MINVER# + bestfit_codepoint@Base 0.2.3 + bstr_add_cstr@Base 0.2.3 + bstr_add_cstr_noex@Base 0.2.3 + bstr_add_mem@Base 0.2.3 + bstr_add_mem_noex@Base 0.2.3 + bstr_add_str@Base 0.2.3 + bstr_add_str_noex@Base 0.2.3 + bstr_alloc@Base 0.2.3 + bstr_char_at@Base 0.2.3 + bstr_chop@Base 0.2.3 + bstr_chr@Base 0.2.3 + bstr_cmp@Base 0.2.3 + bstr_cmp_ex@Base 0.2.3 + bstr_cmp_nocase@Base 0.2.10 + bstr_cmp_nocase_ex@Base 0.2.10 + bstr_cmpc@Base 0.2.3 + bstr_cstrdup@Base 0.2.3 + bstr_dup_lower@Base 0.2.3 + bstr_expand@Base 0.2.3 + bstr_free@Base 0.2.3 + bstr_indexof@Base 0.2.3 + bstr_indexof_nocase@Base 0.2.3 + bstr_indexofc@Base 0.2.3 + bstr_indexofc_nocase@Base 0.2.3 + bstr_indexofmem@Base 0.2.3 + bstr_indexofmem_nocase@Base 0.2.3 + bstr_len_adjust@Base 0.2.3 + bstr_memdup@Base 0.2.3 + bstr_memtocstr@Base 0.2.3 + bstr_rchr@Base 0.2.3 + bstr_strdup@Base 0.2.3 + bstr_strdup_ex@Base 0.2.3 + bstr_tocstr@Base 0.2.3 + bstr_tolowercase@Base 0.2.3 + bstr_util_memtoip@Base 0.2.3 + decode_u_encoding@Base 0.2.3 + fprint_raw_data@Base 0.2.3 + hook_copy@Base 0.2.3 + hook_create@Base 0.2.3 + hook_destroy@Base 0.2.3 + hook_register@Base 0.2.3 + hook_run_all@Base 0.2.3 + hook_run_one@Base 0.2.3 + htp_chomp@Base 0.2.3 + htp_config_copy@Base 0.2.3 + htp_config_create@Base 0.2.3 + htp_config_destroy@Base 0.2.3 + htp_config_register_log@Base 0.2.3 + htp_config_register_request@Base 0.2.3 + htp_config_register_request_body_data@Base 0.2.3 + htp_config_register_request_headers@Base 0.2.3 + htp_config_register_request_line@Base 0.2.3 + htp_config_register_request_trailer@Base 0.2.3 + htp_config_register_request_uri_normalize@Base 0.2.6 + htp_config_register_response@Base 0.2.3 + htp_config_register_response_body_data@Base 0.2.3 + htp_config_register_response_headers@Base 0.2.3 + htp_config_register_response_line@Base 0.2.3 + htp_config_register_response_trailer@Base 0.2.3 + htp_config_register_transaction_start@Base 0.2.3 + htp_config_set_bestfit_map@Base 0.2.3 + htp_config_set_generate_request_uri_normalized@Base 0.2.3 + htp_config_set_path_backslash_separators@Base 0.2.3 + htp_config_set_path_case_insensitive@Base 0.2.3 + htp_config_set_path_compress_separators@Base 0.2.3 + htp_config_set_path_control_char_handling@Base 0.2.3 + htp_config_set_path_convert_utf8@Base 0.2.3 + htp_config_set_path_decode_separators@Base 0.2.3 + htp_config_set_path_decode_u_encoding@Base 0.2.3 + htp_config_set_path_invalid_encoding_handling@Base 0.2.3 + htp_config_set_path_invalid_utf8_handling@Base 0.2.3 + htp_config_set_path_nul_encoded_handling@Base 0.2.3 + htp_config_set_path_nul_raw_handling@Base 0.2.3 + htp_config_set_path_replacement_char@Base 0.2.3 + htp_config_set_path_unicode_mapping@Base 0.2.3 + htp_config_set_path_utf8_overlong_handling@Base 0.2.3 + htp_config_set_query_backslash_separators@Base 0.2.12 + htp_config_set_query_case_insensitive@Base 0.2.12 + htp_config_set_query_compress_separators@Base 0.2.12 + htp_config_set_query_control_char_handling@Base 0.2.12 + htp_config_set_query_decode_separators@Base 0.2.12 + htp_config_set_query_decode_u_encoding@Base 0.2.12 + htp_config_set_query_invalid_encoding_handling@Base 0.2.12 + htp_config_set_query_nul_encoded_handling@Base 0.2.12 + htp_config_set_query_nul_raw_handling@Base 0.2.12 + htp_config_set_server_personality@Base 0.2.3 + htp_conn_create@Base 0.2.3 + htp_conn_destroy@Base 0.2.3 + htp_conn_remove_tx@Base 0.2.3 + htp_connp_REQ_BODY_CHUNKED_DATA@Base 0.2.3 + htp_connp_REQ_BODY_CHUNKED_DATA_END@Base 0.2.3 + htp_connp_REQ_BODY_CHUNKED_LENGTH@Base 0.2.3 + htp_connp_REQ_BODY_DETERMINE@Base 0.2.3 + htp_connp_REQ_BODY_IDENTITY@Base 0.2.3 + htp_connp_REQ_CONNECT_CHECK@Base 0.2.3 + htp_connp_REQ_CONNECT_WAIT_RESPONSE@Base 0.2.3 + htp_connp_REQ_HEADERS@Base 0.2.3 + htp_connp_REQ_IDLE@Base 0.2.3 + htp_connp_REQ_LINE@Base 0.2.3 + htp_connp_REQ_PROTOCOL@Base 0.2.3 + htp_connp_RES_BODY_CHUNKED_DATA@Base 0.2.3 + htp_connp_RES_BODY_CHUNKED_DATA_END@Base 0.2.3 + htp_connp_RES_BODY_CHUNKED_LENGTH@Base 0.2.3 + htp_connp_RES_BODY_DETERMINE@Base 0.2.3 + htp_connp_RES_BODY_IDENTITY@Base 0.2.3 + htp_connp_RES_HEADERS@Base 0.2.3 + htp_connp_RES_IDLE@Base 0.2.3 + htp_connp_RES_LINE@Base 0.2.3 + htp_connp_clear_error@Base 0.2.3 + htp_connp_close@Base 0.2.3 + htp_connp_create@Base 0.2.3 + htp_connp_create_copycfg@Base 0.2.3 + htp_connp_destroy@Base 0.2.3 + htp_connp_destroy_all@Base 0.2.3 + htp_connp_get_data@Base 0.2.3 + htp_connp_get_last_error@Base 0.2.3 + htp_connp_get_user_data@Base 0.2.10 + htp_connp_in_state_as_string@Base 0.2.3 + htp_connp_is_line_folded@Base 0.2.3 + htp_connp_is_line_ignorable@Base 0.2.3 + htp_connp_is_line_terminator@Base 0.2.3 + htp_connp_open@Base 0.2.3 + htp_connp_out_state_as_string@Base 0.2.3 + htp_connp_req_data@Base 0.2.3 + htp_connp_req_data_consumed@Base 0.2.3 + htp_connp_res_data@Base 0.2.3 + htp_connp_res_data_consumed@Base 0.2.3 + htp_connp_set_user_data@Base 0.2.3 + htp_convert_method_to_number@Base 0.2.3 + htp_decode_path_inplace@Base 0.2.3 + htp_decode_query_inplace@Base 0.2.12 + htp_get_version@Base 0.2.3 + htp_gzip_decompressor_create@Base 0.2.3 + htp_is_line_empty@Base 0.2.3 + htp_is_line_whitespace@Base 0.2.3 + htp_is_lws@Base 0.2.3 + htp_is_separator@Base 0.2.3 + htp_is_space@Base 0.2.3 + htp_is_text@Base 0.2.3 + htp_is_token@Base 0.2.3 + htp_is_uri_unreserved@Base 0.2.3 + htp_log@Base 0.2.3 + htp_normalize_hostname_inplace@Base 0.2.3 + htp_normalize_parsed_uri@Base 0.2.3 + htp_normalize_uri_path_inplace@Base 0.2.3 + htp_parse_authority@Base 0.2.3 + htp_parse_chunked_length@Base 0.2.3 + htp_parse_content_length@Base 0.2.3 + htp_parse_positive_integer_whitespace@Base 0.2.3 + htp_parse_protocol@Base 0.2.3 + htp_parse_request_header_apache_2_2@Base 0.2.3 + htp_parse_request_header_generic@Base 0.2.3 + htp_parse_request_line_apache_2_2@Base 0.2.3 + htp_parse_request_line_generic@Base 0.2.3 + htp_parse_response_header_generic@Base 0.2.3 + htp_parse_response_line_generic@Base 0.2.3 + htp_parse_status@Base 0.2.3 + htp_parse_uri@Base 0.2.3 + htp_print_log@Base 0.2.3 + htp_process_request_header_apache_2_2@Base 0.2.3 + htp_process_request_header_generic@Base 0.2.3 + htp_process_response_header_generic@Base 0.2.3 + htp_replace_hostname@Base 0.2.3 + htp_tx_create@Base 0.2.3 + htp_tx_destroy@Base 0.2.3 + htp_tx_generate_request_headers_raw@Base 0.2.3 + htp_tx_generate_response_headers_raw@Base 0.2.10 + htp_tx_get_request_headers_raw@Base 0.2.3 + htp_tx_get_response_headers_raw@Base 0.2.10 + htp_tx_get_user_data@Base 0.2.3 + htp_tx_progress_as_string@Base 0.2.3 + htp_tx_set_config@Base 0.2.3 + htp_tx_set_user_data@Base 0.2.3 + htp_unparse_uri_noencode@Base 0.2.3 + htp_uriencoding_normalize_inplace@Base 0.2.3 + htp_utf8_decode_path_inplace@Base 0.2.3 + htp_utf8_validate_path@Base 0.2.3 + list_array_create@Base 0.2.3 + list_array_destroy@Base 0.2.3 + list_array_iterator_next@Base 0.2.3 + list_array_iterator_reset@Base 0.2.3 + list_linked_create@Base 0.2.3 + list_linked_destroy@Base 0.2.3 + table_add@Base 0.2.3 + table_clear@Base 0.2.3 + table_create@Base 0.2.3 + table_destroy@Base 0.2.3 + table_get@Base 0.2.3 + table_getc@Base 0.2.3 + table_iterator_next@Base 0.2.3 + table_iterator_reset@Base 0.2.3 + table_size@Base 0.2.3 + utf8_decode@Base 0.2.3 + utf8_decode_allow_overlong@Base 0.2.3 + x2c@Base 0.2.3 --- libhtp-0.2.12.orig/debian/libhtp-dev.install +++ libhtp-0.2.12/debian/libhtp-dev.install @@ -0,0 +1,4 @@ +usr/include/* +usr/lib/*/lib*.a +usr/lib/*/lib*.so +usr/lib/*/pkgconfig/* --- libhtp-0.2.12.orig/debian/compat +++ libhtp-0.2.12/debian/compat @@ -0,0 +1 @@ +9 --- libhtp-0.2.12.orig/debian/control +++ libhtp-0.2.12/debian/control @@ -0,0 +1,34 @@ +Source: libhtp +Priority: extra +Maintainer: Pierre Chifflier +Build-Depends: debhelper (>= 9), + autotools-dev, + libz-dev +Standards-Version: 3.9.3 +Section: libs +Homepage: http://openinfosecfoundation.org/ + +Package: libhtp-dev +Section: libdevel +Architecture: any +Depends: libhtp1 (= ${binary:Version}), ${misc:Depends} +Description: HTTP normalizer and parser library (devel) + The HTP Library is an HTTP normalizer and parser. This integrates and + provides very advanced processing of HTTP streams for Suricata. The HTP + library is required by the engine, but may also be used independently in a + range of applications and tools. + . + This package provides the development files for libhtp. + +Package: libhtp1 +Section: libs +Architecture: any +Pre-Depends: multiarch-support +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: HTTP normalizer and parser library + The HTP Library is an HTTP normalizer and parser. This integrates and + provides very advanced processing of HTTP streams for Suricata. The HTP + library is required by the engine, but may also be used independently in a + range of applications and tools. + . + This package provides the runtime files for libhtp. --- libhtp-0.2.12.orig/debian/rules +++ libhtp-0.2.12/debian/rules @@ -0,0 +1,22 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# debian/rules file for libhtp +# This file was written by Pierre Chifflier. + +export DH_VERBOSE=1 + +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +install: + dh $@ + mkdir -p debian/libhtp1/usr/share/lintian/overrides/libhtp1 + cp debian/libhtp1.overrides debian/libhtp1/usr/share/lintian/overrides/libhtp1 + +clean: + [ ! -f Makefile ] || make distclean + rm -f test/*.o test/main test/Makefile + dh_clean $@ + +%: + dh $@ + --- libhtp-0.2.12.orig/debian/changelog +++ libhtp-0.2.12/debian/changelog @@ -0,0 +1,66 @@ +libhtp (0.2.12-1) unstable; urgency=low + + * Imported Upstream version 0.2.12 + * Update symbols file + + -- Pierre Chifflier Thu, 09 May 2013 22:27:59 +0200 + +libhtp (0.2.11-1) unstable; urgency=low + + * Imported Upstream version 0.2.11 + + -- Pierre Chifflier Sat, 17 Nov 2012 09:44:07 +0100 + +libhtp (0.2.10-1) unstable; urgency=low + + * Imported Upstream version 0.2.10 + * Update watch file + * Update symbols file + * Bump Standards Version + * Convert to DH 9 + - add multiarch support + - fully enable hardening flags + * Debian release 0.2.10-1 + + -- Pierre Chifflier Sat, 03 Nov 2012 09:23:06 +0100 + +libhtp (0.2.6-2) unstable; urgency=low + + * Add symbols file for libhtp1 (Closes: #654433) + * Change text so lintian does not report copyright file as template + + -- Pierre Chifflier Tue, 03 Jan 2012 21:11:32 +0100 + +libhtp (0.2.6-1) unstable; urgency=low + + * Imported Upstream version 0.2.6 + + -- Pierre Chifflier Thu, 02 Jun 2011 15:23:27 +0200 + +libhtp (0.2.5-1) unstable; urgency=low + + * Imported Upstream version 0.2.5 + * Bump Standards Version to 3.9.2 + * Do not ship .la files (Closes: #621654) + + -- Pierre Chifflier Mon, 23 May 2011 21:54:41 +0200 + +libhtp (0.2.3-1) unstable; urgency=low + + * Imported Upstream version 0.2.3 + * Update watch file + + -- Pierre Chifflier Sat, 08 May 2010 12:03:33 +0200 + +libhtp (0.2.1+0.8.2-1) unstable; urgency=low + + * Imported Upstream version 0.2.1+0.8.2 + * Bump standards version to 3.8.4 + + -- Pierre Chifflier Sat, 01 May 2010 16:00:36 +0200 + +libhtp (0.2.1-1) unstable; urgency=low + + * Initial release (Closes: #565334) + + -- Pierre Chifflier Thu, 14 Jan 2010 20:54:57 +0100 --- libhtp-0.2.12.orig/debian/libhtp-dev.dirs +++ libhtp-0.2.12/debian/libhtp-dev.dirs @@ -0,0 +1,2 @@ +usr/lib +usr/include --- libhtp-0.2.12.orig/debian/libhtp1.dirs +++ libhtp-0.2.12/debian/libhtp1.dirs @@ -0,0 +1 @@ +usr/lib --- libhtp-0.2.12.orig/debian/docs +++ libhtp-0.2.12/debian/docs @@ -0,0 +1,2 @@ +NEWS +README --- libhtp-0.2.12.orig/debian/watch +++ libhtp-0.2.12/debian/watch @@ -0,0 +1,10 @@ +# watch control file for uscan +# run the "uscan" command to check for upstream updates and more. +# See uscan(1) for format + +# Compulsory line, this is a version 3 file +version=3 + +#http://www.openinfosecfoundation.org/downloads/ htp-([\d\.]*)\.tar\.gz +#http://www.openinfosecfoundation.org/index.php/download-suricata /download/libhtp-([\d\.]*)\.tar\.gz +http://www.openinfosecfoundation.org/index.php/download-suricata /download/htp-([\d\.]*)\.tar\.gz --- libhtp-0.2.12.orig/debian/overrides/libhtp1 +++ libhtp-0.2.12/debian/overrides/libhtp1 @@ -0,0 +1,2 @@ +# upstream soname version is not correct ... +libhtp1: package-name-doesnt-match-sonames libhtp-0.2-1