ports/156305: security/sudo: upgrade fails

Helmut Schneider jumper99 at gmx.de
Sun Apr 10 14:00:23 UTC 2011


>Number:         156305
>Category:       ports
>Synopsis:       security/sudo: upgrade fails
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 10 14:00:19 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Helmut Schneider
>Release:        8.2-RELEASE-p0
>Organization:
>Environment:
>Description:
upgrade of sudo fails:

[...]
--->  Installing the new version via the port with make flags: -DWITH_LDAP
===>  Installing for sudo-1.8.1
===>   sudo-1.8.1 depends on shared library: ldap-2.4.8 - found
===>   Generating temporary packing list
===>  Checking if security/sudo already installed
if test -d ./.hg && cd .; then  if hg log --style=changelog -b 1.8 > ChangeLog.tmp && hg log --style=changelog -b default --date '<2011-02-25 21:30:00' >> ChangeLog.tmp; then  mv -f ChangeLog.tmp ChangeLog;  else  rm -f ChangeLog.tmp;  fi;  fi
for d in compat common  plugins/sudoers src include doc;  do (cd $d && exec make pre-install) && continue;  exit $?;  done
Checking existing sudoers file for syntax errors.
visudo: >>> /usr/local/etc/sudoers: /usr/local/etc/sudoers.d near line 98 <<<
parse error in /usr/local/etc/sudoers near line 98
*** Error code 1

Stop in /usr/ports/security/sudo/work/sudo-1.8.1/plugins/sudoers.
*** Error code 1

Stop in /usr/ports/security/sudo/work/sudo-1.8.1.
*** Error code 1

Stop in /usr/ports/security/sudo.
*** Error code 1

Stop in /usr/ports/security/sudo.

[helmut at BSDHelmut ~]$ cat /usr/local/etc/sudoers | egrep -v '^(#|$)'
root ALL=(ALL) ALL
helmut ALL=(ALL) NOPASSWD: ALL
[helmut at BSDHelmut ~]$

>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list