mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
Add ruby-pcap, Ruby interface to LBL Packet Capture library (libpcap).
This commit is contained in:
parent
7fdc1932c0
commit
83076530c6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=35271
@ -232,6 +232,7 @@
|
||||
SUBDIR += ruby-drb
|
||||
SUBDIR += ruby-icmp
|
||||
SUBDIR += ruby-ldap
|
||||
SUBDIR += ruby-pcap
|
||||
SUBDIR += ruby-snmp
|
||||
SUBDIR += ruby-uri
|
||||
SUBDIR += rwhois
|
||||
|
36
net/ruby-pcap/Makefile
Normal file
36
net/ruby-pcap/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
# New ports collection makefile for: Ruby/Pcap
|
||||
# Date created: 20 Nov 2000
|
||||
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= pcap
|
||||
PORTVERSION= 0.6
|
||||
CATEGORIES= net ruby
|
||||
MASTER_SITES= http://www.goto.info.waseda.ac.jp/~fukusima/ruby/
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
|
||||
DIST_SUBDIR= ruby
|
||||
|
||||
MAINTAINER= knu@FreeBSD.org
|
||||
|
||||
USE_RUBY= yes
|
||||
USE_RUBY_EXTCONF= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
CONFIGURE_ARGS= --with-pcap-dir=/usr
|
||||
INSTALL_TARGET= site-install
|
||||
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${RUBY_EXAMPLESDIR}/pcap
|
||||
${CP} -R ${WRKSRC}/examples/ ${RUBY_EXAMPLESDIR}/pcap/
|
||||
${MKDIR} ${RUBY_DOCDIR}/pcap/ja
|
||||
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${WRKSRC}/README ${WRKSRC}/doc/* \
|
||||
${RUBY_DOCDIR}/pcap/
|
||||
${INSTALL_DATA} ${WRKSRC}/README.ja ${WRKSRC}/doc-ja/* \
|
||||
${RUBY_DOCDIR}/pcap/ja/
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
1
net/ruby-pcap/distinfo
Normal file
1
net/ruby-pcap/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (ruby/ruby-pcap-0.6.tar.gz) = bf8024831bfbbf0cfbf7c7ca27c1b16a
|
1
net/ruby-pcap/pkg-comment
Normal file
1
net/ruby-pcap/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Ruby interface to LBL Packet Capture library (libpcap)
|
8
net/ruby-pcap/pkg-descr
Normal file
8
net/ruby-pcap/pkg-descr
Normal file
@ -0,0 +1,8 @@
|
||||
Ruby interface to LBL Packet Capture library (libpcap). 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.
|
||||
|
||||
Author: Masaki Fukushima <fukusima@goto.info.waseda.ac.jp>
|
||||
WWW: http://www.goto.info.waseda.ac.jp/~fukusima/ruby/pcap-e.html
|
40
net/ruby-pcap/pkg-plist
Normal file
40
net/ruby-pcap/pkg-plist
Normal file
@ -0,0 +1,40 @@
|
||||
%%RUBY_SITEARCHLIBDIR%%/pcap.so
|
||||
%%RUBY_SITELIBDIR%%/pcap_misc.rb
|
||||
%%RUBY_SITELIBDIR%%/pcaplet.rb
|
||||
%%RUBY_DOCDIR%%/pcap/Capture.html
|
||||
%%RUBY_DOCDIR%%/pcap/ChangeLog
|
||||
%%RUBY_DOCDIR%%/pcap/Dumper.html
|
||||
%%RUBY_DOCDIR%%/pcap/Filter.html
|
||||
%%RUBY_DOCDIR%%/pcap/ICMPPacket.html
|
||||
%%RUBY_DOCDIR%%/pcap/IPAddress.html
|
||||
%%RUBY_DOCDIR%%/pcap/IPPacket.html
|
||||
%%RUBY_DOCDIR%%/pcap/Packet.html
|
||||
%%RUBY_DOCDIR%%/pcap/Pcap.html
|
||||
%%RUBY_DOCDIR%%/pcap/PcapError.html
|
||||
%%RUBY_DOCDIR%%/pcap/Pcaplet.html
|
||||
%%RUBY_DOCDIR%%/pcap/README
|
||||
%%RUBY_DOCDIR%%/pcap/TCPPacket.html
|
||||
%%RUBY_DOCDIR%%/pcap/TruncatedPacket.html
|
||||
%%RUBY_DOCDIR%%/pcap/UDPPacket.html
|
||||
%%RUBY_DOCDIR%%/pcap/index.html
|
||||
%%RUBY_DOCDIR%%/pcap/ja/Capture.html
|
||||
%%RUBY_DOCDIR%%/pcap/ja/Dumper.html
|
||||
%%RUBY_DOCDIR%%/pcap/ja/Filter.html
|
||||
%%RUBY_DOCDIR%%/pcap/ja/ICMPPacket.html
|
||||
%%RUBY_DOCDIR%%/pcap/ja/IPAddress.html
|
||||
%%RUBY_DOCDIR%%/pcap/ja/IPPacket.html
|
||||
%%RUBY_DOCDIR%%/pcap/ja/Packet.html
|
||||
%%RUBY_DOCDIR%%/pcap/ja/Pcap.html
|
||||
%%RUBY_DOCDIR%%/pcap/ja/PcapError.html
|
||||
%%RUBY_DOCDIR%%/pcap/ja/Pcaplet.html
|
||||
%%RUBY_DOCDIR%%/pcap/ja/README.ja
|
||||
%%RUBY_DOCDIR%%/pcap/ja/TCPPacket.html
|
||||
%%RUBY_DOCDIR%%/pcap/ja/TruncatedPacket.html
|
||||
%%RUBY_DOCDIR%%/pcap/ja/UDPPacket.html
|
||||
%%RUBY_DOCDIR%%/pcap/ja/index.html
|
||||
%%RUBY_EXAMPLESDIR%%/pcap/httpdump.rb
|
||||
%%RUBY_EXAMPLESDIR%%/pcap/tcpdump.rb
|
||||
%%RUBY_EXAMPLESDIR%%/pcap/test.rb
|
||||
@dirrm %%RUBY_EXAMPLESDIR%%/pcap
|
||||
@dirrm %%RUBY_DOCDIR%%/pcap/ja
|
||||
@dirrm %%RUBY_DOCDIR%%/pcap
|
Loading…
Reference in New Issue
Block a user