Todd C. Miller
88cfbd51a5
Add support for --enable-nls[=location]
2011-05-29 14:33:18 -04:00
Todd C. Miller
d5e1cbbfaa
Include gettext.h
2011-05-28 15:32:11 -04:00
Todd C. Miller
ab3b3eb83b
Quiet gcc warnings.
2011-05-28 15:27:14 -04:00
Todd C. Miller
97214c4485
Don't install .mo files if gettext was not found.
2011-05-28 09:18:46 -04:00
Todd C. Miller
1b67009ca1
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.
2011-05-27 15:20:20 -04:00
Todd C. Miller
8513c48185
Add missing space between command name and the first command line argument.
2011-05-27 14:07:23 -04:00
Todd C. Miller
3e2f4037cc
Quiet a compiler warning on some platforms.
2011-05-27 13:50:37 -04:00
Todd C. Miller
9b7cd235e7
README file that directs people to translationproject.org
2011-05-27 13:15:27 -04:00
Todd C. Miller
6fccd6bfda
Sync translations with TP
2011-05-27 12:53:05 -04:00
Todd C. Miller
a7d96a3345
Add 'sync-po' target to top-level Makefile to rsync the po files
...
from translationproject.org.
2011-05-27 12:52:47 -04:00
Todd C. Miller
4ab4114c48
install nls files from install target
2011-05-27 10:24:55 -04:00
Todd C. Miller
38db44b80c
Include .mo files in sudo binary packags.
2011-05-27 10:17:34 -04:00
Todd C. Miller
47adbf8d33
Add simplified chinese translation
2011-05-27 07:54:52 -04:00
Todd C. Miller
c202c4e6d8
Add ukranian translation
2011-05-26 15:23:55 -04:00
Todd C. Miller
e9f44f788a
refer to siglist.c, not ./siglist.c since not all makes will
...
treat foo and ./foo the same.
2011-05-26 15:18:11 -04:00
Todd C. Miller
67e8e56534
Set def_preserve_groups before searching for the command when the -P
...
flag is specified.
2011-05-26 12:52:59 -04:00
Todd C. Miller
f7cb73abdb
Add dependency for siglist.lo in compat. This is a generated file so
...
"make depend" needs to depend on it.
2011-05-26 12:12:43 -04:00
Todd C. Miller
336ab7077a
More dependency fixes.
2011-05-26 11:46:11 -04:00
Todd C. Miller
79098fd962
Fix a few dependencies.
2011-05-26 11:41:13 -04:00
Todd C. Miller
6c13614a51
Place compiled mo files in the src dir, not the build dir.
...
When installing compiled mo files, display a status message.
2011-05-26 11:12:54 -04:00
Todd C. Miller
086cbfe376
Tivoli Directory Server requires that seconds be present in a
...
timestamp, even though RFC 4517 states that they are optional.
2011-05-25 15:04:34 -04:00
Todd C. Miller
b463d026b7
Add missing bit of copyright
2011-05-25 14:15:37 -04:00
Todd C. Miller
4c370f9f65
Mention cycle detection warnings
2011-05-25 13:07:43 -04:00
Todd C. Miller
5b7e231dd3
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.
2011-05-25 13:04:13 -04:00
Todd C. Miller
2b98492871
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.
2011-05-25 12:54:15 -04:00
Todd C. Miller
682333ae2d
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.
2011-05-25 11:31:11 -04:00
Todd C. Miller
9089c7ddfa
add mkdep.pl
2011-05-25 10:20:07 -04:00
Todd C. Miller
c8dda2b856
Add dependency on convenience libs to binaries
2011-05-25 10:19:29 -04:00
Todd C. Miller
d1e5e3b44d
mkdep.pl only works when run from the src dir
2011-05-25 10:07:20 -04:00
Todd C. Miller
78e235945f
Auto-generate Makefile dependencies with a perl script.
2011-05-25 09:02:25 -04:00
Todd C. Miller
d9e807b269
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.
2011-05-23 14:00:54 -04:00
Todd C. Miller
3833efaf04
Add dependencies on gettext.h
2011-05-22 13:31:48 -04:00
Todd C. Miller
9b3653fca0
Fix install-nls target with HP-UX sh when gettext is not present.
2011-05-22 10:10:43 -04:00
Todd C. Miller
f8df14034a
regenerate .pot files for lbuf changes
2011-05-20 15:33:34 -04:00
Todd C. Miller
724b64e2ca
Add missing "checking" message for gettext when using the cache.
2011-05-20 15:27:45 -04:00
Todd C. Miller
bd36d4f2ab
Add primitive format string support to the lbuf code to make translations
...
simpler.
2011-05-20 15:25:03 -04:00
Todd C. Miller
681547c5fa
Add message catalog template files for sudo and the sudoers module.
2011-05-20 13:20:14 -04:00
Todd C. Miller
bf7e7b5752
Add gettext.h convenience header. This is similar to but distinct from
...
the one included with the gettext package.
2011-05-20 11:48:17 -04:00
Todd C. Miller
a05e963690
Add checks for nroff -c and -Tascii flags
2011-05-19 18:00:31 -04:00
Todd C. Miller
e2aef4f526
Add check for HP bundled C Compiler (which cannot create shared libs)
2011-05-19 17:34:38 -04:00
Todd C. Miller
645b5c1c7e
Fix C format warnings.
2011-05-19 16:21:59 -04:00
Todd C. Miller
f4a4cbeabd
Add __printflike
2011-05-19 16:21:41 -04:00
Todd C. Miller
67cc4ff025
Translate help / usage strings.
2011-05-19 16:07:14 -04:00
Todd C. Miller
d2384297a0
Set --msgid-bugs-address to the bugzilla url
2011-05-19 16:06:53 -04:00
Todd C. Miller
3164f58143
Add scaffolding to update .po files and install .mo files.
2011-05-19 15:25:29 -04:00
Todd C. Miller
8985ba0d69
update copyright year
2011-05-19 13:21:08 -04:00
Todd C. Miller
6b856c7790
No need to include version number at the top of these files.
2011-05-19 13:17:31 -04:00
Todd C. Miller
42a3966a88
Minor warning/error cleanup
2011-05-18 13:44:36 -04:00
Todd C. Miller
0954a1b1c0
Emulate ngettext for the non-nls case
2011-05-18 13:44:07 -04:00
Todd C. Miller
27cb585142
Do not mark untranslatable strings for translation
2011-05-18 13:16:32 -04:00