Update of /cvsroot/fink/dists/10.2/unstable/main/finkinfo/net
In directory sc8-pr-cvs1:/tmp/cvs-serv2840
Added Files:
libnet-1.1.0-2.info libnet-1.1.0-2.patch
Log Message:
added libnet-config.
--- NEW FILE: libnet-1.1.0-2.info ---
Package: libnet
Version: 1.1.0
Revision: 2
Maintainer: Jeremy Higgs <[EMAIL PROTECTED]>
Source: http://www.packetfactory.net/%n/dist/%n-%v.tar.gz
SourceDirectory: Libnet-latest
Source-MD5: b46e650d9d0e7ad5ef9439c7cd281922
Depends: jaguar-missing-headers
Patch: %f.patch
DocFiles: README doc/BUGS doc/CHANGELOG doc/CONTRIB doc/COPYING doc/DESIGN_NOTES
doc/MIGRATION doc/PACKET_BUILDING doc/PORTED doc/RAWSOCKET_NON_SEQUITUR
doc/SUPPORTED_PROTOCOLS doc/TODO
ConfigureParams: --mandir='$(prefix)/share/man'
InstallScript: <<
make install prefix=%i
mkdir -p %i/bin
cp libnet-config %i/bin
chmod 0755 %i/bin/libnet-config
<<
Description: Set of routines to handle network packets
DescPort: <<
Patch applied to compile on Darwin (courtesy of Terry Simons).
<<
Homepage: http://www.packetfactory.net/projects/libnet/
License: BSD
--- NEW FILE: libnet-1.1.0-2.patch ---
diff -ruN Libnet-latest/Makefile.in Libnet-latest-patched/Makefile.in
--- Libnet-latest/Makefile.in Tue Aug 6 08:26:03 2002
+++ Libnet-latest-patched/Makefile.in Sun Nov 17 19:23:34 2002
@@ -1,6 +1,8 @@
-# Makefile.in generated automatically by automake 1.4-p5 from Makefile.am
+# Makefile.in generated by automake 1.6.1 from Makefile.am.
+# @configure_input@
-# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
+# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
+# Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
@@ -10,7 +12,9 @@
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
# PARTICULAR PURPOSE.
-# $Id: Makefile.in,v 1.1.1.1 2002/08/05 22:26:03 route Exp $
[...9430 lines suppressed...]
--- Libnet-latest/src/libnet_link_bpf.c Tue Aug 6 08:26:03 2002
+++ Libnet-latest-patched/src/libnet_link_bpf.c Sun Nov 17 19:23:35 2002
@@ -97,7 +97,7 @@
struct bpf_version bv;
u_int v;
-#if defined(BIOCGHDRCMPLT) && defined(BIOCSHDRCMPLT)
+#if defined(BIOCGHDRCMPLT) && defined(BIOCSHDRCMPLT) && (__APPLE__)
u_int spoof_eth_src = 1;
#endif
@@ -162,7 +162,7 @@
* NetBSD and FreeBSD BPF have an ioctl for enabling/disabling
* automatic filling of the link level source address.
*/
-#if defined(BIOCGHDRCMPLT) && defined(BIOCSHDRCMPLT)
+#if defined(BIOCGHDRCMPLT) && defined(BIOCSHDRCMPLT) && !(__APPLE__)
if (ioctl(l->fd, BIOCSHDRCMPLT, &spoof_eth_src) == -1)
{
snprintf(l->err_buf, LIBNET_ERRBUF_SIZE,
-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T
handheld. Power & Color in a compact size!
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits