Skip to content

v0.12.0

Latest
Compare
Choose a tag to compare
@agnostic-apollo agnostic-apollo released this 08 Jan 16:14
· 7 commits to master since this release
a7e20f9

v0.12.0 - 2022-01-08

Implemented in #35.

Added

  • Add support for YAML format for manifests.
  • Add support for custom permissions and ownership of data files.
  • Add support to automatically set permissions and ownership to control tar files.
  • Add support to automatically add Installed-Size field to control file.
  • Add support to automatically generate md5sums file.
  • Add support to automatically add other controls files config, conffiles, templates, shlibs to control tar.
  • Add support to add custom control file fields.
  • Add support for control and data tar compression type and format.
  • Add support for --control-files-dir, --deb-dir, --deb-name, --files-dir, --pkg-arch, --pkg-version and --yaml comamnd line options.
  • Add support of installation_prefix, files_dir, tar_compression, tar_format, deb_dir, deb_name, deb_architecture_tag, control_files_dir, maintainer_scripts_shebang, conffiles_prefix_to_replace, fix_perms, allow_bad_user_names_and_ids, ignore_android_specific_rules create info fields in manifest.
  • Add support of source, perm, fix_perm, source_ownership, owner_uid, owner_uname, owner_gid, owner_gname, is_conffile attribute fields for data_files dictionary in manifest.
  • Add support of ignore, ignore_if_no_exist, source_readlink, source_recurse, set_parent_perm, symlink_destinations, set_shebang action fields for data_files dictionary in manifest.
  • Add support to automatically add termux-create-package script and sha256sums.txt to releases.

Changed

  • The manifest format has been completely changed, but backward compatibility still maintained. Check README.md for details. The files dictionary has been replaced with data_files. The control file fields are to be added to the control dictionary.
  • Extended manifest validation so that debs comply with debian and dpkg rules.
  • The manifest Depends, Provides, Conflicts and other package relationship fields should be of type string now instead of a list.
  • The manifest Description and other multi-line field values should be of type list now instead of a string.
  • The --prefix must now be an absolute path.