[translate] web/xml/packaging packaging.en.xml,1.45,1.46
Daniel Macks <[email protected]>
| Newsgroups | gmane.os.apple.fink.i18n |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/fink/web/xml/packaging Modified Files: packaging.en.xml Log Message: Added notes about version strings. Index: packaging.en.xml =================================================================== RCS file: /cvsroot/fink/web/xml/packaging/packaging.en.xml,v retrieving revision 1.45 retrieving revision 1.46 diff -u -d -r1.45 -r1.46 --- packaging.en.xml 4 Aug 2004 08:16:59 -0000 1.45 +++ packaging.en.xml 6 Aug 2004 11:55:57 -0000 1.46 @@ -1273,6 +1273,24 @@ Same limitations as the Package field. Required field. </p> +<p> + Note that some programs use nonstandard version numbering schemes + that may cause sorting confusion or that contain characters that are + not allowed in this field. In these situations, when writing the + Fink package, you must convert the upstream value to one that is + acceptable and that allows the versions to be arranged in the + correct order. When in doubt about how version strings will be + sorted, you can use the <code>dpkg</code> command at a shell + prompt. For example, +</p> +<codeblock> + dpkg --compare-versions 1.2.1 lt 1.3 && echo "true" +</codeblock> +<p> + will print "true" because version string "1.2.1" + is less than "1.3". See the <code>dpkg</code> manpage for + more details. +</p> </itemd></item> <item><itemt>Revision</itemt> ------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com