SPELL=magicfilter2 VERSION=2.3.g SOURCE=magicfilter-${VERSION}.tar.gz SOURCE_DIRECTORY=$BUILD_DIRECTORY/magicfilter-${VERSION} SOURCE_URL[0]=http://www.pell.portland.or.us/~orc/Code/magicfilter/${SOURCE} WEB_SITE=http://www.pell.portland.or.us/~orc/Code/magicfilter/ ENTERED=20020820 LICENSE[0]=BSD SOURCE_HASH=sha512:59c3cbc8d6e17b860f056e41adfbb8d8d0d5eb3295846c7e3bcc81fc02771d567fda5943ceabf4a92f1f0b52a0cdcb0f1acb82f46d92e6d676c804028348f3bd KEYWORDS="printer" SHORT="magicfilter is an extensible and customizable automatic printer filter." cat << EOF Magicfilter is an extensible and customizable automatic printer filter. It selects an appropriate conversion technique for the input data by seeking for magic numbers, and then utilizing the appropriate conversion utility. Magicfilter is primarily intended for use as the input filter by the lpd print spooler. The options accepted by magicfilter are exactly the ones passed to the input filter by lpd. Magicfilter 2 is a complete rewrite of H. Peter Anvin's Magicfilter 1.2, using slightly more standard components. It has the following features: * It uses file magic to determine what sort of data it's been fed. * Filters are a compact set of m4 defines that are merged with a common filter ruleset that is then used to process the input data. * system() is no longer used to execute filters and pipes; they are now directly execvp'ed to cut down on the number of processes magicfilter launches. * All new processes are children of magicfilter, instead of some being punted off into their own little groups. * All the new code is released under a BSD-style copyright. EOF