summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authortaca <taca>2001-07-01 13:44:18 +0000
committertaca <taca>2001-07-01 13:44:18 +0000
commitbb49e6f49ea55fbef144e4b23fdaab02c9416ed8 (patch)
tree3fab8fa8e7f1cc8c7ed92c86142edf1d09217646 /security
parent20848418da10e6431ed4ad642c30279fc96812d0 (diff)
downloadpkgsrc-bb49e6f49ea55fbef144e4b23fdaab02c9416ed8.tar.gz
Importing ruby-tcpwrap package.
ruby-tcpwrap -- TCP wrappers library for Ruby.
Diffstat (limited to 'security')
-rw-r--r--security/ruby-tcpwrap/Makefile46
-rw-r--r--security/ruby-tcpwrap/distinfo4
-rw-r--r--security/ruby-tcpwrap/pkg/DESCR5
-rw-r--r--security/ruby-tcpwrap/pkg/PLIST10
4 files changed, 65 insertions, 0 deletions
diff --git a/security/ruby-tcpwrap/Makefile b/security/ruby-tcpwrap/Makefile
new file mode 100644
index 00000000000..4543b6d9c6b
--- /dev/null
+++ b/security/ruby-tcpwrap/Makefile
@@ -0,0 +1,46 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/07/01 13:44:18 taca Exp $
+# FreeBSD: ports/security/ruby-tcpwrap/Makefile,v 1.6 2000/09/26 08:02:10 knu Exp
+
+DISTNAME= ruby-tcpwrap-0.3
+PKGNAME= ${RUBY_PKGNAMEPREFIX}tcpwrap-0.3
+CATEGORIES= security
+MASTER_SITES= http://www.shugo.net/archive/ruby-tcpwrap/
+
+MAINTAINER= taca@netbsd.org
+HOMEPAGE= # not available
+COMMENT= TCP wrappers library for Ruby
+
+.include "../../mk/bsd.prefs.mk"
+
+DEPENDS+= libident>=0.22:../../security/libident
+.if ${OPSYS} != "NetBSD"
+DEPENDS+= tcp_wrappers>=7.6:../../security/tcp_wrapper
+.endif
+
+DIST_SUBDIR= ruby
+USE_RUBY_EXTCONF= yes
+WRKSRC= ${WRKDIR}/ruby-tcpwrap
+
+.if ${OPSYS} == "NetBSD"
+CONFIGURE_ARGS+= --with-libwrap-dir="/usr"
+.else
+CONFIGURE_ARGS+= --with-libwrap-dir="${LOCALBASE}"
+.endif
+INSTALL_TARGET= site-install
+
+DOCS_EN= README.en doc/tcpwrap.html.en
+DOCS_JA= README.ja doc/tcpwrap.html.ja
+
+post-install:
+ ${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/tcpwrap
+ ${INSTALL_DATA} ${WRKSRC}/sample/echod.rb ${RUBY_EXAMPLESDIR}/tcpwrap
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/tcpwrap/ja
+.for f in ${DOCS_EN}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/tcpwrap
+.endfor
+.for f in ${DOCS_JA}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/tcpwrap/ja
+.endfor
+
+.include "../../lang/ruby-base/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/ruby-tcpwrap/distinfo b/security/ruby-tcpwrap/distinfo
new file mode 100644
index 00000000000..c75de3fe779
--- /dev/null
+++ b/security/ruby-tcpwrap/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/07/01 13:44:18 taca Exp $
+
+SHA1 (ruby/ruby-tcpwrap-0.3.tar.gz) = bd95178c15856090382d12ba87a909d4032e204d
+Size (ruby/ruby-tcpwrap-0.3.tar.gz) = 3609 bytes
diff --git a/security/ruby-tcpwrap/pkg/DESCR b/security/ruby-tcpwrap/pkg/DESCR
new file mode 100644
index 00000000000..b35329c511c
--- /dev/null
+++ b/security/ruby-tcpwrap/pkg/DESCR
@@ -0,0 +1,5 @@
+ruby-tcpwrap -- TCP wrappers library for Ruby.
+
+
+Author: Shugo Maeda <shugo@ruby-lang.org>
+WWW: http://www.ruby-lang.org/en/raa-list.rhtml?name=libwrap-ruby
diff --git a/security/ruby-tcpwrap/pkg/PLIST b/security/ruby-tcpwrap/pkg/PLIST
new file mode 100644
index 00000000000..1aedb735787
--- /dev/null
+++ b/security/ruby-tcpwrap/pkg/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/07/01 13:44:18 taca Exp $
+${RUBY_SITEARCHLIBDIR}/tcpwrap.so
+${RUBY_EXAMPLESDIR}/tcpwrap/echod.rb
+@dirrm ${RUBY_EXAMPLESDIR}/tcpwrap
+${RUBY_DOCDIR}/tcpwrap/README.en
+${RUBY_DOCDIR}/tcpwrap/tcpwrap.html.en
+${RUBY_DOCDIR}/tcpwrap/ja/README.ja
+${RUBY_DOCDIR}/tcpwrap/ja/tcpwrap.html.ja
+@dirrm ${RUBY_DOCDIR}/tcpwrap/ja
+@dirrm ${RUBY_DOCDIR}/tcpwrap