]>
granicus.if.org Git - sudo/log
Todd C. Miller [Sat, 18 Jun 2011 17:11:27 +0000 (13:11 -0400)]
No longer need to specify LINGUAS in configure, "make install-nls"
now just installs all the .mo files it finds.
Todd C. Miller [Fri, 17 Jun 2011 13:39:27 +0000 (09:39 -0400)]
Build CONTRIBUTORS from newly-added contributors.pod
Todd C. Miller [Fri, 17 Jun 2011 13:07:49 +0000 (09:07 -0400)]
Rework the wording in the leading paragraph
Todd C. Miller [Tue, 14 Jun 2011 20:53:26 +0000 (16:53 -0400)]
Add a CONTRIBUTORS file with the names of folks who have contributed
code or patches to sudo since I started maintaining it (plus the
original authors).
Todd C. Miller [Mon, 13 Jun 2011 11:20:28 +0000 (07:20 -0400)]
Preserve SHELL variable for "sudo -s". Otherwise we can end up
with a situation where the SHELL variable and the actual shell being
run do not match.
Todd C. Miller [Fri, 10 Jun 2011 19:28:58 +0000 (15:28 -0400)]
Only enable Solaris project support when setproject() is present in
libproject.
Todd C. Miller [Fri, 10 Jun 2011 19:26:35 +0000 (15:26 -0400)]
Explicitly set mode and owner of /etc/sudoers instead of relying
on "cp -p" to work in the postinstall script. On AIX 6.1 at least
the postinstall script runs before the final file permissions are set.
Todd C. Miller [Thu, 9 Jun 2011 16:52:51 +0000 (12:52 -0400)]
Refer the user to the "Command Environment" section in description
of sudo's -i option.
Todd C. Miller [Thu, 9 Jun 2011 12:54:46 +0000 (08:54 -0400)]
Fix typo
Todd C. Miller [Wed, 8 Jun 2011 17:18:23 +0000 (13:18 -0400)]
If there is no old dependency for an object file, use the MANIFEST
to find its source.
Todd C. Miller [Wed, 8 Jun 2011 17:17:51 +0000 (13:17 -0400)]
Remove dependency for getgrouplist.lo as we don't ship that source file.
Todd C. Miller [Tue, 7 Jun 2011 15:45:06 +0000 (11:45 -0400)]
Do not declare yyparse() static as the actual function generated
by yacc is extern.
Todd C. Miller [Mon, 6 Jun 2011 18:40:42 +0000 (14:40 -0400)]
Remove locale files in "make uninstall"
Todd C. Miller [Mon, 6 Jun 2011 17:38:54 +0000 (13:38 -0400)]
Add Basque translation and sync Finish and Ukranian translations.
Todd C. Miller [Mon, 6 Jun 2011 15:02:52 +0000 (11:02 -0400)]
FreeBSD no longer needs the main sudo binary to link with -lpam
now that plug-ins are loaded with RTLD_GLOBAL.
Todd C. Miller [Mon, 6 Jun 2011 14:53:58 +0000 (10:53 -0400)]
Load plugins with RTLD_GLOBAL instead of RTLD_LOCAL. This fixes
problems with pam modules not having access to symbols provided by
libpam on some platforms. Affects FreeBSD and SLES 10 at least.
Todd C. Miller [Mon, 6 Jun 2011 12:46:50 +0000 (08:46 -0400)]
Move xgettext invocation out of update-po target into update-pot
Todd C. Miller [Sat, 4 Jun 2011 22:27:59 +0000 (18:27 -0400)]
Regenerate .pot files for 1.8.2rc2
Todd C. Miller [Sat, 4 Jun 2011 22:27:13 +0000 (18:27 -0400)]
Move nls targets to the top level Makefile so the paths in
the pot file are saner
Todd C. Miller [Sat, 4 Jun 2011 14:14:41 +0000 (10:14 -0400)]
Add compiled version of sudo Finish translation
Todd C. Miller [Sat, 4 Jun 2011 14:11:10 +0000 (10:11 -0400)]
Update MANIFEST with .po and .mo files
Rebuild sudoers fi and uk .mo files
Todd C. Miller [Sat, 4 Jun 2011 13:58:44 +0000 (09:58 -0400)]
Add Finish translation from translationproject.org
Todd C. Miller [Fri, 3 Jun 2011 14:09:10 +0000 (10:09 -0400)]
The group named by exempt_group should not have a % prefix.
Todd C. Miller [Wed, 1 Jun 2011 16:26:13 +0000 (12:26 -0400)]
Fix typo; "Defaults group_plugin" not "Defaults sudo_plugin"
Todd C. Miller [Tue, 31 May 2011 16:49:22 +0000 (12:49 -0400)]
Fix compressed io log corruption in background mode by using _exit()
instead of exit() to avoid flushing buffers twice.
Improved background mode support. When not allocating a pty, the
command is run in its own process group. This prevents write access
to the tty. When running in a pty, stdin is not hooked up and we
never read from /dev/tty, which results in similar behavior.
Todd C. Miller [Tue, 31 May 2011 13:58:41 +0000 (09:58 -0400)]
Clean up regress files
Generate proper dependencies for regress objs in compat
Todd C. Miller [Tue, 31 May 2011 13:43:37 +0000 (09:43 -0400)]
Add missing dependency for check_fill.o.
Todd C. Miller [Sun, 29 May 2011 18:33:18 +0000 (14:33 -0400)]
Add support for --enable-nls[=location]
Todd C. Miller [Sat, 28 May 2011 19:32:11 +0000 (15:32 -0400)]
Include gettext.h
Todd C. Miller [Sat, 28 May 2011 19:27:14 +0000 (15:27 -0400)]
Quiet gcc warnings.
Todd C. Miller [Sat, 28 May 2011 13:18:46 +0000 (09:18 -0400)]
Don't install .mo files if gettext was not found.
Todd C. Miller [Fri, 27 May 2011 19:20:20 +0000 (15:20 -0400)]
Always allocate a pty when running a command in the background but
call setsid() after forking to make sure we don't end up with a
controlling tty.
Todd C. Miller [Fri, 27 May 2011 18:07:23 +0000 (14:07 -0400)]
Add missing space between command name and the first command line argument.
Todd C. Miller [Fri, 27 May 2011 17:50:37 +0000 (13:50 -0400)]
Quiet a compiler warning on some platforms.
Todd C. Miller [Fri, 27 May 2011 17:15:27 +0000 (13:15 -0400)]
README file that directs people to translationproject.org
Todd C. Miller [Fri, 27 May 2011 16:53:05 +0000 (12:53 -0400)]
Sync translations with TP
Todd C. Miller [Fri, 27 May 2011 16:52:47 +0000 (12:52 -0400)]
Add 'sync-po' target to top-level Makefile to rsync the po files
from translationproject.org.
Todd C. Miller [Fri, 27 May 2011 14:24:55 +0000 (10:24 -0400)]
install nls files from install target
Todd C. Miller [Fri, 27 May 2011 14:17:34 +0000 (10:17 -0400)]
Include .mo files in sudo binary packags.
Todd C. Miller [Fri, 27 May 2011 11:54:52 +0000 (07:54 -0400)]
Add simplified chinese translation
Todd C. Miller [Thu, 26 May 2011 19:23:55 +0000 (15:23 -0400)]
Add ukranian translation
Todd C. Miller [Thu, 26 May 2011 19:18:11 +0000 (15:18 -0400)]
refer to siglist.c, not ./siglist.c since not all makes will
treat foo and ./foo the same.
Todd C. Miller [Thu, 26 May 2011 16:52:59 +0000 (12:52 -0400)]
Set def_preserve_groups before searching for the command when the -P
flag is specified.
Todd C. Miller [Thu, 26 May 2011 16:12:43 +0000 (12:12 -0400)]
Add dependency for siglist.lo in compat. This is a generated file so
"make depend" needs to depend on it.
Todd C. Miller [Thu, 26 May 2011 15:46:11 +0000 (11:46 -0400)]
More dependency fixes.
Todd C. Miller [Thu, 26 May 2011 15:41:13 +0000 (11:41 -0400)]
Fix a few dependencies.
Todd C. Miller [Thu, 26 May 2011 15:12:54 +0000 (11:12 -0400)]
Place compiled mo files in the src dir, not the build dir.
When installing compiled mo files, display a status message.
Todd C. Miller [Wed, 25 May 2011 19:04:34 +0000 (15:04 -0400)]
Tivoli Directory Server requires that seconds be present in a
timestamp, even though RFC 4517 states that they are optional.
Todd C. Miller [Wed, 25 May 2011 18:15:37 +0000 (14:15 -0400)]
Add missing bit of copyright
Todd C. Miller [Wed, 25 May 2011 17:07:43 +0000 (13:07 -0400)]
Mention cycle detection warnings
Todd C. Miller [Wed, 25 May 2011 17:04:13 +0000 (13:04 -0400)]
When checking aliases, also check the contents of the alias in case there
are problems with an alias that is referenced inside another.
Replace the self reference check with real alias cycle detection.
Todd C. Miller [Wed, 25 May 2011 16:54:15 +0000 (12:54 -0400)]
Set errno to ELOOP in alias_find() if there is a cycle.
Set errno to ENOENT in alias_find() and alias_remove() if the
entry could not be found.
Todd C. Miller [Wed, 25 May 2011 15:31:11 +0000 (11:31 -0400)]
Increment alias_seqno before calls to alias_remove_recursive() to
avoid false positives with the alias loop detection. Fixes spurious
warnings about unused aliases when they are nested.
Todd C. Miller [Wed, 25 May 2011 14:20:07 +0000 (10:20 -0400)]
add mkdep.pl
Todd C. Miller [Wed, 25 May 2011 14:19:29 +0000 (10:19 -0400)]
Add dependency on convenience libs to binaries
Todd C. Miller [Wed, 25 May 2011 14:07:20 +0000 (10:07 -0400)]
mkdep.pl only works when run from the src dir
Todd C. Miller [Wed, 25 May 2011 13:02:25 +0000 (09:02 -0400)]
Auto-generate Makefile dependencies with a perl script.
Todd C. Miller [Mon, 23 May 2011 18:00:54 +0000 (14:00 -0400)]
If the user specifies a runas group via sudo's -g option that matches
the runas user's group in the passwd database and that group is not
denied in the Runas_Spec, allow it. Thus, if user root's gid in
/etc/passwd is 0, then "sudo -u root -g root id" is allow even if
no groups are present in the Runas_Spec.
Todd C. Miller [Sun, 22 May 2011 17:31:48 +0000 (13:31 -0400)]
Add dependencies on gettext.h
Todd C. Miller [Sun, 22 May 2011 14:10:43 +0000 (10:10 -0400)]
Fix install-nls target with HP-UX sh when gettext is not present.
Todd C. Miller [Fri, 20 May 2011 19:33:34 +0000 (15:33 -0400)]
regenerate .pot files for lbuf changes
Todd C. Miller [Fri, 20 May 2011 19:27:45 +0000 (15:27 -0400)]
Add missing "checking" message for gettext when using the cache.
Todd C. Miller [Fri, 20 May 2011 19:25:03 +0000 (15:25 -0400)]
Add primitive format string support to the lbuf code to make translations
simpler.
Todd C. Miller [Fri, 20 May 2011 17:20:14 +0000 (13:20 -0400)]
Add message catalog template files for sudo and the sudoers module.
Todd C. Miller [Fri, 20 May 2011 15:48:17 +0000 (11:48 -0400)]
Add gettext.h convenience header. This is similar to but distinct from
the one included with the gettext package.
Todd C. Miller [Thu, 19 May 2011 22:00:31 +0000 (18:00 -0400)]
Add checks for nroff -c and -Tascii flags
Todd C. Miller [Thu, 19 May 2011 21:34:38 +0000 (17:34 -0400)]
Add check for HP bundled C Compiler (which cannot create shared libs)
Todd C. Miller [Thu, 19 May 2011 20:21:59 +0000 (16:21 -0400)]
Fix C format warnings.
Todd C. Miller [Thu, 19 May 2011 20:21:41 +0000 (16:21 -0400)]
Add __printflike
Todd C. Miller [Thu, 19 May 2011 20:07:14 +0000 (16:07 -0400)]
Translate help / usage strings.
Todd C. Miller [Thu, 19 May 2011 20:06:53 +0000 (16:06 -0400)]
Set --msgid-bugs-address to the bugzilla url
Todd C. Miller [Thu, 19 May 2011 19:25:29 +0000 (15:25 -0400)]
Add scaffolding to update .po files and install .mo files.
Todd C. Miller [Thu, 19 May 2011 17:21:08 +0000 (13:21 -0400)]
update copyright year
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.
Todd C. Miller [Wed, 18 May 2011 17:44:36 +0000 (13:44 -0400)]
Minor warning/error cleanup
Todd C. Miller [Wed, 18 May 2011 17:44:07 +0000 (13:44 -0400)]
Emulate ngettext for the non-nls case
Todd C. Miller [Wed, 18 May 2011 17:16:32 +0000 (13:16 -0400)]
Do not mark untranslatable strings for translation
Todd C. Miller [Wed, 18 May 2011 17:07:35 +0000 (13:07 -0400)]
Use ROOT_UID not 0.
Todd C. Miller [Wed, 18 May 2011 17:04:24 +0000 (13:04 -0400)]
Minor warning/error message cleanup
Todd C. Miller [Wed, 18 May 2011 16:41:06 +0000 (12:41 -0400)]
cannot -> "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
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.
Todd C. Miller [Tue, 17 May 2011 22:37:18 +0000 (18:37 -0400)]
We don't want to translate debugging messages.
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.
Todd C. Miller [Tue, 17 May 2011 19:55:23 +0000 (15:55 -0400)]
Fix caching of libc gettext check.
Todd C. Miller [Tue, 17 May 2011 16:52:20 +0000 (12:52 -0400)]
Mark defaults descriptions for translation
Todd C. Miller [Tue, 17 May 2011 15:59:40 +0000 (11:59 -0400)]
Update for sudo 1.8.1p2
Todd C. Miller [Mon, 16 May 2011 20:52:34 +0000 (16:52 -0400)]
Quiet compiler warning when SELinux is enabled.
Todd C. Miller [Mon, 16 May 2011 20:50:09 +0000 (16:50 -0400)]
Add missing includes of libintl.h.
Todd C. Miller [Mon, 16 May 2011 20:44:11 +0000 (16:44 -0400)]
Fix gettext marker.
Todd C. Miller [Mon, 16 May 2011 20:37:11 +0000 (16:37 -0400)]
Include libint.h where needed.
Todd C. Miller [Mon, 16 May 2011 20:32:05 +0000 (16:32 -0400)]
Prepare sudoers module messages for translation.
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.
Todd C. Miller [Mon, 16 May 2011 16:17:49 +0000 (12:17 -0400)]
For AIX, keep calling authenticate() until reenter reaches 0.
Todd C. Miller [Mon, 9 May 2011 15:04:19 +0000 (11:04 -0400)]
Cache the status of the initial gettext() check.
Todd C. Miller [Mon, 9 May 2011 14:58:52 +0000 (10:58 -0400)]
Add --disable-nls flag and improve checks for gettext.
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.
Todd C. Miller [Fri, 6 May 2011 21:47:51 +0000 (17:47 -0400)]
Prepare sudo front end messages for translation.
Todd C. Miller [Wed, 4 May 2011 19:26:31 +0000 (15:26 -0400)]
Add initial scaffolding to support localization via gettext()
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.