Skip to content

Commit 8af9b44

Browse files
committed
verify checksums
1 parent f3cb4d0 commit 8af9b44

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

build_scripts/make-deb-packages-vmod.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ cd pkgbuild/distdir/
2424
# Save the tarball source file one level up,
2525
# needed for format v3.0
2626
curl -L "${VARS[${PKG_NAME}_source]}" -o ../$DEB_ORIG
27+
echo "${VARS[${PKG_NAME}_sha512]} ../$DEB_ORIG" | sha512sum -c -
2728
tar xvfz ../$DEB_ORIG --strip 1
2829
# remove potential debian/ package included in the tarball
2930
rm -rf debian

pkg.env

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,36 +2,50 @@ package_release=3
22
varnish_version=8.0.0
33

44
declare -A VARS
5+
VARS[varnish_version]=8.0.0
6+
VARS[varnish_source]=https://varnish-cache.org/downloads/varnish-${VARS[varnish_version]}.tgz
7+
VARS[varnish_sha512]=cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e
58

69
VARS[varnish-modules_version]=0.27.0
710
VARS[varnish-modules_source]=https://github.com/varnish/varnish-modules/releases/download/${VARS[varnish-modules_version]}/varnish-modules-${VARS[varnish-modules_version]}.tar.gz
11+
VARS[varnish-modules_sha512]=bb8a55b3d665fe6de918f784a6f4276b2053f5b1cd0628d6b6c6c78c0042fd678736a2f48375cf356daa47a987175f52569c0b468ccd2b37ab55a32c25255264
812

913
VARS[vmod-cfg_version]=8.0-20.0
1014
VARS[vmod-cfg_source]=https://github.com/carlosabalde/libvmod-cfg/archive/refs/tags/${VARS[vmod-cfg_version]}.tar.gz
15+
VARS[vmod-cfg_sha512]=cbe32e4ddb75cac749f1731b710fc32adee7d3c432162152f18c7d309da01da2c9fdea5cfed9421b512a3f7da8b0259ce175c5129a1f4d507f40f85b565dfbb7
1116

1217
VARS[vmod-digest_version]=1.0.3
1318
VARS[vmod-digest_source]=https://github.com/varnish/libvmod-digest/archive/refs/tags/libvmod-digest-${VARS[vmod-digest_version]}.tar.gz
19+
VARS[vmod-digest_sha512]=352c91613e51e98a034f04382e42b52992c4bb88d26cb38d7577a0523acbd6de549898ff159c67e9f2aeeb60a5b9025bd2b34c67da9ef3de5af95bfaa7b0cb58
1420

1521
VARS[vmod-fileserver_version]=0.0.10
1622
VARS[vmod-fileserver_source]=https://github.com/varnish-rs/vmod-fileserver/archive/refs/tags/v${VARS[vmod-fileserver_version]}.tar.gz
23+
VARS[vmod-fileserver_sha512]=b504f6389d000211a0dd1087c158d6c6e4518fbea36406ad5b321ee32b09330cb8c28d52508263fcae04a328daa0d2fb9f63789310010691ab9812b1a10f8c64
1724

1825
VARS[vmod-geoip2_version]=976c551b5584034dde80ac30f8baa07f1bc92834
1926
VARS[vmod-geoip2_source]=https://github.com/varnishcache-friends/libvmod-geoip2/archive/${VARS[vmod-geoip2_version]}.tar.gz
27+
VARS[vmod-geoip2_sha512]=510d71112207e5656b7b96f4d9604b16ded8fad55df40b8ab35536e4214dd39838a9e0f39286033424d585b78f8c1aa1adfa8250d6c0f0f13d0ab7342d920437
2028

2129
VARS[vmod-jq_version]=4051a7d08dc3a4ca90d9e8319d5a3a132793e1da
2230
VARS[vmod-jq_source]=https://github.com/varnishcache-friends/libvmod-jq/archive/${VARS[vmod-jq_version]}.tar.gz
31+
VARS[vmod-jq_sha512]=2d9e3827a33b19411d0ba0dd3366a94f8ece1ef5174e1648f3dab7c6ebbc186b840e92b929532dc7f5db9ad3d7dc7e3891f2f61c540c4c109a37a8eda095927c
2332

2433
VARS[vmod-querystring_version]=2.0.4
2534
VARS[vmod-querystring_source]=https://git.sr.ht/~dridi/vmod-querystring/refs/download/vmod-querystring-2.0.4/vmod-querystring-${VARS[vmod-querystring_version]}.tar.gz
35+
VARS[vmod-querystring_sha512]=609e333279f761e4bb4867f4541003eccf71df06ff4631834e66f3b384d49e1e66dd7fa7ff500717b4a7db215838418f05406a431d19af7e03a61321646422cf
2636

2737
VARS[vmod-redis_version]=8.0-22.0
2838
VARS[vmod-redis_source]=https://github.com/carlosabalde/libvmod-redis/archive/refs/tags/${VARS[vmod-redis_version]}.tar.gz
39+
VARS[vmod-redis_sha512]=57a2c138beea5fe1cb7ea9202de61ac269270c5fc7e00640c113c5a688feac11d3d009bac38b0dd076a2af658120a5d7d98e1b269f3f51f087fba78279b48694
2940

3041
VARS[vmod-reqwest_version]=0.0.16
3142
VARS[vmod-reqwest_source]=https://github.com/varnish-rs/vmod-reqwest/archive/refs/tags/v${VARS[vmod-reqwest_version]}.tar.gz
43+
VARS[vmod-reqwest_sha512]=52f0ae6acf481eea049ed5f88f3b6dbe2d66071db060d925866bb630cd8fa98e9bcce987b428844f75c849944c38a73f22a03df90935bc5795a34d751eed2ec7
3244

3345
VARS[vmod-rers_version]=0.0.13
3446
VARS[vmod-rers_source]=https://github.com/varnish-rs/vmod-rers/archive/refs/tags/v${VARS[vmod-rers_version]}.tar.gz
47+
VARS[vmod-rers_sha512]=c993e046b3cb4d42df1623fd9ff441d013eb0e07c70fff5c58c3e4bff8c6fc1b48004dc29bf1708c6b280f4248fd6a13064720166551deb1fcd9ddc0b3d76484
3548

3649
VARS[vmod-uuid_version]=ae0ca345b9974092bf139409d2852fc46886c250
3750
VARS[vmod-uuid_source]=https://github.com/otto-de/libvmod-uuid/archive/${VARS[vmod-uuid_version]}.tar.gz
51+
VARS[vmod-uuid_sha512]=a0fb89af3c2dee5542b4173e3853869e2cdbf4cd473900b338e4701f0b769ede7d05436b754a8c1de6b13dc81cda73361a901ace26174b9c4068a3922f1119c3

0 commit comments

Comments
 (0)