Browse Source

ulogd-2.0.7-3

Tomohiro "Tomo-p" KATO 1 year 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
 Name: ulogd
 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
 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
 deprecated ULOG target (which has been superseded by NFLOG) is also supported.
 
+
 %package libdbi
 Summary: Libdbi framework output plugin for %{name}
-Group: System Environment/Daemons
+Group: system
 BuildRequires: libdbi-devel
 Requires: %{name} = %{version}
 %description libdbi
 %{name}-libdbi is a libdbi output plugin for %{name}. It enables logging of
 firewall information through a libdbi interface.
 
+
 %package mysql
 Summary: MySQL output plugin for %{name}
-Group: System Environment/Daemons
+Group: system
 BuildRequires: libmariadb-devel
 Requires: %{name} = %{version}
 %description mysql
 %{name}-mysql is a MySQL output plugin for %{name}. It enables logging of
 firewall information into a MySQL database.
 
+
 %package pgsql
 Summary: PostgreSQL output plugin for %{name}
-Group: System Environment/Daemons
+Group: system
 BuildRequires: libpq-devel
 Requires: %{name} = %{version}
 %description pgsql
 %{name}-pgsql is a PostgreSQL output plugin for %{name}. It enables logging of
 firewall information into a PostgreSQL database.
 
+
 %package pcap
 Summary: PCAP output plugin for %{name}
-Group: System Environment/Daemons
+Group: system
 BuildRequires: libpcap-devel
 Requires: %{name} = %{version}
 %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
 such as tcpdump and wireshark.
 
+
 %package sqlite
 Summary: SQLITE output plugin for %{name}
-Group: System Environment/Daemons
+Group: system
 BuildRequires: sqlite3-devel
 Requires: %{name} = %{version}
 %description sqlite
 %{name}-sqlite is a SQLITE output plugin for %{name}. It enables logging of
 firewall information into an SQLITE database.
 
+
+%debug_package
+
+
 %prep
 %setup -q
 
@@ -128,6 +137,14 @@ firewall information into an SQLITE database.
 %endif
 
 
+%check
+%{__make} %{?_smp_mflags} check
+
+
+%clean
+%{__rm} -rf %{buildroot}
+
+
 %post
 %if %{with systemd}
 %systemd_post %{name}.service
@@ -158,16 +175,12 @@ fi
 %endif
 
 
-%check
-%{__make} %{?_smp_mflags} check
-
-
-%clean
-%{__rm} -rf %{buildroot}
-
-
 %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}
 %if %{with systemd}
 %{_unitdir}/%{name}.service
@@ -175,12 +188,6 @@ fi
 %{_initrddir}/%{name}
 %endif
 %{_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?/*
 %config(noreplace) %{_sysconfdir}/%{name}.conf
 %config(noreplace) %{_sysconfdir}/logrotate.d/%{name}
@@ -223,6 +230,9 @@ fi
 %license COPYING
 
 %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
 - added systemd support (disabled as default).