--- /usr/ports/security/secpanel/files/patch-bin_secpanel (nonexistent) +++ /usr/ports/security/secpanel/files/patch-bin_secpanel (working copy) @@ -0,0 +1,47 @@ +--- bin/secpanel 2010-02-19 15:44:06.000000000 +0300 ++++ bin/secpanel 2015-01-23 07:10:17.000000000 +0300 +@@ -29,7 +29,7 @@ + + set spversion 0.6.0 + +-set libdir "[file dirname [info script]]/../lib/secpanel" ++set libdir "/usr/local/share/secpanel" + # set libdir "$env(HOME)/secpanel_devel/secpanel-0x/lib" + set sshdir "$env(HOME)/.ssh" + +@@ -142,7 +142,7 @@ + global configs + foreach {bintag binprog} \ + {sshbin ssh keygenbin ssh-keygen agentbin ssh-agent \ +- addbin ssh-add askpassbin ssh-askpass scpbin scp sftpbin Filezilla termver Xterm browserbin firefox \ ++ addbin ssh-add askpassbin ssh-askpass scpbin scp sftpbin Filezilla Thunar termver Xterm browserbin firefox \ + } { + if {! [info exists configs($bintag)]} { + set configs($bintag) $binprog +@@ -1142,6 +1142,9 @@ + "Filezilla" { + set runstring "filezilla -l interactive " + } ++ "Thunar" { ++ set runstring "thunar " ++ } + "GNOME-Nautilus" { + set runstring "nautilus " + } +@@ -2439,6 +2442,7 @@ + foreach {sftptag sftpprog} { + "KDE-Konqueror" konqueror + "GNOME-Nautilus" nautilus ++ "Thunar" thunar + "Filezilla" filezilla + } { + if {! [catch {exec which "$sftpprog"}]} { +@@ -2498,7 +2502,7 @@ + .mc1 add command -label "Multi Xterm (not found)" -command "multiconnect multixterm" -state "disabled" + } + +- if {[catch {exec which "filezilla"}] && [catch {exec which "nautilus"}] && [catch {exec which "konqueror"}] ++ if {[catch {exec which "filezilla"}] && [catch {exec which "thunar"}] && [catch {exec which "nautilus"}] && [catch {exec which "konqueror"}] + } { + .top17.fra46.fra26.fra29.fra36.but34 configure -state "disabled" + } --- /usr/ports/security/secpanel/files/patch-lib_secpanel_termdefs.txt (nonexistent) +++ /usr/ports/security/secpanel/files/patch-lib_secpanel_termdefs.txt (working copy) @@ -0,0 +1,11 @@ +--- lib/secpanel/termdefs.txt 2010-02-19 13:50:57.000000000 +0300 ++++ lib/secpanel/termdefs.txt 2015-01-23 06:44:44.000000000 +0300 +@@ -56,7 +56,7 @@ + set termtype(XFCE-Terminal_quotepar) "" + set termtype(XFCE-Terminal_iconpar) "" + set termtype(XFCE-Terminal_execpar) "-x" +-set termtype(XFCE-Terminal_path) "Terminal" ++set termtype(XFCE-Terminal_path) "xfce4-terminal" + + set termtype(Putty's-Terminal_titlepar) "-title" + set termtype(Putty's-Terminal_quotepar) ""