DPS Initial Ideas

Matthew Seaman m.seaman at infracaninophile.co.uk
Sun May 13 17:25:36 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Matthew Seaman wrote:

> Extra whitespace I can fix for you -- it's just the COMMENT field which
> is affected IIRC.  I just copy the string exactly as shown in the port's
> Makefile.  make index collapses multiple whitespace to single.  As you say,
> cosmetic.  Also I get the sorting 'for free' by using the properties
> of BDB btrees.  Unfortunately it disagrees somewhat with the collation
> order generated by sort.

Here's the result of crunching multiple spaces in the COMMENT fields:

happy-idiot-talk:/tmp:% diff -C 0 -u bar foo
- --- bar Sun May 13 18:12:08 2007
+++ foo Sun May 13 18:12:01 2007
@@ -1402 +1402 @@
- -lrzsz-0.12.20_1|Receive/Send files via X/Y/ZMODEM protocol.  (unrestrictive)
+lrzsz-0.12.20_1|Receive/Send files via X/Y/ZMODEM protocol. (unrestrictive)
@@ -1476 +1476 @@
- -zmtx-zmrx-1.02|Receive/Send files via ZMODEM protocol.  (unrestrictive)
+zmtx-zmrx-1.02|Receive/Send files via ZMODEM protocol. (unrestrictive)
@@ -1809,2 +1809,2 @@
- -p5-DBI-1.54|The perl5 Database Interface.  Required for DBD::* modules
- -p5-DBI-1.37_1|The perl5 Database Interface.  Required for DBD::* modules
+p5-DBI-1.54|The perl5 Database Interface. Required for DBD::* modules
+p5-DBI-1.37_1|The perl5 Database Interface. Required for DBD::* modules
@@ -1962 +1962 @@
- -postgresql-libpq++-4.0_3|C++ interface for  PostgreSQL
+postgresql-libpq++-4.0_3|C++ interface for PostgreSQL
@@ -2287 +2287 @@
- -vym-1.8.1|VYM  (View Your Mind) is a tool to generate and manipulate maps
+vym-1.8.1|VYM (View Your Mind) is a tool to generate and manipulate maps
@@ -2490 +2490 @@
- -cvs+ipv6-1.11.17_1|IPv6 enabled cvs.  You can use IPv6 connection when using pserver
+cvs+ipv6-1.11.17_1|IPv6 enabled cvs. You can use IPv6 connection when using pserver
@@ -3046 +3046 @@
- -newt-0.51.0_3|Not Erik's Windowing Toolkit:  console I/O handling library
+newt-0.51.0_3|Not Erik's Windowing Toolkit: console I/O handling library
@@ -4189 +4189 @@
- -py24-simpletal-4.1|Stand alone TAL Python implementation to power  HTML & XML templates
+py24-simpletal-4.1|Stand alone TAL Python implementation to power HTML & XML templates
@@ -4783 +4783 @@
- -vile-9.5n|VI Like Emacs.  a vi "workalike", with many additional features
+vile-9.5n|VI Like Emacs. a vi "workalike", with many additional features
@@ -4943 +4943 @@
- -vMac-0.1.9.3_1|Emulates a MacPlus machine!  Runs MacOS versions up to 7.5.5
+vMac-0.1.9.3_1|Emulates a MacPlus machine! Runs MacOS versions up to 7.5.5
@@ -5582 +5582 @@
- -libfov-1.0.2|C  library for calculating fields of view on low resolution rasters
+libfov-1.0.2|C library for calculating fields of view on low resolution rasters
@@ -6039 +6039 @@
- -xkobo-1.11|Multi-way scrolling shoot 'em up game for X.  Strangely addictive
+xkobo-1.11|Multi-way scrolling shoot 'em up game for X. Strangely addictive
@@ -7304 +7304 @@
- -ja-mypaedia-fpw-1.4.3_2|An encyclopedia  "Mypaedia" (EPWING V1 format)
+ja-mypaedia-fpw-1.4.3_2|An encyclopedia "Mypaedia" (EPWING V1 format)
@@ -9582 +9582 @@
- -xless-1.7|An X11 viewer for text files.  Useful as an add-on tool for other apps
+xless-1.7|An X11 viewer for text files. Useful as an add-on tool for other apps
@@ -11135 +11135 @@
- -sniffit-0.3.7b_2|A packet sniffer program.  For educational use
+sniffit-0.3.7b_2|A packet sniffer program. For educational use
@@ -11562 +11562 @@
- -cups-samba-6.0|The Common UNIX Printing System:  MS Windows client drivers
+cups-samba-6.0|The Common UNIX Printing System: MS Windows client drivers
@@ -11825 +11825 @@
- -ru-apache-1.3.37+30.23|The extremely popular Apache http server.  Very fast, very clean
+ru-apache-1.3.37+30.23|The extremely popular Apache http server. Very fast, very clean
@@ -12023 +12023 @@
- -chrootuid-1.3|A simple wrapper that combines chroot(8) and su(1) into  one  program
+chrootuid-1.3|A simple wrapper that combines chroot(8) and su(1) into one program
@@ -14936 +14936 @@
- -mozex-1.07_5|Mozex allows users of  to use external programs for mail, news, etc.
+mozex-1.07_5|Mozex allows users of to use external programs for mail, news, etc.
@@ -15712 +15712 @@
- -webreport-1.5|WebReport is a web log statistics program  for web hosting sites
+webreport-1.5|WebReport is a web log statistics program for web hosting sites

This is after running the generated INDEX files through:

   cut -d '|' -f 1,4 INDEX

Mostly it's the standard 'two spaces after a full stop', but there are a
number of what look to me like mistakes.  I can't parse that mosex entry
at all..

	Cheers,

	MAtthew

- -- 
Dr Matthew J Seaman MA, D.Phil.                       7 Priory Courtyard
                                                      Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey         Ramsgate
                                                      Kent, CT11 9PW
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.3 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGR0n+8Mjk52CukIwRCLyrAJwLkZYKcgYfXBsvLVHvUkSIAQ0GSACggbmA
mXIlkODfEB/3AgGxqA7tth8=
=GsVE
-----END PGP SIGNATURE-----


More information about the freebsd-hackers mailing list