diff --git a/appliance/packagelist.in b/appliance/packagelist.in index 309523443..7b6e9f23f 100644 --- a/appliance/packagelist.in +++ b/appliance/packagelist.in @@ -256,6 +256,7 @@ file findutils gawk gdisk +gostsum grep gzip jfsutils diff --git a/daemon/checksum.c b/daemon/checksum.c index f7337fb5b..e3a22f973 100644 --- a/daemon/checksum.c +++ b/daemon/checksum.c @@ -46,8 +46,12 @@ program_of_csum (const char *csumtype) return "sha384sum"; else if (STRCASEEQ (csumtype, "sha512")) return "sha512sum"; + else if (STRCASEEQ (csumtype, "gost")) + return "gostsum"; + else if (STRCASEEQ (csumtype, "gost12")) + return "gost12sum"; else { - reply_with_error ("unknown checksum type, expecting crc|md5|sha1|sha224|sha256|sha384|sha512"); + reply_with_error ("unknown checksum type, expecting crc|md5|sha1|sha224|sha256|sha384|sha512|gost|gost12"); return NULL; } } diff --git a/generator/actions_core.ml b/generator/actions_core.ml index addbe4ec1..8fb5a665a 100644 --- a/generator/actions_core.ml +++ b/generator/actions_core.ml @@ -2652,6 +2652,13 @@ parameter which must have one of the following values: Compute the cyclic redundancy check (CRC) specified by POSIX for the C command. +=item C + +=item C + +Compute the checksum using GOST R34.11-94 or +GOST R34.11-2012 message digest. + =item C Compute the MD5 hash (using the L program).