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
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