Commit Graph

24 Commits

Author SHA1 Message Date
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
Todd C. Miller
e4ff63bd30 Let pp determine pp_aix_version itself. 2010-07-28 17:52:54 -04:00
Todd C. Miller
76ce69057e Add commented out SuSE-like targetpw settings 2010-07-28 16:28:14 -04:00
Todd C. Miller
1ae6145d47 Go back to sudo-flavor to match existing packages and only use an
underscore for those that need it.
2010-07-27 18:22:47 -04:00
Todd C. Miller
a4b333bc44 Use sudo_$flavor instead of sudo-$flavor since that causes the
least amount of trouble for the various package managers.
2010-07-27 18:17:36 -04:00
Todd C. Miller
0fbe7a6748 Add back include file. 2010-07-27 14:51:15 -04:00
Todd C. Miller
2e66c22a3b Add Tru64 kit support 2010-07-26 15:30:36 -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
481a389e6e Install sudoers as /etc/sudoers on RPM and debian systems where the
package manager will not replace a user-modified configuration file.
This fixes upgrades from the vendor sudo packages.
2010-07-22 13:47:32 -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
6575013a1f Include flavor in solaris package name 2010-07-15 16:51:48 -04:00
Todd C. Miller
8a837375d0 Use tab indents to reduce the chance of problem with <<-
Fix the debian %set section, pp does not set pp_deb_distro
Uncomment %sudo line in sudoers for debian
Uncomment some env_keep lines for RHEL, SLES and debian to more
    closely match the vendor sudoers files.
Add /etc/pam.d to %files
Remove the /etc/sudo-ldap.conf symlink on debian for ldap flavor
2010-07-15 15:12:34 -04:00
Todd C. Miller
f440808e57 Simplify rpm linux distro settings 2010-07-14 15:54:09 -04:00
Todd C. Miller
eccbde77da Add ldap "flavor" for debian, controlled by the SUDO_FLAVOR environment
variable.
2010-07-14 14:09:34 -04:00
Todd C. Miller
3910c8fb50 Create sudo group on debian 2010-07-14 14:07:38 -04:00
Todd C. Miller
a7dac1fc25 Add debian 4/5/6 and use the dot when doing version matches 2010-07-14 09:36:05 -04:00
Todd C. Miller
fde091cc00 Initial support for debian 4.0 2010-07-13 17:52:50 -04:00
Todd C. Miller
7bcbce2078 Use http://rc.quest.com/topics/polypkg/ for packaging 2010-07-13 08:33:46 -04:00