Commit Graph

79 Commits

Author SHA1 Message Date
Todd C. Miller
e70a953fb4 Remove pointless subshells in targets that simply change the directory
and execute a command.  The command is already run in a shell so
there is no need to execute a subshell in this case.
2017-07-12 05:45:46 -06:00
Todd C. Miller
1298ea9107 Add target for "make splint". A few files need extra guards to avoid
errors on systems where they would not otherwise be compiled.
No warnings from splint.
2015-05-21 11:07:13 -06:00
Todd C. Miller
336b99ade2 man pages should explicitly depend on config.status since it is
used to substitute in variables/settings.
2015-05-11 17:01:41 -06:00
Todd C. Miller
0c77de559e Add lint target to run "mandoc -Tlint" over the manuals. 2015-05-11 10:22:05 -06:00
Todd C. Miller
716e6a991a Use "mandoc -Tascii" to generate .cat pages to avoid locale-specific
characters.
2015-01-21 08:51:27 -07:00
Todd C. Miller
b91a91d289 Move sample.* files to a sudo examples dir 2014-10-24 14:25:12 -06:00
Todd C. Miller
779946ea3a Remove noop man.sed files
Use full path instead of $@.in when calling config.status with --file=-
2014-08-07 09:55:12 -06:00
Todd C. Miller
c6879683a0 Remove double $(srcdir) when running sed scripts. 2014-07-16 16:37:16 -06:00
Todd C. Miller
088edcb6f5 Add exported libsudo_util functions to util.exp and mark in headers
using __dso_public.
2014-06-26 15:51:15 -06:00
Todd C. Miller
5a6db565c1 Update copyright years 2014-01-15 06:19:34 -07:00
Todd C. Miller
78355e618f Add cppcheck target to run cppcheck on all source files. 2014-01-13 09:50:39 -07:00
Todd C. Miller
e31b2ba6a8 Rename configure.in -> configure.ac 2013-11-13 15:00:28 -07:00
Todd C. Miller
89c162ec63 Add missing $(mansrcdir) to visudo.mdoc and visudo.man.
From Daniel Richard G.
2013-11-12 08:51:25 -07:00
Todd C. Miller
8dfe0b6053 Eliminate warning about circular dependency from GNU make. 2013-10-23 16:05:57 -06:00
Todd C. Miller
d6282d154a Update copyright years. 2013-04-24 09:35:02 -04:00
Todd C. Miller
3e68433839 Clean up generated test files and other minor housekeeping. 2013-02-28 09:49:09 -05:00
Todd C. Miller
c5816ca6ae Add standalone sudo.conf manual page. 2013-02-05 11:43:02 -05:00
Todd C. Miller
8f3232ee69 Add COMMAND EXECUTION section that describes how sudo runs
the command, the extra sudo processes and signal handling.
2012-08-21 13:01:43 -04:00
Todd C. Miller
3bef51c62d The HISTORY, LICENSE and CONTRIBUTORS files are not longer generated. 2012-08-17 15:57:32 -04:00
Todd C. Miller
c2b6033c7a For cat pages there is nothing to make unless DEVEL is set. 2012-08-15 15:10:50 -04:00
Todd C. Miller
1e43242b33 Always use mandoc to format cat pages and remove now-extraneous
nroff configure tests.
2012-08-15 10:32:25 -04:00
Todd C. Miller
9ad4d48046 Do not modify the .Os section when building the .man.in file from
.mdoc.in.
2012-08-09 11:47:01 -04:00
Todd C. Miller
602510f1bb Generate a sed script file when munging *.mdoc or *.man instead of
passing sed expressions on the command line.  Older seds do not
support \n in a replacement so generate and run a sed script instead.
2012-08-01 14:38:52 -04:00
Todd C. Miller
37cfbc8eaa Use "Sudo VERSION" as the 4th arg to .TH instead of just "VERSION" 2012-08-01 10:54:09 -04:00
Todd C. Miller
e470b86cbf Remove pod versinons of HISTORY, CONTRIBUTORS and LICENSE as they
were not being kept in sync.
2012-07-29 14:17:22 -04:00
Todd C. Miller
ecb74d3e26 Fix building docs in a build dir. 2012-07-26 14:05:55 -04:00
Todd C. Miller
336233c2e5 Add post-processing scripts to strip out login class, BSD auth,
SELinux and privilege set bits when they are not supported.
2012-07-26 13:50:26 -04:00
Todd C. Miller
4abd2a6cf4 Merge in Solaris privilege support by Darren Moffat and John Zolnowsky 2012-07-26 13:49:21 -04:00
Todd C. Miller
84a8573aab add MANDOC variable 2012-07-25 06:32:05 -04:00
Todd C. Miller
909f3da4d5 Fix dependencies for .man.in files. 2012-07-19 16:21:07 -04:00
Todd C. Miller
90f2cfa589 Build .man.in and .cat files from .mdoc.in files.
Add new --with-man and --with-mdoc configure options.
2012-07-19 13:41:14 -04:00
Todd C. Miller
9497df293a Don't run regress tests or sudoers sanity check (using the newly-built
visudo) when cross compiling.  Bug #560
2012-06-20 13:38:17 -04:00
Todd C. Miller
c131cb36f5 Make installed file modes consistent with the file modes in the
sudo package.
2012-06-11 10:17:19 -04:00
Todd C. Miller
afbf68d6a3 Echo the command when linking the sudoedit manual. 2012-06-08 09:37:08 -04:00
Todd C. Miller
61a3ed1c10 Install sudoedit and the sudoedit manual as symbolic links, not
hard links and package them as such.
2012-05-31 15:50:16 -04:00
Todd C. Miller
8d4c6bbbd0 Replace out of date MAN_POSTINSTALL with MANCOMPRESS and MANCOMPRESSEXT
which can be used to compress the installed manual pages.
Compress the man pages for .deb files to appease lintian.
2012-05-31 14:03:41 -04:00
Todd C. Miller
28db1fbbed We need sysconfdir in compat/Makfile to get the proper sudo.conf
path.  Add standard prefix and foodir expansion in all Makefiles
to avoid this problem in the future.
2012-02-27 13:28:15 -05:00
Todd C. Miller
cb66fc6f10 Use -m not -M for install-sh for everything except setuid.
Install locale .mo files mode 0444, not 0644.
If timedir parent doesn't exist, use default dir mode, not 0700.
2012-02-09 11:11:58 -05:00
Todd C. Miller
31c08fca3e Clean up the DEVEL noise 2011-12-08 12:53:10 -05:00
Todd C. Miller
1cec1f4777 No need for install target to depend explicitly on install-dirs,
the install-foo targets all depend on it.
2011-12-07 14:33:25 -05:00
Todd C. Miller
62011b6772 Restore PACKAGE_TARNAME, it is used in docdir 2011-12-02 16:11:50 -05:00
Todd C. Miller
01147eda3a Replace @DEV@ prefix with DEVEL variable so we can do "make DEVEL=1" 2011-12-02 13:43:02 -05:00
Todd C. Miller
de6df7cc81 Build CONTRIBUTORS from newly-added contributors.pod 2011-06-17 09:39:27 -04:00
Todd C. Miller
e66169b3ed Move nls targets to the top level Makefile so the paths in
the pot file are saner
2011-06-04 18:27:13 -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
3164f58143 Add scaffolding to update .po files and install .mo files. 2011-05-19 15:25:29 -04:00
Todd C. Miller
44c763c728 If there is an existing sudoers file, only install if it passes a
syntax check.
2011-03-29 15:20:32 -04:00
Todd C. Miller
435e44808d add localstatedir; closes bug 471 2011-02-19 08:29:21 -05:00
Todd C. Miller
f7f8b6867e Update copyright year to 2011 2011-01-20 16:46:56 -05:00
Todd C. Miller
1defd7b456 Add regression tests for iolog_path() 2011-01-06 11:05:28 -05:00