Browse Source

ulogd-2.0.7-3

Tomohiro "Tomo-p" KATO 2 years ago
parent
commit
95d8664a8e
1 changed files with 32 additions and 22 deletions
  1. 32 22
      u/ulogd/ulogd-vl.spec

+ 32 - 22
u/ulogd/ulogd-vl.spec

@@ -4,8 +4,8 @@
 Summary: Userspace logging daemon for netfilter
 Summary: Userspace logging daemon for netfilter
 Name: ulogd
 Name: ulogd
 Version: 2.0.7
 Version: 2.0.7
-Release: 2%{?_dist_release}%{?with_systemd:.systemd}
-Group: System Environment/Daemons
+Release: 3%{?_dist_release}%{?with_systemd:.systemd}
+Group: system
 Vendor: Project Vine
 Vendor: Project Vine
 Distribution: Vine Linux
 Distribution: Vine Linux
 
 
@@ -43,36 +43,40 @@ enable support for connection tracking event delivery; ctnetlink and the NFLOG
 target in your Linux kernel 2.6.x or load their respective modules. The
 target in your Linux kernel 2.6.x or load their respective modules. The
 deprecated ULOG target (which has been superseded by NFLOG) is also supported.
 deprecated ULOG target (which has been superseded by NFLOG) is also supported.
 
 
+
 %package libdbi
 %package libdbi
 Summary: Libdbi framework output plugin for %{name}
 Summary: Libdbi framework output plugin for %{name}
-Group: System Environment/Daemons
+Group: system
 BuildRequires: libdbi-devel
 BuildRequires: libdbi-devel
 Requires: %{name} = %{version}
 Requires: %{name} = %{version}
 %description libdbi
 %description libdbi
 %{name}-libdbi is a libdbi output plugin for %{name}. It enables logging of
 %{name}-libdbi is a libdbi output plugin for %{name}. It enables logging of
 firewall information through a libdbi interface.
 firewall information through a libdbi interface.
 
 
+
 %package mysql
 %package mysql
 Summary: MySQL output plugin for %{name}
 Summary: MySQL output plugin for %{name}
-Group: System Environment/Daemons
+Group: system
 BuildRequires: libmariadb-devel
 BuildRequires: libmariadb-devel
 Requires: %{name} = %{version}
 Requires: %{name} = %{version}
 %description mysql
 %description mysql
 %{name}-mysql is a MySQL output plugin for %{name}. It enables logging of
 %{name}-mysql is a MySQL output plugin for %{name}. It enables logging of
 firewall information into a MySQL database.
 firewall information into a MySQL database.
 
 
+
 %package pgsql
 %package pgsql
 Summary: PostgreSQL output plugin for %{name}
 Summary: PostgreSQL output plugin for %{name}
-Group: System Environment/Daemons
+Group: system
 BuildRequires: libpq-devel
 BuildRequires: libpq-devel
 Requires: %{name} = %{version}
 Requires: %{name} = %{version}
 %description pgsql
 %description pgsql
 %{name}-pgsql is a PostgreSQL output plugin for %{name}. It enables logging of
 %{name}-pgsql is a PostgreSQL output plugin for %{name}. It enables logging of
 firewall information into a PostgreSQL database.
 firewall information into a PostgreSQL database.
 
 
+
 %package pcap
 %package pcap
 Summary: PCAP output plugin for %{name}
 Summary: PCAP output plugin for %{name}
-Group: System Environment/Daemons
+Group: system
 BuildRequires: libpcap-devel
 BuildRequires: libpcap-devel
 Requires: %{name} = %{version}
 Requires: %{name} = %{version}
 %description pcap
 %description pcap
@@ -80,15 +84,20 @@ Requires: %{name} = %{version}
 file. PCAP is a standard format that can be later analyzed by a lot of tools
 file. PCAP is a standard format that can be later analyzed by a lot of tools
 such as tcpdump and wireshark.
 such as tcpdump and wireshark.
 
 
+
 %package sqlite
 %package sqlite
 Summary: SQLITE output plugin for %{name}
 Summary: SQLITE output plugin for %{name}
-Group: System Environment/Daemons
+Group: system
 BuildRequires: sqlite3-devel
 BuildRequires: sqlite3-devel
 Requires: %{name} = %{version}
 Requires: %{name} = %{version}
 %description sqlite
 %description sqlite
 %{name}-sqlite is a SQLITE output plugin for %{name}. It enables logging of
 %{name}-sqlite is a SQLITE output plugin for %{name}. It enables logging of
 firewall information into an SQLITE database.
 firewall information into an SQLITE database.
 
 
+
+%debug_package
+
+
 %prep
 %prep
 %setup -q
 %setup -q
 
 
@@ -128,6 +137,14 @@ firewall information into an SQLITE database.
 %endif
 %endif
 
 
 
 
+%check
+%{__make} %{?_smp_mflags} check
+
+
+%clean
+%{__rm} -rf %{buildroot}
+
+
 %post
 %post
 %if %{with systemd}
 %if %{with systemd}
 %systemd_post %{name}.service
 %systemd_post %{name}.service
@@ -158,16 +175,12 @@ fi
 %endif
 %endif
 
 
 
 
-%check
-%{__make} %{?_smp_mflags} check
-
-
-%clean
-%{__rm} -rf %{buildroot}
-
-
 %files
 %files
-%defattr(0755,root,root,0755)
+%license COPYING
+%doc AUTHORS README
+%if %{with doc}
+%doc doc/%{name}.txt doc/%{name}.ps doc/%{name}.html
+%endif
 %{_sbindir}/%{name}
 %{_sbindir}/%{name}
 %if %{with systemd}
 %if %{with systemd}
 %{_unitdir}/%{name}.service
 %{_unitdir}/%{name}.service
@@ -175,12 +188,6 @@ fi
 %{_initrddir}/%{name}
 %{_initrddir}/%{name}
 %endif
 %endif
 %{_libdir}/%{name}
 %{_libdir}/%{name}
-%defattr(0644,root,root,0755)
-%license COPYING
-%doc AUTHORS README
-%if %{with doc}
-%doc doc/%{name}.txt doc/%{name}.ps doc/%{name}.html
-%endif
 %doc %{_mandir}/man?/*
 %doc %{_mandir}/man?/*
 %config(noreplace) %{_sysconfdir}/%{name}.conf
 %config(noreplace) %{_sysconfdir}/%{name}.conf
 %config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
 %config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
@@ -223,6 +230,9 @@ fi
 %license COPYING
 %license COPYING
 
 
 %changelog
 %changelog
+* Tue Sep 28 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.7-3
+- fixed permissions.
+
 * Sat Apr 18 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.7-2
 * Sat Apr 18 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.7-2
 - added systemd support (disabled as default).
 - added systemd support (disabled as default).