diff options
Diffstat (limited to 'net-mgmt/ruby-snmp')
-rw-r--r-- | net-mgmt/ruby-snmp/Makefile | 44 | ||||
-rw-r--r-- | net-mgmt/ruby-snmp/distinfo | 1 | ||||
-rw-r--r-- | net-mgmt/ruby-snmp/files/patch-aa | 45 | ||||
-rw-r--r-- | net-mgmt/ruby-snmp/pkg-comment | 1 | ||||
-rw-r--r-- | net-mgmt/ruby-snmp/pkg-descr | 6 | ||||
-rw-r--r-- | net-mgmt/ruby-snmp/pkg-plist | 8 |
6 files changed, 0 insertions, 105 deletions
diff --git a/net-mgmt/ruby-snmp/Makefile b/net-mgmt/ruby-snmp/Makefile deleted file mode 100644 index 04f3408693fd..000000000000 --- a/net-mgmt/ruby-snmp/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -# New ports collection makefile for: Ruby-SNMP -# Date created: 1 Sep 2000 -# Whom: Akinori MUSHA aka knu <knu@idaemons.org> -# -# $FreeBSD$ -# - -PORTNAME= snmp -PORTVERSION= 0.2.1 -PORTREVISION= 1 -CATEGORIES= net ruby -MASTER_SITES= http://w3cic.riken.go.jp/~tsuruoka/ -PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX} -DISTNAME= ruby${PORTNAME}-${PORTVERSION} -EXTRACT_SUFX= .tgz -DIST_SUBDIR= ruby - -MAINTAINER= knu@FreeBSD.org - -LIB_DEPENDS= snmp.4:${PORTSDIR}/net/net-snmp - -USE_RUBY= yes -USE_RUBY_EXTCONF= yes - -WRKSRC= ${WRKDIR}/SNMP -INSTALL_TARGET= site-install -CONFIGURE_ARGS= --with-snmp-dir="${LOCALBASE}" - -DOCS_EN= mib_view.html \ - rubysnmp.html \ - sampleout.html \ - snmp_module.html \ - snmp_session.html \ - snmp_var.html - -post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${RUBY_DOCDIR}/snmp -.for f in ${DOCS_EN} - ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/snmp/ -.endfor -.endif - -.include <bsd.port.mk> diff --git a/net-mgmt/ruby-snmp/distinfo b/net-mgmt/ruby-snmp/distinfo deleted file mode 100644 index fcb93d287454..000000000000 --- a/net-mgmt/ruby-snmp/distinfo +++ /dev/null @@ -1 +0,0 @@ -MD5 (ruby/rubysnmp-0.2.1.tgz) = 0c30ae623895aa5304c808fddf34dd81 diff --git a/net-mgmt/ruby-snmp/files/patch-aa b/net-mgmt/ruby-snmp/files/patch-aa deleted file mode 100644 index 8e10fe8dbe29..000000000000 --- a/net-mgmt/ruby-snmp/files/patch-aa +++ /dev/null @@ -1,45 +0,0 @@ ---- extconf.rb.orig Mon Jul 10 19:18:51 2000 -+++ extconf.rb Fri Sep 1 01:53:44 2000 -@@ -1,15 +1,11 @@ --require './mkmf.rb' -+require 'mkmf.rb' - - def crash(str) - printf " extconf failure:%s\n", str - exit 1 - end - --if /linux/ =~ RUBY_PLATFORM -- $LDFLAGS = "-L/usr/lib" --else -- $LDFLAGS = "-L/usr/local/lib" --end -+dir_config('snmp') - - # Headers - ruby_h = have_header("ruby.h") -@@ -35,8 +31,10 @@ - EOF - - # Libraies -+have_library("crypto") if test(?e, "/usr/lib/libcrypto.so"); -+ - snmpsessinit = have_library("snmp", "snmp_sess_init") --unless snmpsessinit or snmpsessopen or snmpsessclose or snmpsessread or snmpsesssend -+unless snmpsessinit # or snmpsessopen or snmpsessclose or snmpsessread or snmpsesssend - crash "This module require snmp_sess_(init|open|close|read|send) functions." - end - -@@ -51,10 +49,10 @@ - $CFLAGS = "-DNO_SNMP_FREE " + $CFLAGS - end - --unless try_link(header+<<EOF, "-lsnmp") -+if try_link(header+<<EOF, "-lsnmp") - - void main() { -- init_snmp("snmpapp"); -+ init_snmp(); - } - EOF - $CFLAGS = "-DVOID_INIT_SNMP " + $CFLAGS diff --git a/net-mgmt/ruby-snmp/pkg-comment b/net-mgmt/ruby-snmp/pkg-comment deleted file mode 100644 index 273e18db69f3..000000000000 --- a/net-mgmt/ruby-snmp/pkg-comment +++ /dev/null @@ -1 +0,0 @@ -Ruby interface to UCD-SNMP library diff --git a/net-mgmt/ruby-snmp/pkg-descr b/net-mgmt/ruby-snmp/pkg-descr deleted file mode 100644 index b2d233893508..000000000000 --- a/net-mgmt/ruby-snmp/pkg-descr +++ /dev/null @@ -1,6 +0,0 @@ -Ruby SNMP is UCD-SNMP library interface for the Ruby. - -The current version only supports SNMPv1 GET and GETNEXT requests. - -Author: Nobuhiko Tsuruoka <tsuruoka@postman.riken.go.jp> -WWW: http://w3cic.riken.go.jp/~tsuruoka/ diff --git a/net-mgmt/ruby-snmp/pkg-plist b/net-mgmt/ruby-snmp/pkg-plist deleted file mode 100644 index 9e8c464d66bb..000000000000 --- a/net-mgmt/ruby-snmp/pkg-plist +++ /dev/null @@ -1,8 +0,0 @@ -%%RUBY_SITEARCHLIBDIR%%/snmp.so -%%PORTDOCS%%%%RUBY_DOCDIR%%/snmp/mib_view.html -%%PORTDOCS%%%%RUBY_DOCDIR%%/snmp/rubysnmp.html -%%PORTDOCS%%%%RUBY_DOCDIR%%/snmp/sampleout.html -%%PORTDOCS%%%%RUBY_DOCDIR%%/snmp/snmp_module.html -%%PORTDOCS%%%%RUBY_DOCDIR%%/snmp/snmp_session.html -%%PORTDOCS%%%%RUBY_DOCDIR%%/snmp/snmp_var.html -%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/snmp |