Todd C. Miller
02aa57c169
Sync tmpfiles.d/sudo.conf with init.d/sudo.conf.in
2015-04-10 09:03:15 -06:00
Todd C. Miller
68339fa9c1
Work around a bug in pp that caused a warning when exampledir is a
...
subdir of docdir.
2015-04-09 18:14:38 -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
6d63ca32fb
Fix setting of pp_rpm_version when there is no patchlevel present.
...
Also tighten up the regexp for pp_rpm_release.
2015-04-07 10:15:45 -06:00
Todd C. Miller
f63896e7d8
Install /usr/lib/tmpfiles.d/sudo.conf on systems with systemd but
...
do not package it. For packages we create /usr/lib/tmpfiles.d/sudo.conf
as needed in the postinstall script.
2015-04-06 15:08:37 -06:00
Todd C. Miller
da092640be
Update copyright year.
2015-03-05 12:43:50 -07:00
Todd C. Miller
8e1ceb5a7b
Only create /usr/lib/tmpfiles.d/sudo.conf if
...
/usr/lib/tmpfiles.d/systemd.conf also exists. Some other package
may have created /usr/lib/tmpfiles.d even though it is not used.
2015-02-26 09:55:01 -07:00
Todd C. Miller
a056794e9c
Clear the ts dir instead of just making sure it exists.
2015-02-26 09:21:18 -07:00
Todd C. Miller
8fdc46433c
Create /usr/lib/tmpfiles.d/sudo.conf when systemd is used.
2015-02-25 16:45:12 -07:00
Todd C. Miller
7d1ee77136
Don't need to pass exampledir to polypkg now that it is just under
...
docdir.
2015-02-19 09:47:57 -07:00
Todd C. Miller
2ed7f2dd94
Fix packaging of the example dir.
2015-02-18 16:17:24 -07:00
Todd C. Miller
3f82c8e578
Add /usr/local/share/examples/ directory to parentdirs so it is
...
explicitly added to the package.
2015-02-04 09:38:25 -07:00
Todd C. Miller
b91a91d289
Move sample.* files to a sudo examples dir
2014-10-24 14:25:12 -06:00
Todd C. Miller
6e8b84fda2
Fix a packaging problem with the sudoedit man page link on Debian.
2014-10-24 14:25:10 -06:00
Todd C. Miller
ef11361eea
Fix osrelease sed expression. It wasn't matching distros with a
...
single digit version such as sles9.
2014-08-26 15:47:48 -06:00
Todd C. Miller
dbe0b213da
Only use the first two digits of the version number.
...
Fixes a problem on RHEL 7 which has version numbers like 7.0.1406
2014-08-15 16:46:24 -06:00
Todd C. Miller
4bc4522ed8
Fix syntax error with some shells.
2014-07-14 06:32:21 -06:00
Todd C. Miller
691421011d
The RHEL sudo package allows users in group wheel to run sudo.
2014-07-11 15:42:01 -06:00
Todd C. Miller
d86df074d5
Avoid packaging parent directories when they are system directories.
...
Currently we just skip this when prefix is /usr
2014-07-11 15:32:17 -06:00
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