Date: Sun, 18 Jan 2004 17:36:32 -0800 From: Tim Kientzle <kientzle@acm.org> To: freebsd-ports@freebsd.org Subject: 'All' versus 'Latest' Message-ID: <400B34A0.2080507@acm.org>
next in thread | raw e-mail | index | archive | help
As I understand it, the purpose of the "All" and "Latest" directories in the ports area of ftp.freebsd.org is to allow one to type simply: pkg_add -r emacs to fetch the newest version of emacs, rather than requiring pkg_add -r emacs-21.3 That's fine and easy to understand, but doesn't seem to be very consistently followed. After several hours of work, I've come up with a C routine that can almost always identify whether a name comes from the "All" or "Latest" directories. Out of 16,000+ names, it currently mis-classifies the following 32: Names that are in "Latest" but appear to have version numbers (most of these could be fixed by dropping the final '-'): de-ispell-20001109 de-ispell-alt-19991219 de-ispell-neu-20001109 docbook-241 docbook-3.0 docbook-310 docbook-400 docbook-410 efax-0.9a gl-117 p5-DBI-137 Names that are in "All" but whose version numbers don't seem to match any particular pattern (in particular, these all either begin with a letter or contain multiple letters): arena-i18n-beta3b cnews-cr.g_6 ithought-a5 ja-samba-2.2.8a.j1.1_3 jabber-msn-1.2.8.rc1 ko-hpscat-1.3jshin ko-linuxdoc-sgml-1.6bh2 ldapmodule-1.10alpha3_4 mingw32-bin-msvcrt-r3.2.a2.4 mtx-1.2.17rel musixtex-T98 omi-a9 p5-Tcl-b2 p5-TclTk-b2 pathchar-a1 slashem-tty-0.0.6E.4F.8 tac_plus-F4.0.4_3 tei-guidelines-p3 tei-guidelines-p4 tei-p3_1 tei-p4_2
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?400B34A0.2080507>