Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.1:Update
ulogd2
ulogd2.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ulogd2.spec of Package ulogd2
# # spec file for package ulogd2 # # Copyright (c) 2011 SUSE LINUX Products 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: ulogd2 Version: 2.0.0.beta4 Release: 1 %define pkname ulogd %define llver 2.0.0~beta4+git32 Group: Productivity/Networking/Security Summary: Userspace logging for Netfilter License: GPL Url: http://netfilter.org/projects/ulogd/ Source: ulogd-%llver.tar.bz2 Source2: etc-init.d-ulogd Patch1: ulogd-conf.diff BuildRequires: libnetfilter_conntrack-devel libnfnetlink-devel BuildRequires: libnetfilter_log-devel lksctp-tools-devel pkg-config BuildRequires: libmysqlclient-devel libpcap-devel postgresql-devel BuildRequires: sqlite3-devel BuildRoot: %{_tmppath}/%{name}-%{version}-build 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. Author(s): ---------- Netfilter Team <netfilter-devel@vger.kernel.org> Éric Leblond Pierre Chifflier Pablo Neira Aysuo Harald Welte %package mysql License: GPL Summary: MySQL output target for ulogd2 Group: Productivity/Networking/Security Requires: %name = %version-%release %description mysql MySQL output target for ulogd2. Author(s): ---------- Netfilter Team <netfilter-devel@vger.kernel.org> Éric Leblond Pierre Chifflier Harald Welte %package pcap License: GPL Summary: pcap output target for ulogd2 Group: Productivity/Networking/Security Requires: %name = %version-%release %description pcap pcap output target for ulogd2. Author(s): ---------- Netfilter Team <netfilter-devel@vger.kernel.org> Éric Leblond Pierre Chifflier Harald Welte %package pgsql License: GPL Summary: PostgreSQL output target for ulogd2 Group: Productivity/Networking/Security Requires: %name = %version-%release %description pgsql PostgreSQL output target for ulogd2. Author(s): ---------- Netfilter Team <netfilter-devel@vger.kernel.org> Harald Welte %package sqlite3 License: GPL Summary: SQLite3 output target for ulogd2 Group: Productivity/Networking/Security Requires: %name = %version-%release %description sqlite3 SQLite3 output target for ulogd2. Author(s): ---------- Ben La Monica <ben.lamonica@gmail.com> %prep %setup -qn ulogd2 %patch -P 1 -p1 %build if [ ! -e configure ]; then ./autogen.sh; fi; %configure --disable-static --with-pcap-lib=%_libdir make %{?_smp_mflags}; %install b="%buildroot"; rm -Rf "$b"; mkdir -p "$b"; 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/"; mkdir -p "$b/%_initrddir" "$b/%_sbindir"; install -pm0755 "%{S:2}" "$b/%_initrddir/%name"; ln -s "%_initrddir/%name" "$b/%_sbindir/rc%name"; %pre /usr/bin/getent passwd ulogd >/dev/null || \ /usr/sbin/useradd -c "Userspace logging daemon for Netfilter" -r ulogd || : %files %defattr(-,root,root) %config(noreplace) %_sysconfdir/ulogd.conf %_initrddir/%name %_sbindir/* %dir %_libexecdir/%pkname %_libexecdir/%pkname/ulogd_[fir]*.so* %_libexecdir/%pkname/ulogd_output_LOGEMU.so* %_libexecdir/%pkname/ulogd_output_NACCT.so* %_libexecdir/%pkname/ulogd_output_OPRINT.so* %_libexecdir/%pkname/ulogd_output_SYSLOG.so* %_libexecdir/%pkname/ulogd_output_XML.so* %_mandir/*/* %attr(0750,ulogd,root) /var/log/ulogd # These are the dependency-heavy things: %files mysql %defattr(-,root,root) %_libexecdir/%pkname/ulogd_output_MYSQL.so* %files pcap %defattr(-,root,root) %_libexecdir/%pkname/ulogd_output_PCAP.so* %files pgsql %defattr(-,root,root) %_libexecdir/%pkname/ulogd_output_PGSQL.so* %files sqlite3 %defattr(-,root,root) %_libexecdir/%pkname/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