Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.2:Ports
ulogd
ulogd.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ulogd.spec of Package ulogd
# # spec file for package ulogd # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: ulogd Version: 2.0.5 Release: 0 Summary: Userspace logging for Netfilter License: GPL-2.0 Group: Productivity/Networking/Security Url: http://netfilter.org/projects/ulogd/ #Git-Clone: git://git.netfilter.org/ulogd2 #DL-URL: http://netfilter.org/projects/ulogd/files/ Source: http://netfilter.org/projects/ulogd/files/%name-%version.tar.bz2 Source2: http://netfilter.org/projects/ulogd/files/%name-%version.tar.bz2.sig Source3: etc-init.d-ulogd Source4: ulogd.service Patch4: ulogd-conf.diff BuildRequires: autoconf >= 2.50 BuildRequires: automake >= 1.11 BuildRequires: libmysqlclient-devel BuildRequires: libpcap-devel BuildRequires: libtool BuildRequires: lksctp-tools-devel BuildRequires: pkgconfig >= 0.21 BuildRequires: postgresql-devel BuildRequires: sqlite3-devel BuildRequires: pkgconfig(libmnl) >= 1.0.3 BuildRequires: pkgconfig(libnetfilter_acct) >= 1.0.1 BuildRequires: pkgconfig(libnetfilter_conntrack) >= 1.0.2 BuildRequires: pkgconfig(libnetfilter_log) >= 1.0.0 BuildRequires: pkgconfig(libnfnetlink) >= 1.0.1 BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: systemd-rpm-macros Requires(pre): /usr/sbin/useradd %description ulogd is a userspace logging daemon for netfilter/iptables related logging. This includes per-packet logging of security violations, per-packet logging for accounting purpose as well as per-flow logging. %package mysql Summary: MySQL output target for ulogd Group: Productivity/Networking/Security Requires: %name = %version-%release %description mysql MySQL output target for ulogd. %package pcap Summary: pcap output target for ulogd Group: Productivity/Networking/Security Requires: %name = %version-%release %description pcap pcap output target for ulogd. %package pgsql Summary: PostgreSQL output target for ulogd Group: Productivity/Networking/Security Requires: %name = %version-%release %description pgsql PostgreSQL output target for ulogd. %package sqlite3 Summary: SQLite3 output target for ulogd Group: Productivity/Networking/Security Requires: %name = %version-%release %description sqlite3 SQLite3 output target for ulogd. %prep %setup -q %patch -P 4 -p1 %build autoreconf -fi %configure --disable-static make %{?_smp_mflags}; %install b="%buildroot"; make install DESTDIR="$b"; find "$b" -type f -iname "*.la" -delete; mkdir -p "$b/var/log/ulogd"; mkdir -p "$b/%_sysconfdir"; install -pm0644 ulogd.conf "$b/%_sysconfdir/"; %if 0%{?_unitdir:1} mkdir -p "$b/%_unitdir"; install -pm0644 "%{S:4}" "$b/%_unitdir"; %else mkdir -p "$b/%_initrddir" "$b/%_sbindir"; install -pm0755 "%{S:3}" "$b/%_initrddir/%name"; ln -s "%_initrddir/%name" "$b/%_sbindir/rc%name"; %endif %pre /usr/bin/getent passwd ulogd >/dev/null || \ /usr/sbin/useradd -c "Userspace logging daemon for Netfilter" -r ulogd || : %if 0%{?_unitdir:1} %service_add_pre ulogd.service %endif %if 0%{?_unitdir:1} %post %service_add_post ulogd.service %endif %if 0%{?_unitdir:1} %preun %service_del_preun ulogd.service %endif %postun %if 0%{?suse_version} %insserv_cleanup %endif %if 0%{?_unitdir:1} %service_del_postun ulogd.service %endif %files %defattr(-,root,root) %config(noreplace) %_sysconfdir/ulogd.conf %_sbindir/ulogd %dir %_libdir/%name %_libdir/%name/ulogd_[fir]*.so* %_libdir/%name/ulogd_output_GRAPHITE.so* %_libdir/%name/ulogd_output_GPRINT.so* %_libdir/%name/ulogd_output_LOGEMU.so* %_libdir/%name/ulogd_output_NACCT.so* %_libdir/%name/ulogd_output_OPRINT.so* %_libdir/%name/ulogd_output_SYSLOG.so* %_libdir/%name/ulogd_output_XML.so* %_mandir/*/* %attr(0750,ulogd,root) /var/log/ulogd %if 0%{?_unitdir:1} %_unitdir/ulogd.service %else %_initddir/%name %_sbindir/rc%name %endif # These are the dependency-heavy things: %files mysql %defattr(-,root,root) %_libdir/%name/ulogd_output_MYSQL.so* %files pcap %defattr(-,root,root) %_libdir/%name/ulogd_output_PCAP.so* %files pgsql %defattr(-,root,root) %_libdir/%name/ulogd_output_PGSQL.so* %files sqlite3 %defattr(-,root,root) %_libdir/%name/ulogd_output_SQLITE3.so* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor