From 12050036281f09397b4a2a73d127486d6462bbf4 Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Tue, 31 Oct 2000 20:57:31 +0000 Subject: Add ruby-icmp, Ruby module for handling ICMP packets. --- net/Makefile | 1 + net/ruby-icmp/Makefile | 32 ++++++++++++++++++++++++++++++++ net/ruby-icmp/distinfo | 1 + net/ruby-icmp/pkg-comment | 1 + net/ruby-icmp/pkg-descr | 5 +++++ net/ruby-icmp/pkg-plist | 4 ++++ 6 files changed, 44 insertions(+) create mode 100644 net/ruby-icmp/Makefile create mode 100644 net/ruby-icmp/distinfo create mode 100644 net/ruby-icmp/pkg-comment create mode 100644 net/ruby-icmp/pkg-descr create mode 100644 net/ruby-icmp/pkg-plist diff --git a/net/Makefile b/net/Makefile index 69991a171393..eef132ecd5e7 100644 --- a/net/Makefile +++ b/net/Makefile @@ -226,6 +226,7 @@ SUBDIR += rsync SUBDIR += rtsp_proxy SUBDIR += ruby-drb + SUBDIR += ruby-icmp SUBDIR += ruby-ldap SUBDIR += ruby-snmp SUBDIR += ruby-uri diff --git a/net/ruby-icmp/Makefile b/net/ruby-icmp/Makefile new file mode 100644 index 000000000000..b1c556e934d4 --- /dev/null +++ b/net/ruby-icmp/Makefile @@ -0,0 +1,32 @@ +# New ports collection makefile for: ICMPModule for Ruby +# Date created: 1 Nov 2000 +# Whom: Akinori MUSHA aka knu +# +# $FreeBSD$ +# + +PORTNAME= icmp +PORTVERSION= 0.1.0 +CATEGORIES= net ruby +MASTER_SITES= http://www.notwork.org/~gotoyuzo/ruby/ +PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} + +MAINTAINER= knu@FreeBSD.org + +USE_RUBY= yes +USE_RUBY_EXTCONF= yes + +INSTALL_TARGET= site-install + +EXAMPLES= ping.rb + +post-install: + ${INSTALL_DATA} ${WRKSRC}/icmp.rb ${RUBY_SITELIBDIR}/ +.if !defined(NOPORTDOCS) + ${MKDIR} ${RUBY_EXAMPLESDIR}/icmp +.for f in ${EXAMPLES} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/icmp/ +.endfor +.endif + +.include diff --git a/net/ruby-icmp/distinfo b/net/ruby-icmp/distinfo new file mode 100644 index 000000000000..377984d246dd --- /dev/null +++ b/net/ruby-icmp/distinfo @@ -0,0 +1 @@ +MD5 (icmp-0.1.0.tar.gz) = 382bdf4b69affcb6fcfb24d4519d55e5 diff --git a/net/ruby-icmp/pkg-comment b/net/ruby-icmp/pkg-comment new file mode 100644 index 000000000000..059969c447ac --- /dev/null +++ b/net/ruby-icmp/pkg-comment @@ -0,0 +1 @@ +Ruby module for handling ICMP packets diff --git a/net/ruby-icmp/pkg-descr b/net/ruby-icmp/pkg-descr new file mode 100644 index 000000000000..f30973670cf8 --- /dev/null +++ b/net/ruby-icmp/pkg-descr @@ -0,0 +1,5 @@ +This is a Ruby module for handling ICMP packets. + +Note that it requires root permission to handle any ICMP packets. + +Author: GOTOU YUUZOU diff --git a/net/ruby-icmp/pkg-plist b/net/ruby-icmp/pkg-plist new file mode 100644 index 000000000000..6f14cc684a42 --- /dev/null +++ b/net/ruby-icmp/pkg-plist @@ -0,0 +1,4 @@ +%%RUBY_SITEARCHLIBDIR%%/icmpmodule.so +%%RUBY_SITELIBDIR%%/icmp.rb +%%RUBY_EXAMPLESDIR%%/icmp/ping.rb +@dirrm %%RUBY_EXAMPLESDIR%%/icmp -- cgit v1.2.3