From 2aad5de17e243972786afa9397bc7d4f573f89fdcba24d359e23dc74557ea6d3 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Wed, 1 Apr 2020 19:07:32 +0000 Subject: [PATCH] - Initial package (v0.6) for opensuse.org OBS-URL: https://build.opensuse.org/package/show/security:netfilter/nftlb?expand=0&rev=1 --- .gitattributes | 23 +++++++++++++++++++ .gitignore | 1 + nftlb.changes | 4 ++++ nftlb.spec | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++ v0.6.tar.gz | 3 +++ 5 files changed, 91 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 nftlb.changes create mode 100644 nftlb.spec create mode 100644 v0.6.tar.gz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/nftlb.changes b/nftlb.changes new file mode 100644 index 0000000..abe5ae1 --- /dev/null +++ b/nftlb.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Wed Apr 1 19:02:42 UTC 2020 - Jan Engelhardt + +- Initial package (v0.6) for opensuse.org diff --git a/nftlb.spec b/nftlb.spec new file mode 100644 index 0000000..0365581 --- /dev/null +++ b/nftlb.spec @@ -0,0 +1,60 @@ +# +# spec file for package nftlb +# +# Copyright (c) 2020 SUSE LLC +# +# 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 https://bugs.opensuse.org/ +# + + +Name: nftlb +Version: 0.6 +Release: 0 +Summary: nftables load balancer +License: AGPL-3.0-or-later +Group: Productivity/Networking/Security +URL: https://www.zevenet.com/knowledge-base/nftlb/what-is-nftlb/ +#Git-Clone: https://github.com/zevenet/nftlb +Source: https://github.com/zevenet/nftlb/archive/v%version.tar.gz + +BuildRequires: libtool +BuildRequires: pkg-config +BuildRequires: pkgconfig(jansson) >= 2.3 +BuildRequires: pkgconfig(libev) +BuildRequires: pkgconfig(libmnl) >= 1.0.4 +BuildRequires: pkgconfig(libnftables) >= 0.9 + +%description +nftlb a user-space tool that builds a complete load balancer and +traffic distributor using nftables. + +nftlb is provided with a JSON API, and can be used with a preferred +service health checker to enable/disable backends or virtual services +and automate processes with it. + +%prep +%autosetup -p1 + +%build +autoreconf -fi +%configure +make %{?_smp_mflags} V=1 + +%install +%make_install + +%files +%_sbindir/nftlb +%license LICENSE +%doc README.md + +%changelog diff --git a/v0.6.tar.gz b/v0.6.tar.gz new file mode 100644 index 0000000..b52a209 --- /dev/null +++ b/v0.6.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1f0365d580bd3da48794a0206514da336e6d95979248de99895425f5f0a3b7bc +size 121216