summaryrefslogtreecommitdiff
path: root/security/ruby-aes
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2002-01-16 11:16:06 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2002-01-16 11:16:06 +0000
commitcfc59d3e38957245de73a1374555a3b85a277566 (patch)
tree49a9af2b7c7852512bb8ba28ee7383d11b84d9af /security/ruby-aes
parentUse correct MASTER_SITE. (diff)
Add ruby-aes, a Ruby extension library which implements AES (Rijndael)
encryption.
Notes
Notes: svn path=/head/; revision=53155
Diffstat (limited to 'security/ruby-aes')
-rw-r--r--security/ruby-aes/Makefile39
-rw-r--r--security/ruby-aes/distinfo1
-rw-r--r--security/ruby-aes/pkg-comment1
-rw-r--r--security/ruby-aes/pkg-descr8
-rw-r--r--security/ruby-aes/pkg-plist6
5 files changed, 55 insertions, 0 deletions
diff --git a/security/ruby-aes/Makefile b/security/ruby-aes/Makefile
new file mode 100644
index 000000000000..3f3109dbffc5
--- /dev/null
+++ b/security/ruby-aes/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: aes-rb
+# Date created: 16 January 2002
+# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= aes
+PORTVERSION= 0.0.1
+CATEGORIES= security ruby
+MASTER_SITES= http://aescrypt.sourceforge.net/
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME}-rb-${PORTVERSION}
+DIST_SUBDIR= ruby
+
+MAINTAINER= knu@FreeBSD.org
+
+USE_RUBY= yes
+USE_RUBY_EXTCONF= yes
+
+INSTALL_TARGET= site-install
+
+DOCS= README
+EXAMPLES= aes-example.rb \
+ modexp.rb
+
+post-install:
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${RUBY_EXAMPLESDIR}/${PORTNAME}
+.for f in ${EXAMPLES}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_EXAMPLESDIR}/${PORTNAME}/
+.endfor
+ ${MKDIR} ${RUBY_DOCDIR}/${PORTNAME}
+.for f in ${DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/${PORTNAME}/
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/security/ruby-aes/distinfo b/security/ruby-aes/distinfo
new file mode 100644
index 000000000000..0e9ce46f72ad
--- /dev/null
+++ b/security/ruby-aes/distinfo
@@ -0,0 +1 @@
+MD5 (ruby/aes-rb-0.0.1.tar.gz) = f8073b3ad520aea5e6b3fe70a906c17b
diff --git a/security/ruby-aes/pkg-comment b/security/ruby-aes/pkg-comment
new file mode 100644
index 000000000000..469daec3b12b
--- /dev/null
+++ b/security/ruby-aes/pkg-comment
@@ -0,0 +1 @@
+A Ruby extension library which implements AES (Rijndael) encryption
diff --git a/security/ruby-aes/pkg-descr b/security/ruby-aes/pkg-descr
new file mode 100644
index 000000000000..2c313871aae8
--- /dev/null
+++ b/security/ruby-aes/pkg-descr
@@ -0,0 +1,8 @@
+AESCrypt - aes-rb:
+
+This is an all-C (for performance) implementation of the AES
+(Rijndael) encryption algorithm for Ruby, implementing ECB and CFB-128
+modes.
+
+Author: Eric Lee Green <eric@badtux.org>
+WWW: http://aescrypt.sourceforge.net/
diff --git a/security/ruby-aes/pkg-plist b/security/ruby-aes/pkg-plist
new file mode 100644
index 000000000000..b92a9e8e7dbf
--- /dev/null
+++ b/security/ruby-aes/pkg-plist
@@ -0,0 +1,6 @@
+%%RUBY_SITEARCHLIBDIR%%/aes.so
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/aes/aes-example.rb
+%%PORTDOCS%%%%RUBY_EXAMPLESDIR%%/aes/modexp.rb
+%%PORTDOCS%%@dirrm %%RUBY_EXAMPLESDIR%%/aes
+%%PORTDOCS%%%%RUBY_DOCDIR%%/aes/README
+%%PORTDOCS%%@dirrm %%RUBY_DOCDIR%%/aes