Upgrade to address CVE-2013-1775

What's new in Sudo 1.7.10p7?

 * A time stamp file with the date set to the epoch by "sudo -k"
   is now completely ignored regardless of what the local clock is
   set to.  Previously, if the local clock was set to a value between
   the epoch and the time stamp timeout value, a time stamp reset
   by "sudo -k" would be considered current.

What's new in Sudo 1.7.10p6?

 * The tty-specific time stamp file now includes the session ID
   of the sudo process that created it.  If a process with the same
   tty but a different session ID runs sudo, the user will now be
   prompted for a password (assuming authentication is required for
   the command).

What's new in Sudo 1.7.10p5?

 * On systems where the controlling tty can be determined via /proc
   or sysctl(), sudo will no longer fall back to using ttyname()
   if the process has no controlling tty.  This prevents sudo from
   using a non-controlling tty for logging and time stamp purposes.

What's new in Sudo 1.7.10?

 * If the user is a member of the "exempt" group in sudoers, they
   will no longer be prompted for a password even if the -k flag
   is specified with the command.  This makes "sudo -k command"
   consistent with the behavior one would get if the user ran "sudo
   -k" immediately before running the command.

 * The sudoers file may now be a symbolic link.  Previously, sudo
   would refuse to read sudoers unless it was a regular file.

 * The user/group/mode checks on sudoers files have been relaxed.
   As long as the file is owned by the sudoers uid, not world-writable
   and not writable by a group other than the sudoers gid, the file
   is considered OK.  Note that visudo will still set the mode to
   the value specified at configure time.

 * /etc/environment is no longer read directly on Linux systems
   when PAM is used.  Sudo now merges the PAM environment into the
   user's environment which is typically set by the pam_env module.

 * The initial evironment created when env_reset is in effect now
   includes the contents of /etc/environment on AIX systems and the
   "setenv" and "path" entries from /etc/login.conf on BSD systems.

 * On systems with an SVR4-style /proc file system, the /proc/pid/psinfo
   file is now uses to determine the controlling terminal, if possible.
   This allows tty-based tickets to work properly even when, e.g.
   standard input, output and error are redirected to /dev/null.

 * The sudoreplay command can now properly replay sessions where
   no tty was present.

 * Fixed a race condition that could cause sudo to receive SIGTTOU
   (and stop) when resuming a shell that was run via sudo when I/O
   logging (and use_pty) is not enabled.
Update to 0.2.6.

pkgsrc notes:
* I know 0.2.7 is out; it has issues on ubuntu so I'm doing this first.
* patch-ac should perhaps be dropped.

Upstream NEWS content (from web page):

* more than 40 new database entries of lenses and compact cameras
* new CMake based build system for better cross platform compatibility
  and compilation fixes for MSVC
* better integration into hugin for loading and storing lens
  parameters via the lensfun library
* several bug fixes and stability improvements
Updated graphics/lensfun to 0.2.6
take maintainership
fix comment about shlib naming mess/fix.
Drop vestigial patch-ac.

Most of this had been applied upstream (or was taken from upstream).
The only thing left was adding an include of string.h, but it builds
w/o warnings without it, so that appears no longer necessary.
Update to 0.2.7.  Tested with ufraw and a Samsung NX100 image from the
ufraw user who was having trouble on ubuntu.

Upstream NEWS content from web page:

Most important: some bugs leading to imprecise results when processing
extreme values, e.g. from fisheye lenses, were fixed. Thanks to
Torsten B. for working on this!

Apart from that we got several new lenses and camera profiles:
New DSLR and mirrorless camera lenses:
Canon EF 50mm f/1.8 II
Canon EF-S 18-55mm f/3.5-5.6 IS II
Nikkor 16-35mm f/4G ED-AFS VR
Sigma 18-200mm f/3.5-6.3 II DC OS HSM
Sigma 50mm F1.4 EX DG HSM
Sigma 70-300mm F4-5.6 DL Macro
Minolta/Sony AF DT 18-70mm F3.5-5.6 (D)
OLYMPUS M.12-50mm F3.5-6.3
Sony DT 18-55mm F3.5-5.6 SAM SAL 1855
Tamron SP 24-70mm F/2.8 Di VC USD
Tamron SP AF 10-24mm F/3.5-4.5 Di II LD Aspherical IF
Tokina AT-X Pro DX 11-16mm F2.8
LUMIX G 14mm F2.5
Sony E 16mm F2.8
1Sony E 18-55mm F3.5-5.6 OSS
Sony E 50mm F1.8 OSS
Sony E 55-210mm F4.5-6.3 OSS
Sony VCL-ECF1 fisheye converter

New compact cameras:
Canon G15
Fuji FinePix F200EXR
Nikon COOLPIX P60
Olympus XZ-1
Panasonic DMC-LX5 4:3
Sony DSC-RX100, RX100
Updated graphics/lensfun to 0.2.7
Don't exclude this file being used when also using lang/gcc47/buildlink3.mk

This allows USE_PKGSRC_GCC_RUNTIME to be used with the in-pkgsrc compiler.
When using USE_PKGSRC_GCC_RUNTIME ensure the gcc47-libs runtime comes first.
When using USE_PKGSRC_GCC_RUNTIME ensure that we explicitly depend upon the
gcc47-libs package rather than relying on the PKGREVISION bump to pick it up.

This resolves some issues where we were seeing gcc47 picked as the dependency
instead of gcc47-libs.
Add GCC_TARGET_MACHINE, defaulting to MACHINE_GNU_ARCH, and use it in
preference to target_noncanonical so that the user can override if
required, e.g. in a multilib environment where target_noncanonical will
change based on current ABI.

Additionally, ensure that it comes first in the RPATH so that when
using USE_PKGSRC_GCC_RUNTIME with in-pkgsrc gcc we pick up the correct
libraries.
Bump PKGREVISION of gcc47 packages for recent changes.
Note updates of lang/gcc47 and lang/gcc47-libs.
Need -lsocket -lnsl on SunOS.
Make packaging the (considerable amount of) documentation optional.

Without docs, the resulting binary package is 4MB instead of 22MB.
Enable check-shlibs if the user supplies a working readelf, e.g. from binutils.
Update to 0.12.1

User-visible changes

    * 737 Fixed: Crashes on local working copies with Subversion 1.7
Work with emacs24.
Bump PKGREVISION for last.