Skip to content
This repository was archived by the owner on Aug 8, 2025. It is now read-only.
Yaroslav (pi) edited this page Oct 28, 2020 · 1 revision

HashPackage specification (hpspec) format

hpspec used in option --hp HPSPEC to apply action (e.g. --list, --verify or --purge) only to specific HashPackage(s).

url: either raw URL or with url: prefix. Examples (equal): --hp https://wordpress.org/wordpress-5.1.1.zip or --hp url:https://wordpress.org/wordpress-5.1.1.zip

name: basename of remote file. Examples (equal): --hp wordpress-5.1.1.zip or --hp name:wordpress-5.1.1.zip

sig: signature of HashPackage, Example: --hp sig:deb:apache2-bin_2.4.25-3+deb9u6_amd64

all: or all:all matches all HashPackages.

expires or expired: --hp expired - HashPackage already expired. --hp expired:2019-12-31. HashPackage expired at that date

All these options will match same package:

--hp url:https://wordpress.org/wordpress-5.1.1.zip
--hp https://wordpress.org/wordpress-5.1.1.zip
--hp name:wordpress-5.1.1.zip
--hp wordpress-5.1.1.zip

Clone this wiki locally