diff mbox series

[ulogd] ulogd2: cleanup downstream files

Message ID 152275008942.7761.14743698099565721947.stgit@endurance
State Accepted
Delegated to: Pablo Neira
Headers show
Series [ulogd] ulogd2: cleanup downstream files | expand

Commit Message

Arturo Borrero Gonzalez April 3, 2018, 10:08 a.m. UTC
These files are outdated and they belong to downstream users (distributions).
Providing outdated and unmaintained files here serves no purpose other than
confusing users and annoy packagers.

If an user is using ulogd2 directly from the source tarball, I would expect it
to be proficient enough to generate these files by itself.

Signed-off-by: Arturo Borrero Gonzalez <arturo@netfilter.org>
---
 ulogd.init      |   61 ----------------------------
 ulogd.logrotate |    7 ---
 ulogd.spec      |  119 -------------------------------------------------------
 3 files changed, 187 deletions(-)
 delete mode 100755 ulogd.init
 delete mode 100644 ulogd.logrotate
 delete mode 100644 ulogd.spec


--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Pablo Neira Ayuso April 11, 2018, 8:40 a.m. UTC | #1
On Tue, Apr 03, 2018 at 12:08:09PM +0200, Arturo Borrero Gonzalez wrote:
> These files are outdated and they belong to downstream users (distributions).
> Providing outdated and unmaintained files here serves no purpose other than
> confusing users and annoy packagers.
> 
> If an user is using ulogd2 directly from the source tarball, I would expect it
> to be proficient enough to generate these files by itself.

Looks good, applied, thanks Arturo.
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox series

Patch

diff --git a/ulogd.init b/ulogd.init
deleted file mode 100755
index b678652..0000000
--- a/ulogd.init
+++ /dev/null
@@ -1,61 +0,0 @@ 
-#!/bin/sh
-#
-# chkconfig: 345 81 19
-# description: ulogd is the userspace logging daemon for netfilter/iptables
-#
-
-
-. /etc/rc.d/init.d/functions
-
-
-function start()
-{
-	printf "Starting %s: " "ulogd"
-	daemon /usr/sbin/ulogd -d
-	echo
-	touch /var/lock/subsys/ulogd
-}
-
-
-function stop()
-{
-	printf "Stopping %s: " "ulogd"
-	killproc ulogd
-	echo
-	rm -f /var/lock/subsys/ulogd
-}
-
-
-function reload()
-{
-	pid=`pidof ulogd`
-	if [ "x$pid" != "x" ]; then
-		kill -HUP $pid 2>/dev/null
-	fi
-	touch /var/lock/subsys/ulogd
-}
-
-
-case "$1" in
-  start)
-	start
-	;;
-  stop)
-  	stop
-	;;
-  restart)
-	stop
-	start
-	;;
-  reload)
-	reload
-	;;
-  status)
-	status ulogd
-	;;
-  *)
-	printf "Usage: %s {start|stop|status|restart|reload}\n" "ulogd"
-	exit 1
-esac
-
-exit 0
diff --git a/ulogd.logrotate b/ulogd.logrotate
deleted file mode 100644
index 8470811..0000000
--- a/ulogd.logrotate
+++ /dev/null
@@ -1,7 +0,0 @@ 
-/var/log/ulogd* {
-    missingok
-    sharedscripts
-    postrotate
-	/bin/killall -HUP ulogd 2> /dev/null || true
-    endscript
-}
diff --git a/ulogd.spec b/ulogd.spec
deleted file mode 100644
index c22b287..0000000
--- a/ulogd.spec
+++ /dev/null
@@ -1,119 +0,0 @@ 
-Summary: ulogd - The userspace logging daemon for netfilter
-Name: ulogd
-Version: 2.00beta
-Release: 1gm
-License: GPL
-Group: Network
-Source: http://ftp.netfilter.org/pub/ulogd/%{name}-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-root
-Packager: Harald Welte <laforge@netfilter.org>
-BuildRequires: MySQL-devel postgresql-devel libpcap-devel libnfnetlink libnetfilter_conntrack libnetfilter_log
-#BuildRequires: mysql-devel
-
-%package mysql
-Summary: MySQL output plugin for ulogd-2.x
-Group: Network
-
-%package pgsql
-Summary: PostgreSQL output plugin for ulogd-2.x
-Group: Network
-
-%package pcap
-Summary: libpcap output plugin for ulogd-2.x
-Group: Network
-
-%package nflog
-Summary: netfilter_log input plugin for ulogd-2.x
-Group: Network
-
-%package ctnl
-Summary: netfilter_conntrack input plugin for ulogd-2.x
-Group: Network
-
-%description
-ulogd is an universal logging daemon for the ULOG target of netfilter, the
-Linux 2.4 firewalling subsystem. ulogd is able to log packets in variuos
-formats to different targets (text files, databases, etc..). It has an
-easy-to-use plugin interface to add new protocols and new output targets.
-
-%description mysql
-ulogd-mysql is a MySQL output plugin for ulogd. It enables logging of
-firewall information into a MySQL database.
-
-%description pgsql
-ulogd-mysql is a PostgreSQL output plugin for ulogd. It enables logging of
-firewall information into a PostgreSQL database.
-
-%prep
-%setup
-
-%build
-%configure --with-mysql=/usr/lib/mysql --with-pgsql=/usr/lib/postgresql
-make
-
-%install
-rm -rf %{buildroot}
-mkdir -p %{buildroot}/%{_sysconfdir}
-mkdir -p %{buildroot}/%{_libdir}/ulogd
-mkdir -p %{buildroot}/%{_sbindir}/sbin
-mkdir -p %{buildroot}/%{_mandir}/man8
-make DESTDIR=%{buildroot} install
-
-mkdir -p %{buildroot}/%{_sysconfdir}/rc.d/init.d
-install ulogd.init %{buildroot}/%{_sysconfdir}/rc.d/init.d/ulogd
-install ulogd.8 %{buildroot}/%{_mandir}/man8/ulogd.8
-		
-%clean
-rm -rf %{buildroot}
-
-%files
-%defattr(0644,root,root,0755)
-%attr(0755,root,root) %{_sbindir}/ulogd
-%{_sysconfdir}/ulogd.conf
-%{_sysconfdir}/rc.d/init.d/ulogd
-%{_mandir}/man8/*
-%dir %{_libdir}/ulogd
-%{_libdir}/ulogd/ulogd_BASE.so
-%{_libdir}/ulogd/ulogd_LOCAL.so
-%{_libdir}/ulogd/ulogd_LOGEMU.so
-%{_libdir}/ulogd/ulogd_OPRINT.so
-%{_libdir}/ulogd/ulogd_PWSNIFF.so
-%{_libdir}/ulogd/ulogd_PCAP.so
-%doc COPYING AUTHORS README
-%doc doc/ulogd.txt doc/ulogd.a4.ps doc/ulogd.html
-
-%files mysql
-%defattr(0644,root,root,0755)
-%{_libdir}/ulogd/ulogd_MYSQL.so
-
-%files pgsql
-%defattr(0644,root,root,0755)
-%{_libdir}/ulogd/ulogd_PGSQL.so
-
-%changelog
-* Sat Aug 25 2003 Harald Welte <laforge@gnumonks.org>
-+ ulogd-1.00-1gm
-- updated to 1.01 release
-- add ulogd.8 manpage
-
-* Wed Mar 05 2003 Harald Welte <laforge@gnumonks.org>
-+ ulogd-1.00-1gm
-- updated to 1.00 release
-
-* Mon Sep 24 2001 Harald Welte <laforge@conectiva.com>
-+ ulogd-0.97-1cl
-- updatd to 0.97 release (to fix endless-one-packet-loop bug)
-
-* Sun Jun 17 2001 Harald Welte <laforge@conectiva.com>
-+ ulogd-0.96-2cl
-- updated to 0.96 final release
-- use ulogd.init from within source tgz
-
-* Sun May 20 2001 Harald Welte <laforge@conectiva.com>
-+ ulogd-0.96-1cl
-- Initial conectiva package
-- cleaned up SPEC file
-- created mysql subpackage
-
-* Sun Nov 19 2000 Harald Welte <laforge@gnumonks.org>
-- Initial RPM package for ulogd-0.9.