|
Bugzilla – Full Text Bug Listing |
| Summary: | Allow specifying exampledir in ./configure (or change the default) | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Evangelos Foutras <evangelos> |
| Component: | Configure | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | garga |
| Priority: | low | ||
| Version: | 1.8.12 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
|
Description
Evangelos Foutras
2015-02-10 09:31:42 MST
Sure, I can make that configurable. I don't mind changing the default to be under the doc/sudo directory either. I'd suggest just sticking them under $(docdir)/examples and not making it configurable (though I might be missing a use case for it being configurable). Thanks for the quick reply! (In reply to Todd C Miller from comment #3) > Committed: http://www.sudo.ws/repos/sudo/rev/494d9a0484b6 Patch works, thanks! Fixed in sudo 1.8.13, available now. It would be nice if it's configurable, same as infodir or docdir, on configure script. On FreeBSD port I needed to patch it to install examples on expected place. (In reply to Evangelos Foutras from comment #2) > I'd suggest just sticking them under $(docdir)/examples and not > making it configurable (though I might be missing a use case for it > being configurable). > > Thanks for the quick reply! Other operating systems don't follow same guidelines. On FreeBSD it is supposed to be installed under /usr/local/share/examples/sudo. http://www.sudo.ws/repos/sudo/rev/4c1271298712 Make exampledir configurable and default to DATAROOTDIR/examples/sudo on BSD systems. (In reply to Todd C Miller from comment #8) > http://www.sudo.ws/repos/sudo/rev/4c1271298712 > > Make exampledir configurable and default to > DATAROOTDIR/examples/sudo on BSD systems. Thank you! |