aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/Makefile1
-rw-r--r--security/ruby-blowfish/Makefile35
-rw-r--r--security/ruby-blowfish/distinfo1
-rw-r--r--security/ruby-blowfish/pkg-comment1
-rw-r--r--security/ruby-blowfish/pkg-descr5
-rw-r--r--security/ruby-blowfish/pkg-plist5
6 files changed, 48 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index 2ec14d607a0e..42ac77b2c2c9 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -133,6 +133,7 @@
SUBDIR += rid
SUBDIR += rsaref
SUBDIR += ruby-acl
+ SUBDIR += ruby-blowfish
SUBDIR += ruby-sha1
SUBDIR += ruby-ssl
SUBDIR += ruby-tcpwrap
diff --git a/security/ruby-blowfish/Makefile b/security/ruby-blowfish/Makefile
new file mode 100644
index 000000000000..c63e2f078a12
--- /dev/null
+++ b/security/ruby-blowfish/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: Ruby-blowfish
+# Date created: 8 May 2001
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= blowfish
+PORTVERSION= 0.1
+CATEGORIES= security ruby
+MASTER_SITES= http://ruby.metabolix.de/download/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ruby-${PORTNAME}-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+USE_OPENSSL= yes
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+
+WRKSRC= ${WRKDIR}/ruby-${PORTNAME}
+CONFIGURE_ARGS= --with-openssl-include="${OPENSSLBASE}/include/openssl" \
+ --with-openssl-lib="${OPENSSLBASE}/lib"
+INSTALL_TARGET= site-install
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/testbf.rb ${RUBY_EXAMPLESDIR}/${PORTNAME}/
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
+ ${INSTALL_DATA} ${WRKSRC}/README ${RUBY_DOCDIR}/${PORTNAME}/
+.endif
+
+.include <bsd.port.mk>
diff --git a/security/ruby-blowfish/distinfo b/security/ruby-blowfish/distinfo
new file mode 100644
index 000000000000..621f89689a85
--- /dev/null
+++ b/security/ruby-blowfish/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/ruby-blowfish-0.1.tar.gz) = 3f8eb0b9ef35b28d21a9b71163ddd30d
diff --git a/security/ruby-blowfish/pkg-comment b/security/ruby-blowfish/pkg-comment
new file mode 100644
index 000000000000..71488df678cf
--- /dev/null
+++ b/security/ruby-blowfish/pkg-comment
@@ -0,0 +1 @@
+A Ruby interface to the Blowfish cipher
diff --git a/security/ruby-blowfish/pkg-descr b/security/ruby-blowfish/pkg-descr
new file mode 100644
index 000000000000..6a5b74224b5d
--- /dev/null
+++ b/security/ruby-blowfish/pkg-descr
@@ -0,0 +1,5 @@
+Ruby/Blowfish is an interface to the Blowfish cipher included in the
+OpenSSL library.
+
+WWW: http://ruby.metabolix.de/
+Author: Hans-Dieter Stich <hdstich@commplex-media.de>
diff --git a/security/ruby-blowfish/pkg-plist b/security/ruby-blowfish/pkg-plist
new file mode 100644
index 000000000000..9cfa5ca155cd
--- /dev/null
+++ b/security/ruby-blowfish/pkg-plist
@@ -0,0 +1,5 @@
+%%RUBY_SITEARCHLIBDIR%%/Blowfish.so
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/blowfish/testbf.rb
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/blowfish
+%%PORTDOCS%%%%RUBY_DOCDIR%%/blowfish/README
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/blowfish