Skip to content

Latest commit

 

History

History

HexChat_Debian_Stretch_To_Jessie_Package_Converter

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

HexChat - Debian Stretch To Jessie Package Converter

This is a simple shell script to convert a Debian Stretch HexChat package to a Jessie-compatible one. The stretch package is backwards-compatible with Jessie, but a dependency must be renamed for the package to install. The script provided here automates the process.

Requirements

  • This is a shell script, so a suitable shell is required to run it.
  • dpkg-deb for extracting and re-creating the package.
  • sed for replacing dependencies within the Debian dependency control file.
  • Standard commands: cat, mv, echo

How to Use

Technical Details

This script basically changes the libproxy1v5 dependency in Debian stretch's hexchat to simply libproxy1, which is the same library in Debian jessie, but under a different name.

When the package is extracted with dpkg-deb, the script will modify the extracted DEBIAN/control file and replace the libproxy1v5 dependency with jessie-compatible libproxy1 dependency.

Once done, it simply re-builds the package from the extracted (and now modified) directory.