OpenConnect --version in patched package builds

David Woodhouse dwmw2 at infradead.org
Fri Jan 9 02:03:00 PST 2015


Sometimes, distros backport individual fixes instead of just shipping a
new version.

The OpenConnect build system automatically makes the version string
"vX.XX-unknown" when you do that, unless you explicitly touch version.c
after applying your patches.

I've committed a patch to make it use
"v$RPM_PACKAGE_VERSION-$RPM_PACKAGE_RELEASE" if those are set, instead
of just "vX.XX-unknown":
http://git.infradead.org/users/dwmw2/openconnect.git/commitdiff/e8fdcbb

Is there an equivalent for Debian packaging that I should check for too?

-- 
dwmw2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5745 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20150109/559bc46e/attachment.bin>


More information about the openconnect-devel mailing list