summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-08-03 04:55:10 +0000
committerobache <obache@pkgsrc.org>2010-08-03 04:55:10 +0000
commitb2f9f26eadba0d5612549d2d83c163ead7aa7cd5 (patch)
treea98da37e1023ab44df23555db89a62b300fddf84 /security
parent9bbc43430dad8ff0e462850c886be3f96b316b5a (diff)
downloadpkgsrc-b2f9f26eadba0d5612549d2d83c163ead7aa7cd5.tar.gz
Import ruby-soauth-0.2 as security/ruby-soauth.
## The "S" is for "Signs" ## *SOAuth* is a Ruby library that **creates HTTP headers for OAuth Authorization** using previously-obtained OAuth keys/secrets. Useful if you want to make your own HTTP request objects instead of using the ones created for you using the [commonly-used OAuth gem](security/ruby-oauth). It should be noted that this was developed without edge cases in mind -- it was pretty much abstracted from my "by-hand" signing of OAuth requests in [Prey Fetcher](http://preyfetcher.com), so don't consider it production-quality code (though it [is running in production](http://preyfetcher.com)).
Diffstat (limited to 'security')
-rw-r--r--security/ruby-soauth/DESCR11
-rw-r--r--security/ruby-soauth/Makefile15
-rw-r--r--security/ruby-soauth/PLIST9
-rw-r--r--security/ruby-soauth/distinfo5
4 files changed, 40 insertions, 0 deletions
diff --git a/security/ruby-soauth/DESCR b/security/ruby-soauth/DESCR
new file mode 100644
index 00000000000..8315da7f692
--- /dev/null
+++ b/security/ruby-soauth/DESCR
@@ -0,0 +1,11 @@
+## The "S" is for "Signs" ##
+
+*SOAuth* is a Ruby library that **creates HTTP headers for OAuth Authorization**
+using previously-obtained OAuth keys/secrets. Useful if you want to make your
+own HTTP request objects instead of using the ones created for you using the
+[commonly-used OAuth gem](security/ruby-oauth).
+
+It should be noted that this was developed without edge cases in mind -- it was
+pretty much abstracted from my "by-hand" signing of OAuth requests in [Prey
+Fetcher](http://preyfetcher.com), so don't consider it production-quality code
+(though it [is running in production](http://preyfetcher.com)).
diff --git a/security/ruby-soauth/Makefile b/security/ruby-soauth/Makefile
new file mode 100644
index 00000000000..031a5feae6a
--- /dev/null
+++ b/security/ruby-soauth/Makefile
@@ -0,0 +1,15 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/08/03 04:55:10 obache Exp $
+
+DISTNAME= soauth-0.2
+PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
+CATEGORIES= security
+
+MAINTAINER= obache@NetBSD.org
+HOMEPAGE= http://github.com/tofumatt/soauth
+COMMENT= Ruby library that creates HTTP headers for OAuth Authorization
+LICENSE= mit
+
+GEM_BUILD= gemspec
+
+.include "../../misc/rubygems/rubygem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/ruby-soauth/PLIST b/security/ruby-soauth/PLIST
new file mode 100644
index 00000000000..42437b32f4c
--- /dev/null
+++ b/security/ruby-soauth/PLIST
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/08/03 04:55:10 obache Exp $
+${GEM_HOME}/cache/soauth-${PKGVERSION}.gem
+${GEM_LIBDIR}/LICENSE
+${GEM_LIBDIR}/README.markdown
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/lib/soauth.rb
+${GEM_LIBDIR}/soauth.gemspec
+${GEM_LIBDIR}/test/soauth_test.rb
+${GEM_HOME}/specifications/soauth-${PKGVERSION}.gemspec
diff --git a/security/ruby-soauth/distinfo b/security/ruby-soauth/distinfo
new file mode 100644
index 00000000000..cee3144f687
--- /dev/null
+++ b/security/ruby-soauth/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/08/03 04:55:10 obache Exp $
+
+SHA1 (soauth-0.2.gem) = 44a666d6e388593f9ad1c5ac9612313a779a5e6f
+RMD160 (soauth-0.2.gem) = 0c3f87be9376dbfe015f58e83c0d46e99ec22582
+Size (soauth-0.2.gem) = 7680 bytes