Commit Graph

57 Commits

Author SHA1 Message Date
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
Todd C. Miller
a6265c54c3 Fix handling of the ldap flavor
Remove destdir unless --debug was specified
Make distclean before running configure if there is a Makefile present
2010-07-27 18:10:34 -04:00
Todd C. Miller
707246a348 Pass extra args on to configure
on HP-UX, if we don't have the HP C compiler, disable zlib to
prevent gcc from finding it in /usr/local/lib.
2010-07-27 14:49:53 -04:00
Todd C. Miller
01e547bd1e Use the HP ANSI C compiler on HP-UX if possible 2010-07-27 14:26:59 -04:00
Todd C. Miller
1eebebeece platform is a pp flag not a variable 2010-07-26 11:34:56 -04:00
Todd C. Miller
551791a51f Add simple arg parsing for mkpkg so we can set debug, flavor or platform. 2010-07-26 11:15:50 -04:00
Todd C. Miller
3907d43635 Restore the dot removal in the os version reported by polypkg.
Adapt mkpkg and sudo.pp to the change.
2010-07-15 22:19:13 -04:00
Todd C. Miller
8fd2e25648 Older shells don't support IFS= so set explictly to space, tab, newline. 2010-07-15 16:35:38 -04:00
Todd C. Miller
df1ed5f3e1 Use '=' not '==' in test 2010-07-15 15:44:36 -04:00
Todd C. Miller
3383311862 Fix typo that prevented debian from matching 2010-07-15 15:23:12 -04:00
Todd C. Miller
d6dfa43d21 Add missing prefix setting for debian 2010-07-15 15:19:37 -04:00
Todd C. Miller
98650c9a24 Enable zlib for linux distros 2010-07-14 16:03:59 -04:00