Accepting request 535818 from home:mnhauke:security
initial package for ndpi OBS-URL: https://build.opensuse.org/request/show/535818 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/ndpi?expand=0&rev=1
This commit is contained in:
commit
465024cb12
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
nDPI-2.0.tar.gz
Normal file
3
nDPI-2.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:a42a60ebd64bc8606f780204222893027f6dce0e3b460d7be655e5e065f5f3fa
|
||||
size 19280901
|
4
nDPI.changes
Normal file
4
nDPI.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 22 18:25:46 UTC 2017 - mardnh@gmx.de
|
||||
|
||||
- Initial package, version 2.0
|
118
nDPI.spec
Normal file
118
nDPI.spec
Normal file
@ -0,0 +1,118 @@
|
||||
#
|
||||
# spec file for package nDPI
|
||||
#
|
||||
# Copyright (c) 2017, Martin Hauke <mardnh@gmx.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
%define soname 1
|
||||
Name: nDPI
|
||||
Version: 2.0
|
||||
Release: 0
|
||||
Summary: Extensible deep packet inspection library
|
||||
License: LGPL-3.0
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://github.com/ntop/nDPI
|
||||
Source: https://github.com/ntop/nDPI/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: automake
|
||||
BuildRequires: libpcap-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: pkgconfig(json-c)
|
||||
|
||||
%description
|
||||
nDPI is a ntop-maintained superset of the popular OpenDPI library. Released
|
||||
under the LGPL license, its goal is to extend the original library by adding
|
||||
new protocols that are otherwise available only on the paid version of OpenDPI.
|
||||
In addition to Unix platforms, we also support Windows, in order to provide
|
||||
you a cross-platform DPI experience. Furthermore, we have modified nDPI do be
|
||||
more suitable for traffic monitoring applications, by disabling specific
|
||||
features that slow down the DPI engine while being them un-necessary for
|
||||
network traffic monitoring.
|
||||
|
||||
%package -n libndpi%{soname}
|
||||
Summary: Extensible deep packet inspection library
|
||||
Group: Development/Libraries/C and C++
|
||||
|
||||
%description -n libndpi%{soname}
|
||||
nDPI is a ntop-maintained superset of the popular OpenDPI library. Released
|
||||
under the LGPL license, its goal is to extend the original library by adding
|
||||
new protocols that are otherwise available only on the paid version of OpenDPI.
|
||||
In addition to Unix platforms, we also support Windows, in order to provide
|
||||
you a cross-platform DPI experience. Furthermore, we have modified nDPI do be
|
||||
more suitable for traffic monitoring applications, by disabling specific
|
||||
features that slow down the DPI engine while being them un-necessary for
|
||||
network traffic monitoring.
|
||||
|
||||
%package -n libndpi-devel
|
||||
Summary: Development headers for nNDPI
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libndpi%{soname} = %{version}
|
||||
|
||||
%description -n libndpi-devel
|
||||
nDPI is a ntop-maintained superset of the popular OpenDPI library. Released
|
||||
under the LGPL license, its goal is to extend the original library by adding
|
||||
new protocols that are otherwise available only on the paid version of OpenDPI.
|
||||
In addition to Unix platforms, we also support Windows, in order to provide
|
||||
you a cross-platform DPI experience. Furthermore, we have modified nDPI do be
|
||||
more suitable for traffic monitoring applications, by disabling specific
|
||||
features that slow down the DPI engine while being them un-necessary for
|
||||
network traffic monitoring.
|
||||
|
||||
This package contains the Development headers for libndpi.
|
||||
|
||||
%package -n ndpi-tools
|
||||
Summary: Tools for nNDPI
|
||||
Group: Development/Libraries/C and C++
|
||||
|
||||
%description -n ndpi-tools
|
||||
nDPI is a ntop-maintained superset of the popular OpenDPI library. Released
|
||||
under the LGPL license, its goal is to extend the original library by adding
|
||||
new protocols that are otherwise available only on the paid version of OpenDPI.
|
||||
In addition to Unix platforms, we also support Windows, in order to provide
|
||||
you a cross-platform DPI experience. Furthermore, we have modified nDPI do be
|
||||
more suitable for traffic monitoring applications, by disabling specific
|
||||
features that slow down the DPI engine while being them un-necessary for
|
||||
network traffic monitoring.
|
||||
|
||||
This package contains the ndpiReader binary.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
autoreconf -fiv
|
||||
|
||||
%build
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
%make_install
|
||||
rm -f %{buildroot}/%{_libdir}/libndpi.{a,la}
|
||||
|
||||
%post -n libndpi%{soname} -p /sbin/ldconfig
|
||||
%postun -n libndpi%{soname} -p /sbin/ldconfig
|
||||
|
||||
%files -n libndpi%{soname}
|
||||
%doc CHANGELOG.md COPYING README.md README.nDPI README.protocols
|
||||
%{_libdir}/libndpi.so.%{soname}*
|
||||
|
||||
%files -n libndpi-devel
|
||||
%{_includedir}/libndpi-2.0.0/
|
||||
%{_libdir}/libndpi.so
|
||||
%{_libdir}/pkgconfig/libndpi.pc
|
||||
|
||||
%files -n ndpi-tools
|
||||
%{_bindir}/ndpiReader
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user