Commit Graph

67 Commits

Author SHA1 Message Date
Todd C. Miller
2b4bc87c07 Install /etc/rc.d/init.d/sudo and /etc/rc.d/rc2.d/S90sudo for
AIX rpm packages.
2014-02-17 09:02:06 -07:00
Todd C. Miller
cb3cea3fa9 Fix INIT_DIR for real this time. 2014-02-16 14:49:15 -07:00
Todd C. Miller
0bf299c690 Use correct init.d dir on HP-UX.
Fix pp warnings from rc.d and init.d dirs.
2014-02-16 11:00:41 -07:00
Todd C. Miller
96d87d55dd First cut add installing an init.d file for HP-UX and AIX to remove
old sudo timestamp files at boot time.
2014-02-16 10:22:43 -07:00
Todd C. Miller
4831eeaac2 Avoid duplicate directories if vardir and rundir are the same. 2014-02-02 06:39:05 -07:00
Todd C. Miller
17ab16824b Remove the time stamp dir and its contents when uninstalling. We
currently leave the lecture status files installed until there is
a better way to detect upgrades.
2014-02-01 06:30:40 -07:00
Todd C. Miller
aeb5ceead8 Replace --with-timedir and --with-lecture_dir with --with-rundir
and --with-vardir which are the parent directories of the time stamp
and lecture dirs.  These directories need to be searchable by
non-root so that the timestampowner setting can function.
2014-02-01 05:57:34 -07:00
Todd C. Miller
f2a007fb91 Update copyright year. 2013-04-15 16:29:36 -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
5904f7ede9 Add "Provides: sudo" to debian sudo-ldap package 2012-07-05 09:34:20 -04:00
Todd C. Miller
aab4b3589b MacOS pp backend doesn't like modes longer than 4 characters. 2012-07-02 08:24:57 -04:00
Todd C. Miller
386ba7b062 If installing with installp, error out if there is already an
instance of the rpm package installed.
2012-06-25 16:16:25 -04:00
Todd C. Miller
5c1ba0b49d Debian sudo-ldap packages should now depend on libldap-2.4-2, not
libldap2.
2012-06-22 10:57:23 -04:00
Todd C. Miller
e571d6ff68 Add Homepage and Bugs to debian control file. 2012-06-21 13:41:39 -04:00
Todd C. Miller
60eafc971f Add mode for installed locale files but leave the directories with
default mode and owner.
2012-06-12 13:52:20 -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
a8e0687ca9 Install shared objects with mode 0644 except on HP-UX which needs
the executable bit set.
2012-06-11 10:45:34 -04:00
Todd C. Miller
f5948149e0 Fix packaging of symbolic links on HP-UX when the link source already
exists in the filesystem.
2012-06-08 13:27:16 -04:00
Todd C. Miller
94049aa532 Fix setting of sudoedit_man variable. 2012-06-08 09:37:43 -04:00
Todd C. Miller
4c88e08c87 Build .deb packages with selinux support. 2012-06-07 13:59:36 -04:00
Todd C. Miller
13472d7a8e Don't list paths for unstripped binaries in the lintial overrides. 2012-06-04 15:06:04 -04:00
Todd C. Miller
dab474b938 Add Depends, Replaces and Conflicts headers for .deb packages. 2012-06-04 13:13:38 -04:00
Todd C. Miller
f6f64ce04f Set -e in %pos and %preun for debian to quiet a lintian warning. 2012-05-31 16:10:44 -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
3076dc2a4f Make sudo binary permissions 755 instead of 111
Add lintian overrides file for .deb files.
2012-05-31 14:26:16 -04:00
Todd C. Miller
b5ee0ab910 Debian fixes:
* fix modes to be more in line with what Debian expects
 * add section
 * install LICENSE as copyright and ChangeLog as changelog
 * create stub changelog.debian
2012-05-31 14:02:26 -04:00
Todd C. Miller
7391c7562f Use a debian-compliant package maintainer field. 2012-05-31 10:20:40 -04:00
Todd C. Miller
e828a1d7a5 Add mode for docdir and use '-' (default) for localedir mode. Fixes
a problem on Linux when building in a directory with the setgid bit
set.
2012-05-01 13:47:14 -04:00
Todd C. Miller
ca0d9c4be9 Make sudoersdir relative to PKG_INSTALL_ROOT for Solaris. 2012-03-13 17:38:03 -04:00
Todd C. Miller
fa99904b20 Fix application of debian-specific sudoers mods when building packages
as non-root.
2012-03-12 15:04:03 -04:00
Todd C. Miller
0370e129ff Make sure sudoers is writable before calling ed script. 2012-02-21 04:54:08 -05:00
Todd C. Miller
1ceadea526 Build flat packages, not package bundles, on Mac OS X. 2012-02-16 11:27:22 -05:00
Todd C. Miller
4ef2006eb3 Move macos section to be with the other OS-specific sections. 2012-02-10 16:22:21 -05:00
Todd C. Miller
ef7dcd5197 Add Mac OS X support, printing the latest chunk of the NEWS file
and the license text in the installer.
2012-02-10 12:50:15 -05:00
Todd C. Miller
37570290c7 Add explicit file modes that match those used by "make install" 2012-02-10 12:35:41 -05:00
Todd C. Miller
4baffc7801 Include parent directories in case they don't already exist. This
fixes a directory permissions problem with the AIX package when the
/usr/local directories don't already exist.
2012-01-13 09:49:20 -05:00
Todd C. Miller
1d7722a544 Mark libexec files as optional. If we build without shared object
support, libexec is not used.
2011-11-08 08:38:21 -05:00
Todd C. Miller
d090d67865 Fix typo in summary 2011-07-13 11:41:26 -04:00
Todd C. Miller
f0e941a396 Explicitly set mode and owner of /etc/sudoers instead of relying
on "cp -p" to work in the postinstall script.  On AIX 6.1 at least
the postinstall script runs before the final file permissions are set.
2011-06-10 15:26:35 -04:00
Todd C. Miller
38db44b80c Include .mo files in sudo binary packags. 2011-05-27 10:17:34 -04:00
Todd C. Miller
2f24216e85 update copyright year 2011-04-14 16:41:38 -04:00
Todd C. Miller
cf5e8d9b77 Fix aix version setting. 2011-04-12 11:50:20 -04:00
Todd C. Miller
02f0775feb Strip off the beta or release candidate version when building AIX
packages.
2011-03-30 12:25:41 -04:00
Todd C. Miller
b54425e041 Fix expr usage w/ GNU expr 2011-03-07 10:08:21 -05:00
Todd C. Miller
9d7a12e752 Don't use the beta or release candidate version as the rpm release. 2011-03-02 12:28:05 -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
494bd14de9 For Tru64, strip off beta version. 2010-11-20 10:37:05 -05:00
Todd C. Miller
4733872cb0 set PSTAMP for Solaris and move the backend-specific bits to their
own %if [xxx] %endif blocks in %set.
2010-11-09 11:13:06 -05:00
Todd C. Miller
29efdc50ab Set pp_kit_version and strip off patch level 2010-08-07 14:29:09 -04:00
Todd C. Miller
ee2bdd2488 Better handling of versions with a patchlevel. For rpm and deb, use
the patchlevel+1 as the release.  For AIX, use the patchlevel as the
4th version number.  For the rest, just leave the patchlevel in the
version string.
2010-08-07 11:08:32 -04:00