SPECS: oidentd.spec - rel 2 - added banner about netlink and tcp_d...

baggins baggins at pld-linux.org
Thu Feb 28 16:14:15 CET 2008


Author: baggins                      Date: Thu Feb 28 15:14:15 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- rel 2
- added banner about netlink and tcp_diag kernel module
  (reading /proc/net/tcp takes 10s on machine with 32GB RAM and ~800 connections :/)

---- Files affected:
SPECS:
   oidentd.spec (1.63 -> 1.64) 

---- Diffs:

================================================================
Index: SPECS/oidentd.spec
diff -u SPECS/oidentd.spec:1.63 SPECS/oidentd.spec:1.64
--- SPECS/oidentd.spec:1.63	Tue Feb 13 08:16:50 2007
+++ SPECS/oidentd.spec	Thu Feb 28 16:14:09 2008
@@ -3,7 +3,7 @@
 Summary(pl.UTF-8):	Serwer ident z obsługą maskowanych adresów IP
 Name:		oidentd
 Version:	2.0.8
-Release:	1
+Release:	2
 License:	GPL
 Group:		Networking/Daemons
 Source0:	http://dl.sourceforge.net/ojnk/%{name}-%{version}.tar.gz
@@ -108,6 +108,17 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%banner %{name} -e <<EOF
+###################################################################
+#                                                                 #
+# NOTICE:                                                         #
+# You need to load 'tcp_diag' kernel module for oidentd to use    #
+# netlink interface instead of (very slow) /proc/net/tcp          #
+#                                                                 #
+###################################################################
+EOF
+
 %post standalone
 /sbin/chkconfig --add %{name}
 %service oidentd restart
@@ -150,7 +161,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.63  2007-02-13 07:16:50  glen
+Revision 1.64  2008-02-28 15:14:09  baggins
+- rel 2
+- added banner about netlink and tcp_diag kernel module
+  (reading /proc/net/tcp takes 10s on machine with 32GB RAM and ~800 connections :/)
+
+Revision 1.63  2007/02/13 07:16:50  glen
 - tabs in preamble
 
 Revision 1.62  2007/02/12 00:49:14  baggins
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/oidentd.spec?r1=1.63&r2=1.64&f=u



More information about the pld-cvs-commit mailing list