Import ruby-pcap. Submitted by Damien Couderc <couderc.damien@wanadoo.fr>
This commit is contained in:
parent
0cc6883a8a
commit
6f54f5d003
35
net/ruby-pcap/Makefile
Normal file
35
net/ruby-pcap/Makefile
Normal file
@ -0,0 +1,35 @@
|
||||
COMMENT= "Ruby extension library for GTK Toolkit"
|
||||
|
||||
VERSION= 0.6
|
||||
DISTNAME= ruby-pcap-${VERSION}
|
||||
CATEGORIES= net
|
||||
NEED_VERSION= 1.504
|
||||
|
||||
HOMEPAGE= http://www.goto.info.waseda.ac.jp/~fukusima/ruby/pcap-e.html
|
||||
|
||||
MAINTAINER= Damien COUDERC <couderc.damien@wanadoo.fr>
|
||||
|
||||
# GPL license
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
|
||||
SUBST_VARS= OPSYS_VER
|
||||
|
||||
MASTER_SITES= http://www.goto.info.waseda.ac.jp/~fukusima/ruby/
|
||||
|
||||
RUN_DEPENDS= ruby.1.66::lang/ruby
|
||||
LIB_DEPENDS= ruby.1.66::lang/ruby
|
||||
|
||||
NO_REGRESS= Yes
|
||||
|
||||
CONFIGURE_STYLE= simple
|
||||
CONFIGURE_SCRIPT= ${PREFIX}/bin/ruby extconf.rb
|
||||
|
||||
WRKDIST= ${WRKDIR}/pcap
|
||||
|
||||
post-install:
|
||||
cp -R ${WRKSRC}/doc ${PREFIX}/share/doc/ruby-pcap
|
||||
|
||||
.include <bsd.port.mk>
|
3
net/ruby-pcap/distinfo
Normal file
3
net/ruby-pcap/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (ruby-pcap-0.6.tar.gz) = bf8024831bfbbf0cfbf7c7ca27c1b16a
|
||||
RMD160 (ruby-pcap-0.6.tar.gz) = 6422c9fe0a5a35f5cc1fe6cba418223d0e764766
|
||||
SHA1 (ruby-pcap-0.6.tar.gz) = d098a04e4bb5e414fc10d267b3d6dcf9490bccd3
|
11
net/ruby-pcap/patches/patch-ruby_pcap_h
Normal file
11
net/ruby-pcap/patches/patch-ruby_pcap_h
Normal file
@ -0,0 +1,11 @@
|
||||
$OpenBSD: patch-ruby_pcap_h,v 1.1.1.1 2002/02/27 01:43:55 krw Exp $
|
||||
--- ruby_pcap.h.orig Mon Oct 29 10:46:38 2001
|
||||
+++ ruby_pcap.h Mon Oct 29 10:46:54 2001
|
||||
@@ -40,7 +40,6 @@
|
||||
#ifndef UINT2NUM
|
||||
# define UINT2NUM(i) rb_uint2inum(i)
|
||||
#endif
|
||||
-#define MIN(x, y) ((x)<(y) ? (x) : (y))
|
||||
|
||||
|
||||
#define PACKET_MARSHAL_VERSION 1
|
7
net/ruby-pcap/pkg/DESCR
Normal file
7
net/ruby-pcap/pkg/DESCR
Normal file
@ -0,0 +1,7 @@
|
||||
Ruby interface to LBL Packet Capture library.
|
||||
This library also includes classes to access packet header fields.
|
||||
|
||||
It is much easier to code in Ruby/Pcap than to code in C and use
|
||||
libpcap directly.
|
||||
|
||||
WWW: ${HOMEPAGE}
|
19
net/ruby-pcap/pkg/PLIST
Normal file
19
net/ruby-pcap/pkg/PLIST
Normal file
@ -0,0 +1,19 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2002/02/27 01:43:55 krw Exp $
|
||||
lib/ruby/1.6/${MACHINE_ARCH}-openbsd${OPSYS_VER}/pcap.so
|
||||
lib/ruby/1.6/pcap_misc.rb
|
||||
lib/ruby/1.6/pcaplet.rb
|
||||
share/doc/ruby-pcap/Capture.html
|
||||
share/doc/ruby-pcap/Dumper.html
|
||||
share/doc/ruby-pcap/Filter.html
|
||||
share/doc/ruby-pcap/ICMPPacket.html
|
||||
share/doc/ruby-pcap/IPAddress.html
|
||||
share/doc/ruby-pcap/IPPacket.html
|
||||
share/doc/ruby-pcap/Packet.html
|
||||
share/doc/ruby-pcap/Pcap.html
|
||||
share/doc/ruby-pcap/PcapError.html
|
||||
share/doc/ruby-pcap/Pcaplet.html
|
||||
share/doc/ruby-pcap/TCPPacket.html
|
||||
share/doc/ruby-pcap/TruncatedPacket.html
|
||||
share/doc/ruby-pcap/UDPPacket.html
|
||||
share/doc/ruby-pcap/index.html
|
||||
@dirrm share/doc/ruby-pcap
|
Loading…
Reference in New Issue
Block a user