summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2017-09-14 17:00:25 +0000
committerminskim <minskim@pkgsrc.org>2017-09-14 17:00:25 +0000
commite482cd09a6cc256853e4e580ecf8d39c30f9c5e0 (patch)
treeff7b43daf22669319c8805b3a6f18a4c40d5128e
parente5970fb3fa1eb25276ffbac7ed2a6551f7968425 (diff)
downloadpkgsrc-e482cd09a6cc256853e4e580ecf8d39c30f9c5e0.tar.gz
Import ruby-jsobfu-0.4.2 as security/ruby-jsobfu
This is a Javascript code obfuscator written in Ruby.
-rw-r--r--security/ruby-jsobfu/DESCR1
-rw-r--r--security/ruby-jsobfu/Makefile19
-rw-r--r--security/ruby-jsobfu/PLIST24
-rw-r--r--security/ruby-jsobfu/distinfo6
4 files changed, 50 insertions, 0 deletions
diff --git a/security/ruby-jsobfu/DESCR b/security/ruby-jsobfu/DESCR
new file mode 100644
index 00000000000..d5137a62b80
--- /dev/null
+++ b/security/ruby-jsobfu/DESCR
@@ -0,0 +1 @@
+This is a Javascript code obfuscator written in Ruby.
diff --git a/security/ruby-jsobfu/Makefile b/security/ruby-jsobfu/Makefile
new file mode 100644
index 00000000000..0dd8feccca9
--- /dev/null
+++ b/security/ruby-jsobfu/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2017/09/14 17:00:25 minskim Exp $
+
+DISTNAME= jsobfu-0.4.2
+CATEGORIES= security
+
+MAINTAINER= minskim@NetBSD.org
+HOMEPAGE= https://github.com/rapid7/jsobfu
+COMMENT= Javascript code obfuscator
+LICENSE= modified-bsd
+
+DEPENDS+= ${RUBY_PKGPREFIX}-rkelly-remix-[0-9]*:../../lang/ruby-rkelly-remix
+
+.include "../../lang/ruby/gem.mk"
+
+post-install:
+ ${MV} ${DESTDIR}${PREFIX}/bin/jsobfu \
+ ${DESTDIR}${PREFIX}/bin/jsobfu${RUBY_SUFFIX}
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/ruby-jsobfu/PLIST b/security/ruby-jsobfu/PLIST
new file mode 100644
index 00000000000..7cd1c0352a9
--- /dev/null
+++ b/security/ruby-jsobfu/PLIST
@@ -0,0 +1,24 @@
+@comment $NetBSD: PLIST,v 1.1 2017/09/14 17:00:25 minskim Exp $
+bin/jsobfu${RUBY_SUFFIX}
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/bin/jsobfu
+${GEM_LIBDIR}/lib/jsobfu.rb
+${GEM_LIBDIR}/lib/jsobfu/disable.rb
+${GEM_LIBDIR}/lib/jsobfu/ecma_tight.rb
+${GEM_LIBDIR}/lib/jsobfu/hoister.rb
+${GEM_LIBDIR}/lib/jsobfu/obfuscator.rb
+${GEM_LIBDIR}/lib/jsobfu/scope.rb
+${GEM_LIBDIR}/lib/jsobfu/utils.rb
+${GEM_LIBDIR}/lib/jsobfu/version.rb
+${GEM_LIBDIR}/samples/basic.rb
+${GEM_LIBDIR}/spec/integration_spec.rb
+${GEM_LIBDIR}/spec/jsobfu/disable_spec.rb
+${GEM_LIBDIR}/spec/jsobfu/hoister_spec.rb
+${GEM_LIBDIR}/spec/jsobfu/obfuscator_spec.rb
+${GEM_LIBDIR}/spec/jsobfu/scope_spec.rb
+${GEM_LIBDIR}/spec/jsobfu/utils_spec.rb
+${GEM_LIBDIR}/spec/jsobfu_spec.rb
+${GEM_LIBDIR}/spec/spec_helper.rb
+${GEM_LIBDIR}/spec/support/matchers/be_in_charset.rb
+${GEM_LIBDIR}/spec/support/matchers/evaluate_to.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
diff --git a/security/ruby-jsobfu/distinfo b/security/ruby-jsobfu/distinfo
new file mode 100644
index 00000000000..48310a80222
--- /dev/null
+++ b/security/ruby-jsobfu/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/09/14 17:00:25 minskim Exp $
+
+SHA1 (jsobfu-0.4.2.gem) = 5a7c0fa65ecb424b8aa20a7948588f1561538f9e
+RMD160 (jsobfu-0.4.2.gem) = cfaf40b3b98201e3074432a2e7ef8085592a3223
+SHA512 (jsobfu-0.4.2.gem) = 84374c8c65691eac6fbdaef78a6faf8a1659474789df2ad0b938cd9101e5b51c69ac5fb157eff3e714decb1402372fe98015a2ef3d77775f0af22fba34f93227
+Size (jsobfu-0.4.2.gem) = 27648 bytes