[jenkins] 10/22: purge-embedded-su4j
James Downing Page
jamespage at alioth.debian.org
Tue Aug 13 11:47:02 UTC 2013
This is an automated email from the git hooks/post-receive script.
jamespage pushed a commit to branch patch-queue/master
in repository jenkins.
commit 17592b52bc309e975098d5dd15b82bedf20cb2e3
Author: Debian Java Maintainers <pkg-java-maintainers at lists.alioth.debian.org>
Date: Sun Aug 11 10:41:39 2013 +0100
purge-embedded-su4j
Gbp-Pq-Topic: native-integration
---
core/src/main/java/hudson/os/SU.java | 16 ----------------
1 file changed, 16 deletions(-)
diff --git a/core/src/main/java/hudson/os/SU.java b/core/src/main/java/hudson/os/SU.java
index b254f54..929e7eb 100644
--- a/core/src/main/java/hudson/os/SU.java
+++ b/core/src/main/java/hudson/os/SU.java
@@ -23,7 +23,6 @@
*/
package hudson.os;
-import com.sun.solaris.EmbeddedSu;
import hudson.Launcher.LocalLauncher;
import hudson.Util;
import hudson.model.Computer;
@@ -94,21 +93,6 @@ public abstract class SU {
}
}.start(listener,rootPassword);
- if(os.equals("SunOS"))
- return new UnixSu() {
- protected String sudoExe() {
- return "/usr/bin/pfexec";
- }
-
- protected Process sudoWithPass(ArgumentListBuilder args) throws IOException {
- listener.getLogger().println("Running with embedded_su");
- ProcessBuilder pb = new ProcessBuilder(args.prepend(sudoExe()).toCommandArray());
- return EmbeddedSu.startWithSu(rootUsername, rootPassword, pb);
- }
- // in solaris, pfexec never asks for a password, so username==null means
- // we won't be using password. this helps disambiguate empty password
- }.start(listener,rootUsername==null?null:rootPassword);
-
// TODO: Mac?
// unsupported platform, take a chance
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jenkins.git
More information about the pkg-java-commits
mailing list