How to override the version of one item with CustomBuild 2.0

Enter Your Query:
Use '%' for wildcards and quotes for "exact phrases"

Top Level » CustomBuild » CustomBuild 2.0

How to override the version of one item with CustomBuild 2.0Last Modified: Oct 16, 2015, 6:55 pm
Say you need to keep an older version of one CustomBuild item (for whatever reason), but you still want all other versions to be updated as they're available.   A file called custom_versions.txt can do just that.  It has the ability to override the versions.txt with any item that is in the custom_versions.txt, but you do not need to add all items to it, just the value you want to override.   That way, the versions.txt can be updated with newer versions for everything else, but your override in the custom_versions.txt will say the same.

In this example, we'll use: (taken from the versions.txt).
Let's say the active version of curl is 7.38.0, but we want to downgrade to .
Although it's not required, if you have the md5sum of the curl 7.37.1 file, enter it here:
If you don't know the md5sum value, make this field blank.

To do that, run the following:

cd /usr/local/directadmin/custombuild
echo "curl:7.37.1:a944b069ac70c3e574c25def6e1d6b2f" > custom_versions.txt
./build curl

Note that the ./build curl command might be different than the versions.txt name, so adjust that as needed, but that's the general idea.

Related Helpfiles
How to change php to a different version

© 2018 JBMC Software, Suite 173  3-11 Bellerose Drive, St Albert, AB  T8N 1P7  Canada.  Mon-Fri 9AM-5PM MST