#!/bin/sh

http_source="http://ftp.de.debian.org/debian/pool/main/c/ca-certificates-java/"
version="20161107~bpo8"

for file in `wget -qO- "${http_source}" | ./bquery a -a href | grep "${version}" | grep -e '\.deb$' -e '\.dsc$' -e '\.tar\.xz$'`; do
  wget "${http_source}${file}"
done
