summaryrefslogtreecommitdiff
path: root/net-mgmt/ruby-snmp
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2005-02-18 23:44:49 +0000
committerKris Kennaway <kris@FreeBSD.org>2005-02-18 23:44:49 +0000
commit11ea174ccbc9cebd4134768e8fb92c6a3dc2c559 (patch)
tree1514ed7a486e108239615c1d83319d83bacdbc3d /net-mgmt/ruby-snmp
parentUpdate dependency to bash2 in preparation for removing bash1. (diff)
As previously announced, remove ports that have reached their expiry date,
and the handful of ports that depended on them.
Notes
Notes: svn path=/head/; revision=129234
Diffstat (limited to 'net-mgmt/ruby-snmp')
-rw-r--r--net-mgmt/ruby-snmp/Makefile49
-rw-r--r--net-mgmt/ruby-snmp/distinfo1
-rw-r--r--net-mgmt/ruby-snmp/files/patch-aa45
-rw-r--r--net-mgmt/ruby-snmp/files/patch-mib.c9
-rw-r--r--net-mgmt/ruby-snmp/files/patch-snmp.c9
-rw-r--r--net-mgmt/ruby-snmp/pkg-descr6
-rw-r--r--net-mgmt/ruby-snmp/pkg-plist8
7 files changed, 0 insertions, 127 deletions
diff --git a/net-mgmt/ruby-snmp/Makefile b/net-mgmt/ruby-snmp/Makefile
deleted file mode 100644
index 7d1e0c16971d..000000000000
--- a/net-mgmt/ruby-snmp/Makefile
+++ /dev/null
@@ -1,49 +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-mgmt ruby
-MASTER_SITES= http://w3cic.riken.go.jp/~tsuruoka/
-PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
-DISTNAME= ruby${PORTNAME}-${PORTVERSION}
-EXTRACT_SUFX= .tgz
-DIST_SUBDIR= ruby
-
-MAINTAINER= seanc@FreeBSD.org
-COMMENT= Ruby interface to UCD-SNMP library
-
-IGNORE= is unusable, cf. ports/47957
-EXPIRATION_DATE=2005-02-18
-DEPRECATED= "${IGNORE}"
-
-LIB_DEPENDS= snmp.4:${PORTSDIR}/net-mgmt/net-snmp4
-
-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_MODDOCDIR}
-.for f in ${DOCS_EN}
- ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
-.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/files/patch-mib.c b/net-mgmt/ruby-snmp/files/patch-mib.c
deleted file mode 100644
index 48eea59ab40d..000000000000
--- a/net-mgmt/ruby-snmp/files/patch-mib.c
+++ /dev/null
@@ -1,9 +0,0 @@
---- mib.c.orig Mon Jul 10 19:18:51 2000
-+++ mib.c Sat Mar 30 19:15:41 2002
-@@ -1,4 +1,6 @@
- #include <sys/types.h>
-+#include <netinet/in.h>
-+
- #ifdef HAVE_UCD_SNMP_TOOLS_H
- #include <ucd-snmp/tools.h>
- #endif
diff --git a/net-mgmt/ruby-snmp/files/patch-snmp.c b/net-mgmt/ruby-snmp/files/patch-snmp.c
deleted file mode 100644
index 248dc2a04db5..000000000000
--- a/net-mgmt/ruby-snmp/files/patch-snmp.c
+++ /dev/null
@@ -1,9 +0,0 @@
---- snmp.c.orig Mon Jul 10 19:18:51 2000
-+++ snmp.c Sat Mar 30 19:15:26 2002
-@@ -1,5 +1,6 @@
- #include <errno.h>
- #include <sys/types.h>
-+#include <netinet/in.h>
-
- #ifdef HAVE_UCD_SNMP_TOOLS_H
- #include <ucd-snmp/tools.h>
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 0fb53724ad83..000000000000
--- a/net-mgmt/ruby-snmp/pkg-plist
+++ /dev/null
@@ -1,8 +0,0 @@
-%%RUBY_SITEARCHLIBDIR%%/snmp.so
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/mib_view.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/rubysnmp.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/sampleout.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/snmp_module.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/snmp_session.html
-%%PORTDOCS%%%%RUBY_MODDOCDIR%%/snmp_var.html
-%%PORTDOCS%%@dirrm %%RUBY_MODDOCDIR%%