Todd C. Miller
dbf07431d0
Use expr instead of POSIX sh numerical expression to avoid
...
a syntax error on older shells.
2016-11-09 06:03:31 -07:00
Todd C. Miller
d54148bbdd
Fix appending to make_opts
2016-08-22 07:13:02 -06:00
Todd C. Miller
14c9d203e8
Use /proc/cpuinfo on Linux instead of running lscpu
2016-08-03 06:31:17 -06:00
Todd C. Miller
820934082f
If using GNU make on a multi-cpu system, use the -j flag to run
...
make jobs in parallel, up to the number of cpus/cores.
2016-08-03 06:15:25 -06:00
Todd C. Miller
9b19ea440c
Fedora dropped "core" from the name some time ago so just match on
...
f[0-9] for the rpm distro name provided by pp. Since the version
numbers of Fedora and RHEL are so different switch to defining
variables to indicate which features should be enabled. Works for
Fedora 23.
2016-02-01 11:07:10 -07:00
Todd C. Miller
25abb72184
Treat fedora core like centos/rhel for package building.
2016-01-31 07:36:44 -07:00
Todd C. Miller
e244b0cda2
Fix the check for whether to include 32-bit arch in Mac OS X packages.
2015-10-25 09:10:15 -06:00
Todd C. Miller
d536626b18
Set sssd lib location to /usr/lib64 on 64-bit RHEL/Centos.
...
Bug #710
2015-07-27 07:07:38 -06:00
Todd C. Miller
4870060e91
Better checks for the libaudit package for Debian and error out
...
if we can't figure it out.
2015-07-09 13:01:43 -06:00
Todd C. Miller
d11ffce668
Fix linux_audit setting on non-multiarch Debian.
2015-07-09 11:36:51 -06:00
Todd C. Miller
6c9e92aba6
The old Solaris /bin/sh doesn't support POSIX $( .. ) syntax,
...
use backquotes instead.
2015-07-09 09:34:22 -06:00
Todd C. Miller
2d0699a070
Only use --with-sssd-lib on Debian/Ubuntu w/ multipackage.
...
Use dpkg-query to determine the name of the audit package
for proper dependencies.
2015-07-08 18:13:39 -06:00
Todd C. Miller
c3b4e4ce3e
Update Debian/Ubuntu packages to be more like the vendor ones. One
...
notable exception is that sudo.ws packages use /var/run, not /var/lib
for timestamp files.
2015-07-08 16:15:53 -06:00
Todd C. Miller
f5f5e17cb6
There's no point in building i386 binaries for Mac OS X 10.7 and higher.
2015-04-28 14:54:44 -06:00
Todd C. Miller
7e1c2fa00c
Remove unintended commit
2015-04-08 15:29:59 -06:00
Todd C. Miller
fa3552fa76
Create template tmpfiles.d/sudo.conf for installation instead of
...
creating one via echo commands in the Makefile.
Add --enable-tmpfiles.d configure option to enable/disable use of
tmpfiles.d and override the default directory.
Use --disable-tmpfiles.d in mkpkg so we no longer need to ignore
tmpfiles.d/sudo.conf in sudo.pp.
2015-04-07 15:35:01 -06:00
Todd C. Miller
d297f5fd84
Make exampledir configurable and default to DATAROOTDIR/examples/sudo
...
on BSD systems.
2015-04-06 15:10:26 -06:00
Todd C. Miller
06076e445b
RHEL 6 and above use /etc/sudo-ldap.conf not /etc/ldap.conf
2014-07-11 10:58:20 -06:00
Todd C. Miller
bd0787b680
Don't use the HP compiler in preference to gcc. Some versions have
...
trouble compiling lbuf.c.
2014-07-09 14:00:08 -06:00
Todd C. Miller
d8f94bdfdd
No longer need to disable setresuid() on debian.
2014-02-27 13:57:11 -07:00
Todd C. Miller
f4e037a0da
Do not override timedir on Debian.
2014-01-30 16:07:28 -07:00
Todd C. Miller
af72b1ad50
RHEL 6 and above builds sudo with SSSD support
2013-12-03 15:18:42 -07:00
Todd C. Miller
e34fe030b9
Enable bsm audit on Mac OS X and Solaris >= 11.
2013-08-15 10:41:48 -06:00
Todd C. Miller
385e20c7bc
Newer Xcode places the SDKs under Xcode.app
2013-08-06 10:58:50 -06:00
Todd C. Miller
0799e96790
Use -gxcoff on aix so dbx can be used to debug sudo.
2013-06-17 16:48:32 -04:00
Todd C. Miller
d962673a74
No longer need to disable PIE on Solaris.
2013-05-30 09:11:30 -04:00
Todd C. Miller
04f9cedef4
Add explicit sendmail path for Linux since we may not have sendmail
...
installed in the build chroot.
2013-05-03 10:51:04 -04:00
Todd C. Miller
e05d2732aa
Add copyright notice to scripts
2013-04-24 15:47:39 -04:00
Todd C. Miller
8ffac2aa6f
Disable PIE on Solaris where it is not really supported.
2013-04-10 16:26:41 -04:00
Todd C. Miller
6b09c76a20
Sudo now stores its libexec files in a "sudo" subdirectory instead
...
of in libexec itself. For backwards compatibility, if the plugin
is not found in the default plugin directory, sudo will check the
parent directory default directory ends in "/sudo".
2013-02-06 14:06:51 -05:00
Todd C. Miller
f8f0021710
Add configure check for building PIE executables instead of doing
...
it in mkpkg.
2012-07-02 10:12:41 -04:00
Todd C. Miller
bcd8549a9c
Add --disable-nls for AIX
2012-06-25 14:00:11 -04:00
Todd C. Miller
6103bbc67f
fix typo when setting aix_freeware
2012-06-20 14:18:14 -04:00
Todd C. Miller
c498235578
Install AIX packages under /opt/freeware with links in /usr/bin and
...
/usr/sbin. This matches the layout of the sudo package from AIX
freeware.
2012-06-11 15:07:16 -04:00
Todd C. Miller
db9f50f13c
Only specify prefix if we are overriding the default value.
...
Fixes the man dir (/usr/local/man vs. /usr/local/share/man).
2012-06-08 13:26:16 -04:00
Todd C. Miller
4c88e08c87
Build .deb packages with selinux support.
2012-06-07 13:59:36 -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
071256a838
Build PIE executable on Mac OS X 10.5 and above.
2012-05-15 12:08:22 -04:00
Todd C. Miller
5f513b8326
Debian sudo has not been built with --with-exempt=sudo since 1.6.8.
2012-04-23 16:47:42 -04:00
Todd C. Miller
c19ec8f9f6
Only built Mac intel universal binary on an intel machine.
2012-04-20 10:38:43 -04:00
Todd C. Miller
a714eb56f0
When building on Mac OS X, only set SDK_FLAGS if specified osversion
...
doesn't match host.
2012-04-16 10:14:56 -04:00
Todd C. Miller
640c229b57
Target Mac OS X 10.5 when building packages.
2012-02-24 13:40:39 -05:00
Todd C. Miller
5afbdab23b
Add support for building Mac OS X packages.
2012-02-07 11:49:46 -05:00
Todd C. Miller
13514ec03e
Build PIE executables for newer Debian and Ubuntu
2011-11-30 13:51:41 -05:00
Todd C. Miller
335901388e
Fix building on RHEL 3
2011-08-23 15:24:55 -04:00
Todd C. Miller
13591340bb
configure args on the command line should override builtin defaults.
...
Disable NLS for non-Linux/Solaris unless explicitly enabled.
2011-08-12 11:04:25 -04:00
Todd C. Miller
8ebf7a95cf
Add -g to CFLAG for PIE builds.
2011-07-27 12:00:24 -04:00
Todd C. Miller
94f7c4a291
Only run configure with --with-pam-login for RHEL 5 and above.
2011-07-13 15:51:26 -04:00
Todd C. Miller
ee1b41f847
For SuSE, only use /usr/lib64 as libexec if generating 64-bit
...
binaries.
2011-07-05 12:42:55 -04:00
Todd C. Miller
3e41e39be2
Don't set CC when cross-compiling.
2011-03-18 17:40:24 -04:00