Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/net
In directory vz-cvs-3.sog:/tmp/cvs-serv16184/net
Added Files:
etherape.info etherape.patch
Log Message:
Updated and ported to 10.7
--- NEW FILE: etherape.patch ---
diff -ru etherape-0.9.12-orig/src/decode_proto.c
etherape-0.9.12/src/decode_proto.c
--- etherape-0.9.12-orig/src/decode_proto.c 2011-07-26 04:04:42.000000000
+0200
+++ etherape-0.9.12/src/decode_proto.c 2011-07-26 04:47:52.000000000 +0200
@@ -27,6 +27,8 @@
#include "appdata.h"
#include <ctype.h>
#include <string.h>
+#include <stdint.h>
+#include <sys/socket.h>
#ifdef HAVE_ARPA_INET_H
#include <arpa/inet.h>
#endif
diff -ru etherape-0.9.12-orig/src/thread_resolve.c
etherape-0.9.12/src/thread_resolve.c
--- etherape-0.9.12-orig/src/thread_resolve.c 2011-07-26 04:04:42.000000000
+0200
+++ etherape-0.9.12/src/thread_resolve.c 2011-07-26 05:09:35.000000000
+0200
@@ -35,11 +35,7 @@
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
-#if defined(__MACH__) && defined(__APPLE__)
-#include <arpa/nameser_compat.h>
-#else
#include <arpa/nameser.h>
-#endif
#include <netdb.h>
#include <resolv.h>
#include <unistd.h>
@@ -54,6 +50,8 @@
#include "ip-cache.h"
#include "thread_resolve.h"
+#define FORCE_SINGLE_THREAD
+
#define ETHERAPE_THREAD_POOL_SIZE 6
static pthread_t resolver_threads[ETHERAPE_THREAD_POOL_SIZE];
static int resolver_threads_num = 0;
@@ -134,7 +132,7 @@
free(el); /* item saved, link elem now useless, freeing */
-#ifdef FORCE_SINGLE_THREAD
+#ifdef FORCE_SINGLE_THREAD
/* if forced single thread, uses gethostbyaddr */
result=0;
resultptr = gethostbyaddr (&curitem->ip.addr8,
--- NEW FILE: etherape.info ---
Package: etherape
Version: 0.9.12
Revision: 1
Maintainer: Matthias Neeracher <[email protected]>
BuildDepends: rarian-compat, libbind6-dev, esound (>= 0.2.38-1), glitz, expat1,
libpng3, cairo (>= 1.6-1), fontconfig2-dev (>= 2.4.1-1), freetype219 (>=
2.3.5-1), xft2-dev, gtk+2-dev (>= 2.12.0-1), libpcap1, libglade2 (>= 2.6.2-1),
libgnome2-dev (>= 2.20.0-1), libgnomeui2-dev (>= 2.20.0-1), pkgconfig (>=
0.21-1), glib2-dev (>= 2.14.0-1), pango1-xft2-ft219-dev (>= 1.18.4-4), pixman
(>= 0.10.0-1), atk1 (>= 1.20.0-1), libxml2 (>= 2.6.30-1), orbit2-dev (>=
2.14.9-1), libbonobo2-dev (>= 2.20.0-1), gconf2-dev (>= 2.20.0-1), dbus1.3-dev
(>= 1.0-1), gnome-vfs2-unified-dev (>= 1:2.20.0-1), libgnomecanvas2-dev (>=
2.20.0-1), libart2, libbonoboui2-dev (>= 2.20.0-1), popt, gnome-keyring-dev (>=
0.8.1-1), libgettext3-dev, gettext-tools, libiconv-dev, x11-dev, libjpeg,
audiofile, fink (>= 0.24.12), gnome-doc-utils
Depends: rarian-compat, libbind6, atk1-shlibs (>= 1.20.0-1), gtk+2 (>=
2.12.0-1), libpcap1-shlibs, libgnome2 (>= 2.20.0-1), libgnomeui2-shlibs,
libgettext3-shlibs, libjpeg-shlibs, audiofile-shlibs, libbonoboui2-shlibs,
libbonoboui2
Source: mirror:sourceforge:%n/%n-%v.tar.gz
Source-MD5: 712dfd7ecd82049c6bc11cead979a806
PatchFile: %n.patch
PatchFile-MD5: f7afb68a3196c572668dbf7a3c51a671
PatchScript: <<
%{default_script}
perl -pi -e 's/-scrollkeeper-update.*$/-echo "no
scrollkeeper-update"/g' `find . -name \*.make -o -name Makefile.in`
<<
ConfigureParams: --mandir=%p/share/man --disable-dependency-tracking
PKG_CONFIG_PATH="%p/lib/pango-ft219/lib/pkgconfig:%p/lib/fontconfig2/lib/pkgconfig:%p/lib/freetype219/lib/pkgconfig:$PKG_CONFIG_PATH"
FREETYPE_CONFIG=%p/lib/freetype219/bin/freetype-config
SetCPPFLAGS: -DBIND_8_COMPAT -I%p/include/bind
-Werror=implicit-function-declaration
SetLDFLAGS: -lbind
InfoTest: <<
TestDepends: fink-package-precedence
TestConfigureParams: --enable-dependency-tracking
TestScript: <<
#!/bin/sh -ev
fink-package-precedence --headers .
fink-package-precedence --libs .
<<
TestSuiteSize: small
<<
InstallScript: make -j1 install DESTDIR=%d
PostInstScript: <<
if [ configure = "$1" ]; then
scrollkeeper-update
fi
<<
PostRmScript: <<
if [ remove != "$1" ]; then
scrollkeeper-update
fi
<<
DocFiles: COPYING OVERVIEW AUTHORS README.bugs README FAQ
Description: Graphical network monitor
DescDetail: <<
EtherApe is a graphical network monitor for Unix modeled after
etherman. Featuring link layer, ip and TCP modes, it displays
network activity graphically. Hosts and links change in size
with traffic. Color coded protocols display. It supports
Ethernet, FDDI, Token Ring, ISDN, PPP and SLIP devices. It can
filter traffic to be shown, and can read traffic from a file
as well as live from the network.
<<
License: GPL
Homepage: http://etherape.sourceforge.net
------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs