]> granicus.if.org Git - sudo/log
sudo
14 years agoTranslate help / usage strings.
Todd C. Miller [Fri, 20 May 2011 17:37:36 +0000 (13:37 -0400)]
Translate help / usage strings.

--HG--
branch : 1.8

14 years agoSet --msgid-bugs-address to the bugzilla url
Todd C. Miller [Fri, 20 May 2011 17:37:23 +0000 (13:37 -0400)]
Set --msgid-bugs-address to the bugzilla url

--HG--
branch : 1.8

14 years agoAdd scaffolding to update .po files and install .mo files.
Todd C. Miller [Fri, 20 May 2011 17:37:09 +0000 (13:37 -0400)]
Add scaffolding to update .po files and install .mo files.

--HG--
branch : 1.8

14 years agoMinor warning/error cleanup
Todd C. Miller [Fri, 20 May 2011 17:34:56 +0000 (13:34 -0400)]
Minor warning/error cleanup

--HG--
branch : 1.8

14 years agoEmulate ngettext for the non-nls case
Todd C. Miller [Fri, 20 May 2011 17:34:38 +0000 (13:34 -0400)]
Emulate ngettext for the non-nls case

--HG--
branch : 1.8

14 years agoDo not mark untranslatable strings for translation
Todd C. Miller [Fri, 20 May 2011 17:34:26 +0000 (13:34 -0400)]
Do not mark untranslatable strings for translation

--HG--
branch : 1.8

14 years agoUse ROOT_UID not 0.
Todd C. Miller [Fri, 20 May 2011 17:34:13 +0000 (13:34 -0400)]
Use ROOT_UID not 0.

--HG--
branch : 1.8

14 years agoMinor warning/error message cleanup
Todd C. Miller [Fri, 20 May 2011 17:34:01 +0000 (13:34 -0400)]
Minor warning/error message cleanup

--HG--
branch : 1.8

14 years agocannot -> "unable to" in warning/error messages
Todd C. Miller [Fri, 20 May 2011 17:33:46 +0000 (13:33 -0400)]
cannot -> "unable to" in warning/error messages
can't -> "unable to" in warning/error messages

--HG--
branch : 1.8

14 years agoFreeBSD needs the main sudo executable to link with -lpam when
Todd C. Miller [Fri, 20 May 2011 17:33:24 +0000 (13:33 -0400)]
FreeBSD needs the main sudo executable to link with -lpam when
loading dynaic pam modules for some reason.

--HG--
branch : 1.8

14 years agoWe don't want to translate debugging messages.
Todd C. Miller [Fri, 20 May 2011 17:33:13 +0000 (13:33 -0400)]
We don't want to translate debugging messages.

--HG--
branch : 1.8

14 years agoAdd calls to bindtextdomain() and textdomain()
Todd C. Miller [Fri, 20 May 2011 17:32:56 +0000 (13:32 -0400)]
Add calls to bindtextdomain() and textdomain()
Currently there are two domains, one for the sudo front-end and
one for the sudoers plugin and its associated utilities.

--HG--
branch : 1.8

14 years agoFix caching of libc gettext check.
Todd C. Miller [Fri, 20 May 2011 17:32:33 +0000 (13:32 -0400)]
Fix caching of libc gettext check.

--HG--
branch : 1.8

14 years agoMark defaults descriptions for translation
Todd C. Miller [Fri, 20 May 2011 17:32:23 +0000 (13:32 -0400)]
Mark defaults descriptions for translation

--HG--
branch : 1.8

14 years agoUpdate for sudo 1.8.1p2
Todd C. Miller [Fri, 20 May 2011 17:32:07 +0000 (13:32 -0400)]
Update for sudo 1.8.1p2

--HG--
branch : 1.8

14 years agoQuiet compiler warning when SELinux is enabled.
Todd C. Miller [Fri, 20 May 2011 17:31:12 +0000 (13:31 -0400)]
Quiet compiler warning when SELinux is enabled.

--HG--
branch : 1.8

14 years agodd missing includes of libintl.h.
Todd C. Miller [Fri, 20 May 2011 17:30:58 +0000 (13:30 -0400)]
dd missing includes of libintl.h.

--HG--
branch : 1.8

14 years agoFix gettext marker.
Todd C. Miller [Fri, 20 May 2011 17:30:44 +0000 (13:30 -0400)]
Fix gettext marker.

--HG--
branch : 1.8

14 years agoInclude libint.h where needed.
Todd C. Miller [Fri, 20 May 2011 17:30:27 +0000 (13:30 -0400)]
Include libint.h where needed.

--HG--
branch : 1.8

14 years agoPrepare sudoers module messages for translation.
Todd C. Miller [Fri, 20 May 2011 17:30:11 +0000 (13:30 -0400)]
Prepare sudoers module messages for translation.

--HG--
branch : 1.8

14 years agoOnly check gid of sudoers file if it is group-readable.
Todd C. Miller [Fri, 20 May 2011 17:28:00 +0000 (13:28 -0400)]
Only check gid of sudoers file if it is group-readable.

--HG--
branch : 1.8

14 years agoFor AIX, keep calling authenticate() until reenter reaches 0.
Todd C. Miller [Fri, 20 May 2011 17:27:47 +0000 (13:27 -0400)]
For AIX, keep calling authenticate() until reenter reaches 0.

--HG--
branch : 1.8

14 years agoCache the status of the initial gettext() check.
Todd C. Miller [Fri, 20 May 2011 17:27:30 +0000 (13:27 -0400)]
Cache the status of the initial gettext() check.

--HG--
branch : 1.8

14 years agoAdd --disable-nls flag and improve checks for gettext.
Todd C. Miller [Fri, 20 May 2011 17:27:16 +0000 (13:27 -0400)]
Add --disable-nls flag and improve checks for gettext.

--HG--
branch : 1.8

14 years agoWhen building with gcc on HP-UX, use -march=1.1 to produce portable
Todd C. Miller [Fri, 20 May 2011 17:27:04 +0000 (13:27 -0400)]
When building with gcc on HP-UX, use -march=1.1 to produce portable
binaries on a pa-risc2 host.  Previously, the +Dportable option was
used for the HP-UX C compiler but gcc always produced native binaries.

--HG--
branch : 1.8

14 years agoPrepare sudo front end messages for translation.
Todd C. Miller [Fri, 20 May 2011 17:26:48 +0000 (13:26 -0400)]
Prepare sudo front end messages for translation.

--HG--
branch : 1.8

14 years agoAdd initial scaffolding to support localization via gettext()
Todd C. Miller [Fri, 20 May 2011 17:26:01 +0000 (13:26 -0400)]
Add initial scaffolding to support localization via gettext()

--HG--
branch : 1.8

14 years agoTranslate help / usage strings.
Todd C. Miller [Thu, 19 May 2011 20:07:14 +0000 (16:07 -0400)]
Translate help / usage strings.

14 years agoSet --msgid-bugs-address to the bugzilla url
Todd C. Miller [Thu, 19 May 2011 20:06:53 +0000 (16:06 -0400)]
Set --msgid-bugs-address to the bugzilla url

14 years agoAdd scaffolding to update .po files and install .mo files.
Todd C. Miller [Thu, 19 May 2011 19:25:29 +0000 (15:25 -0400)]
Add scaffolding to update .po files and install .mo files.

14 years agoupdate copyright year
Todd C. Miller [Thu, 19 May 2011 17:21:08 +0000 (13:21 -0400)]
update copyright year

14 years agoupdate copyright year
Todd C. Miller [Thu, 19 May 2011 17:20:49 +0000 (13:20 -0400)]
update copyright year

--HG--
branch : 1.8

14 years agoNo need to include version number at the top of these files.
Todd C. Miller [Thu, 19 May 2011 17:17:31 +0000 (13:17 -0400)]
No need to include version number at the top of these files.

14 years agoNo need to include version number at the top of these files.
Todd C. Miller [Thu, 19 May 2011 17:16:37 +0000 (13:16 -0400)]
No need to include version number at the top of these files.

--HG--
branch : 1.8

14 years agoThis is sudo 1.8.1 not 1.8.0
Todd C. Miller [Thu, 19 May 2011 17:09:49 +0000 (13:09 -0400)]
This is sudo 1.8.1 not 1.8.0

--HG--
branch : 1.8

14 years agoMinor warning/error cleanup
Todd C. Miller [Wed, 18 May 2011 17:44:36 +0000 (13:44 -0400)]
Minor warning/error cleanup

14 years agoEmulate ngettext for the non-nls case
Todd C. Miller [Wed, 18 May 2011 17:44:07 +0000 (13:44 -0400)]
Emulate ngettext for the non-nls case

14 years agoDo not mark untranslatable strings for translation
Todd C. Miller [Wed, 18 May 2011 17:16:32 +0000 (13:16 -0400)]
Do not mark untranslatable strings for translation

14 years agoUse ROOT_UID not 0.
Todd C. Miller [Wed, 18 May 2011 17:07:35 +0000 (13:07 -0400)]
Use ROOT_UID not 0.

14 years agoMinor warning/error message cleanup
Todd C. Miller [Wed, 18 May 2011 17:04:24 +0000 (13:04 -0400)]
Minor warning/error message cleanup

14 years agocannot -> "unable to" in warning/error messages
Todd C. Miller [Wed, 18 May 2011 16:41:06 +0000 (12:41 -0400)]
cannot -> "unable to" in warning/error messages

14 years agocan't -> "unable to" in warning/error messages
Todd C. Miller [Wed, 18 May 2011 16:36:26 +0000 (12:36 -0400)]
can't -> "unable to" in warning/error messages

14 years agoFreeBSD needs the main sudo executable to link with -lpam when
Todd C. Miller [Wed, 18 May 2011 15:18:44 +0000 (11:18 -0400)]
FreeBSD needs the main sudo executable to link with -lpam when
loading dynaic pam modules for some reason.

14 years agoWe don't want to translate debugging messages.
Todd C. Miller [Tue, 17 May 2011 22:37:18 +0000 (18:37 -0400)]
We don't want to translate debugging messages.

14 years agoAdd calls to bindtextdomain() and textdomain()
Todd C. Miller [Tue, 17 May 2011 20:38:40 +0000 (16:38 -0400)]
Add calls to bindtextdomain() and textdomain()
Currently there are two domains, one for the sudo front-end and
one for the sudoers plugin and its associated utilities.

14 years agoFix caching of libc gettext check.
Todd C. Miller [Tue, 17 May 2011 19:55:23 +0000 (15:55 -0400)]
Fix caching of libc gettext check.

14 years agoMark defaults descriptions for translation
Todd C. Miller [Tue, 17 May 2011 16:52:20 +0000 (12:52 -0400)]
Mark defaults descriptions for translation

14 years agoUpdate for sudo 1.8.1p2
Todd C. Miller [Tue, 17 May 2011 15:59:40 +0000 (11:59 -0400)]
Update for sudo 1.8.1p2

14 years agoQuiet compiler warning when SELinux is enabled.
Todd C. Miller [Mon, 16 May 2011 20:52:34 +0000 (16:52 -0400)]
Quiet compiler warning when SELinux is enabled.

14 years agoAdd missing includes of libintl.h.
Todd C. Miller [Mon, 16 May 2011 20:50:09 +0000 (16:50 -0400)]
Add missing includes of libintl.h.

14 years agoFix gettext marker.
Todd C. Miller [Mon, 16 May 2011 20:44:11 +0000 (16:44 -0400)]
Fix gettext marker.

14 years agoInclude libint.h where needed.
Todd C. Miller [Mon, 16 May 2011 20:37:11 +0000 (16:37 -0400)]
Include libint.h where needed.

14 years agoPrepare sudoers module messages for translation.
Todd C. Miller [Mon, 16 May 2011 20:32:05 +0000 (16:32 -0400)]
Prepare sudoers module messages for translation.

14 years agoOnly check gid of sudoers file if it is group-readable.
Todd C. Miller [Mon, 16 May 2011 16:19:07 +0000 (12:19 -0400)]
Only check gid of sudoers file if it is group-readable.

14 years agoFor AIX, keep calling authenticate() until reenter reaches 0.
Todd C. Miller [Mon, 16 May 2011 16:17:49 +0000 (12:17 -0400)]
For AIX, keep calling authenticate() until reenter reaches 0.

14 years agoCache the status of the initial gettext() check.
Todd C. Miller [Mon, 9 May 2011 15:04:19 +0000 (11:04 -0400)]
Cache the status of the initial gettext() check.

14 years agoAdd --disable-nls flag and improve checks for gettext.
Todd C. Miller [Mon, 9 May 2011 14:58:52 +0000 (10:58 -0400)]
Add --disable-nls flag and improve checks for gettext.

14 years agoWhen building with gcc on HP-UX, use -march=1.1 to produce portable
Todd C. Miller [Mon, 9 May 2011 14:02:16 +0000 (10:02 -0400)]
When building with gcc on HP-UX, use -march=1.1 to produce portable
binaries on a pa-risc2 host.  Previously, the +Dportable option was
used for the HP-UX C compiler but gcc always produced native binaries.

14 years agoPrepare sudo front end messages for translation.
Todd C. Miller [Fri, 6 May 2011 21:47:51 +0000 (17:47 -0400)]
Prepare sudo front end messages for translation.

14 years agoAdd initial scaffolding to support localization via gettext()
Todd C. Miller [Wed, 4 May 2011 19:26:31 +0000 (15:26 -0400)]
Add initial scaffolding to support localization via gettext()

14 years agoDon't let the fnmatch/glob macros expand the function prototype.
Todd C. Miller [Wed, 4 May 2011 15:21:32 +0000 (11:21 -0400)]
Don't let the fnmatch/glob macros expand the function prototype.

--HG--
branch : 1.8

14 years agoDon't let the fnmatch/glob macros expand the function prototype.
Todd C. Miller [Wed, 4 May 2011 15:21:03 +0000 (11:21 -0400)]
Don't let the fnmatch/glob macros expand the function prototype.

14 years agoResolve namespace collisions on HP-UX ia64 and possibly others by
Todd C. Miller [Tue, 3 May 2011 17:46:44 +0000 (13:46 -0400)]
Resolve namespace collisions on HP-UX ia64 and possibly others by
adding a rpl_ prefix to our fnmatch and glob replacements and
#defining rpl_foo to foo in the header files.

--HG--
branch : 1.8

14 years agoResolve namespace collisions on HP-UX ia64 and possibly others by
Todd C. Miller [Tue, 3 May 2011 17:45:56 +0000 (13:45 -0400)]
Resolve namespace collisions on HP-UX ia64 and possibly others by
adding a rpl_ prefix to our fnmatch and glob replacements and
#defining rpl_foo to foo in the header files.

14 years agoSplit ALL, ROLE and TYPE into their own actions. Since you can
Todd C. Miller [Fri, 29 Apr 2011 20:06:35 +0000 (16:06 -0400)]
Split ALL, ROLE and TYPE into their own actions.  Since you can
only have #ifdefs inside of braces, ROLE and TYPE use a naughty
goto in the non-SELinux case.  This is safe because the actions are
in one big switch() statement.

--HG--
branch : 1.8

14 years agoSplit ALL, ROLE and TYPE into their own actions. Since you can
Todd C. Miller [Fri, 29 Apr 2011 20:05:50 +0000 (16:05 -0400)]
Split ALL, ROLE and TYPE into their own actions.  Since you can
only have #ifdefs inside of braces, ROLE and TYPE use a naughty
goto in the non-SELinux case.  This is safe because the actions are
in one big switch() statement.

14 years agoFix regexp for matching a CIDR-style IPv4 netmask. From Marc Espie.
Todd C. Miller [Fri, 29 Apr 2011 15:24:15 +0000 (11:24 -0400)]
Fix regexp for matching a CIDR-style IPv4 netmask.  From Marc Espie.

--HG--
branch : 1.8

14 years agoaskpass moved from sudoers to sudo.conf in sudo 1.8.0
Todd C. Miller [Fri, 29 Apr 2011 15:23:59 +0000 (11:23 -0400)]
askpass moved from sudoers to sudo.conf in sudo 1.8.0

--HG--
branch : 1.8

14 years agoRemove obsolete warning about runas_default and ordering.
Todd C. Miller [Fri, 29 Apr 2011 15:23:46 +0000 (11:23 -0400)]
Remove obsolete warning about runas_default and ordering.
Move syslog facility and priority lists into the section where
the relevant options are described.

--HG--
branch : 1.8

14 years agoFix regexp for matching a CIDR-style IPv4 netmask. From Marc Espie.
Todd C. Miller [Fri, 29 Apr 2011 15:22:49 +0000 (11:22 -0400)]
Fix regexp for matching a CIDR-style IPv4 netmask.  From Marc Espie.

14 years agoaskpass moved from sudoers to sudo.conf in sudo 1.8.0
Todd C. Miller [Wed, 27 Apr 2011 15:48:46 +0000 (11:48 -0400)]
askpass moved from sudoers to sudo.conf in sudo 1.8.0

14 years agoRemove obsolete warning about runas_default and ordering.
Todd C. Miller [Wed, 27 Apr 2011 15:42:46 +0000 (11:42 -0400)]
Remove obsolete warning about runas_default and ordering.
Move syslog facility and priority lists into the section where
the relevant options are described.

14 years agoFix SIA support; we no longer have access to the real argc and argv
Todd C. Miller [Tue, 26 Apr 2011 13:53:35 +0000 (09:53 -0400)]
Fix SIA support; we no longer have access to the real argc and argv
so allocate space for a fake one and use the argv passed to the
plugin with "sudo" for argv[0].

--HG--
branch : 1.8

14 years agoRemove useless realloc when trying to get the buffer size right.
Todd C. Miller [Tue, 26 Apr 2011 13:53:20 +0000 (09:53 -0400)]
Remove useless realloc when trying to get the buffer size right.

--HG--
branch : 1.8

14 years agoBe explicit when setting euid to 0 before call to setreuid(0, 0)
Todd C. Miller [Tue, 26 Apr 2011 13:53:07 +0000 (09:53 -0400)]
Be explicit when setting euid to 0 before call to setreuid(0, 0)

--HG--
branch : 1.8

14 years agoFix SIA support; we no longer have access to the real argc and argv
Todd C. Miller [Tue, 26 Apr 2011 13:51:34 +0000 (09:51 -0400)]
Fix SIA support; we no longer have access to the real argc and argv
so allocate space for a fake one and use the argv passed to the
plugin with "sudo" for argv[0].

14 years agoRemove useless realloc when trying to get the buffer size right.
Todd C. Miller [Sat, 23 Apr 2011 10:14:36 +0000 (06:14 -0400)]
Remove useless realloc when trying to get the buffer size right.

14 years agoBe explicit when setting euid to 0 before call to setreuid(0, 0)
Todd C. Miller [Sat, 23 Apr 2011 10:13:48 +0000 (06:13 -0400)]
Be explicit when setting euid to 0 before call to setreuid(0, 0)

14 years agosudo 1.8.1p1 updates
Todd C. Miller [Mon, 18 Apr 2011 13:24:27 +0000 (09:24 -0400)]
sudo 1.8.1p1 updates

--HG--
branch : 1.8

14 years agoNeed to do checks for krb5_verify_user, krb5_init_secure_context
Todd C. Miller [Mon, 18 Apr 2011 13:23:04 +0000 (09:23 -0400)]
Need to do checks for krb5_verify_user, krb5_init_secure_context
and krb5_get_init_creds_opt_alloc regardless of whether or notkrb5-config is present.

--HG--
branch : 1.8

14 years agoNeed to do checks for krb5_verify_user, krb5_init_secure_context
Todd C. Miller [Mon, 18 Apr 2011 13:22:26 +0000 (09:22 -0400)]
Need to do checks for krb5_verify_user, krb5_init_secure_context
and krb5_get_init_creds_opt_alloc regardless of whether or not
krb5-config is present.

14 years agoWork around weird AIX saved uid semantics on setuid() and setreuid().
Todd C. Miller [Fri, 15 Apr 2011 16:31:10 +0000 (12:31 -0400)]
Work around weird AIX saved uid semantics on setuid() and setreuid().
On AIX, setuid() will only set the saved uid if the euid is already 0.

--HG--
branch : 1.8

14 years agoWork around weird AIX saved uid semantics on setuid() and setreuid().
Todd C. Miller [Fri, 15 Apr 2011 16:30:08 +0000 (12:30 -0400)]
Work around weird AIX saved uid semantics on setuid() and setreuid().
On AIX, setuid() will only set the saved uid if the euid is already 0.

14 years agoupdate copyright year
Todd C. Miller [Thu, 14 Apr 2011 20:42:26 +0000 (16:42 -0400)]
update copyright year

--HG--
branch : 1.8

14 years agoupdate copyright year
Todd C. Miller [Thu, 14 Apr 2011 20:41:38 +0000 (16:41 -0400)]
update copyright year

14 years agoTreat a missing includedir like an empty one and do not return an error.
Todd C. Miller [Thu, 14 Apr 2011 19:08:50 +0000 (15:08 -0400)]
Treat a missing includedir like an empty one and do not return an error.

--HG--
branch : 1.8

14 years agoTreat a missing includedir like an empty one and do not return an error.
Todd C. Miller [Thu, 14 Apr 2011 18:27:11 +0000 (14:27 -0400)]
Treat a missing includedir like an empty one and do not return an error.

14 years agoFix ARCH setting in cross-compile Solaris packages.
Todd C. Miller [Tue, 12 Apr 2011 15:53:17 +0000 (11:53 -0400)]
Fix ARCH setting in cross-compile Solaris packages.

--HG--
branch : 1.8

14 years agoFix aix version setting.
Todd C. Miller [Tue, 12 Apr 2011 15:53:08 +0000 (11:53 -0400)]
Fix aix version setting.

--HG--
branch : 1.8

14 years agoFix ARCH setting in cross-compile Solaris packages.
Todd C. Miller [Tue, 12 Apr 2011 15:52:41 +0000 (11:52 -0400)]
Fix ARCH setting in cross-compile Solaris packages.

14 years agoFix aix version setting.
Todd C. Miller [Tue, 12 Apr 2011 15:50:20 +0000 (11:50 -0400)]
Fix aix version setting.

14 years agoRemove extraneous parens in LDAP filter when sudoers_search_filter
Todd C. Miller [Tue, 12 Apr 2011 15:48:41 +0000 (11:48 -0400)]
Remove extraneous parens in LDAP filter when sudoers_search_filter
is enabled that causes a search error.  From Matthew Thomas.

--HG--
branch : 1.8

14 years agoRemove extraneous parens in LDAP filter when sudoers_search_filter
Todd C. Miller [Tue, 12 Apr 2011 15:48:04 +0000 (11:48 -0400)]
Remove extraneous parens in LDAP filter when sudoers_search_filter
is enabled that causes a search error.  From Matthew Thomas.

14 years agoCorrect sizeof() to fix test failure.
Todd C. Miller [Mon, 11 Apr 2011 15:42:03 +0000 (11:42 -0400)]
Correct sizeof() to fix test failure.

--HG--
branch : 1.8

14 years agoCorrect sizeof() to fix test failure.
Todd C. Miller [Mon, 11 Apr 2011 15:41:38 +0000 (11:41 -0400)]
Correct sizeof() to fix test failure.

14 years ago"install" target should depend on "install-dirs".
Todd C. Miller [Mon, 11 Apr 2011 12:28:35 +0000 (08:28 -0400)]
"install" target should depend on "install-dirs".
Fixes "make -j" problem and closes bz #487.  From Chris Coleman.

--HG--
branch : 1.8

14 years ago"install" target should depend on "install-dirs".
Todd C. Miller [Mon, 11 Apr 2011 12:27:59 +0000 (08:27 -0400)]
"install" target should depend on "install-dirs".
Fixes "make -j" problem and closes bz #487.  From Chris Coleman.

14 years agoAdded tag SUDO_1_8_1 for changeset 0ed6281995f0
Todd C. Miller [Sat, 9 Apr 2011 16:56:11 +0000 (12:56 -0400)]
Added tag SUDO_1_8_1 for changeset 0ed6281995f0

--HG--
branch : 1.8

14 years agoRegen man pages for 1.8.1 SUDO_1_8_1
Todd C. Miller [Sat, 9 Apr 2011 14:47:26 +0000 (10:47 -0400)]
Regen man pages for 1.8.1

--HG--
branch : 1.8

14 years agoAdd HAVE_RFC1938_SKEYCHALLENGE
Todd C. Miller [Thu, 7 Apr 2011 11:06:51 +0000 (07:06 -0400)]
Add HAVE_RFC1938_SKEYCHALLENGE

--HG--
branch : 1.8