<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Mar 20, 2012, at 8:12 PM, Greg Troxel wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Do linux package systems handle version components with an mpi package?<br><br></blockquote><div><br></div><div>MPI is overkill.</div><div><br></div><div>RPM pads shorter digit string with leading zero's and then calls strcmp(3).</div><div>(actually shorter digit string is always smaller, even easier than padding)</div><div><br></div><div>Same truth table as MPI comparison.</div><div><br></div><div>Multi-component versions are split into segments comparing digits w digits,</div><div>alphas w alphas, punctuation w punctuation, piece wise.</div><div><br></div><div>73 de Jeff</div><div><br></div><blockquote type="cite"><br><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(127, 127, 127, 1.0);"><b>From: </b></span><span style="font-family:'Helvetica'; font-size:medium;">"Greg Troxel" <<a href="mailto:gdt@netbsd.org">gdt@netbsd.org</a>><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(127, 127, 127, 1.0);"><b>Subject: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><b>CVS commit: pkgsrc/security/py-cryptopp</b><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(127, 127, 127, 1.0);"><b>Date: </b></span><span style="font-family:'Helvetica'; font-size:medium;">March 20, 2012 7:38:26 PM EDT<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(127, 127, 127, 1.0);"><b>To: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><a href="mailto:pkgsrc-changes@NetBSD.org">pkgsrc-changes@NetBSD.org</a><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(127, 127, 127, 1.0);"><b>Reply-To: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><a href="mailto:gdt@netbsd.org">gdt@netbsd.org</a><br></span></div><br><br>Module Name:<span class="Apple-tab-span" style="white-space:pre">    </span>pkgsrc<br>Committed By:<span class="Apple-tab-span" style="white-space:pre">       </span>gdt<br>Date:<span class="Apple-tab-span" style="white-space:pre">  </span><span class="Apple-tab-span" style="white-space:pre">    </span>Tue Mar 20 23:38:26 UTC 2012<br><br>Modified Files:<br><span class="Apple-tab-span" style="white-space:pre">   </span>pkgsrc/security/py-cryptopp: Makefile<br><br>Log Message:<br>Split version into sane and excessive parts.<br><br>Upstream's version is 0.6.0.X, where X appears to be a large integer<br>in decimal that corresponds to a git sha1 has.  Such large numbers<br>violate the assumption, true with just about every previous package,<br>that version number components will fit in an int --- code that<br>handles version numbers does not use a multiprecision integer library<br>like gmp.  To address this, split the version into what would have<br>been the version under normal procedures (0.6.0), and put the bignum<br>into ${VERSION_EXCESSIVE}, allowing it be used in DISTNAME but not<br>PKGNAME.<br><br><br>To generate a diff of this commit:<br>cvs rdiff -u -r1.7 -r1.8 pkgsrc/security/py-cryptopp/Makefile<br><br>Please note that diffs are not public domain; they are subject to the<br>copyright notices on the relevant files.<br><br><br><br>_______________________________________________<br>tahoe-dev mailing list<br><a href="mailto:tahoe-dev@tahoe-lafs.org">tahoe-dev@tahoe-lafs.org</a><br>http://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev<br></blockquote></div><br></body></html>