CustomBuild versions - more detail

sparek

Verified User
Joined
Jun 27, 2019
Messages
118
I think it would be beneficial if

/usr/local/directadmin/custombuild/build versions

Would include the specific option to pass to CustomBuild to compile that option.

For example, an update to Nghttp2 recently became available

Nghttp2 1.39.2 to 1.40.0 update is available.

But listing:

/usr/local/directadmin/custombuild/build help

I wasn't able to come up with what to pass to build in order to upgrade this.

I had to scour through the source of /usr/local/directadmin/custombuild/build to figure out that it was:

/usr/local/directadmin/custombuild/build nghttp2

I think an improvement could be made if

/usr/local/directadmin/custombuild/build versions

would list this as:

Nghttp2 1.39.2 to 1.40.0 update is available. - nghttp2

Do this for every option in CustomBuild, so we'd know to pass

/usr/local/directadmin/custombuild/build xxxxxx

To rebuild/upgrade xxxxxx
 

scriptkitty

Verified User
Joined
Jul 10, 2019
Messages
58
Run
Code:
 /usr/local/directadmin/custombuild/build
to see all options available. There you’ll likely find the functionality you seek. :)
 

smtalk

Administrator
Staff member
Joined
Aug 22, 2006
Messages
8,331
Location
LT, EU
The following is also available, if you prefer JSON format:
Bash:
/usr/local/directadmin/custombuild/build versions_json
 

sparek

Verified User
Joined
Jun 27, 2019
Messages
118
Run
Code:
 /usr/local/directadmin/custombuild/build
to see all options available. There you’ll likely find the functionality you seek. :)
Well... I mean, the point kind of was that nghttp2 is not listed there. I'm not sure if there are others that are missing or not.

/usr/local/directadmin/custombuild/build | grep nghttp2

/usr/local/directadmin/custombuild/build help | grep nghttp2


But yet, in order to recompile Nghttp2 the correct parameter to pass is:

/usr/local/directadmin/custombuild/build nghttp2

How is one suppose to know that Nghttp2 is referred to as nghttp2? Without reading through the source of /usr/local/directadmin/custombuild/build

(although... actually now as I read that, it's kind of one of those "duh!" moments. But still, I think all of this could be better informed)

The following is also available, if you prefer JSON format:

Bash:
/usr/local/directadmin/custombuild/build versions_json
This returns an empty set for me. Might this be because all of my versions are up-to-date now?
 
Last edited:
Top