diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2000-08-15 14:37:54 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2000-08-15 14:37:54 +0000 |
commit | 31197a71a906fdde795b775a2952f2e9e04350de (patch) | |
tree | 1b7302b7faf76c3c2333cc02e6f6d9a0f6763156 /security | |
parent | 65a552955f4584a3f01a6256eaa73c0e8254f143 (diff) | |
download | ports-31197a71a906fdde795b775a2952f2e9e04350de.tar.gz ports-31197a71a906fdde795b775a2952f2e9e04350de.zip |
Notes
Diffstat (limited to 'security')
-rw-r--r-- | security/Makefile | 1 | ||||
-rw-r--r-- | security/ruby-tcpwrap/Makefile | 54 | ||||
-rw-r--r-- | security/ruby-tcpwrap/distinfo | 1 | ||||
-rw-r--r-- | security/ruby-tcpwrap/pkg-comment | 1 | ||||
-rw-r--r-- | security/ruby-tcpwrap/pkg-descr | 7 | ||||
-rw-r--r-- | security/ruby-tcpwrap/pkg-plist | 9 |
6 files changed, 73 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile index bc24f0b04d90..cd89a2816ad6 100644 --- a/security/Makefile +++ b/security/Makefile @@ -82,6 +82,7 @@ SUBDIR += radiusniff SUBDIR += rid SUBDIR += rsaref + SUBDIR += ruby-libwrap SUBDIR += saint SUBDIR += seahorse SUBDIR += siphon diff --git a/security/ruby-tcpwrap/Makefile b/security/ruby-tcpwrap/Makefile new file mode 100644 index 000000000000..a1122a67983c --- /dev/null +++ b/security/ruby-tcpwrap/Makefile @@ -0,0 +1,54 @@ +# New ports collection makefile for: Ruby-libwrap +# Date created: 15 Aug 2000 +# Whom: Akinori MUSHA aka knu <knu@idaemons.org> +# +# $FreeBSD$ +# + +PORTNAME= libwrap +PORTVERSION= 0.1 +CATEGORIES= security # ruby +MASTER_SITES= http://www.ruby-lang.org/~shugo/libwrap-ruby/ +PKGNAMEPREFIX= ruby- +DISTNAME= ${PORTNAME}-ruby-${PORTVERSION} +DIST_SUBDIR= ruby + +MAINTAINER= knu@FreeBSD.org + +BUILD_DEPENDS= ruby:${PORTSDIR}/lang/ruby \ + ${LOCALBASE}/lib/libident.a:${PORTSDIR}/security/libident +.if !exists(/usr/include/tcpd.h) +LIB_DEPENDS= wrap.7:${PORTSDIR}/security/tcp_wrapper +.endif +RUN_DEPENDS= ruby:${PORTSDIR}/lang/ruby + +INSTALL_TARGET= site-install + +WRKSRC= ${WRKDIR}/${PORTNAME}-ruby +PLIST_SUB= RUBY_VER="${RUBY_VER}" RUBY_ARCH="${RUBY_ARCH}" + +RUBY?= ${LOCALBASE}/bin/ruby +RUBY_VER?= 1.4 +RUBY_ARCH?= ${ARCH}-freebsd${OSREL} + +DOCS_EN= README.en doc/en/tcpd.html +DOCS_JA= README.ja doc/ja/tcpd.html + +do-configure: + @cd ${WRKSRC}; \ + ${SETENV} ${CONFIGURE_ENV} ${RUBY} extconf.rb + +post-install: +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/examples/ruby/tcpd + ${INSTALL_DATA} ${WRKSRC}/sample/echod.rb ${PREFIX}/share/examples/ruby/tcpd/ + ${MKDIR} ${PREFIX}/share/doc/ruby/tcpd/ja +.for f in ${DOCS_EN} + ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/tcpd/ +.endfor +.for f in ${DOCS_JA} + ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/ruby/tcpd/ja/ +.endfor +.endif + +.include <bsd.port.mk> diff --git a/security/ruby-tcpwrap/distinfo b/security/ruby-tcpwrap/distinfo new file mode 100644 index 000000000000..51f21992d301 --- /dev/null +++ b/security/ruby-tcpwrap/distinfo @@ -0,0 +1 @@ +MD5 (ruby/libwrap-ruby-0.1.tar.gz) = 0600c880da9c06dbf35bad1907eebee3 diff --git a/security/ruby-tcpwrap/pkg-comment b/security/ruby-tcpwrap/pkg-comment new file mode 100644 index 000000000000..b2b69f91f83e --- /dev/null +++ b/security/ruby-tcpwrap/pkg-comment @@ -0,0 +1 @@ +TCP wrappers library for Ruby diff --git a/security/ruby-tcpwrap/pkg-descr b/security/ruby-tcpwrap/pkg-descr new file mode 100644 index 000000000000..4c1c10a409fd --- /dev/null +++ b/security/ruby-tcpwrap/pkg-descr @@ -0,0 +1,7 @@ +libwrap-ruby -- TCP wrappers library for Ruby. + +Note that the actual module name for this library is `tcpd'. + + +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 000000000000..98dc1a0fe0b8 --- /dev/null +++ b/security/ruby-tcpwrap/pkg-plist @@ -0,0 +1,9 @@ +lib/ruby/site_ruby/%%RUBY_VER%%/%%RUBY_ARCH%%/tcpd.so +share/examples/ruby/tcpd/echod.rb +@dirrm share/examples/ruby/tcpd +share/doc/ruby/tcpd/README.en +share/doc/ruby/tcpd/tcpd.html +share/doc/ruby/tcpd/ja/README.ja +share/doc/ruby/tcpd/ja/tcpd.html +@dirrm share/doc/ruby/tcpd/ja +@dirrm share/doc/ruby/tcpd |