<table><tr><td style="">geetamc created this revision.<br />geetamc added a project: KDevelop.<br />Restricted Application added a subscriber: kdevelop-devel.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D5122" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>In makeconfig.ui</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">Created a plain text edit and the corresponding config entry in corresponding .kcfg file</li>
<li class="remarkup-list-item">Added a new entry in combo box that allows users to select custom command</li>
<li class="remarkup-list-item">If that combobox entry is selected, the config entry is read, checked if it is empty,<ul class="remarkup-list">
<li class="remarkup-list-item">If it is, the default command kdesudo is selected</li>
<li class="remarkup-list-item">Otherwise the custom command itself is run.</li>
</ul></li>
</ul>

<p>Reasons to accept this patch:<br />
-Some distros ship those binaries with wierd names such as kdesu5</p>

<p>Reasons not to accept this patch:<br />
-You can get random commands to execute by entering it in the plain text edit</p>

<p>Although you can get random commands to execute by entering them in konsole, but that isn't considered<br />
a security flaw :)</p>

<p><a href="https://bugs.kde.org/show_bug.cgi?id=374144" class="remarkup-link" target="_blank" rel="noreferrer">Link</a> to bug fixed</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>I have gotten kdevelop itself to install just fine by custom command "kdesudo".</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R32 KDevelop</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D5122" rel="noreferrer">https://phabricator.kde.org/D5122</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>projectbuilders/makebuilder/makebuilderconfig.kcfg<br />
projectbuilders/makebuilder/makeconfig.ui<br />
projectbuilders/makebuilder/makejob.cpp</div></div></div><br /><div><strong>To: </strong>geetamc<br /><strong>Cc: </strong>kdevelop-devel, KDevelop, geetamc, Pilzschaf, akshaydeo, surgenight, arrowdodger<br /></div>