summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2001-12-30 15:57:58 +0000
committertaca <taca@pkgsrc.org>2001-12-30 15:57:58 +0000
commitc36fa1d38b78df3b78b9722e0fc3ac258aabf0e0 (patch)
treef1745a73ec5379bb760e1202b8835bdd99087308 /security
parente2514883583320643458d2f46eebb086c3495558 (diff)
downloadpkgsrc-c36fa1d38b78df3b78b9722e0fc3ac258aabf0e0.tar.gz
Importing ruby-digest package. This is part of ruby 1.6.6 package.
Diffstat (limited to 'security')
-rw-r--r--security/ruby-digest/DESCR2
-rw-r--r--security/ruby-digest/Makefile32
-rw-r--r--security/ruby-digest/PLIST12
3 files changed, 46 insertions, 0 deletions
diff --git a/security/ruby-digest/DESCR b/security/ruby-digest/DESCR
new file mode 100644
index 00000000000..537b8ca54ea
--- /dev/null
+++ b/security/ruby-digest/DESCR
@@ -0,0 +1,2 @@
+This is a Ruby extension of message digest library, which is actually
+a part of the Ruby distribution.
diff --git a/security/ruby-digest/Makefile b/security/ruby-digest/Makefile
new file mode 100644
index 00000000000..94be071b614
--- /dev/null
+++ b/security/ruby-digest/Makefile
@@ -0,0 +1,32 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/12/30 15:57:58 taca Exp $
+#
+
+DISTNAME= ${RUBY_DISTNAME}
+PKGNAME= ${RUBY_PKGNAMEPREFIX}digest-${RUBY_VERSION}
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_RUBY}
+
+MAINTAINER= taca@netbsd.org
+HOMEPAGE= http://www.ruby-lang.org/en/
+COMMENT= Ruby extension to message digest library
+
+CONFLICTS= ${RUBY_PKGNAMEPREFIX}md5-[0-9]*
+
+DISTINFO_FILE= ${RUBY_DISTINFO}
+WRKSRC= ${RUBY_WRKSRC}/ext/digest
+
+DIST_SUBDIR= ruby
+EXTRACT_ELEMENTS= ${RUBY_DISTNAME}/ext/digest
+USE_RUBY_EXTCONF= yes
+RUBY_EXTCONF_SUBDIRS= . md5 rmd160 sha1 sha2
+REPLACE_RUBY= test.rb
+RUBY_DOCS= digest.txt digest.txt.ja
+
+post-install:
+ ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/digest
+.for file in ${RUBY_DOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${file} ${RUBY_DOCDIR}/digest
+.endfor
+
+.include "../../lang/ruby-base/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/ruby-digest/PLIST b/security/ruby-digest/PLIST
new file mode 100644
index 00000000000..2f1db8142a2
--- /dev/null
+++ b/security/ruby-digest/PLIST
@@ -0,0 +1,12 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/12/30 15:57:58 taca Exp $
+${RUBY_ARCHLIBDIR}/digest.so
+${RUBY_ARCHLIBDIR}/digest/md5.so
+${RUBY_ARCHLIBDIR}/digest/rmd160.so
+${RUBY_ARCHLIBDIR}/digest/sha1.so
+${RUBY_ARCHLIBDIR}/digest/sha2.so
+@dirrm ${RUBY_ARCHLIBDIR}/digest
+${RUBY_LIBDIR}/md5.rb
+${RUBY_LIBDIR}/sha1.rb
+${RUBY_DOCDIR}/digest/digest.txt
+${RUBY_DOCDIR}/digest/digest.txt.ja
+@dirrm ${RUBY_DOCDIR}/digest