[dev] Adding the `libvirt-daemon-driver-storage-glusterfs` subpackage. (#1150)
This commit is contained in:
Родитель
7f6273e87b
Коммит
b9c0b8730f
Различия файлов скрыты, потому что одна или несколько строк слишком длинны
|
@ -28,6 +28,8 @@
|
|||
"cryptsetup",
|
||||
"CUnit",
|
||||
"Cython",
|
||||
"dbus-python",
|
||||
"desktop-file-utils",
|
||||
"dnf",
|
||||
"dpdk",
|
||||
"docbook5-schemas",
|
||||
|
@ -36,9 +38,11 @@
|
|||
"ebtables",
|
||||
"extra-cmake-modules",
|
||||
"fdupes",
|
||||
"firewalld",
|
||||
"fmt",
|
||||
"fribidi",
|
||||
"gcovr",
|
||||
"glusterfs",
|
||||
"gnu-efi",
|
||||
"hardening-check",
|
||||
"heimdal",
|
||||
|
@ -75,6 +79,7 @@
|
|||
"libxcrypt",
|
||||
"mokutil",
|
||||
"mozjs60",
|
||||
"nftables",
|
||||
"open-vm-tools",
|
||||
"openssl",
|
||||
"p11-kit",
|
||||
|
|
|
@ -0,0 +1,52 @@
|
|||
From 380ae714f641a73a30f86ae8f5a2e05ac063b37f Mon Sep 17 00:00:00 2001
|
||||
From: leigh123linux <leigh123linux@googlemail.com>
|
||||
Date: Tue, 23 Feb 2016 07:32:08 +0000
|
||||
Subject: [PATCH] Move python modules to architecture-specific directory
|
||||
|
||||
This is because dbus-python gets dragged in as a dependency of other
|
||||
things people want to be multilib-compatible. As is the Python
|
||||
modules conflict.
|
||||
---
|
||||
Makefile.am | 9 +++++----
|
||||
1 file changed, 5 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index fd480d4..0859994 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -155,7 +155,8 @@ test_dbus_py_test_la_SOURCES = \
|
||||
|
||||
# === dbus package ===
|
||||
|
||||
-nobase_python_PYTHON = \
|
||||
+dbuspydir = $(pyexecdir)
|
||||
+nobase_dbuspy_DATA = \
|
||||
dbus/bus.py \
|
||||
dbus/connection.py \
|
||||
dbus/_compat.py \
|
||||
@@ -175,12 +176,12 @@ nobase_python_PYTHON = \
|
||||
dbus/types.py
|
||||
|
||||
if !HAVE_PYTHON_3
|
||||
-nobase_python_PYTHON += \
|
||||
+nobase_dbuspy_DATA += \
|
||||
dbus/gobject_service.py \
|
||||
$(NULL)
|
||||
endif
|
||||
|
||||
-check_py_sources = $(nobase_python_PYTHON)
|
||||
+check_py_sources = $(nobase_dbuspy_DATA)
|
||||
include $(top_srcdir)/tools/check-coding-style.mk
|
||||
|
||||
# === Devel stuff ===
|
||||
@@ -416,7 +417,7 @@ uninstall-local: uninstall-local-sphinx
|
||||
if ENABLE_DOCUMENTATION
|
||||
all: doc/_build/.stamp
|
||||
|
||||
-doc/_build/.stamp: $(nobase_python_PYTHON) \
|
||||
+doc/_build/.stamp: $(nobase_dbuspy_DATA) \
|
||||
_dbus_bindings.la \
|
||||
_dbus_glib_bindings.la \
|
||||
$(sphinx_sources) \
|
||||
--
|
||||
2.17.0
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"dbus-python-1.2.16.tar.gz": "11238f1d86c995d8aed2e22f04a1e3779f0d70e587caffeab4857f3c662ed5a4"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,318 @@
|
|||
Summary: D-Bus Python Bindings
|
||||
Name: dbus-python
|
||||
Version: 1.2.16
|
||||
Release: 3%{?dist}
|
||||
License: MIT
|
||||
Vendor: Microsoft Corporation
|
||||
Distribution: Mariner
|
||||
URL: https://www.freedesktop.org/wiki/Software/DBusBindings/
|
||||
Source0: https://dbus.freedesktop.org/releases/%{name}/%{name}-%{version}.tar.gz
|
||||
# borrow centos7 patch to use sitearch properly
|
||||
Patch0: 0001-Move-python-modules-to-architecture-specific-directo.patch
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1788491
|
||||
Patch1: python39.patch
|
||||
|
||||
BuildRequires: autoconf-archive
|
||||
BuildRequires: automake
|
||||
BuildRequires: dbus-devel
|
||||
BuildRequires: dbus-glib-devel
|
||||
BuildRequires: libtool
|
||||
|
||||
%description
|
||||
D-Bus python bindings for use with python programs.
|
||||
|
||||
%package -n python3-dbus
|
||||
Summary: D-Bus bindings for python3
|
||||
|
||||
%{?python_provide:%python_provide python3-dbus}
|
||||
BuildRequires: python3-devel
|
||||
# for py3_build
|
||||
BuildRequires: python3dist(setuptools)
|
||||
|
||||
%description -n python3-dbus
|
||||
%{summary}.
|
||||
|
||||
%package devel
|
||||
Summary: Libraries and headers for dbus-python
|
||||
|
||||
%description devel
|
||||
Headers and static libraries for hooking up custom mainloops to the dbus python
|
||||
bindings.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
# For new arches (aarch64/ppc64le), and patch0
|
||||
autoreconf -vif
|
||||
|
||||
%build
|
||||
%set_build_flags
|
||||
%py3_build
|
||||
%configure PYTHON="%{__python3}"
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%py3_install
|
||||
%make_install
|
||||
|
||||
# unpackaged files
|
||||
rm -fv %{buildroot}%{python3_sitearch}/*.la
|
||||
rm -rfv %{buildroot}%{_docdir}/dbus-python/
|
||||
|
||||
%check
|
||||
make check -k || (cat test-suite.log && false)
|
||||
|
||||
%files -n python3-dbus
|
||||
%doc NEWS
|
||||
%license COPYING
|
||||
%{python3_sitearch}/*.so
|
||||
%{python3_sitearch}/dbus/
|
||||
%{python3_sitearch}/dbus_python*egg-info
|
||||
|
||||
%files devel
|
||||
%doc README ChangeLog doc/API_CHANGES.txt doc/tutorial.txt
|
||||
%{_includedir}/dbus-1.0/dbus/dbus-python.h
|
||||
%{_libdir}/pkgconfig/dbus-python.pc
|
||||
|
||||
%changelog
|
||||
* Fri Jul 16 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.2.16-3
|
||||
- License verified.
|
||||
|
||||
* Tue Jan 12 2021 Joe Schmitt <joschmit@microsoft.com> - 1.2.16-2
|
||||
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
|
||||
- Remove buildrequires for check
|
||||
|
||||
* Tue Feb 11 2020 Leigh Scott <leigh123linux@gmail.com> - 1.2.16-1
|
||||
- Update to 1.2.16 (#1788491)
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.8-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Thu Jan 16 2020 Miro Hrončok <mhroncok@redhat.com> - 1.2.8-9
|
||||
- Subpackage python2-dbus has been removed
|
||||
See https://fedoraproject.org/wiki/Changes/RetirePython2
|
||||
|
||||
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.8-8
|
||||
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
||||
|
||||
* Thu Aug 15 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.8-7
|
||||
- Rebuilt for Python 3.8
|
||||
|
||||
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.8-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Mon Feb 11 2019 Neal Gompa <ngompa13@gmail.com> - 1.2.8-5
|
||||
- Run setuptools build to generate pythonXdist() metadata (#1663693)
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.8-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.8-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Sat Jun 16 2018 Miro Hrončok <mhroncok@redhat.com> - 1.2.8-2
|
||||
- Rebuilt for Python 3.7
|
||||
|
||||
* Wed May 23 2018 Miro Hrončok <mhroncok@redhat.com> - 1.2.8-1
|
||||
- Update to 1.2.8 (#1539950) (#1578726)
|
||||
- Cat the logs if tests failed
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Wed Jan 03 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.2.4-12
|
||||
- Update Python 2 dependency declarations to new packaging standards
|
||||
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
||||
|
||||
* Wed Nov 08 2017 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.2.4-11
|
||||
- Cleanups in packaging
|
||||
|
||||
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.2.4-10
|
||||
- Also add Provides for the old name without %%_isa
|
||||
- Use %%python_provide for the python3 subpackage and drop manual Provide which
|
||||
conflicts with %%python_provide in the python2 subpackage.
|
||||
|
||||
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.2.4-9
|
||||
- Python 2 binary package renamed to python2-dbus
|
||||
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.4-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Wed Dec 21 2016 Kevin Fenzi <kevin@scrye.com> - 1.2.4-5
|
||||
- Rebuild again for Python 3.6
|
||||
|
||||
* Sun Dec 11 2016 leigh scott <leigh123linux@googlemail.com> - 1.2.4-4
|
||||
- Add missing build requires needed for check
|
||||
|
||||
* Fri Dec 09 2016 Charalampos Stratakis <cstratak@redhat.com> - 1.2.4-3
|
||||
- Rebuild for Python 3.6
|
||||
|
||||
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.4-2
|
||||
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
||||
|
||||
* Mon Mar 07 2016 Leigh Scott <leigh123linux@googlemail.com> - 1.2.4-1
|
||||
- Update to 1.2.4 (#1310915)
|
||||
|
||||
* Tue Feb 23 2016 Leigh Scott <leigh123linux@googlemail.com> - 1.2.2-1
|
||||
- Update to 1.2.2 (#1310915)
|
||||
- add build requires autoconf-archive
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Mon Nov 16 2015 Leigh Scott <leigh123linux@googlemail.com> - 1.2.0-12
|
||||
- Drop object manager patch
|
||||
|
||||
* Tue Oct 13 2015 Robert Kuska <rkuska@redhat.com> - 1.2.0-11
|
||||
- Rebuilt for Python3.5 rebuild
|
||||
|
||||
* Wed Aug 19 2015 Leigh Scott <leigh123linux@googlemail.com> - 1.2.0-10
|
||||
- rebuilt
|
||||
|
||||
* Wed Aug 19 2015 Leigh Scott <leigh123linux@googlemail.com> - 1.2.0-9
|
||||
- rebuilt
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Thu Nov 06 2014 Rex Dieter <rdieter@fedoraproject.org> 1.2.0-7
|
||||
- python2_sitelib should be python2_sitearch (#1161121)
|
||||
- update URL, s/python/python2/ a bit
|
||||
|
||||
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Fri Jun 20 2014 Dan Mashal <dan.mashal@fedoraproject.org> - 1.2.0-5
|
||||
- Add patch needed that adds Object Manager functionality for Fedora server dbus api.
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Thu May 29 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.0-3
|
||||
- Drop old python3 conditionals, SPEC cleanups
|
||||
|
||||
* Mon May 12 2014 Rex Dieter <rdieter@fedoraproject.org> 1.2.0-2
|
||||
- rebuild (f21-python)
|
||||
|
||||
* Mon Oct 28 2013 Rex Dieter <rdieter@fedoraproject.org> 1.2.0-1
|
||||
- dbus-python-1.2.0 is available (#1021817)
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Thu Apr 25 2013 Peter Robinson <pbrobinson@fedoraproject.org> 1.1.1-5
|
||||
- Add upstream patch to fix pygobject 3.8
|
||||
|
||||
* Fri Mar 29 2013 Dan Mashal <dan.mashal@fedoraproject.org> - 1.1.1-4
|
||||
- Apply patch to support aarch64 (#925236)
|
||||
- Fix URL
|
||||
|
||||
* Mon Feb 25 2013 Rex Dieter <rdieter@fedoraproject.org> - 1.1.1-3
|
||||
- python3-dbus subpkg (#892474)
|
||||
- (main) Provides: python-dbus
|
||||
- BR: python-docutils
|
||||
- .spec cosmetics
|
||||
- skip failed tests on rawhide (#913936)
|
||||
|
||||
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Tue Aug 07 2012 Rex Dieter <rdieter@fedoraproject.org> 1.1.1-1
|
||||
- dbus-python-1.1.1 (#800487)
|
||||
|
||||
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.83.0-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.83.0-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.83.0-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.83.0-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild
|
||||
|
||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.83.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.83.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Sat Nov 29 2008 Ignacio Vazquez-Abrams <ivazqueznet+rpm@gmail.com> - 0.83.0-4
|
||||
- Rebuild for Python 2.6
|
||||
|
||||
* Tue Sep 16 2008 Marco Pesenti Gritti - 0.83.0-3
|
||||
- Add patch for https://bugs.freedesktop.org/show_bug.cgi?id=17551
|
||||
|
||||
* Tue Aug 05 2008 Huang Peng <phuang@redhat.com> - 0.83.0-2
|
||||
- Update to 0.83.0.
|
||||
|
||||
* Wed Jul 16 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.82.4-3
|
||||
- fix license tag
|
||||
|
||||
* Mon Feb 18 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.82.4-2
|
||||
- Autorebuild for GCC 4.3
|
||||
|
||||
* Sun Jan 20 2008 Matthias Clasen <mclasen@redhat.com> - 0.82.4-1
|
||||
- Update to 0.82.4
|
||||
|
||||
* Mon Oct 22 2007 Matthias Clasen <mclasen@redhat.com> - 0.82.0-3
|
||||
- Rebuild against new dbus-glib
|
||||
|
||||
* Tue Aug 28 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 0.82.0-2
|
||||
- Rebuild for selinux ppc32 issue.
|
||||
|
||||
* Fri Jun 22 2007 Matthias Clasen <mclasen@redhat.com> - 0.82.0-1
|
||||
- Update to 0.82.0
|
||||
- Put all docs in the usual place
|
||||
|
||||
* Tue Apr 03 2007 David Zeuthen <davidz@redhat.com> - 0.80.2-3
|
||||
- Rebuild
|
||||
|
||||
* Tue Apr 03 2007 David Zeuthen <davidz@redhat.com> - 0.80.2-2
|
||||
- Don't examine args for functions declared METH_NOARGS (#235017)
|
||||
|
||||
* Tue Feb 13 2007 John (J5) Palmieri <johnp@redhat.com> - 0.80.2-1
|
||||
- upgrade to 0.80.2 which fixes some memleaks
|
||||
|
||||
* Wed Jan 24 2007 John (J5) Palmieri <johnp@redhat.com> - 0.80.1-1
|
||||
- upgrade to 0.80.1
|
||||
- remove dependency on Pyrex and libxml2
|
||||
- some API breakage,
|
||||
please see http://dbus.freedesktop.org/doc/dbus-python/NEWS.html
|
||||
for notes on changes
|
||||
|
||||
* Wed Jan 3 2007 David Zeuthen <davidz@redhat.com> - 0.70-9%{?dist}
|
||||
- rebuild against new Pyrex
|
||||
|
||||
* Wed Dec 6 2006 Jeremy Katz <katzj@redhat.com> - 0.70-8
|
||||
- rebuild against python 2.5
|
||||
|
||||
* Tue Nov 7 2006 Matthias Clasen <mclasen@redhat.com> - 0.70-7
|
||||
- Fix a typo in the spec file
|
||||
|
||||
* Fri Aug 18 2006 Karsten Hopp <karsten@redhat.com> - 0.70-6
|
||||
- require libxml2-python for site-packages/dbus/introspect_parser.py
|
||||
|
||||
* Thu Jul 20 2006 Jesse Keating <jkeating@redhat.com> - 0.70-5
|
||||
- Remove unnecessary obsoletes
|
||||
|
||||
* Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-4
|
||||
- Try python_sitearch this time
|
||||
|
||||
* Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-3
|
||||
- Add a BR on dbus-devel
|
||||
|
||||
* Tue Jul 18 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-2
|
||||
- Spec file cleanups
|
||||
- Add PKG_CONFIG_PATH
|
||||
|
||||
* Mon Jul 17 2006 John (J5) Palmieri <johnp@redhat.com> - 0.70-1
|
||||
- Initial package import
|
|
@ -0,0 +1,12 @@
|
|||
--- a/dbus/service.py
|
||||
+++ b/dbus/service.py
|
||||
@@ -32,7 +32,7 @@
|
||||
import logging
|
||||
import threading
|
||||
import traceback
|
||||
-from collections import Sequence
|
||||
+from collections.abc import Sequence
|
||||
|
||||
import _dbus_bindings
|
||||
from dbus import (
|
||||
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"desktop-file-utils-0.24.tar.xz": "a1de5da60cbdbe91e5c9c10ac9afee6c3deb019e0cee5fdb9a99dddc245f83d9"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,391 @@
|
|||
Summary: Utilities for manipulating .desktop files
|
||||
Name: desktop-file-utils
|
||||
Version: 0.24
|
||||
Release: 3%{?dist}
|
||||
License: GPLv2+
|
||||
Vendor: Microsoft Corporation
|
||||
Distribution: Mariner
|
||||
URL: https://www.freedesktop.org/software/desktop-file-utils
|
||||
Source0: https://www.freedesktop.org/software/desktop-file-utils/releases/%{name}-%{version}.tar.xz
|
||||
BuildRequires: gcc
|
||||
BuildRequires: glib2-devel
|
||||
|
||||
%description
|
||||
.desktop files are used to describe an application for inclusion in
|
||||
GNOME or KDE menus. This package contains desktop-file-validate which
|
||||
checks whether a .desktop file complies with the specification at
|
||||
http://www.freedesktop.org/standards/, and desktop-file-install
|
||||
which installs a desktop file to the standard directory, optionally
|
||||
fixing it up in the process.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%configure
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install INSTALL="install -p"
|
||||
|
||||
# We don't support the 'emacs' bits.
|
||||
rm %{buildroot}%{_datadir}/emacs/site-lisp/desktop-entry-mode.el
|
||||
|
||||
%transfiletriggerin -- %{_datadir}/applications
|
||||
update-desktop-database &> /dev/null || :
|
||||
|
||||
%transfiletriggerpostun -- %{_datadir}/applications
|
||||
update-desktop-database &> /dev/null || :
|
||||
|
||||
%files
|
||||
%doc AUTHORS README NEWS
|
||||
%license COPYING
|
||||
%{_bindir}/*
|
||||
%{_mandir}/man1/desktop-file-install.1.gz
|
||||
%{_mandir}/man1/desktop-file-validate.1.gz
|
||||
%{_mandir}/man1/update-desktop-database.1.gz
|
||||
%{_mandir}/man1/desktop-file-edit.1.gz
|
||||
|
||||
%changelog
|
||||
* Mon Nov 02 2020 Joe Schmitt <joschmit@microsoft.com> - 0.24-3
|
||||
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
|
||||
- Using '%%make*' macros for building and installation.
|
||||
- License verified.
|
||||
- Remove emacs dependency and support.
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.24-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Wed Aug 14 2019 Kalev Lember <klember@redhat.com> - 0.24-1
|
||||
- Update to 0.24
|
||||
|
||||
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.23-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.23-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.23-9
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Mon Apr 09 2018 Adam Williamson <awilliam@redhat.com> - 0.23-8
|
||||
- Add 'font' as a valid media type (#1564650, fdo#105785)
|
||||
|
||||
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.23-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Mon Feb 05 2018 Rex Dieter <rdieter@fedoraproject.org> - 0.23-6
|
||||
- scriplets: silence output, ignore errors
|
||||
- %%license COPYING
|
||||
- drop deprecated Group: tag
|
||||
|
||||
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.23-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.23-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.23-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Sat Dec 31 2016 Kevin Kofler <Kevin@tigcc.ticalc.org> - 0.23-2
|
||||
- Add Pantheon to the list of desktop environments (#1333550, fdo#97385)
|
||||
|
||||
* Fri Jul 01 2016 Michael Catanzaro <mcatanzaro@gnome.org> - 0.23-1
|
||||
- Update to 0.23
|
||||
|
||||
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.22-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Fri Aug 14 2015 Matthias Clasen <mclasen@redhat.com> - 0.22-6
|
||||
- Add file triggers for desktop file mime extraction
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 0.22-4
|
||||
- Rebuilt for Fedora 23 Change
|
||||
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
|
||||
|
||||
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.22-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Thu Aug 29 2013 Kalev Lember <kalevlember@gmail.com> - 0.22-1
|
||||
- Update to 0.22
|
||||
|
||||
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
||||
|
||||
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.21-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
||||
|
||||
* Fri Oct 19 2012 Kalev Lember <kalevlember@gmail.com> - 0.21-1
|
||||
- Update to 0.21
|
||||
|
||||
* Thu Sep 06 2012 Dan Mashal <dan.mashal@fedoraproject.org> 0.20-4
|
||||
- Update F17 to 0.20 (#847097).
|
||||
|
||||
* Sat Aug 11 2012 Ville Skyttä <ville.skytta@iki.fi> - 0.20-3
|
||||
- Fold emacs-* subpackages into main (#690264).
|
||||
|
||||
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.20-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
* Fri May 18 2012 Matthias Clasen <mclasen@redhat.com> - 0.20-1
|
||||
- Update to 0.20
|
||||
|
||||
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.19-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
||||
|
||||
* Fri Dec 23 2011 Matthias Clasen <mclasen@redhat.com> - 0.19-5
|
||||
- Fix up locale lists just like other lists
|
||||
|
||||
* Tue Dec 20 2011 Matthias Clasen <mclasen@redhat.com> - 0.19-1
|
||||
- Update to 0.19: support for Unity as desktop env, and support
|
||||
for Keywords
|
||||
|
||||
* Mon Jul 04 2011 Adam Williamson <awilliam@redhat.com> - 0.18-4
|
||||
- add unity.patch from upstream: add Unity to list of registered
|
||||
environments
|
||||
|
||||
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.18-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||
|
||||
* Sun Jan 30 2011 Ville Skyttä <ville.skytta@iki.fi> - 0.18-2
|
||||
- Add desktop-entry-mode-init.el, fix emacs site-start dir ownership.
|
||||
|
||||
* Thu Jan 13 2011 Matthias Clasen <mclasen@redhat.com> - 0.18-1
|
||||
- Update to 0.18
|
||||
|
||||
* Fri Nov 5 2010 Matthias Clasen <mclasen@redhat.com> - 0.16-3
|
||||
- Don't warn about x-scheme-handler pseudo-mime-types
|
||||
|
||||
* Sat Sep 25 2010 Parag Nemade <paragn AT fedoraproject.org> - 0.16-2
|
||||
- Merge-review cleanup (#225681)
|
||||
|
||||
* Thu Apr 1 2010 Matthias Clasen <mclasen@redhat.com> 0.16-1
|
||||
- Update to 0.16
|
||||
|
||||
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
||||
|
||||
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.15-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Wed Feb 04 2009 Richard Hughes <rhughes@redhat.com> - 0.15-6
|
||||
- Panu seems to be shipping the prov file in rpmbuild. Remove it here until we
|
||||
work out where it belongs.
|
||||
|
||||
* Wed Feb 04 2009 Richard Hughes <rhughes@redhat.com> - 0.15-5
|
||||
- Panu merged the rpm bits for this feature, but we've got a new provides
|
||||
filename. Respin this package with the new name.
|
||||
|
||||
* Thu Jan 22 2009 Richard Hughes <rhughes@redhat.com> - 0.15-4
|
||||
- Rename desktop-mime-type.prov to desktop_mime_type.prov and add the tiny
|
||||
macros.desktop_mime_type file so that we can trivially patch rpm to enable
|
||||
this new functionality.
|
||||
|
||||
* Fri May 02 2008 Richard Hughes <rhughes@redhat.com> - 0.15-3
|
||||
- Add desktop-mime-type.prov so that we can automatically
|
||||
generate mimetype provides for packages at build time.
|
||||
This lets us do some cool things with PackageKit in the future.
|
||||
|
||||
* Wed Mar 19 2008 Ray Strode <rstrode@redhat.com> - 0.15-2
|
||||
- Drop old unneeded obsoletes on desktop-file-validator
|
||||
(bug 225681)
|
||||
|
||||
* Tue Mar 4 2008 Matthias Clasen <mclasen@redhat.com> - 0.15-1
|
||||
- Update to 0.15
|
||||
- Drop upstreamed patch
|
||||
|
||||
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.14-3
|
||||
- Autorebuild for GCC 4.3
|
||||
|
||||
* Thu Dec 6 2007 Ray Strode <rstrode@redhat.com> 0.14-2
|
||||
- make icon extension a warning not an error
|
||||
|
||||
* Fri Nov 30 2007 Christopher Stone <chris.stone@gmail.com> 0.14-1
|
||||
- Upstream sync
|
||||
- Remove no longer needed short option patch
|
||||
|
||||
* Wed Aug 15 2007 Matthias Clasen <mclasen@redhat.com> - 0.13-3
|
||||
- Make the -m option work (#232761)
|
||||
|
||||
* Mon Aug 6 2007 Matthias Clasen <mclasen@redhat.com> - 0.13-2
|
||||
- Update license field
|
||||
|
||||
* Tue Jun 5 2007 Matthias Clasen <mclasen@redhat.com> - 0.13-1
|
||||
- Update to 0.13, which features a completely rewritten validator
|
||||
|
||||
* Thu Mar 08 2007 Florian La Roche <laroche@redhat.com> - 0.12-4
|
||||
- remove empty post/preun scripts completely
|
||||
|
||||
* Tue Nov 28 2006 Ray Strode <rstrode@redhat.com> - 0.12-3
|
||||
- drop some rm -f cruft
|
||||
- don't call update-desktop-database from %%post or %%postun
|
||||
|
||||
* Tue Nov 28 2006 Ray Strode <rstrode@redhat.com> - 0.12-2
|
||||
- make --vendor optional
|
||||
|
||||
* Tue Nov 28 2006 Ray Strode <rstrode@redhat.com> - 0.12-1
|
||||
- Update to 0.12
|
||||
|
||||
* Fri Oct 27 2006 Ray Strode <rstrode@redhat.com> - 0.11-4
|
||||
- commit the fix attempted in 0.11-2 and 0.11-3 to the right
|
||||
function...
|
||||
|
||||
* Fri Oct 27 2006 Ray Strode <rstrode@redhat.com> - 0.11-3
|
||||
- actually apply the patch written in 0.11-2
|
||||
|
||||
* Thu Oct 26 2006 Ray Strode <rstrode@redhat.com> - 0.11-2
|
||||
- make desktop file validation non-fatal until we
|
||||
add support for categories beginning with X- and clean up
|
||||
our menu system to not require invalid categories
|
||||
(bug 212048)
|
||||
|
||||
* Mon Oct 23 2006 Matthias Clasen <mclasen@redhat.com> - 0.11-1
|
||||
- Update to 0.11
|
||||
|
||||
* Wed Jul 26 2006 Jesse Keating <jkeating@redhat.com> - 0.10-7
|
||||
- rebuild
|
||||
|
||||
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.10-6.1
|
||||
- bump again for double-long bug on ppc(64)
|
||||
|
||||
* Fri Feb 10 2006 Ray Strode <rstrode@redhat.com> - 0.10-6
|
||||
- call update-desktop-database in %%preun (bug 180898)
|
||||
- don't fail if update-desktop-database fails
|
||||
- don't use %%makeinstall
|
||||
|
||||
* Fri Feb 10 2006 Ray Strode <rstrode@redhat.com> - 0.10-5
|
||||
- call update-desktop-database in %%post (bug 180898)
|
||||
|
||||
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.10-4.1
|
||||
- rebuilt for new gcc4.1 snapshot and glibc changes
|
||||
|
||||
* Sun Jan 22 2006 Ray Strode <rstrode@redhat.com> - 0.10-4
|
||||
- don't use uninitialized memory (bug 178591)
|
||||
|
||||
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
||||
- rebuilt
|
||||
|
||||
* Wed Aug 31 2005 Ray Strode <rstrode@redhat.com> - 0.10-3
|
||||
- bump build requires for glib to 2.2.0 (bug #146585).
|
||||
|
||||
* Thu May 12 2005 Ray Strode <rstrode@redhat.com> - 0.10-2
|
||||
- Add build requires for emacs (bug #141297).
|
||||
|
||||
* Wed Jan 26 2005 Matthias Clasen <mclasen@redhat.com> - 0.10-1
|
||||
- Update to 0.10
|
||||
|
||||
* Mon Oct 18 2004 Miloslav Trmac <mitr@redhat.com> - 0.9-2
|
||||
- Output error message instead of assertion failure (#134934)
|
||||
|
||||
* Tue Sep 28 2004 Mark McLoughlin <markmc@redhat.com> 0.9-1
|
||||
- Update to 0.9, remove upstreamed patches
|
||||
|
||||
* Mon Sep 27 2004 Ray Strode <rstrode@redhat.com> 0.8-6
|
||||
- Swap if and else in egg_desktop_entries_get_locale_encoding
|
||||
to prevent allocating massive amounts of unneeded ram.
|
||||
|
||||
* Mon Sep 27 2004 Ray Strode <rstrode@redhat.com> 0.8-5
|
||||
- Swap if and else in egg_desktop_entries_get_locale_country
|
||||
to prevent allocating massive amounts of unneeded ram.
|
||||
|
||||
* Thu Sep 23 2004 Ray Strode <rstrode@redhat.com> 0.8-4
|
||||
- Fix the fix for --remove-show-in option
|
||||
|
||||
* Thu Sep 23 2004 Ray Strode <rstrode@redhat.com> 0.8-3
|
||||
- Fix --remove-show-in option
|
||||
|
||||
* Mon Sep 13 2004 Dan Williams <dcbw@redhat.com> 0.8-2
|
||||
- Fix RH #131983 (annoying log message about "entries != NULL")
|
||||
|
||||
* Fri Sep 3 2004 Mark McLoughlin <markmc@redhat.com> 0.8-1
|
||||
- Update to 0.8
|
||||
|
||||
* Sat Jul 31 2004 Dan Williams <dcbw@redhat.com> 0.7-1
|
||||
- Update to 0.7
|
||||
|
||||
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
||||
- rebuilt
|
||||
|
||||
* Mon Mar 1 2004 Dan Williams <dcbw@redhat.com> 0.4-2
|
||||
- Fix RH #117201, initial comment fails validation
|
||||
- Add in, but do not use, Frederic Crozat's freedesktop.org
|
||||
menu-spec 0.8 patch
|
||||
|
||||
* Thu Feb 19 2004 Mark McLoughlin <markmc@redhat.com> 0.4-1
|
||||
- Update to 0.4
|
||||
|
||||
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
||||
- rebuilt
|
||||
|
||||
* Wed Sep 3 2003 Havoc Pennington <hp@redhat.com> 0.3-10
|
||||
- fix for #103276 (int/size_t issue) from twoerner
|
||||
|
||||
* Mon Jul 7 2003 Alexander Larsson <alexl@redhat.com> 0.3-9
|
||||
- Rebuild
|
||||
|
||||
* Mon Jun 23 2003 Havoc Pennington <hp@redhat.com> 0.3-8
|
||||
- rebuild
|
||||
|
||||
* Thu Jun 5 2003 Jonathan Blandford <jrb@redhat.com> 0.3-6
|
||||
- Backport patch to allow @MODIFIER in locale keys
|
||||
|
||||
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
||||
- rebuilt
|
||||
|
||||
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
||||
- rebuilt
|
||||
|
||||
* Fri Dec 6 2002 Havoc Pennington <hp@redhat.com>
|
||||
- rebuild
|
||||
|
||||
* Tue Aug 6 2002 Havoc Pennington <hp@redhat.com>
|
||||
- fix more error messages
|
||||
|
||||
* Tue Aug 6 2002 Havoc Pennington <hp@redhat.com>
|
||||
- remove old symlinks before creating new ones, chills out
|
||||
a lot of error messages
|
||||
|
||||
* Tue Aug 6 2002 Havoc Pennington <hp@redhat.com>
|
||||
- version 0.3
|
||||
|
||||
* Wed Jul 24 2002 Havoc Pennington <hp@redhat.com>
|
||||
- 0.2.95 cvs snap, should fix OnlyShowIn
|
||||
|
||||
* Mon Jul 22 2002 Havoc Pennington <hp@redhat.com>
|
||||
- 0.2.94 cvs snap, adds --print-available
|
||||
|
||||
* Tue Jul 9 2002 Havoc Pennington <hp@redhat.com>
|
||||
- 0.2.93 cvs snap with a crash fixed, and corrects [KDE Desktop Entry]
|
||||
|
||||
* Fri Jun 21 2002 Havoc Pennington <hp@redhat.com>
|
||||
- 0.2.92 cvs snap with --remove-key and checking for OnlyShowIn
|
||||
and missing trailing semicolons on string lists
|
||||
|
||||
* Fri Jun 21 2002 Havoc Pennington <hp@redhat.com>
|
||||
- 0.2.91 cvs snap with --copy-name-to-generic-name and
|
||||
--copy-generic-name-to-name
|
||||
|
||||
* Sun Jun 16 2002 Havoc Pennington <hp@redhat.com>
|
||||
- 0.2.90 cvs snap with --delete-original fixed
|
||||
|
||||
* Fri Jun 07 2002 Havoc Pennington <hp@redhat.com>
|
||||
- rebuild in different environment
|
||||
|
||||
* Wed Jun 5 2002 Havoc Pennington <hp@redhat.com>
|
||||
- 0.2
|
||||
|
||||
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
||||
- automated rebuild
|
||||
|
||||
* Thu May 09 2002 Havoc Pennington <hp@redhat.com>
|
||||
- rebuild in different environment
|
||||
|
||||
* Thu May 9 2002 Havoc Pennington <hp@redhat.com>
|
||||
- initial build
|
|
@ -0,0 +1,8 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<zone>
|
||||
<short>Public</short>
|
||||
<description>For use in public areas. You do not trust the other computers on networks to not harm your computer. Only selected incoming connections are accepted.</description>
|
||||
<service name="ssh"/>
|
||||
<service name="dhcpv6-client"/>
|
||||
<service name="cockpit"/>
|
||||
</zone>
|
|
@ -0,0 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<zone>
|
||||
<short>Fedora Workstation</short>
|
||||
<description>Unsolicited incoming network packets are rejected from port 1 to 1024, except for select network services. Incoming packets that are related to outgoing network connections are accepted. Outgoing network connections are allowed.</description>
|
||||
<service name="dhcpv6-client"/>
|
||||
<service name="ssh"/>
|
||||
<service name="samba-client"/>
|
||||
<port protocol="udp" port="1025-65535"/>
|
||||
<port protocol="tcp" port="1025-65535"/>
|
||||
</zone>
|
|
@ -0,0 +1,40 @@
|
|||
From 0e9306e9df41142503b4efc90032043183a3cb7b Mon Sep 17 00:00:00 2001
|
||||
From: Stef Walter <stefw@gnome.org>
|
||||
Date: Mon, 6 Aug 2012 10:01:09 +0200
|
||||
Subject: [PATCH] Make MDNS work in all but the most restrictive zones
|
||||
|
||||
* MDNS is a discovery protocol, and much like DNS or DHCP should
|
||||
be available for the network to function as expected.
|
||||
* Avahi (the main MDNS) implementation has taken steps to make sure
|
||||
no private information is published by default.
|
||||
* See: https://fedoraproject.org/wiki/Desktop/Whiteboards/AvahiDefault
|
||||
---
|
||||
config/zones/public.xml | 1 +
|
||||
config/zones/work.xml | 1 +
|
||||
2 files changed, 2 insertions(+)
|
||||
|
||||
diff --git a/config/zones/public.xml b/config/zones/public.xml
|
||||
index 929ad72..a56e95c 100644
|
||||
--- a/config/zones/public.xml
|
||||
+++ b/config/zones/public.xml
|
||||
@@ -3,5 +3,6 @@
|
||||
<short>Public</short>
|
||||
<description>For use in public areas. You do not trust the other computers on networks to not harm your computer. Only selected incoming connections are accepted.</description>
|
||||
<service name="ssh"/>
|
||||
+ <service name="mdns"/>
|
||||
<service name="dhcpv6-client"/>
|
||||
</zone>
|
||||
diff --git a/config/zones/work.xml b/config/zones/work.xml
|
||||
index 7e750fc..77f13c8 100644
|
||||
--- a/config/zones/work.xml
|
||||
+++ b/config/zones/work.xml
|
||||
@@ -3,5 +3,6 @@
|
||||
<short>Work</short>
|
||||
<description>For use in work areas. You mostly trust the other computers on networks to not harm your computer. Only selected incoming connections are accepted.</description>
|
||||
<service name="ssh"/>
|
||||
+ <service name="mdns"/>
|
||||
<service name="dhcpv6-client"/>
|
||||
</zone>
|
||||
--
|
||||
1.7.11.2
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"FedoraServer.xml": "818cbe9fdbe77be82053998492d240e893a92313a754fef41654d5b3798938f4",
|
||||
"FedoraWorkstation.xml": "a8927c24ca69b7a2973ea24af849a8d8e004c03719fa1cf591816432bc95a7e8",
|
||||
"firewalld-0.9.4.tar.gz": "52c5e3d5b1e2efc0e86c22b2bc1f7fd80908cc2d8130157dc2a3517a59b0a760"
|
||||
}
|
||||
}
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,12 @@
|
|||
--- glusterfs-8.0/rpc/rpc-lib/src/Makefile.am.orig 2020-07-22 08:09:31.315980869 -0400
|
||||
+++ glusterfs-8.0/rpc/rpc-lib/src/Makefile.am 2020-07-22 08:10:12.203980869 -0400
|
||||
@@ -2,8 +2,7 @@
|
||||
|
||||
libgfrpc_la_SOURCES = auth-unix.c rpcsvc-auth.c rpcsvc.c auth-null.c \
|
||||
rpc-transport.c xdr-rpc.c xdr-rpcclnt.c rpc-clnt.c auth-glusterfs.c \
|
||||
- rpc-drc.c $(CONTRIBDIR)/sunrpc/xdr_sizeof.c rpc-clnt-ping.c \
|
||||
- autoscale-threads.c mgmt-pmap.c
|
||||
+ rpc-drc.c rpc-clnt-ping.c autoscale-threads.c mgmt-pmap.c
|
||||
|
||||
EXTRA_DIST = libgfrpc.sym
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
# Change the glusterd service defaults here.
|
||||
# See "glusterd --help" outpout for defaults and possible values.
|
||||
|
||||
#GLUSTERD_LOGFILE="/var/log/gluster/gluster.log"
|
||||
#GLUSTERD_LOGLEVEL="NORMAL"
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"glusterd.sysconfig": "655bda588d5f2cb2dc9fc51e769bf1db0a8e6375e0b9a01f43862d915b1af4d7",
|
||||
"glusterfs-7.9.tar.gz": "b5a0dde0713214594524d5948769863b6d274de05788471de59fbe6a1212a3b9",
|
||||
"glusterfsd.init": "1e4e3b3ec5904171c08cfe091a96551191daea2b9df8d3d4c61a5eeb409a1026",
|
||||
"glusterfsd.service": "7a0a0bcd39328b358798b6407d32f19a7255dec48866be4d0ec6dec91681f0d3",
|
||||
"glusterfsd.sysconfig": "082120fa6848b16cc7c8f9d0f6136bb683df4995f74f314e75fb0a6184d158f8"
|
||||
}
|
||||
}
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,107 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# glusterfsd Startup script for the glusterfs server
|
||||
#
|
||||
# chkconfig: - 20 80
|
||||
# description: Clustered file-system server
|
||||
|
||||
### BEGIN INIT INFO
|
||||
# Provides: glusterfsd
|
||||
# Required-Start: $local_fs $network
|
||||
# Required-Stop: $local_fs $network
|
||||
# Should-Start:
|
||||
# Should-Stop:
|
||||
# Default-Start:
|
||||
# Default-Stop: 0 1 2 3 4 5 6
|
||||
# Short-Description: glusterfs server
|
||||
# Description: Clustered file-system server
|
||||
### END INIT INFO
|
||||
|
||||
# Source function library.
|
||||
. /etc/rc.d/init.d/functions
|
||||
|
||||
exec="/usr/sbin/glusterfsd"
|
||||
prog="glusterfsd"
|
||||
|
||||
# Set defaults, then source config for eventual overrides
|
||||
GLUSTERFSD_NOFILE="65536"
|
||||
|
||||
[ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog
|
||||
|
||||
lockfile=/var/lock/subsys/$prog
|
||||
|
||||
start() {
|
||||
[ -x $exec ] || exit 5
|
||||
[ $GLUSTERFSD_CONFIG -a -f $GLUSTERFSD_CONFIG ] || exit 6
|
||||
ulimit -n $GLUSTERFSD_NOFILE
|
||||
echo -n $"Starting $prog: "
|
||||
daemon $exec${GLUSTERFSD_CONFIG+" -f $GLUSTERFSD_CONFIG"}${GLUSTERFSD_LOGFILE+" -l $GLUSTERFSD_LOGFILE"}${GLUSTERFSD_LOGLEVEL+" -L $GLUSTERFSD_LOGLEVEL"} -p /var/run/glusterfsd.pid
|
||||
retval=$?
|
||||
echo
|
||||
[ $retval -eq 0 ] && touch $lockfile
|
||||
return $retval
|
||||
}
|
||||
|
||||
stop() {
|
||||
echo -n $"Stopping $prog: "
|
||||
killproc $prog
|
||||
retval=$?
|
||||
echo
|
||||
[ $retval -eq 0 ] && rm -f $lockfile
|
||||
return $retval
|
||||
}
|
||||
|
||||
restart() {
|
||||
stop
|
||||
start
|
||||
}
|
||||
|
||||
reload() {
|
||||
restart
|
||||
}
|
||||
|
||||
force_reload() {
|
||||
restart
|
||||
}
|
||||
|
||||
rh_status() {
|
||||
status $prog
|
||||
}
|
||||
|
||||
rh_status_q() {
|
||||
rh_status &>/dev/null
|
||||
}
|
||||
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
rh_status_q && exit 0
|
||||
$1
|
||||
;;
|
||||
stop)
|
||||
rh_status_q || exit 0
|
||||
$1
|
||||
;;
|
||||
restart)
|
||||
$1
|
||||
;;
|
||||
reload)
|
||||
rh_status_q || exit 7
|
||||
$1
|
||||
;;
|
||||
force-reload)
|
||||
force_reload
|
||||
;;
|
||||
status)
|
||||
rh_status
|
||||
;;
|
||||
condrestart|try-restart)
|
||||
rh_status_q || exit 0
|
||||
restart
|
||||
;;
|
||||
*)
|
||||
echo $"Usage: $0 {start|stop|status|restart|condrestart|try-restart|reload|force-reload}"
|
||||
exit 2
|
||||
esac
|
||||
exit $?
|
||||
|
|
@ -0,0 +1,16 @@
|
|||
[Unit]
|
||||
Description=GlusterFS brick processes (stopping only)
|
||||
After=network.target glusterd.service
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
# glusterd starts the glusterfsd processed on-demand
|
||||
# /bin/true will mark this service as started, RemainAfterExit keeps it active
|
||||
ExecStart=/bin/true
|
||||
RemainAfterExit=yes
|
||||
# if there are no glusterfsd processes, a stop/reload should not give an error
|
||||
ExecStop=/bin/sh -c "/bin/killall --wait glusterfsd || /bin/true"
|
||||
ExecReload=/bin/sh -c "/bin/killall -HUP glusterfsd || /bin/true"
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -0,0 +1,6 @@
|
|||
# Change the glusterfsd service defaults here.
|
||||
# See "glusterfsd --help" outpout for defaults and possible values.
|
||||
|
||||
#GLUSTERFSD_CONFIG="/etc/glusterfs/glusterfsd.vol"
|
||||
#GLUSTERFSD_LOGFILE="/var/log/glusterfs/glusterfs.log"
|
||||
#GLUSTERFSD_LOGLEVEL="NORMAL"
|
|
@ -2,7 +2,7 @@
|
|||
%define qemu_user qemu
|
||||
%define qemu_group qemu
|
||||
|
||||
%bcond_with gluster
|
||||
%bcond_with missing_dependencies
|
||||
|
||||
Summary: Virtualization API library that supports KVM, QEMU, Xen, ESX etc
|
||||
Name: libvirt
|
||||
|
@ -27,6 +27,8 @@ BuildRequires: cyrus-sasl-devel
|
|||
BuildRequires: dbus-devel
|
||||
BuildRequires: device-mapper-devel
|
||||
BuildRequires: e2fsprogs-devel
|
||||
BuildRequires: glusterfs-api-devel >= 3.4.1
|
||||
BuildRequires: glusterfs-devel >= 3.4.1
|
||||
BuildRequires: gnutls-devel
|
||||
BuildRequires: iscsi-initiator-utils
|
||||
BuildRequires: libacl-devel
|
||||
|
@ -54,11 +56,6 @@ BuildRequires: systemd-devel
|
|||
BuildRequires: systemtap-sdt-devel
|
||||
BuildRequires: yajl-devel
|
||||
|
||||
%if 0%{with gluster}
|
||||
BuildRequires: glusterfs-api-devel >= 3.4.1
|
||||
BuildRequires: glusterfs-devel >= 3.4.1
|
||||
%endif
|
||||
|
||||
Requires: %{name}-client = %{version}-%{release}
|
||||
Requires: %{name}-daemon-config-network = %{version}-%{release}
|
||||
Requires: %{name}-daemon-config-nwfilter = %{version}-%{release}
|
||||
|
@ -175,7 +172,9 @@ Summary: Interface driver plugin for the libvirtd daemon
|
|||
|
||||
Requires: %{name}-daemon = %{version}-%{release}
|
||||
Requires: %{name}-libs = %{version}-%{release}
|
||||
%if 0%{with missing_dependencies}
|
||||
Requires: netcf-libs >= 0.2.2
|
||||
%endif
|
||||
|
||||
%description daemon-driver-interface
|
||||
The interface driver plugin for the libvirtd daemon, providing
|
||||
|
@ -189,7 +188,10 @@ Requires: %{name}-daemon = %{version}-%{release}
|
|||
Requires: %{name}-libs = %{version}-%{release}
|
||||
Requires: dnsmasq
|
||||
Requires: iptables
|
||||
|
||||
%if 0%{with missing_dependencies}
|
||||
Requires: radvd
|
||||
%endif
|
||||
|
||||
%description daemon-driver-network
|
||||
The network driver plugin for the libvirtd daemon, providing
|
||||
|
@ -230,9 +232,12 @@ Requires: %{name}-libs = %{version}-%{release}
|
|||
Requires: bzip2
|
||||
# For image compression
|
||||
Requires: gzip
|
||||
Requires: xz
|
||||
|
||||
%if 0%{with missing_dependencies}
|
||||
Requires: lzop
|
||||
Requires: systemd-container
|
||||
Requires: xz
|
||||
%endif
|
||||
|
||||
%description daemon-driver-qemu
|
||||
The qemu driver plugin for the libvirtd daemon, providing
|
||||
|
@ -259,9 +264,7 @@ Requires: %{name}-daemon-driver-storage-mpath = %{version}-%{release}
|
|||
Requires: %{name}-daemon-driver-storage-rbd = %{version}-%{release}
|
||||
Requires: %{name}-daemon-driver-storage-scsi = %{version}-%{release}
|
||||
Requires: %{name}-daemon-driver-storage-iscsi = %{version}-%{release}
|
||||
%if 0%{with gluster}
|
||||
Requires: %{name}-daemon-driver-storage-gluster = %{version}-%{release}
|
||||
%endif
|
||||
|
||||
%description daemon-driver-storage
|
||||
The storage driver plugin for the libvirtd daemon, providing
|
||||
|
@ -295,7 +298,6 @@ Requires: parted
|
|||
The storage driver backend adding implementation of the storage APIs for block
|
||||
volumes using the host disks.
|
||||
|
||||
%if 0%{with gluster}
|
||||
%package daemon-driver-storage-gluster
|
||||
Summary: Storage driver plugin for gluster
|
||||
|
||||
|
@ -307,7 +309,6 @@ Requires: glusterfs-client >= 2.0.1
|
|||
%description daemon-driver-storage-gluster
|
||||
The storage driver backend adding implementation of the storage APIs for gluster
|
||||
volumes using libgfapi.
|
||||
%endif
|
||||
|
||||
%package daemon-driver-storage-iscsi
|
||||
Summary: Storage driver plugin for iscsi
|
||||
|
@ -484,9 +485,7 @@ cd %{_vpath_builddir}
|
|||
--with-sanlock \
|
||||
--with-sasl \
|
||||
--with-storage-disk \
|
||||
%if 0%{with gluster}
|
||||
--with-storage-gluster \
|
||||
%endif
|
||||
--with-storage-iscsi \
|
||||
--with-storage-lvm \
|
||||
--with-storage-mpath \
|
||||
|
@ -939,11 +938,9 @@ exit 0
|
|||
%files daemon-driver-storage-disk
|
||||
%{_libdir}/%{name}/storage-backend/libvirt_storage_backend_disk.so
|
||||
|
||||
%if 0%{with gluster}
|
||||
%files daemon-driver-storage-gluster
|
||||
%{_libdir}/%{name}/storage-backend/libvirt_storage_backend_gluster.so
|
||||
%{_libdir}/%{name}/storage-file/libvirt_storage_file_gluster.so
|
||||
%endif
|
||||
|
||||
%files daemon-driver-storage-iscsi
|
||||
%{_libdir}/%{name}/storage-backend/libvirt_storage_backend_iscsi.so
|
||||
|
@ -1063,6 +1060,7 @@ exit 0
|
|||
- 'libvirt-daemon-driver-storage',
|
||||
- 'libvirt-daemon-driver-storage-core',
|
||||
- 'libvirt-daemon-driver-storage-disk',
|
||||
- 'libvirt-daemon-driver-storage-gluster',
|
||||
- 'libvirt-daemon-driver-storage-iscsi',
|
||||
- 'libvirt-daemon-driver-storage-logical',
|
||||
- 'libvirt-daemon-driver-storage-mpath',
|
||||
|
@ -1072,6 +1070,7 @@ exit 0
|
|||
- 'libvirt-libs',
|
||||
- 'libvirt-lock-sanlock',
|
||||
- 'libvirt-nss'.
|
||||
- Temporarily disable run-time requires for unused subpackages.
|
||||
|
||||
* Mon Oct 26 2020 Nicolas Ontiveros <niontive@microsoft.com> - 6.1.0-2
|
||||
- Use autosetup
|
||||
|
|
|
@ -0,0 +1,32 @@
|
|||
From 4aaee340b00a586b2b745dda3a4b9e9c4c7a7ce6 Mon Sep 17 00:00:00 2001
|
||||
From: Phil Sutter <phil@nwl.cc>
|
||||
Date: Thu, 6 Feb 2020 01:21:30 +0100
|
||||
Subject: [PATCH] tests: json_echo: Fix for Python3
|
||||
|
||||
The keys() method returns an object which does not support indexing, so
|
||||
convert it to a list prior to doing so.
|
||||
|
||||
Fixes: a35e3a0cdc63a ("tests: json_echo: convert to py3")
|
||||
Signed-off-by: Phil Sutter <phil@nwl.cc>
|
||||
(cherry picked from commit 582f142b1578b6036707242bfe874bcefc002ac2)
|
||||
Signed-off-by: Phil Sutter <psutter@redhat.com>
|
||||
---
|
||||
tests/json_echo/run-test.py | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/json_echo/run-test.py b/tests/json_echo/run-test.py
|
||||
index a636d5f247702..fa7d69ab75645 100755
|
||||
--- a/tests/json_echo/run-test.py
|
||||
+++ b/tests/json_echo/run-test.py
|
||||
@@ -119,7 +119,7 @@ def get_handle(output, search):
|
||||
else:
|
||||
data = item
|
||||
|
||||
- k = search.keys()[0]
|
||||
+ k = list(search.keys())[0]
|
||||
|
||||
if not k in data:
|
||||
continue
|
||||
--
|
||||
2.28.0
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
From a25914f8de7c0047201019c1717638c569b5b96c Mon Sep 17 00:00:00 2001
|
||||
From: Phil Sutter <phil@nwl.cc>
|
||||
Date: Fri, 10 Jan 2020 11:19:42 +0100
|
||||
Subject: [PATCH] tests: json_echo: Support testing host binaries
|
||||
|
||||
Support -H/--host option to use host's libnftables.so.1. Alternatively
|
||||
users may specify a custom library path via -l/--library option.
|
||||
|
||||
Signed-off-by: Phil Sutter <phil@nwl.cc>
|
||||
(cherry picked from commit 106b1f2b93f82784c18dd5e312bbf88e6c02a5b8)
|
||||
Signed-off-by: Phil Sutter <psutter@redhat.com>
|
||||
---
|
||||
tests/json_echo/run-test.py | 23 +++++++++++++++++++----
|
||||
1 file changed, 19 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/tests/json_echo/run-test.py b/tests/json_echo/run-test.py
|
||||
index fa7d69ab75645..36a377ac95eec 100755
|
||||
--- a/tests/json_echo/run-test.py
|
||||
+++ b/tests/json_echo/run-test.py
|
||||
@@ -4,6 +4,7 @@ from __future__ import print_function
|
||||
import sys
|
||||
import os
|
||||
import json
|
||||
+import argparse
|
||||
|
||||
TESTS_PATH = os.path.dirname(os.path.abspath(__file__))
|
||||
sys.path.insert(0, os.path.join(TESTS_PATH, '../../py/'))
|
||||
@@ -13,12 +14,26 @@ from nftables import Nftables
|
||||
# Change working directory to repository root
|
||||
os.chdir(TESTS_PATH + "/../..")
|
||||
|
||||
-if not os.path.exists('src/.libs/libnftables.so'):
|
||||
- print("The nftables library does not exist. "
|
||||
- "You need to build the project.")
|
||||
+parser = argparse.ArgumentParser(description='Run JSON echo tests')
|
||||
+parser.add_argument('-H', '--host', action='store_true',
|
||||
+ help='Run tests against installed libnftables.so.1')
|
||||
+parser.add_argument('-l', '--library', default=None,
|
||||
+ help='Path to libntables.so, overrides --host')
|
||||
+args = parser.parse_args()
|
||||
+
|
||||
+check_lib_path = True
|
||||
+if args.library is None:
|
||||
+ if args.host:
|
||||
+ args.library = 'libnftables.so.1'
|
||||
+ check_lib_path = False
|
||||
+ else:
|
||||
+ args.library = 'src/.libs/libnftables.so.1'
|
||||
+
|
||||
+if check_lib_path and not os.path.exists(args.library):
|
||||
+ print("Library not found at '%s'." % args.library)
|
||||
sys.exit(1)
|
||||
|
||||
-nftables = Nftables(sofile = 'src/.libs/libnftables.so')
|
||||
+nftables = Nftables(sofile = args.library)
|
||||
nftables.set_echo_output(True)
|
||||
|
||||
# various commands to work with
|
||||
--
|
||||
2.28.0
|
||||
|
|
@ -0,0 +1,57 @@
|
|||
From 7a33b2706595ee23178088bdab80577d8dfabc3a Mon Sep 17 00:00:00 2001
|
||||
From: Phil Sutter <phil@nwl.cc>
|
||||
Date: Fri, 10 Jan 2020 11:15:45 +0100
|
||||
Subject: [PATCH] tests: monitor: Support running individual test cases
|
||||
|
||||
Recognize testcase paths on command line and limit testing on those
|
||||
only.
|
||||
|
||||
Signed-off-by: Phil Sutter <phil@nwl.cc>
|
||||
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
|
||||
(cherry picked from commit eb5034108cdc60341b2d61599077db935b6bbc4f)
|
||||
Signed-off-by: Phil Sutter <psutter@redhat.com>
|
||||
---
|
||||
tests/monitor/run-tests.sh | 9 +++++++--
|
||||
1 file changed, 7 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/tests/monitor/run-tests.sh b/tests/monitor/run-tests.sh
|
||||
index 0478cf60c0dfe..efacdaaab952b 100755
|
||||
--- a/tests/monitor/run-tests.sh
|
||||
+++ b/tests/monitor/run-tests.sh
|
||||
@@ -108,6 +108,7 @@ echo_run_test() {
|
||||
touch $output_file
|
||||
}
|
||||
|
||||
+testcases=""
|
||||
while [ -n "$1" ]; do
|
||||
case "$1" in
|
||||
-d|--debug)
|
||||
@@ -118,11 +119,15 @@ while [ -n "$1" ]; do
|
||||
test_json=true
|
||||
shift
|
||||
;;
|
||||
+ testcases/*.t)
|
||||
+ testcases+=" $1"
|
||||
+ shift
|
||||
+ ;;
|
||||
*)
|
||||
echo "unknown option '$1'"
|
||||
;&
|
||||
-h|--help)
|
||||
- echo "Usage: $(basename $0) [-j|--json] [-d|--debug]"
|
||||
+ echo "Usage: $(basename $0) [-j|--json] [-d|--debug] [testcase ...]"
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
@@ -138,7 +143,7 @@ for variant in $variants; do
|
||||
run_test=${variant}_run_test
|
||||
output_append=${variant}_output_append
|
||||
|
||||
- for testcase in testcases/*.t; do
|
||||
+ for testcase in ${testcases:-testcases/*.t}; do
|
||||
echo "$variant: running tests from file $(basename $testcase)"
|
||||
# files are like this:
|
||||
#
|
||||
--
|
||||
2.28.0
|
||||
|
|
@ -0,0 +1,33 @@
|
|||
From 429a2dba91252984c4d75b84cbdb3abc4dbfaac0 Mon Sep 17 00:00:00 2001
|
||||
From: Phil Sutter <phil@nwl.cc>
|
||||
Date: Wed, 5 Feb 2020 19:48:53 +0100
|
||||
Subject: [PATCH] tests: monitor: Support testing host's nft binary
|
||||
|
||||
Add support for -H/--host flag to use 'nft' tool from $PATH instead of
|
||||
the local one.
|
||||
|
||||
Signed-off-by: Phil Sutter <phil@nwl.cc>
|
||||
(cherry picked from commit 15ede6857c8c578ec6211c8b68424183ba1baf1a)
|
||||
Signed-off-by: Phil Sutter <psutter@redhat.com>
|
||||
---
|
||||
tests/monitor/run-tests.sh | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/tests/monitor/run-tests.sh b/tests/monitor/run-tests.sh
|
||||
index efacdaaab952b..ffb833a7f86f0 100755
|
||||
--- a/tests/monitor/run-tests.sh
|
||||
+++ b/tests/monitor/run-tests.sh
|
||||
@@ -119,6 +119,10 @@ while [ -n "$1" ]; do
|
||||
test_json=true
|
||||
shift
|
||||
;;
|
||||
+ -H|--host)
|
||||
+ nft=nft
|
||||
+ shift
|
||||
+ ;;
|
||||
testcases/*.t)
|
||||
testcases+=" $1"
|
||||
shift
|
||||
--
|
||||
2.28.0
|
||||
|
|
@ -0,0 +1,69 @@
|
|||
From 6096c50caaf1322a572efb88d76872bb3bc2242f Mon Sep 17 00:00:00 2001
|
||||
From: Phil Sutter <phil@nwl.cc>
|
||||
Date: Thu, 6 Feb 2020 01:36:01 +0100
|
||||
Subject: [PATCH] tests: py: Support testing host binaries
|
||||
|
||||
Support -H/--host option to use host's libnftables.so.1. Alternatively
|
||||
users may specify a custom library path via -l/--library option.
|
||||
|
||||
Signed-off-by: Phil Sutter <phil@nwl.cc>
|
||||
(cherry picked from commit 5f2746205e50c77295d0f84f8178ee3a1ce15407)
|
||||
Signed-off-by: Phil Sutter <psutter@redhat.com>
|
||||
---
|
||||
tests/py/nft-test.py | 22 ++++++++++++++++++----
|
||||
1 file changed, 18 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/tests/py/nft-test.py b/tests/py/nft-test.py
|
||||
index 6edca3c6a5a2f..01ee6c980ad4a 100755
|
||||
--- a/tests/py/nft-test.py
|
||||
+++ b/tests/py/nft-test.py
|
||||
@@ -1357,10 +1357,16 @@ def main():
|
||||
dest='force_all_family',
|
||||
help='keep testing all families on error')
|
||||
|
||||
+ parser.add_argument('-H', '--host', action='store_true',
|
||||
+ help='run tests against installed libnftables.so.1')
|
||||
+
|
||||
parser.add_argument('-j', '--enable-json', action='store_true',
|
||||
dest='enable_json',
|
||||
help='test JSON functionality as well')
|
||||
|
||||
+ parser.add_argument('-l', '--library', default=None,
|
||||
+ help='path to libntables.so.1, overrides --host')
|
||||
+
|
||||
parser.add_argument('-s', '--schema', action='store_true',
|
||||
dest='enable_schema',
|
||||
help='verify json input/output against schema')
|
||||
@@ -1388,9 +1394,17 @@ def main():
|
||||
# Change working directory to repository root
|
||||
os.chdir(TESTS_PATH + "/../..")
|
||||
|
||||
- if not os.path.exists('src/.libs/libnftables.so'):
|
||||
- print("The nftables library does not exist. "
|
||||
- "You need to build the project.")
|
||||
+ check_lib_path = True
|
||||
+ if args.library is None:
|
||||
+ if args.host:
|
||||
+ args.library = 'libnftables.so.1'
|
||||
+ check_lib_path = False
|
||||
+ else:
|
||||
+ args.library = 'src/.libs/libnftables.so.1'
|
||||
+
|
||||
+ if check_lib_path and not os.path.exists(args.library):
|
||||
+ print("The nftables library at '%s' does not exist. "
|
||||
+ "You need to build the project." % args.library)
|
||||
return
|
||||
|
||||
if args.enable_schema and not args.enable_json:
|
||||
@@ -1398,7 +1412,7 @@ def main():
|
||||
return
|
||||
|
||||
global nftables
|
||||
- nftables = Nftables(sofile = 'src/.libs/libnftables.so')
|
||||
+ nftables = Nftables(sofile = args.library)
|
||||
|
||||
test_files = files_ok = run_total = 0
|
||||
tests = passed = warnings = errors = 0
|
||||
--
|
||||
2.28.0
|
||||
|
|
@ -0,0 +1,37 @@
|
|||
From 0f54c2ba52184db9a3e91f3595cad6b6055340fd Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20N=C4=9Bmec?= <snemec@redhat.com>
|
||||
Date: Wed, 27 Jan 2021 15:02:03 +0100
|
||||
Subject: [PATCH] tests: monitor: use correct $nft value in EXIT trap
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
With double quotes, $nft was being expanded to the default value even
|
||||
in presence of the -H option.
|
||||
|
||||
Signed-off-by: Štěpán Němec <snemec@redhat.com>
|
||||
Helped-by: Tomáš Doležal <todoleza@redhat.com>
|
||||
Acked-by: Phil Sutter <phil@nwl.cc>
|
||||
Signed-off-by: Phil Sutter <phil@nwl.cc>
|
||||
(cherry picked from commit 990cbbf75c40b92e6d6dc66721dfbedf33cacf8f)
|
||||
Signed-off-by: Phil Sutter <psutter@redhat.com>
|
||||
---
|
||||
tests/monitor/run-tests.sh | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/monitor/run-tests.sh b/tests/monitor/run-tests.sh
|
||||
index ffb833a7f86f0..c1cacb46fa655 100755
|
||||
--- a/tests/monitor/run-tests.sh
|
||||
+++ b/tests/monitor/run-tests.sh
|
||||
@@ -19,7 +19,7 @@ if [ ! -d $testdir ]; then
|
||||
echo "Failed to create test directory" >&2
|
||||
exit 1
|
||||
fi
|
||||
-trap "rm -rf $testdir; $nft flush ruleset" EXIT
|
||||
+trap 'rm -rf $testdir; $nft flush ruleset' EXIT
|
||||
|
||||
command_file=$(mktemp -p $testdir)
|
||||
output_file=$(mktemp -p $testdir)
|
||||
--
|
||||
2.28.0
|
||||
|
|
@ -0,0 +1,67 @@
|
|||
From deb82693c3173f2088ac2a24218085b0b2dc573d Mon Sep 17 00:00:00 2001
|
||||
From: Pablo Neira Ayuso <pablo@netfilter.org>
|
||||
Date: Thu, 2 Jan 2020 16:37:31 +0100
|
||||
Subject: [PATCH] scanner: incorrect error reporting after file inclusion
|
||||
|
||||
scanner_pop_buffer() incorrectly sets the current input descriptor. The
|
||||
state->indesc_idx field actually stores the number of input descriptors
|
||||
in the stack, decrement it and then update the current input descriptor
|
||||
accordingly.
|
||||
|
||||
Fixes: 60e917fa7cb5 ("src: dynamic input_descriptor allocation")
|
||||
Closes: https://bugzilla.netfilter.org/show_bug.cgi?id=1383
|
||||
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
|
||||
(cherry picked from commit 4441c0233cbcb74b08a53720557e76bf0b26c998)
|
||||
Signed-off-by: Phil Sutter <psutter@redhat.com>
|
||||
---
|
||||
src/scanner.l | 22 +++++++++++++++++++---
|
||||
1 file changed, 19 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/src/scanner.l b/src/scanner.l
|
||||
index d32adf4897ae1..25db4d3f24eec 100644
|
||||
--- a/src/scanner.l
|
||||
+++ b/src/scanner.l
|
||||
@@ -664,12 +664,29 @@ addrstring ({macaddr}|{ip4addr}|{ip6addr})
|
||||
|
||||
%%
|
||||
|
||||
+static void scanner_push_indesc(struct parser_state *state,
|
||||
+ struct input_descriptor *indesc)
|
||||
+{
|
||||
+ state->indescs[state->indesc_idx] = indesc;
|
||||
+ state->indesc = state->indescs[state->indesc_idx++];
|
||||
+}
|
||||
+
|
||||
+static void scanner_pop_indesc(struct parser_state *state)
|
||||
+{
|
||||
+ state->indesc_idx--;
|
||||
+
|
||||
+ if (state->indesc_idx > 0)
|
||||
+ state->indesc = state->indescs[state->indesc_idx - 1];
|
||||
+ else
|
||||
+ state->indesc = NULL;
|
||||
+}
|
||||
+
|
||||
static void scanner_pop_buffer(yyscan_t scanner)
|
||||
{
|
||||
struct parser_state *state = yyget_extra(scanner);
|
||||
|
||||
yypop_buffer_state(scanner);
|
||||
- state->indesc = state->indescs[--state->indesc_idx];
|
||||
+ scanner_pop_indesc(state);
|
||||
}
|
||||
|
||||
static void scanner_push_file(struct nft_ctx *nft, void *scanner,
|
||||
@@ -690,8 +707,7 @@ static void scanner_push_file(struct nft_ctx *nft, void *scanner,
|
||||
indesc->name = xstrdup(filename);
|
||||
init_pos(indesc);
|
||||
|
||||
- state->indescs[state->indesc_idx] = indesc;
|
||||
- state->indesc = state->indescs[state->indesc_idx++];
|
||||
+ scanner_push_indesc(state, indesc);
|
||||
list_add_tail(&indesc->list, &state->indesc_list);
|
||||
}
|
||||
|
||||
--
|
||||
2.28.0
|
||||
|
|
@ -0,0 +1,111 @@
|
|||
From 1af5611a69b9d7e62018fbcbcadd35f5d8eca050 Mon Sep 17 00:00:00 2001
|
||||
From: Laurent Fasnacht <fasnacht@protonmail.ch>
|
||||
Date: Mon, 10 Feb 2020 10:17:21 +0000
|
||||
Subject: [PATCH] scanner: move the file descriptor to be in the
|
||||
input_descriptor structure
|
||||
|
||||
This prevents a static allocation of file descriptors array, thus allows
|
||||
more flexibility.
|
||||
|
||||
Signed-off-by: Laurent Fasnacht <fasnacht@protonmail.ch>
|
||||
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
|
||||
(cherry picked from commit 209c4d901e90e46faa14d1f38cb000f79514b3b2)
|
||||
Signed-off-by: Phil Sutter <psutter@redhat.com>
|
||||
---
|
||||
include/nftables.h | 3 ++-
|
||||
src/scanner.l | 18 +++++++++---------
|
||||
2 files changed, 11 insertions(+), 10 deletions(-)
|
||||
|
||||
diff --git a/include/nftables.h b/include/nftables.h
|
||||
index 90d331960ef29..07726e4dd5a40 100644
|
||||
--- a/include/nftables.h
|
||||
+++ b/include/nftables.h
|
||||
@@ -122,7 +122,6 @@ struct nft_ctx {
|
||||
void *scanner;
|
||||
struct scope *top_scope;
|
||||
void *json_root;
|
||||
- FILE *f[MAX_INCLUDE_DEPTH];
|
||||
};
|
||||
|
||||
enum nftables_exit_codes {
|
||||
@@ -176,6 +175,7 @@ enum input_descriptor_types {
|
||||
* struct input_descriptor
|
||||
*
|
||||
* @location: location, used for include statements
|
||||
+ * @f: file descriptor
|
||||
* @type: input descriptor type
|
||||
* @name: name describing the input
|
||||
* @union: buffer or file descriptor, depending on type
|
||||
@@ -186,6 +186,7 @@ enum input_descriptor_types {
|
||||
*/
|
||||
struct input_descriptor {
|
||||
struct list_head list;
|
||||
+ FILE *f;
|
||||
struct location location;
|
||||
enum input_descriptor_types type;
|
||||
const char *name;
|
||||
diff --git a/src/scanner.l b/src/scanner.l
|
||||
index 25db4d3f24eec..d1d1154a8c811 100644
|
||||
--- a/src/scanner.l
|
||||
+++ b/src/scanner.l
|
||||
@@ -690,13 +690,14 @@ static void scanner_pop_buffer(yyscan_t scanner)
|
||||
}
|
||||
|
||||
static void scanner_push_file(struct nft_ctx *nft, void *scanner,
|
||||
- const char *filename, const struct location *loc)
|
||||
+ FILE *f, const char *filename,
|
||||
+ const struct location *loc)
|
||||
{
|
||||
struct parser_state *state = yyget_extra(scanner);
|
||||
struct input_descriptor *indesc;
|
||||
YY_BUFFER_STATE b;
|
||||
|
||||
- b = yy_create_buffer(nft->f[state->indesc_idx], YY_BUF_SIZE, scanner);
|
||||
+ b = yy_create_buffer(f, YY_BUF_SIZE, scanner);
|
||||
yypush_buffer_state(b, scanner);
|
||||
|
||||
indesc = xzalloc(sizeof(struct input_descriptor));
|
||||
@@ -705,6 +706,7 @@ static void scanner_push_file(struct nft_ctx *nft, void *scanner,
|
||||
indesc->location = *loc;
|
||||
indesc->type = INDESC_FILE;
|
||||
indesc->name = xstrdup(filename);
|
||||
+ indesc->f = f;
|
||||
init_pos(indesc);
|
||||
|
||||
scanner_push_indesc(state, indesc);
|
||||
@@ -730,8 +732,7 @@ static int include_file(struct nft_ctx *nft, void *scanner,
|
||||
filename, strerror(errno));
|
||||
goto err;
|
||||
}
|
||||
- nft->f[state->indesc_idx] = f;
|
||||
- scanner_push_file(nft, scanner, filename, loc);
|
||||
+ scanner_push_file(nft, scanner, f, filename, loc);
|
||||
return 0;
|
||||
err:
|
||||
erec_queue(erec, state->msgs);
|
||||
@@ -943,6 +944,10 @@ static void input_descriptor_list_destroy(struct parser_state *state)
|
||||
struct input_descriptor *indesc, *next;
|
||||
|
||||
list_for_each_entry_safe(indesc, next, &state->indesc_list, list) {
|
||||
+ if (indesc->f) {
|
||||
+ fclose(indesc->f);
|
||||
+ indesc->f = NULL;
|
||||
+ }
|
||||
list_del(&indesc->list);
|
||||
input_descriptor_destroy(indesc);
|
||||
}
|
||||
@@ -954,11 +959,6 @@ void scanner_destroy(struct nft_ctx *nft)
|
||||
|
||||
do {
|
||||
yypop_buffer_state(nft->scanner);
|
||||
-
|
||||
- if (nft->f[state->indesc_idx]) {
|
||||
- fclose(nft->f[state->indesc_idx]);
|
||||
- nft->f[state->indesc_idx] = NULL;
|
||||
- }
|
||||
} while (state->indesc_idx--);
|
||||
|
||||
input_descriptor_list_destroy(state);
|
||||
--
|
||||
2.28.0
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
From b580969270c57a7d0b92221a9100d990ab2f3e72 Mon Sep 17 00:00:00 2001
|
||||
From: Laurent Fasnacht <fasnacht@protonmail.ch>
|
||||
Date: Mon, 10 Feb 2020 10:17:22 +0000
|
||||
Subject: [PATCH] scanner: move indesc list append in scanner_push_indesc
|
||||
|
||||
Having a single point makes refactoring easier.
|
||||
|
||||
Signed-off-by: Laurent Fasnacht <fasnacht@protonmail.ch>
|
||||
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
|
||||
(cherry picked from commit 35adaa2741414551ffbc3970cb2dd1704cce1179)
|
||||
Signed-off-by: Phil Sutter <psutter@redhat.com>
|
||||
---
|
||||
src/scanner.l | 16 +++++++---------
|
||||
1 file changed, 7 insertions(+), 9 deletions(-)
|
||||
|
||||
diff --git a/src/scanner.l b/src/scanner.l
|
||||
index d1d1154a8c811..4b7ea06261b55 100644
|
||||
--- a/src/scanner.l
|
||||
+++ b/src/scanner.l
|
||||
@@ -669,6 +669,7 @@ static void scanner_push_indesc(struct parser_state *state,
|
||||
{
|
||||
state->indescs[state->indesc_idx] = indesc;
|
||||
state->indesc = state->indescs[state->indesc_idx++];
|
||||
+ list_add_tail(&indesc->list, &state->indesc_list);
|
||||
}
|
||||
|
||||
static void scanner_pop_indesc(struct parser_state *state)
|
||||
@@ -710,7 +711,6 @@ static void scanner_push_file(struct nft_ctx *nft, void *scanner,
|
||||
init_pos(indesc);
|
||||
|
||||
scanner_push_indesc(state, indesc);
|
||||
- list_add_tail(&indesc->list, &state->indesc_list);
|
||||
}
|
||||
|
||||
static int include_file(struct nft_ctx *nft, void *scanner,
|
||||
@@ -906,16 +906,14 @@ void scanner_push_buffer(void *scanner, const struct input_descriptor *indesc,
|
||||
const char *buffer)
|
||||
{
|
||||
struct parser_state *state = yyget_extra(scanner);
|
||||
+ struct input_descriptor *new_indesc;
|
||||
YY_BUFFER_STATE b;
|
||||
|
||||
- state->indesc = xzalloc(sizeof(struct input_descriptor));
|
||||
- state->indescs[state->indesc_idx] = state->indesc;
|
||||
- state->indesc_idx++;
|
||||
-
|
||||
- memcpy(state->indesc, indesc, sizeof(*state->indesc));
|
||||
- state->indesc->data = buffer;
|
||||
- state->indesc->name = NULL;
|
||||
- list_add_tail(&state->indesc->list, &state->indesc_list);
|
||||
+ new_indesc = xzalloc(sizeof(struct input_descriptor));
|
||||
+ memcpy(new_indesc, indesc, sizeof(*new_indesc));
|
||||
+ new_indesc->data = buffer;
|
||||
+ new_indesc->name = NULL;
|
||||
+ scanner_push_indesc(state, new_indesc);
|
||||
|
||||
b = yy_scan_string(buffer, scanner);
|
||||
assert(b != NULL);
|
||||
--
|
||||
2.28.0
|
||||
|
|
@ -0,0 +1,63 @@
|
|||
From 75288914c30f4014a85840a153e36ef0a30a5bb4 Mon Sep 17 00:00:00 2001
|
||||
From: Laurent Fasnacht <fasnacht@protonmail.ch>
|
||||
Date: Mon, 10 Feb 2020 10:17:24 +0000
|
||||
Subject: [PATCH] scanner: remove parser_state->indescs static array
|
||||
|
||||
This static array is redundant with the indesc_list structure, but
|
||||
is less flexible.
|
||||
|
||||
Signed-off-by: Laurent Fasnacht <fasnacht@protonmail.ch>
|
||||
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
|
||||
(cherry picked from commit ad63cde708fd7a79332b09ae4a06b8a4b345aa72)
|
||||
Signed-off-by: Phil Sutter <psutter@redhat.com>
|
||||
---
|
||||
include/parser.h | 1 -
|
||||
src/scanner.l | 13 +++++++------
|
||||
2 files changed, 7 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/include/parser.h b/include/parser.h
|
||||
index 949284d9466c6..66db92d8d7720 100644
|
||||
--- a/include/parser.h
|
||||
+++ b/include/parser.h
|
||||
@@ -15,7 +15,6 @@
|
||||
|
||||
struct parser_state {
|
||||
struct input_descriptor *indesc;
|
||||
- struct input_descriptor *indescs[MAX_INCLUDE_DEPTH];
|
||||
unsigned int indesc_idx;
|
||||
struct list_head indesc_list;
|
||||
|
||||
diff --git a/src/scanner.l b/src/scanner.l
|
||||
index 4b7ea06261b55..998ebff389451 100644
|
||||
--- a/src/scanner.l
|
||||
+++ b/src/scanner.l
|
||||
@@ -667,19 +667,20 @@ addrstring ({macaddr}|{ip4addr}|{ip6addr})
|
||||
static void scanner_push_indesc(struct parser_state *state,
|
||||
struct input_descriptor *indesc)
|
||||
{
|
||||
- state->indescs[state->indesc_idx] = indesc;
|
||||
- state->indesc = state->indescs[state->indesc_idx++];
|
||||
list_add_tail(&indesc->list, &state->indesc_list);
|
||||
+ state->indesc = indesc;
|
||||
+ state->indesc_idx++;
|
||||
}
|
||||
|
||||
static void scanner_pop_indesc(struct parser_state *state)
|
||||
{
|
||||
state->indesc_idx--;
|
||||
-
|
||||
- if (state->indesc_idx > 0)
|
||||
- state->indesc = state->indescs[state->indesc_idx - 1];
|
||||
- else
|
||||
+ if (!list_empty(&state->indesc_list)) {
|
||||
+ state->indesc = list_entry(state->indesc->list.prev,
|
||||
+ struct input_descriptor, list);
|
||||
+ } else {
|
||||
state->indesc = NULL;
|
||||
+ }
|
||||
}
|
||||
|
||||
static void scanner_pop_buffer(yyscan_t scanner)
|
||||
--
|
||||
2.28.0
|
||||
|
|
@ -0,0 +1,114 @@
|
|||
From 0b525f027dea51037ac2d8ddb8e67c365c4f199f Mon Sep 17 00:00:00 2001
|
||||
From: Laurent Fasnacht <fasnacht@protonmail.ch>
|
||||
Date: Mon, 10 Feb 2020 05:17:35 -0500
|
||||
Subject: [PATCH] Inclusion depth was computed incorrectly for glob includes.
|
||||
|
||||
Signed-off-by: Laurent Fasnacht <fasnacht@protonmail.ch>
|
||||
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
|
||||
(cherry picked from commit 6a28519008b239ac6985f8df46427459f6b5c624)
|
||||
Signed-off-by: Phil Sutter <psutter@redhat.com>
|
||||
---
|
||||
include/nftables.h | 2 ++
|
||||
src/scanner.l | 20 ++++++++++++++------
|
||||
2 files changed, 16 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/include/nftables.h b/include/nftables.h
|
||||
index 07726e4dd5a40..3556728de6f9b 100644
|
||||
--- a/include/nftables.h
|
||||
+++ b/include/nftables.h
|
||||
@@ -176,6 +176,7 @@ enum input_descriptor_types {
|
||||
*
|
||||
* @location: location, used for include statements
|
||||
* @f: file descriptor
|
||||
+ * @depth: include depth of the descriptor
|
||||
* @type: input descriptor type
|
||||
* @name: name describing the input
|
||||
* @union: buffer or file descriptor, depending on type
|
||||
@@ -187,6 +188,7 @@ enum input_descriptor_types {
|
||||
struct input_descriptor {
|
||||
struct list_head list;
|
||||
FILE *f;
|
||||
+ unsigned int depth;
|
||||
struct location location;
|
||||
enum input_descriptor_types type;
|
||||
const char *name;
|
||||
diff --git a/src/scanner.l b/src/scanner.l
|
||||
index 998ebff389451..dc20cd3d79d43 100644
|
||||
--- a/src/scanner.l
|
||||
+++ b/src/scanner.l
|
||||
@@ -693,7 +693,8 @@ static void scanner_pop_buffer(yyscan_t scanner)
|
||||
|
||||
static void scanner_push_file(struct nft_ctx *nft, void *scanner,
|
||||
FILE *f, const char *filename,
|
||||
- const struct location *loc)
|
||||
+ const struct location *loc,
|
||||
+ const struct input_descriptor *parent_indesc)
|
||||
{
|
||||
struct parser_state *state = yyget_extra(scanner);
|
||||
struct input_descriptor *indesc;
|
||||
@@ -709,19 +710,25 @@ static void scanner_push_file(struct nft_ctx *nft, void *scanner,
|
||||
indesc->type = INDESC_FILE;
|
||||
indesc->name = xstrdup(filename);
|
||||
indesc->f = f;
|
||||
+ if (!parent_indesc) {
|
||||
+ indesc->depth = 1;
|
||||
+ } else {
|
||||
+ indesc->depth = parent_indesc->depth + 1;
|
||||
+ }
|
||||
init_pos(indesc);
|
||||
|
||||
scanner_push_indesc(state, indesc);
|
||||
}
|
||||
|
||||
static int include_file(struct nft_ctx *nft, void *scanner,
|
||||
- const char *filename, const struct location *loc)
|
||||
+ const char *filename, const struct location *loc,
|
||||
+ const struct input_descriptor *parent_indesc)
|
||||
{
|
||||
struct parser_state *state = yyget_extra(scanner);
|
||||
struct error_record *erec;
|
||||
FILE *f;
|
||||
|
||||
- if (state->indesc_idx == MAX_INCLUDE_DEPTH) {
|
||||
+ if (parent_indesc && parent_indesc->depth == MAX_INCLUDE_DEPTH) {
|
||||
erec = error(loc, "Include nested too deeply, max %u levels",
|
||||
MAX_INCLUDE_DEPTH);
|
||||
goto err;
|
||||
@@ -733,7 +740,7 @@ static int include_file(struct nft_ctx *nft, void *scanner,
|
||||
filename, strerror(errno));
|
||||
goto err;
|
||||
}
|
||||
- scanner_push_file(nft, scanner, f, filename, loc);
|
||||
+ scanner_push_file(nft, scanner, f, filename, loc, parent_indesc);
|
||||
return 0;
|
||||
err:
|
||||
erec_queue(erec, state->msgs);
|
||||
@@ -744,6 +751,7 @@ static int include_glob(struct nft_ctx *nft, void *scanner, const char *pattern,
|
||||
const struct location *loc)
|
||||
{
|
||||
struct parser_state *state = yyget_extra(scanner);
|
||||
+ struct input_descriptor *indesc = state->indesc;
|
||||
struct error_record *erec = NULL;
|
||||
bool wildcard = false;
|
||||
glob_t glob_data;
|
||||
@@ -804,7 +812,7 @@ static int include_glob(struct nft_ctx *nft, void *scanner, const char *pattern,
|
||||
if (len == 0 || path[len - 1] == '/')
|
||||
continue;
|
||||
|
||||
- ret = include_file(nft, scanner, path, loc);
|
||||
+ ret = include_file(nft, scanner, path, loc, indesc);
|
||||
if (ret != 0)
|
||||
goto err;
|
||||
}
|
||||
@@ -841,7 +849,7 @@ err:
|
||||
int scanner_read_file(struct nft_ctx *nft, const char *filename,
|
||||
const struct location *loc)
|
||||
{
|
||||
- return include_file(nft, nft->scanner, filename, loc);
|
||||
+ return include_file(nft, nft->scanner, filename, loc, NULL);
|
||||
}
|
||||
|
||||
static bool search_in_include_path(const char *filename)
|
||||
--
|
||||
2.28.0
|
||||
|
|
@ -0,0 +1,35 @@
|
|||
From abd09a616fa7a0ce9000ced3d33d1ea83567e86e Mon Sep 17 00:00:00 2001
|
||||
From: Laurent Fasnacht <fasnacht@protonmail.ch>
|
||||
Date: Mon, 10 Feb 2020 10:17:27 +0000
|
||||
Subject: [PATCH] scanner: fix indesc_list stack to be in the correct order
|
||||
|
||||
This fixes the location displayed in error messages.
|
||||
|
||||
Signed-off-by: Laurent Fasnacht <fasnacht@protonmail.ch>
|
||||
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
|
||||
(cherry picked from commit 10aaa1130c2a574c8eebb0593651a9ee54db1021)
|
||||
Signed-off-by: Phil Sutter <psutter@redhat.com>
|
||||
---
|
||||
src/scanner.l | 6 +++++-
|
||||
1 file changed, 5 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/src/scanner.l b/src/scanner.l
|
||||
index dc20cd3d79d43..6852c19c4179b 100644
|
||||
--- a/src/scanner.l
|
||||
+++ b/src/scanner.l
|
||||
@@ -667,7 +667,11 @@ addrstring ({macaddr}|{ip4addr}|{ip6addr})
|
||||
static void scanner_push_indesc(struct parser_state *state,
|
||||
struct input_descriptor *indesc)
|
||||
{
|
||||
- list_add_tail(&indesc->list, &state->indesc_list);
|
||||
+ if (!state->indesc)
|
||||
+ list_add_tail(&indesc->list, &state->indesc_list);
|
||||
+ else
|
||||
+ list_add(&indesc->list, &state->indesc->list);
|
||||
+
|
||||
state->indesc = indesc;
|
||||
state->indesc_idx++;
|
||||
}
|
||||
--
|
||||
2.28.0
|
||||
|
|
@ -0,0 +1,60 @@
|
|||
From 4b0bda894a39df53d4369bab5d9e8799788d6047 Mon Sep 17 00:00:00 2001
|
||||
From: Laurent Fasnacht <fasnacht@protonmail.ch>
|
||||
Date: Mon, 10 Feb 2020 10:17:28 +0000
|
||||
Subject: [PATCH] scanner: remove parser_state->indesc_idx
|
||||
|
||||
Now that we have a proper stack implementation, we don't need an
|
||||
additional counter for the number of buffer state pushed.
|
||||
|
||||
Signed-off-by: Laurent Fasnacht <fasnacht@protonmail.ch>
|
||||
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
|
||||
(cherry picked from commit 4a7a152105be6513a096f6a502b6eabe4d9befc3)
|
||||
Signed-off-by: Phil Sutter <psutter@redhat.com>
|
||||
---
|
||||
include/parser.h | 1 -
|
||||
src/scanner.l | 6 ------
|
||||
2 files changed, 7 deletions(-)
|
||||
|
||||
diff --git a/include/parser.h b/include/parser.h
|
||||
index 66db92d8d7720..636d1c8810e48 100644
|
||||
--- a/include/parser.h
|
||||
+++ b/include/parser.h
|
||||
@@ -15,7 +15,6 @@
|
||||
|
||||
struct parser_state {
|
||||
struct input_descriptor *indesc;
|
||||
- unsigned int indesc_idx;
|
||||
struct list_head indesc_list;
|
||||
|
||||
struct list_head *msgs;
|
||||
diff --git a/src/scanner.l b/src/scanner.l
|
||||
index 6852c19c4179b..b0545a9a63f30 100644
|
||||
--- a/src/scanner.l
|
||||
+++ b/src/scanner.l
|
||||
@@ -673,12 +673,10 @@ static void scanner_push_indesc(struct parser_state *state,
|
||||
list_add(&indesc->list, &state->indesc->list);
|
||||
|
||||
state->indesc = indesc;
|
||||
- state->indesc_idx++;
|
||||
}
|
||||
|
||||
static void scanner_pop_indesc(struct parser_state *state)
|
||||
{
|
||||
- state->indesc_idx--;
|
||||
if (!list_empty(&state->indesc_list)) {
|
||||
state->indesc = list_entry(state->indesc->list.prev,
|
||||
struct input_descriptor, list);
|
||||
@@ -968,10 +966,6 @@ void scanner_destroy(struct nft_ctx *nft)
|
||||
{
|
||||
struct parser_state *state = yyget_extra(nft->scanner);
|
||||
|
||||
- do {
|
||||
- yypop_buffer_state(nft->scanner);
|
||||
- } while (state->indesc_idx--);
|
||||
-
|
||||
input_descriptor_list_destroy(state);
|
||||
yylex_destroy(nft->scanner);
|
||||
}
|
||||
--
|
||||
2.28.0
|
||||
|
|
@ -0,0 +1,57 @@
|
|||
From 720cec7b60777c63c5683fb7d24dc442853f2c35 Mon Sep 17 00:00:00 2001
|
||||
From: Pablo Neira Ayuso <pablo@netfilter.org>
|
||||
Date: Thu, 13 Feb 2020 13:27:18 +0100
|
||||
Subject: [PATCH] scanner: use list_is_first() from scanner_pop_indesc()
|
||||
|
||||
!list_empty() always stands true since the list is never empty
|
||||
when calling scanner_pop_indesc().
|
||||
|
||||
Check for list_is_first() which actually tells us this is the
|
||||
initial input file, hence, state->indesc is set to NULL.
|
||||
|
||||
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
|
||||
(cherry picked from commit f391fdd8e0fbaf3749819cfa0cd9b478f3630a7d)
|
||||
Signed-off-by: Phil Sutter <psutter@redhat.com>
|
||||
---
|
||||
include/list.h | 11 +++++++++++
|
||||
src/scanner.l | 2 +-
|
||||
2 files changed, 12 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/include/list.h b/include/list.h
|
||||
index 75d2921240101..9c4da81749ded 100644
|
||||
--- a/include/list.h
|
||||
+++ b/include/list.h
|
||||
@@ -33,6 +33,17 @@ static inline void init_list_head(struct list_head *list)
|
||||
list->prev = list;
|
||||
}
|
||||
|
||||
+/**
|
||||
+ * list_is_first -- tests whether @list is the first entry in list @head
|
||||
+ * @list: the entry to test
|
||||
+ * @head: the head of the list
|
||||
+ */
|
||||
+static inline int list_is_first(const struct list_head *list,
|
||||
+ const struct list_head *head)
|
||||
+{
|
||||
+ return list->prev == head;
|
||||
+}
|
||||
+
|
||||
/*
|
||||
* Insert a new entry between two known consecutive entries.
|
||||
*
|
||||
diff --git a/src/scanner.l b/src/scanner.l
|
||||
index b0545a9a63f30..d4d816fe66972 100644
|
||||
--- a/src/scanner.l
|
||||
+++ b/src/scanner.l
|
||||
@@ -677,7 +677,7 @@ static void scanner_push_indesc(struct parser_state *state,
|
||||
|
||||
static void scanner_pop_indesc(struct parser_state *state)
|
||||
{
|
||||
- if (!list_empty(&state->indesc_list)) {
|
||||
+ if (!list_is_first(&state->indesc->list, &state->indesc_list)) {
|
||||
state->indesc = list_entry(state->indesc->list.prev,
|
||||
struct input_descriptor, list);
|
||||
} else {
|
||||
--
|
||||
2.28.0
|
||||
|
|
@ -0,0 +1,41 @@
|
|||
From c96c7da272e33a34770c4de4e3e50f7ed264672e Mon Sep 17 00:00:00 2001
|
||||
From: Phil Sutter <phil@nwl.cc>
|
||||
Date: Wed, 13 May 2020 16:29:51 +0200
|
||||
Subject: JSON: Improve performance of json_events_cb()
|
||||
|
||||
The function tries to insert handles into JSON input for echo option.
|
||||
Yet there may be nothing to do if the given netlink message doesn't
|
||||
contain a handle, e.g. if it is an 'add element' command. Calling
|
||||
seqnum_to_json() is pointless overhead in that case, and if input is
|
||||
large this overhead is significant. Better wait with that call until
|
||||
after checking if the message is relevant at all.
|
||||
|
||||
Signed-off-by: Phil Sutter <phil@nwl.cc>
|
||||
Acked-by: Eric Garver <eric@garver.life>
|
||||
---
|
||||
src/parser_json.c | 9 ++++++---
|
||||
1 file changed, 6 insertions(+), 3 deletions(-)
|
||||
|
||||
Index: nftables-0.9.3/src/parser_json.c
|
||||
===================================================================
|
||||
--- nftables-0.9.3.orig/src/parser_json.c
|
||||
+++ nftables-0.9.3/src/parser_json.c
|
||||
@@ -3838,12 +3838,15 @@ static uint64_t handle_from_nlmsg(const
|
||||
}
|
||||
int json_events_cb(const struct nlmsghdr *nlh, struct netlink_mon_handler *monh)
|
||||
{
|
||||
- json_t *tmp, *json = seqnum_to_json(nlh->nlmsg_seq);
|
||||
uint64_t handle = handle_from_nlmsg(nlh);
|
||||
+ json_t *tmp, *json;
|
||||
void *iter;
|
||||
|
||||
- /* might be anonymous set, ignore message */
|
||||
- if (!json || !handle)
|
||||
+ if (!handle)
|
||||
+ return MNL_CB_OK;
|
||||
+
|
||||
+ json = seqnum_to_json(nlh->nlmsg_seq);
|
||||
+ if (!json)
|
||||
return MNL_CB_OK;
|
||||
|
||||
tmp = json_object_get(json, "add");
|
|
@ -0,0 +1,17 @@
|
|||
#
|
||||
# This file will contain your nftables rules and
|
||||
# is read by the systemd service when restarting
|
||||
#
|
||||
# These provide an iptables like set of filters
|
||||
# (uncomment to include)
|
||||
# include "/etc/nftables/arp-filter.nft"
|
||||
# include "/etc/nftables/bridge-filter.nft"
|
||||
# include "/etc/nftables/inet-filter.nft"
|
||||
# include "/etc/nftables/ipv4-filter.nft"
|
||||
# include "/etc/nftables/ipv4-mangle.nft"
|
||||
# include "/etc/nftables/ipv4-nat.nft"
|
||||
# include "/etc/nftables/ipv4-raw.nft"
|
||||
# include "/etc/nftables/ipv6-filter.nft"
|
||||
# include "/etc/nftables/ipv6-mangle.nft"
|
||||
# include "/etc/nftables/ipv6-nat.nft"
|
||||
# include "/etc/nftables/ipv6-raw.nft"
|
|
@ -0,0 +1,17 @@
|
|||
[Unit]
|
||||
Description=Netfilter Tables
|
||||
Documentation=man:nft(8)
|
||||
Wants=network-pre.target
|
||||
Before=network-pre.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ProtectSystem=full
|
||||
ProtectHome=true
|
||||
ExecStart=/sbin/nft -f /etc/sysconfig/nftables.conf
|
||||
ExecReload=/sbin/nft 'flush ruleset; include "/etc/sysconfig/nftables.conf";'
|
||||
ExecStop=/sbin/nft flush ruleset
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"Signatures": {
|
||||
"nftables-0.9.3.tar.bz2": "956b915ce2a7aeaff123e49006be7a0690a0964e96c062703181a36e2e5edb78",
|
||||
"nftables.conf": "0f50a7e6957b016cd40ba984548f2d9a7520b76ff3bb171f328c728e85114f6d",
|
||||
"nftables.service": "d47968b6e62e545602b0a18d60abb79a22cd375b09b51e0f629b392ec35e065b"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,311 @@
|
|||
Summary: Netfilter Tables userspace utillites
|
||||
Name: nftables
|
||||
Version: 0.9.3
|
||||
Release: 5%{?dist}
|
||||
License: GPLv2
|
||||
Vendor: Microsoft Corporation
|
||||
Distribution: Mariner
|
||||
URL: https://netfilter.org/projects/nftables/
|
||||
Source0: %{url}/files/%{name}-%{version}.tar.bz2
|
||||
Source1: nftables.service
|
||||
Source2: nftables.conf
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1834853
|
||||
Patch0: nftables-fix_json_events.patch
|
||||
Patch1: 0001-tests-json_echo-Fix-for-Python3.patch
|
||||
Patch2: 0002-tests-json_echo-Support-testing-host-binaries.patch
|
||||
Patch3: 0003-tests-monitor-Support-running-individual-test-cases.patch
|
||||
Patch4: 0004-tests-monitor-Support-testing-host-s-nft-binary.patch
|
||||
Patch5: 0005-tests-py-Support-testing-host-binaries.patch
|
||||
Patch6: 0006-tests-monitor-use-correct-nft-value-in-EXIT-trap.patch
|
||||
Patch7: 0007-scanner-incorrect-error-reporting-after-file-inclusi.patch
|
||||
Patch8: 0008-scanner-move-the-file-descriptor-to-be-in-the-input_.patch
|
||||
Patch9: 0009-scanner-move-indesc-list-append-in-scanner_push_inde.patch
|
||||
Patch10: 0010-scanner-remove-parser_state-indescs-static-array.patch
|
||||
Patch11: 0011-Inclusion-depth-was-computed-incorrectly-for-glob-in.patch
|
||||
Patch12: 0012-scanner-fix-indesc_list-stack-to-be-in-the-correct-o.patch
|
||||
Patch13: 0013-scanner-remove-parser_state-indesc_idx.patch
|
||||
Patch14: 0014-scanner-use-list_is_first-from-scanner_pop_indesc.patch
|
||||
|
||||
BuildRequires: asciidoc
|
||||
BuildRequires: bison
|
||||
BuildRequires: flex
|
||||
BuildRequires: gcc
|
||||
BuildRequires: gmp-devel
|
||||
BuildRequires: iptables-devel
|
||||
BuildRequires: jansson-devel
|
||||
BuildRequires: libmnl-devel
|
||||
BuildRequires: libnftnl-devel
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: readline-devel
|
||||
BuildRequires: systemd
|
||||
|
||||
%description
|
||||
Netfilter Tables userspace utilities.
|
||||
|
||||
%package devel
|
||||
Summary: Development library for nftables / libnftables
|
||||
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
Requires: pkg-config
|
||||
|
||||
%description devel
|
||||
Development tools and static libraries and header files for the libnftables library.
|
||||
|
||||
%package -n python3-nftables
|
||||
%{?python_provide:%python_provide python3-nftables}
|
||||
Summary: Python module providing an interface to libnftables
|
||||
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description -n python3-nftables
|
||||
The nftables python module provides an interface to libnftables via ctypes.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
#./autogen.sh
|
||||
%configure --disable-silent-rules --with-xtables --with-json \
|
||||
--enable-python --with-python-bin=python3
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
find %{buildroot} -type f -name "*.la" -delete -print
|
||||
|
||||
# Don't ship static lib (for now at least)
|
||||
rm -f %{buildroot}/%{_libdir}/libnftables.a
|
||||
|
||||
chmod 644 %{buildroot}/%{_mandir}/man8/nft*
|
||||
|
||||
mkdir -p %{buildroot}/%{_unitdir}
|
||||
cp -a %{SOURCE1} %{buildroot}/%{_unitdir}/
|
||||
|
||||
mkdir -p %{buildroot}/%{_sysconfdir}/sysconfig
|
||||
cp -a %{SOURCE2} %{buildroot}/%{_sysconfdir}/sysconfig/
|
||||
chmod 600 %{buildroot}/%{_sysconfdir}/sysconfig/nftables.conf
|
||||
|
||||
mkdir -m 700 -p %{buildroot}/%{_sysconfdir}/nftables
|
||||
chmod 600 %{buildroot}/%{_sysconfdir}/nftables/*.nft
|
||||
chmod 700 %{buildroot}/%{_sysconfdir}/nftables
|
||||
|
||||
# make nftables.py use the real library file name
|
||||
# to avoid nftables-devel package dependency
|
||||
sofile=$(readlink %{buildroot}/%{_libdir}/libnftables.so)
|
||||
sed -i -e 's/\(sofile=\)".*"/\1"'$sofile'"/' \
|
||||
%{buildroot}/%{python3_sitelib}/nftables/nftables.py
|
||||
|
||||
%post
|
||||
%systemd_post nftables.service
|
||||
%ldconfig_post
|
||||
|
||||
%preun
|
||||
%systemd_preun nftables.service
|
||||
|
||||
%postun
|
||||
%systemd_postun_with_restart nftables.service
|
||||
%ldconfig_postun
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%config(noreplace) %{_sysconfdir}/nftables/
|
||||
%config(noreplace) %{_sysconfdir}/sysconfig/nftables.conf
|
||||
%{_sbindir}/nft
|
||||
%{_libdir}/libnftables.so.*
|
||||
%{_mandir}/man5/libnftables-json.5*
|
||||
%{_mandir}/man8/nft*
|
||||
%{_unitdir}/nftables.service
|
||||
%{_docdir}/nftables/examples/*.nft
|
||||
|
||||
%files devel
|
||||
%{_libdir}/libnftables.so
|
||||
%{_libdir}/pkgconfig/libnftables.pc
|
||||
%{_includedir}/nftables/libnftables.h
|
||||
%{_mandir}/man3/libnftables.3*
|
||||
|
||||
%files -n python3-nftables
|
||||
%{python3_sitelib}/nftables-*.egg-info
|
||||
%{python3_sitelib}/nftables/
|
||||
|
||||
%changelog
|
||||
* Fri Jul 16 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 0.9.3-5
|
||||
- Initial CBL-Mariner import from Fedora 32 (license: MIT).
|
||||
- Dropped the epoch number.
|
||||
- License verified.
|
||||
|
||||
* Thu Jan 28 2021 Phil Sutter <psutter@redhat.com> - 1:0.9.3-4
|
||||
- scanner: use list_is_first() from scanner_pop_indesc()
|
||||
- scanner: remove parser_state->indesc_idx
|
||||
- scanner: fix indesc_list stack to be in the correct order
|
||||
- Inclusion depth was computed incorrectly for glob includes.
|
||||
- scanner: remove parser_state->indescs static array
|
||||
- scanner: move indesc list append in scanner_push_indesc
|
||||
- scanner: move the file descriptor to be in the input_descriptor structure
|
||||
- scanner: incorrect error reporting after file inclusion
|
||||
- tests: monitor: use correct $nft value in EXIT trap
|
||||
- Extend testsuites to run against installed binaries
|
||||
|
||||
* Fri May 15 2020 root <hobbes1069@gmail.com> - 1:0.9.3-3
|
||||
- Add patch for json performance with ipsets, fixes RHBZ#1834853.
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.9.3-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Wed Dec 04 2019 Phil Sutter <psutter@redhat.com> - 1:0.9.3-1
|
||||
- Update to 0.9.3. Fixes bug #1778959
|
||||
|
||||
* Tue Oct 01 2019 Phil Sutter <psutter@redhat.com> - 1:0.9.2-3
|
||||
- Drop unneeded docbook2X build dependency
|
||||
- Add python3-nftables sub-package
|
||||
|
||||
* Fri Aug 23 2019 Kevin Fenzi <kevin@scrye.com> - 0.9.2-2
|
||||
- Move libnftables section 3 man page to devel package.
|
||||
|
||||
* Fri Aug 23 2019 Kevin Fenzi <kevin@scrye.com> - 0.9.2-1
|
||||
- Update to 0.9.2. Fixes bug #1743223
|
||||
|
||||
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.9.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Fri Jun 28 2019 Kevin Fenzi <kevin@scrye.com> - 0.9.1-2
|
||||
- Add some filters to nftables.conf
|
||||
|
||||
* Tue Jun 25 2019 Kevin Fenzi <kevin@scrye.com> - 0.9.1-1
|
||||
- Update to 0.9.1. Fixes bug #1723515
|
||||
|
||||
* Mon Jun 17 2019 Kevin Fenzi <kevin@scrye.com> - 0.9.0-7
|
||||
- Rebuild for new libnftnl.
|
||||
|
||||
* Sat Mar 16 2019 Kevin Fenzi <kevin@scrye.com> - 1:0.9.0-6
|
||||
- Fix permissions. Bug #1685242
|
||||
|
||||
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1:0.9.0-5
|
||||
- Rebuild for readline 8.0
|
||||
|
||||
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.9.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sun Nov 04 2018 Kevin Fenzi <kevin@scrye.com> - 0.9.0-3
|
||||
- Fix config file to have correct include names. Fixes bug #1642103
|
||||
|
||||
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.9.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Sat Jun 09 2018 Kevin Fenzi <kevin@scrye.com> - 0.9.0-1
|
||||
- Update to 0.9.0. Fixes bug #1589404
|
||||
|
||||
* Fri May 11 2018 Kevin Fenzi <kevin@scrye.com> - 0.8.5-1
|
||||
- Update to 0.8.5. Fixes bug #1576802
|
||||
|
||||
* Sun May 06 2018 Kevin Fenzi <kevin@scrye.com> - 0.8.4-2
|
||||
- Fix devel package to require the Epoch too.
|
||||
- Fix libraries split
|
||||
|
||||
* Fri May 04 2018 Kevin Fenzi <kevin@scrye.com> - 0.8.4-1
|
||||
- Update to 0.8.4. Fixes bug #1574096
|
||||
|
||||
* Sat Mar 03 2018 Kevin Fenzi <kevin@scrye.com> - 0.8.3-1
|
||||
- Update to 0.8.3. Fixes bug #1551207
|
||||
|
||||
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.8.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Mon Feb 05 2018 Kevin Fenzi <kevin@scrye.com> - 0.8.2-1
|
||||
- Update to 0.8.2. Fixes bug #1541582
|
||||
|
||||
* Tue Jan 16 2018 Kevin Fenzi <kevin@scrye.com> - 0.8.1-1
|
||||
- Update to 0.8.1. Fixes bug #1534982
|
||||
|
||||
* Sun Oct 22 2017 Kevin Fenzi <kevin@scrye.com> - 0.8-1
|
||||
- Update to 0.8.
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.7-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.7-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.7-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 1:0.7-2
|
||||
- Rebuild for readline 7.x
|
||||
|
||||
* Thu Dec 22 2016 Kevin Fenzi <kevin@scrye.com> - 0.7-1
|
||||
- Update to 0.7
|
||||
|
||||
* Fri Jul 15 2016 Kevin Fenzi <kevin@scrye.com> - 0.6-2
|
||||
- Rebuild for new glibc symbols
|
||||
|
||||
* Thu Jun 02 2016 Kevin Fenzi <kevin@scrye.com> - 0.6-1
|
||||
- Update to 0.6.
|
||||
|
||||
* Sun Apr 10 2016 Kevin Fenzi <kevin@scrye.com> - 0.5-4
|
||||
- Add example config files and move config to /etc/sysconfig. Fixes bug #1313936
|
||||
|
||||
* Fri Mar 25 2016 Kevin Fenzi <kevin@scrye.com> - 0.5-3
|
||||
- Add systemd unit file. Fixes bug #1313936
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1:0.5-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Thu Sep 17 2015 Kevin Fenzi <kevin@scrye.com> 0.5-1
|
||||
- Update to 0.5
|
||||
|
||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1:0.4-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Sat Jan 10 2015 Kevin Fenzi <kevin@scrye.com> 0.4-2
|
||||
- Add patch to fix nft -f dep gen.
|
||||
|
||||
* Fri Dec 26 2014 Kevin Fenzi <kevin@scrye.com> 0.4-1
|
||||
- Update to 0.4
|
||||
- Add Epoch to fix versioning.
|
||||
|
||||
* Wed Sep 03 2014 Kevin Fenzi <kevin@scrye.com> 0.100-4.20140903git
|
||||
- Update to 20140903 snapshot
|
||||
|
||||
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.100-4.20140704git
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
* Fri Jul 04 2014 Kevin Fenzi <kevin@scrye.com> 0.100-3.20140704git
|
||||
- Update to new snapshot
|
||||
|
||||
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.100-2.20140426git
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
||||
|
||||
* Sat Apr 26 2014 Kevin Fenzi <kevin@scrye.com> 0.100-1.20140426git
|
||||
- Update t0 20140426
|
||||
|
||||
* Sun Mar 30 2014 Kevin Fenzi <kevin@scrye.com> 0.100-1.20140330git
|
||||
- Update to 20140330 snapshot
|
||||
- Sync versions to be post 0.100 release.
|
||||
|
||||
* Wed Mar 26 2014 Kevin Fenzi <kevin@scrye.com> 0-0.7.20140326git
|
||||
- Update to 20140326 snapshot
|
||||
- Fix permissions on man pages.
|
||||
|
||||
* Mon Mar 24 2014 Kevin Fenzi <kevin@scrye.com> 0-0.6.20140324git
|
||||
- Update to 20140324 snapshot
|
||||
|
||||
* Fri Mar 07 2014 Kevin Fenzi <kevin@scrye.com> 0-0.5.20140307git
|
||||
- Update to 20140307
|
||||
|
||||
* Sat Jan 25 2014 Kevin Fenzi <kevin@scrye.com> 0-0.4.20140125git
|
||||
- Update to 20140125 snapshot
|
||||
|
||||
* Sat Jan 18 2014 Kevin Fenzi <kevin@scrye.com> 0-0.3.20140118git
|
||||
- Update to 20140118 snapshot
|
||||
- Fixed License tag to be correct
|
||||
- Fixed changelog
|
||||
- nft scripts now use full path for nft
|
||||
- Fixed man page building
|
||||
- Dropped unneeded rm in install
|
||||
- Patched build to not be silent.
|
||||
|
||||
* Tue Dec 03 2013 Kevin Fenzi <kevin@scrye.com> 0-0.2.20131202git
|
||||
- Use upstream snapshots for source.
|
||||
- Use 0 for version.
|
||||
|
||||
* Sat Nov 30 2013 Kevin Fenzi <kevin@scrye.com> 0-0.1
|
||||
- initial version for Fedora review
|
|
@ -1020,6 +1020,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "dbus-python",
|
||||
"version": "1.2.16",
|
||||
"downloadUrl": "https://dbus.freedesktop.org/releases/dbus-python/dbus-python-1.2.16.tar.gz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
@ -1030,6 +1040,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "desktop-file-utils",
|
||||
"version": "0.24",
|
||||
"downloadUrl": "https://www.freedesktop.org/software/desktop-file-utils/releases/desktop-file-utils-0.24.tar.xz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
@ -1430,6 +1450,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "firewalld",
|
||||
"version": "0.9.4",
|
||||
"downloadUrl": "https://github.com/firewalld/firewalld/releases/download/v0.9.4/firewalld-0.9.4.tar.gz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
@ -1660,6 +1690,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "glusterfs",
|
||||
"version": "7.9",
|
||||
"downloadUrl": "https://download.gluster.org/pub/gluster/glusterfs/7/7.9/glusterfs-7.9.tar.gz"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
@ -3980,6 +4020,16 @@
|
|||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
"other": {
|
||||
"name": "nftables",
|
||||
"version": "0.9.3",
|
||||
"downloadUrl": "https://netfilter.org/projects/nftables//files/nftables-0.9.3.tar.bz2"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"component": {
|
||||
"type": "other",
|
||||
|
|
Загрузка…
Ссылка в новой задаче