FreeBSD Bugzilla – Attachment 166104 Details for
Bug 206591
sysutils/ansible: 2.0.0.2_1 appears to have a quoting problem causing broken playbook
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
sysutils/ansible: fix 'su' regression
ansible-fix-su.diff (text/plain), 1.54 KB, created by
Nikolai Lifanov
on 2016-01-25 14:48:14 UTC
(
hide
)
Description:
sysutils/ansible: fix 'su' regression
Filename:
MIME Type:
Creator:
Nikolai Lifanov
Created:
2016-01-25 14:48:14 UTC
Size:
1.54 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 407211) >+++ Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= ansible > PORTVERSION?= 2.0.0.2 >-PORTREVISION?= 1 >+PORTREVISION?= 2 > CATEGORIES= sysutils python > MASTER_SITES= http://releases.ansible.com/ansible/ > >@@ -20,7 +20,8 @@ > > OPTIONS_DEFINE= DOCS EXAMPLES > >-EXTRA_PATCHES?= ${FILESDIR}/extra-patch-8647fdc >+EXTRA_PATCHES?= ${FILESDIR}/extra-patch-8647fdc \ >+ ${FILESDIR}/extra-patch-zzz-fix-su > > NO_ARCH= yes > USES= cpe python:2 shebangfix >Index: files/extra-patch-zzz-fix-su >=================================================================== >--- files/extra-patch-zzz-fix-su (nonexistent) >+++ files/extra-patch-zzz-fix-su (working copy) >@@ -0,0 +1,12 @@ >+--- lib/ansible/plugins/action/__init__.py.orig 2016-01-25 14:44:22 UTC >++++ lib/ansible/plugins/action/__init__.py >+@@ -490,6 +490,9 @@ class ActionBase(with_metaclass(ABCMeta, >+ replacement strategy (python3 could use surrogateescape) >+ ''' >+ >++ if self._play_context.become_method == 'su': >++ executable = None >++ >+ if executable is not None: >+ cmd = executable + ' -c ' + pipes.quote(cmd) >+ > >Property changes on: files/extra-patch-zzz-fix-su >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 206591
:
166104
|
166108
|
166202