The manpage for apt-ftparchive reads:
release
The release command generates a Release file from a directory tree. It
recursively searches the given directory for uncompressed and compressed
Packages, Sources, Contents, Components and icons files as well as Release,
Index and md5sum.txt files by default
(APT::FTPArchive::Release::Default-Patterns). Additional filename patterns can
be added by listing them in APT::FTPArchive::Release::Patterns. It then writes
to stdout a Release file containing (by default) an MD5, SHA1, SHA256 and
SHA512 digest for each file.
Values for the additional metadata fields in the Release file are taken
from the corresponding variables under APT::FTPArchive::Release, e.g.
APT::FTPArchive::Release::Origin. The supported fields are Origin, Label,
Suite, Version, Codename, Date, NotAutomatic, ButAutomaticUpgrades,
Acquire-By-Hash, Valid-Until, Signed-By, Architectures, Components and
Description.
I need to set these fields in the generated Release file, made with:
user@server:/srv/repo/dists/ascii$ apt-ftparchive release . > Release
How can I do that?
What are these APT::FTPArchive::Release::... variables and how do I set them?