Remove ruby-acl.
- Ruby 1.8.1 bundled this extention library. - Use ruby-drb package for ruby16 since it contain this library.
This commit is contained in:
parent
fc52810c70
commit
83cd3c79b4
5 changed files with 1 additions and 70 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.214 2004/11/27 20:29:25 jdolecek Exp $
|
||||
# $NetBSD: Makefile,v 1.215 2004/11/28 08:01:37 taca Exp $
|
||||
#
|
||||
|
||||
COMMENT= Security tools
|
||||
|
@ -185,7 +185,6 @@ SUBDIR+= rats
|
|||
SUBDIR+= rc5des
|
||||
SUBDIR+= rid
|
||||
SUBDIR+= rsaref
|
||||
SUBDIR+= ruby-acl
|
||||
SUBDIR+= ruby-digest
|
||||
SUBDIR+= ruby-openssl
|
||||
SUBDIR+= ruby-tcpwrap
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
Ruby-acl provides Access Control List checks.
|
||||
|
||||
list = %w(
|
||||
deny all
|
||||
allow 192.168.1.*
|
||||
allow 127.0.0.1
|
||||
)
|
||||
acl = ACL.new(list, ACL::DENY_ALLOW)
|
||||
...
|
||||
ns = soc.accept
|
||||
unless acl.allow_socket?(ns)
|
||||
# forbidden
|
||||
end
|
||||
|
||||
|
||||
Author: Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
|
|
@ -1,37 +0,0 @@
|
|||
# $NetBSD: Makefile,v 1.5 2004/03/16 02:01:11 taca Exp $
|
||||
# FreeBSD: ports/security/ruby-acl/Makefile,v 1.4 2000/12/26 04:13:28 knu Exp
|
||||
|
||||
DISTNAME= acl-1.0.1
|
||||
PKGNAME= ${RUBY_PKGNAMEPREFIX}${DISTNAME}
|
||||
CATEGORIES= security ruby
|
||||
MASTER_SITES= http://www2a.biglobe.ne.jp/~seki/ruby/
|
||||
|
||||
MAINTAINER= taca@NetBSD.org
|
||||
HOMEPAGE= http://www2a.biglobe.ne.jp/~seki/ruby/
|
||||
COMMENT= Ruby module to provide Access Control List checks
|
||||
|
||||
DIST_SUBDIR= ruby
|
||||
USE_RUBY_RD= yes
|
||||
RD_DOCS= acl.rd acl.rd.ja
|
||||
DOCS= README doc/acl.rd doc/acl.html \
|
||||
README.ja doc/acl.rd.ja doc/acl.html.ja
|
||||
|
||||
do-build:
|
||||
.for f in ${RD_DOCS}
|
||||
@cd ${WRKSRC}/doc; \
|
||||
${RUBY_RD} ${f} > ${f:S/.rd/.html/}
|
||||
.endfor
|
||||
|
||||
do-install:
|
||||
@cd ${WRKSRC}; \
|
||||
${RUBY} install.rb
|
||||
${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/acl
|
||||
${INSTALL_DATA} ${WRKSRC}/acltest.rb ${RUBY_EXAMPLESDIR}/acl
|
||||
${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/acl
|
||||
.for f in ${DOCS}
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/acl
|
||||
.endfor
|
||||
|
||||
.include "../../textproc/ruby-rdtool/Makefile.common"
|
||||
.include "../../lang/ruby-base/Makefile.common"
|
||||
.include "../../mk/bsd.pkg.mk"
|
|
@ -1,11 +0,0 @@
|
|||
@comment $NetBSD: PLIST,v 1.2 2002/01/03 15:21:38 taca Exp $
|
||||
${RUBY_SITELIBDIR}/acl.rb
|
||||
${RUBY_EXAMPLESDIR}/acl/acltest.rb
|
||||
@dirrm ${RUBY_EXAMPLESDIR}/acl
|
||||
${RUBY_DOCDIR}/acl/README
|
||||
${RUBY_DOCDIR}/acl/README.ja
|
||||
${RUBY_DOCDIR}/acl/acl.html
|
||||
${RUBY_DOCDIR}/acl/acl.html.ja
|
||||
${RUBY_DOCDIR}/acl/acl.rd
|
||||
${RUBY_DOCDIR}/acl/acl.rd.ja
|
||||
@dirrm ${RUBY_DOCDIR}/acl
|
|
@ -1,4 +0,0 @@
|
|||
$NetBSD: distinfo,v 1.1.1.1 2001/07/01 13:41:02 taca Exp $
|
||||
|
||||
SHA1 (ruby/acl-1.0.1.tar.gz) = 7b81717a8486d4fa6ec0557abb870bbefe0b80fc
|
||||
Size (ruby/acl-1.0.1.tar.gz) = 4456 bytes
|
Loading…
Reference in a new issue