Commit Graph

68 Commits

Author SHA1 Message Date
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
Todd C. Miller
de0df45cc9 configure will not add -O2 to CFLAGS if it is already defined to
add -O2 to the CFLAGS we pass in when PIE is being used.
2011-03-16 13:38:58 -04:00
Todd C. Miller
1c633bb2bb Use the Sun Studio C compiler on Solaris if possible 2011-03-09 11:22:09 -05:00
Todd C. Miller
206f5ff313 Fix default setting of osversion variable. 2011-03-08 16:09:48 -05:00
Todd C. Miller
7e10987348 Add --osversion flag to specify OS instead of running "pp --probeonly" 2011-03-07 10:34:47 -05:00
Todd C. Miller
5b5a173ff3 Add Requires line for audit-libs >= 1.4 for RHEL5+ 2011-01-14 15:03:57 -05:00
Todd C. Miller
1c08498534 Use system zlib on Linux
Let configure decide on Solaris
For all others, use builtin zlib
2010-10-28 12:24:05 -04:00
Todd C. Miller
d93df4e878 Add --with-project for Solaris 2010-10-01 11:36:14 -04:00
Todd C. Miller
6d0395ee68 Add support for Ubuntu admin flag file and enable it when building
Ubuntu packages.
2010-07-28 16:34:11 -04:00