sjvermeu / cvechecker

Command-line utility to scan the system and report on potential vulnerabilities, based on public CVE data
GNU General Public License v3.0
258 stars 68 forks source link

Cannot figure, why a modification in `configure.ac` isn't populated into cvechecker #59

Closed HenrikBach1 closed 3 years ago

HenrikBach1 commented 3 years ago

Hi

I cannot figure, why the modification in configure.ac:

AC_INIT([cvechecker], [4.0-modified], [sven.vermeulen@siphos.be])

isn't reflected in the build:

root@973091faf51e:/projects/cvechecker/cvechecker-2021-05-08-build/cvechecker-master# ./src/cvechecker --version
Database type "sqlite" is not supported.
cvechecker 4.0
root@973091faf51e:/projects/cvechecker/cvechecker-2021-05-08-build/cvechecker-master# 

even though its .c and .h files are populated with the autoreconf command:

Screenshot from 2021-06-04 16-32-37

Thank you

sjvermeu commented 3 years ago

Hi Henrik

The version information from the build tools isn't used. The version is hardcoded in the cvecheck.h header file. I wasn't even aware the build tools could handle it (autoconf and automake never became good friends of mine).

Wkr, Sven

HenrikBach1 commented 3 years ago

Hi Sven

Me neither. But I can see, that it was fairly simple and tested it. I'll send a patch in the form of a PR, later.

Thank you.