diff options
author | taca <taca@pkgsrc.org> | 2005-03-18 05:25:32 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2005-03-18 05:25:32 +0000 |
commit | 1b6fb1d7686232b23cdd569b55ac09dbb7a7c9f3 (patch) | |
tree | 9e6ed7de548610637e949603c691a1e0d574edd3 /security/ruby16-digest | |
parent | 03162b6d4166483f1d81ac9d43bfb3a89782577c (diff) | |
download | pkgsrc-1b6fb1d7686232b23cdd569b55ac09dbb7a7c9f3.tar.gz |
Importing security/ruby16-digest package which I forgot to import,
it is needed by ruby16 package.
Now this package includes some fixes for IRIX, too.
Diffstat (limited to 'security/ruby16-digest')
-rw-r--r-- | security/ruby16-digest/DESCR | 2 | ||||
-rw-r--r-- | security/ruby16-digest/Makefile | 31 | ||||
-rw-r--r-- | security/ruby16-digest/PLIST | 12 | ||||
-rw-r--r-- | security/ruby16-digest/distinfo | 6 | ||||
-rw-r--r-- | security/ruby16-digest/patches/patch-aa | 23 |
5 files changed, 74 insertions, 0 deletions
diff --git a/security/ruby16-digest/DESCR b/security/ruby16-digest/DESCR new file mode 100644 index 00000000000..4f7d62738f9 --- /dev/null +++ b/security/ruby16-digest/DESCR @@ -0,0 +1,2 @@ +This is a Ruby extension of message digest library, which is actually +a part of the Ruby 1.6.X distribution. diff --git a/security/ruby16-digest/Makefile b/security/ruby16-digest/Makefile new file mode 100644 index 00000000000..d270b0d1497 --- /dev/null +++ b/security/ruby16-digest/Makefile @@ -0,0 +1,31 @@ +# $NetBSD: Makefile,v 1.1.1.1 2005/03/18 05:25:32 taca Exp $ +# + +DISTNAME= ${RUBY_DISTNAME} +PKGNAME= ${RUBY_PKGPREFIX}-digest-${RUBY_VERSION} +CATEGORIES= security ruby +MASTER_SITES= ${MASTER_SITE_RUBY} + +MAINTAINER= taca@NetBSD.org +HOMEPAGE= ${RUBY_HOMEPAGE} +COMMENT= Ruby extension to message digest library for ${RUBY_VERSION} + +RUBY_HAS_ARCHLIB= yes +RUBY_VERSION= ${RUBY16_VERSION} +USE_BUILDLINK3= yes +USE_RUBY_EXTCONF= yes +RUBY_EXTCONF_SUBDIRS= . md5 rmd160 sha1 sha2 +EXTRACT_ELEMENTS= ${RUBY_DISTNAME}/ext/digest +WRKSRC= ${RUBY_WRKSRC}/ext/digest + +RUBY_DOCS= digest.txt digest.txt.ja + +post-install: + ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/digest +.for f in ${RUBY_DOCS} + ${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/digest +.endfor + +.include "../../lang/ruby/modules.mk" +.include "../../lang/ruby/Makefile.common" +.include "../../mk/bsd.pkg.mk" diff --git a/security/ruby16-digest/PLIST b/security/ruby16-digest/PLIST new file mode 100644 index 00000000000..adcb40403f3 --- /dev/null +++ b/security/ruby16-digest/PLIST @@ -0,0 +1,12 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2005/03/18 05:25:32 taca Exp $ +${RUBY_SITEARCHLIBDIR}/digest.${RUBY_DLEXT} +${RUBY_SITEARCHLIBDIR}/digest/md5.${RUBY_DLEXT} +${RUBY_SITEARCHLIBDIR}/digest/rmd160.${RUBY_DLEXT} +${RUBY_SITEARCHLIBDIR}/digest/sha1.${RUBY_DLEXT} +${RUBY_SITEARCHLIBDIR}/digest/sha2.${RUBY_DLEXT} +@dirrm ${RUBY_SITEARCHLIBDIR}/digest +${RUBY_SITELIBDIR}/md5.rb +${RUBY_SITELIBDIR}/sha1.rb +${RUBY_DOCDIR}/digest/digest.txt +${RUBY_DOCDIR}/digest/digest.txt.ja +@dirrm ${RUBY_DOCDIR}/digest diff --git a/security/ruby16-digest/distinfo b/security/ruby16-digest/distinfo new file mode 100644 index 00000000000..6eb8ef892f7 --- /dev/null +++ b/security/ruby16-digest/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2005/03/18 05:25:32 taca Exp $ + +SHA1 (ruby/ruby-1.6.8.tar.gz) = 4b475ac1c837cd62b6dfe85359e1502a71b08cd1 +RMD160 (ruby/ruby-1.6.8.tar.gz) = be087ca8f852caf9fc7a35b51839f5af079dbbc1 +Size (ruby/ruby-1.6.8.tar.gz) = 1023403 bytes +SHA1 (patch-aa) = f6fde3f3b302fdf8a5c816e49cd8802b263ca430 diff --git a/security/ruby16-digest/patches/patch-aa b/security/ruby16-digest/patches/patch-aa new file mode 100644 index 00000000000..fc1622d858a --- /dev/null +++ b/security/ruby16-digest/patches/patch-aa @@ -0,0 +1,23 @@ +$NetBSD: patch-aa,v 1.1.1.1 2005/03/18 05:25:32 taca Exp $ + +--- defs.h.orig 2002-01-16 18:22:41.000000000 +0900 ++++ defs.h +@@ -19,7 +19,9 @@ + #if defined(HAVE_INTTYPES_H) + # include <inttypes.h> + #else ++# if !defined(__sgi) + typedef unsigned char uint8_t; ++# endif + typedef unsigned int uint32_t; + # if SIZEOF_LONG == 8 + typedef unsigned long uint64_t; +@@ -27,6 +29,8 @@ + typedef unsigned long long uint64_t; + # elif defined(_MSC_VER) + typedef unsigned _int64 uint64_t; ++# elif defined(__sgi) ++ typedef unsigned long long int uint64_t; + # else + # define NO_UINT64_T + # endif |