Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37742139
en ru br
ALT Linux repos
S:0.5.45-alt1

Group :: Security/Networking
RPM: libhtp

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _unpackaged_files_terminate_build 1
%define _stripped_files_terminate_build 1
%set_verify_elf_method strict

Name: libhtp
Epoch: 1
Version: 0.5.42
Release: alt1
Summary: LibHTP is a security-aware parser for the HTTP protocol and the related bits and pieces
License: BSD-3-Clause
Group: Security/Networking
Url: https://github.com/OISF/libhtp

Source: %name-%version.tar

BuildRequires: zlib-devel

%description
This is a security-aware parser for the HTTP protocol and the related bits
and pieces. The goals of the project, in the order of importance, are as
follows:

1. Completeness of coverage; LibHTP must be able to parse virtually all
   traffic that is found in practice.

2. Permissive parsing; LibHTP must never fail to parse a stream that would
   be parsed by some other web server.

3. Awareness of evasion techniques; LibHTP must be able to detect and
   effectively deal with various evasion techniques, producing, where
   practical, identical or practically identical results as the web
   server processing the same traffic stream.

4. Performance; The performance must be adequate for the desired tasks.
   Completeness and security are often detrimental to performance. Our
   idea of handling the conflicting requirements is to put the library
   user in control, allowing him to choose the most desired library
   characteristic.

%package devel
Summary: Development headers and libraries for %name
Requires: %name = %EVR
Group: Development/C

%description devel
Development headers and libraries for %name.

%prep
%setup

%build
%add_optflags -D_FILE_OFFSET_BITS=64

%autoreconf
%configure \
--disable-static \
%nil

%make_build

%install
%makeinstall_std

%files
%_libdir/%{name}*.so.*

%files devel
%_libdir/%name.so
%_includedir/htp
%_libdir/pkgconfig/htp.pc

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin