Refactoring: Crypto wrapper and TLS check
- Use
crypto-wrapper
insteadatsha204cmd
- This will change dependency from
libatsha204
tocrypto-wrapper
- This will change dependency from
- Force check of the smtp server certificate
- This will add dependency on
ca-certificates
- This will add dependency on
- Refactor the script a bit
Proposed turris/turris-os-packages> patch is:
diff --git a/cznic/user-notify/Makefile b/cznic/user-notify/Makefile
index 3e114de43..587bc78b8 100644
--- a/cznic/user-notify/Makefile
+++ b/cznic/user-notify/Makefile
@@ -22,7 +22,7 @@ include $(INCLUDE_DIR)/package.mk
define Package/user-notify
TITLE:=user-notify
- DEPENDS:=+at +msmtp +create_notification
+ DEPENDS:=+at +msmtp +ca-certificates +crypto-wrapper +create_notification
endef
define Build/Compile
Still works only for Turris 1.x and Omnia
Edited by Vojtech Myslivec