diff options
author | William Ahern <william@server.local> | 2012-10-09 18:20:38 -0700 |
---|---|---|
committer | William Ahern <william@server.local> | 2012-10-09 18:20:38 -0700 |
commit | 3b9acd41e0ed7efccb423ea50a4a14822fb5cd0d (patch) | |
tree | d44759a0cda9cd96f9aa161a455c678809a79a07 | |
parent | a9d25b6567fa1fb4bba8642b356089483768096c (diff) | |
download | luaossl-3b9acd41e0ed7efccb423ea50a4a14822fb5cd0d.tar.gz luaossl-3b9acd41e0ed7efccb423ea50a4a14822fb5cd0d.tar.bz2 luaossl-3b9acd41e0ed7efccb423ea50a4a14822fb5cd0d.zip |
-n
install new modules
-rw-r--r-- | Makefile | 38 | ||||
-rw-r--r-- | openssl.ssl.context.lua | 3 |
2 files changed, 40 insertions, 1 deletions
@@ -36,12 +36,48 @@ openssl.o: openssl.c $(CC) $(CFLAGS) $(CPPFLAGS) -c -o $@ $< -install: $(lua52cpath)/_openssl.so +install: $(lua52cpath)/_openssl.so $(lua52path)/openssl/bignum.lua \ + $(lua52path)/openssl/pubkey.lua $(lua52path)/openssl/x509.lua \ + $(lua52path)/openssl/x509/name.lua $(lua52path)/openssl/x509/altname.lua \ + $(lua52path)/openssl/x509/chain.lua $(lua52path)/openssl/x509/store.lua \ + $(lua52path)/openssl/ssl/context.lua $(lua52cpath)/_openssl.so: openssl.so mkdir -p $(@D) cp -p $< $@ +$(lua52path)/openssl/bignum.lua: openssl.bignum.lua + mkdir -p $(@D) + cp -p $< $@ + +$(lua52path)/openssl/pubkey.lua: openssl.pubkey.lua + mkdir -p $(@D) + cp -p $< $@ + +$(lua52path)/openssl/x509.lua: openssl.x509.lua + mkdir -p $(@D) + cp -p $< $@ + +$(lua52path)/openssl/x509/name.lua: openssl.x509.name.lua + mkdir -p $(@D) + cp -p $< $@ + +$(lua52path)/openssl/x509/altname.lua: openssl.x509.altname.lua + mkdir -p $(@D) + cp -p $< $@ + +$(lua52path)/openssl/x509/chain.lua: openssl.x509.chain.lua + mkdir -p $(@D) + cp -p $< $@ + +$(lua52path)/openssl/x509/store.lua: openssl.x509.store.lua + mkdir -p $(@D) + cp -p $< $@ + +$(lua52path)/openssl/ssl/context.lua: openssl.ssl.context.lua + mkdir -p $(@D) + cp -p $< $@ + .PHONY: clean clean~ diff --git a/openssl.ssl.context.lua b/openssl.ssl.context.lua new file mode 100644 index 0000000..44a9163 --- /dev/null +++ b/openssl.ssl.context.lua @@ -0,0 +1,3 @@ +local ctx = require"_openssl.ssl.context" + +return ctx |