Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save multani/ffa809721e9d42fb8060 to your computer and use it in GitHub Desktop.
Save multani/ffa809721e9d42fb8060 to your computer and use it in GitHub Desktop.
DPKG_TIMESTAMP %{TIMESTAMP_ISO8601:timestamp}
DPKG_PACKAGE [-+~\.0-9a-zA-Z]+
DPKG_ARCH [a-z0-9]+
DPKG_PKGARCH %{DPKG_PACKAGE:package}(:%{DPKG_ARCH:arch})?
DPKG_VERSION [-+~<>\.0-9a-zA-Z]+
DPKG_ACTION0 (startup archives|startup packages|conffile)
DPKG_ACTION1 (configure|remove|upgrade|purge|status (config-files|installed|not-installed|triggers-awaited|triggers-pending|unpacked|half-installed|half-configured))
DPKG_ACTION2 (trigproc|upgrade)
DPKG_0_VERSIONS %{DPKG_ACTION0:action}
DPKG_1_VERSIONS (%{DPKG_ACTION1:action} %{DPKG_PKGARCH} %{DPKG_VERSION:version})$
DPKG_2_VERSIONS (%{DPKG_ACTION2:action} %{DPKG_PKGARCH} %{DPKG_VERSION:version_from} %{DPKG_VERSION:version})$
DPKG_LOG %{DPKG_TIMESTAMP} (%{DPKG_0_VERSIONS}|%{DPKG_1_VERSIONS}|%{DPKG_2_VERSIONS})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment