FreeBSD Bugzilla – Attachment 111009 Details for
Bug 152224
[patch] fix installed permissions for lang/python27
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
p
p (text/plain), 1.16 KB, created by
John Hein
on 2010-11-29 00:23:48 UTC
(
hide
)
Description:
p
Filename:
MIME Type:
Creator:
John Hein
Created:
2010-11-29 00:23:48 UTC
Size:
1.16 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /base/FreeBSD-CVS/ports/lang/python27/Makefile,v >retrieving revision 1.169 >diff -u -p -r1.169 Makefile >--- Makefile 6 Sep 2010 00:25:04 -0000 1.169 >+++ Makefile 29 Nov 2010 00:15:42 -0000 >@@ -146,6 +146,12 @@ CONFIGURE_ARGS+= --disable-ipv6 > CONFIGURE_ARGS+= --with-fpectl > .endif > >+post-extract: >+# The distribution tarball for python 2.7 has permission bits for 'others' >+# set to 0. Later during install, we copy Tools and Demo to the installed >+# prefix, so set them right here. >+ ${CHMOD} og=u-w ${PYTHON_WRKSRC}/Tools ${PYTHON_WRKSRC}/Demo >+ > pre-patch: > ${CP} -r ${PATCH_WRKSRC}/Lib/plat-freebsd8 \ > ${PATCH_WRKSRC}/Lib/plat-freebsd9 >@@ -260,12 +266,12 @@ post-install: > .if !defined(NOPORTDATA) > @${MKDIR} ${DATADIR} > @cd ${PYTHON_WRKSRC}; ${TAR} -cf - Tools | \ >- (cd ${DATADIR}; ${TAR} -xf -) >+ (cd ${DATADIR}; ${TAR} --no-same-owner -xf -) > .endif > .if !defined(NOPORTEXAMPLES) > @${MKDIR} ${EXAMPLESDIR} > @cd ${PYTHON_WRKSRC}/Demo; ${TAR} -cf - * | \ >- (cd ${EXAMPLESDIR}; ${TAR} -xf -) >+ (cd ${EXAMPLESDIR}; ${TAR} --no-same-owner -xf -) > .endif > > @${CAT} ${PKGMESSAGE}
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 152224
:
111006
|
111007
|
111008
| 111009