SOURCE_HASH=sha512:52e6776fa4a15dc3971bbe394e5ad762e600d4c1789aa05609166963497245648d5dcfc9e874e8b7e62bc7979d7948e8092acdf433bfc575b02be03047fb1c9d
diff --git a/wm-addons/alock/HISTORY b/wm-addons/alock/HISTORY
index 1737c64..3e42b13 100644
--- a/wm-addons/alock/HISTORY
+++ b/wm-addons/alock/HISTORY
@@ -1,5 +1,8 @@
2022-08-27 Vlad Glagolev <stealth AT sourcemage.org>
- * DETAILS: correct license to MIT
+ * DETAILS: SECURITY_PATCH=1, correct license to MIT
+ * PRE_BUILD: apply patches
+ * crypt-h.patch: added, to fix a security issue on modern systems
+ * crypt.h: added, to fix a potential security issue
2022-08-25 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 2.5.0
diff --git a/wm-addons/alock/PRE_BUILD b/wm-addons/alock/PRE_BUILD
index 067c14e..15fe54b 100755
--- a/wm-addons/alock/PRE_BUILD
+++ b/wm-addons/alock/PRE_BUILD
@@ -1,6 +1,8 @@
default_pre_build &&
cd "${SOURCE_DIRECTORY}" &&