packages: libnet/libnet.spec, libnet/libnet-proc.patch (NEW) - rel 6; don't...

arekm arekm at pld-linux.org
Fri Aug 28 22:00:28 CEST 2009


Author: arekm                        Date: Fri Aug 28 20:00:28 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 6; don't rely on mounted /proc

---- Files affected:
packages/libnet:
   libnet.spec (1.55 -> 1.56) , libnet-proc.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/libnet/libnet.spec
diff -u packages/libnet/libnet.spec:1.55 packages/libnet/libnet.spec:1.56
--- packages/libnet/libnet.spec:1.55	Mon Nov  3 17:31:56 2008
+++ packages/libnet/libnet.spec	Fri Aug 28 22:00:23 2009
@@ -4,7 +4,7 @@
 Summary(pt_BR.UTF-8):	API para funções de rede de baixo nível
 Name:		libnet
 Version:	1.1.2.1
-Release:	5
+Release:	6
 Epoch:		1
 License:	BSD
 Group:		Libraries
@@ -13,6 +13,7 @@
 Patch0:		%{name}-shared.patch
 Patch1:		%{name}-am.patch
 Patch2:		%{name}-leaking-fd.patch
+Patch3:		%{name}-proc.patch
 URL:		http://www.packetfactory.net/libnet/
 BuildRequires:	autoconf
 BuildRequires:	automake
@@ -94,6 +95,7 @@
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 %{__libtoolize}
@@ -152,6 +154,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.56  2009/08/28 20:00:23  arekm
+- rel 6; don't rely on mounted /proc
+
 Revision 1.55  2008/11/03 16:31:56  radek
 - release 5: leaking-fd.patch
 

================================================================
Index: packages/libnet/libnet-proc.patch
diff -u /dev/null packages/libnet/libnet-proc.patch:1.1
--- /dev/null	Fri Aug 28 22:00:29 2009
+++ packages/libnet/libnet-proc.patch	Fri Aug 28 22:00:23 2009
@@ -0,0 +1,23 @@
+--- libnet/acinclude.m4~	2004-01-16 00:53:06.000000000 +0100
++++ libnet/acinclude.m4	2009-08-28 21:58:51.368425567 +0200
+@@ -12,18 +12,9 @@
+ dnl results:    HAVE_LINUX_PROCFS
+ dnl
+ AC_DEFUN(AC_LIBNET_LINUX_PROCFS,
+-    [AC_MSG_CHECKING(for Linux proc filesystem)
+-    AC_CACHE_VAL(ac_cv_libnet_linux_procfs,
+-        if test "x`cat /proc/sys/kernel/ostype 2>&-`" = "xLinux" ; then
+-            ac_cv_libnet_linux_procfs=yes
+-        else
+-            ac_cv_libnet_linux_procfs=no
+-        fi)
+-    AC_MSG_RESULT($ac_cv_libnet_linux_procfs)
+-    if test $ac_cv_libnet_linux_procfs = yes ; then
+-        AC_DEFINE(HAVE_LINUX_PROCFS, 1,
++    [AC_DEFINE(HAVE_LINUX_PROCFS, 1,
+                   [Define if you have the Linux /proc filesystem.])
+-    fi])
++    ])
+ 
+ dnl
+ dnl Checks to see if this linux kernel has a working PF_PACKET
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/libnet/libnet.spec?r1=1.55&r2=1.56&f=u



More information about the pld-cvs-commit mailing list