1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
|
Description: Do not use online minifier
Upstream makefile is using http://closure-compiler.appspot.com/compile to
minify jsencrypt. This isn't acceptable in Debian, therefore, I'm removing
this "feature", and replacing it with using yui-compressor.
Author: Thomas Goirand <zigo@debian.org>
Forwarded: no
Last-Update: 2014-08-14
--- libjs-jsencrypt-2.0.0+dfsg1.orig/makefile
+++ libjs-jsencrypt-2.0.0+dfsg1/makefile
@@ -36,14 +36,6 @@ js: ${files}
@echo "exports.JSEncrypt = JSEncrypt;" >> bin/jsencrypt.js
@echo "})(JSEncryptExports);" >> bin/jsencrypt.js
@echo "var JSEncrypt = JSEncryptExports.JSEncrypt;" >> bin/jsencrypt.js
- @echo "Generating compressed jsencrypt.min.js file"
- curl -s \
- -d compilation_level=SIMPLE_OPTIMIZATIONS \
- -d output_format=text \
- -d output_info=compiled_code \
- --data-urlencode "js_code@bin/jsencrypt.js" \
- http://closure-compiler.appspot.com/compile \
- > bin/jsencrypt.min.js
licenses: ${licenses}
@cat $^ > LICENSE.txt
|