Sun, 20 May 2018 00:51:58 +0200
libs.hashes: Switch to moteus bgcrypto suite
Because LuaCrypto seems to be unmaintained and bgcrypto has PBKDF2
https://luarocks.org/modules/moteus/bgcrypto-lmd5
https://luarocks.org/modules/moteus/bgcrypto-sha
https://luarocks.org/modules/moteus/bgcrypto-hmac
https://luarocks.org/modules/moteus/bgcrypto-pbkdf2
include config.unix ifndef SQUISH $(error Please run ./configure first) endif SOURCE_FILES=$(shell $(SQUISH) --list-files) MISSING_FILES=$(shell $(SQUISH) --list-missing-files) all: verse.lua verse.lua: $(SOURCE_FILES) ./buildscripts/squish install: verse.lua install -t $(LUA_DIR) -m 644 $^ clean: rm verse.lua $(MISSING_FILES): mkdir -p "$(@D)" wget "$(PROSODY_URL)$@" -O "$@" rsm.lib.lua: wget https://hg.prosody.im/prosody-modules/raw-file/tip/mod_mam/rsm.lib.lua -O rsm.lib.lua release: $(MISSING_FILES) rm config.unix .PHONY: all release clean install