Erik Sjolund discovered several issues in enscript: it suffers from
several buffer overflows (CAN-2004-1186), quotes and shell escape
characters are insufficiently sanitized in filenames (CAN-2004-1185),
and it supported taking input from an arbitrary command pipe, with
unwanted side effects (CAN-2004-1184).
From/via Gentoo.
o remove ignored CONFIGURE_ARGS+=--sysconfdir=/lib
o add post-install step that calls the INSTALL script
o add install script to copy the sample config file to /etc only
if there is no existing config in /etc
o add deinstall script to remind the user to remove /etc/enscript.conf
o add patch to install config as /lib/enscript.cfg-sample
even though the config dir is /etc
o test installation and de-installation from source
o test installation from package
At one point bsd.port.mk put out erroneous PLIST-auto, with @cwd, @pkgname,
and @pkgdep lines.
These are actually added by make package, and shouldn't usually be put
inside the PLIST, as this is extra information to update.
I left a few @cwd in, mainly for the perl modules, which want to live under
/usr to work.
Porters: please make sure you use bsd.port.mk 1.75 or later when
updating ports. That version of the makefile adds all sums. Previous
versions of the makefile will still work for people installing ports.