The Samba-Bugzilla – Attachment 3578 Details for
Bug 5289
Build system: Uninstall scripts can clobber system files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to prevent prefix=/usr
checkPath.patch (text/plain), 750 bytes, created by
Matthias Dieter Wallnöfer
on 2008-09-13 12:11:16 UTC
(
hide
)
Description:
Patch to prevent prefix=/usr
Filename:
MIME Type:
Creator:
Matthias Dieter Wallnöfer
Created:
2008-09-13 12:11:16 UTC
Size:
750 bytes
patch
obsolete
>diff --git a/source/build/m4/check_path.m4 b/source/build/m4/check_path.m4 >index c45a803..51d5daa 100644 >--- a/source/build/m4/check_path.m4 >+++ b/source/build/m4/check_path.m4 >@@ -23,6 +23,11 @@ winbindd_socket_dir="${localstatedir}/run/winbindd" > winbindd_privileged_socket_dir="${localstatedir}/lib/winbindd_privileged" > ntp_signd_socket_dir="${localstatedir}/run/ntp_signd" > >+# Check to prevent installing directly under /usr without the FHS >+AS_IF([test ${prefix} == /usr],[ >+ AC_MSG_ERROR([Don't install directly under "/usr" without using the FHS option (--with-fhs). This could lead to file loss!]) >+]) >+ > AC_ARG_WITH(fhs, > [AS_HELP_STRING([--with-fhs],[Use FHS-compliant paths (default=no)])], > lockdir="${localstatedir}/lib/samba"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 5289
: 3578