GitLab Commit is coming up on August 3-4. Learn how to innovate together using GitLab, the DevOps platform. Register for free: gitlabcommitvirtual2021.com

Commit 091b4dde authored by skidoo's avatar skidoo
Browse files

1.0.7-5

parent 7e10f10e
......@@ -90,25 +90,6 @@ AC_SUBST([GTK_LIBS])
# disable deprecated warnings for now due to GTK2/GTK3 build compat
CPPFLAGS="$CPPFLAGS -Wno-deprecated-declarations -Wformat -Wformat-security -Wreturn-type -Wunused-value"
# start-notification is optional - will be used if installed and no --disable
AC_ARG_ENABLE(
[startup-notification],
AS_HELP_STRING([--disable-startup-notification],
[disable use of libstartup-notification (default: enable if installed)]),
use_sn=$enableval, use_sn="yes")
if test x"$use_sn" = x"yes"; then
sn_modules_old="libstartup-notification-0.9"
sn_modules="libstartup-notification-1.0"
PKG_CHECK_MODULES(SN, [$sn_modules_old], use_sn="yes", [
PKG_CHECK_MODULES(SN, [$sn_modules], use_sn="yes", use_sn="no (not installed)")
])
if test x"$use_sn" = x"yes"; then
AC_SUBST(SN_CFLAGS)
AC_SUBST(SN_LIBS)
AC_DEFINE([HAVE_SN], [1], [Use SN])
fi
fi
dnl linker optimizations
AC_MSG_CHECKING([whether $LD accepts --as-needed])
case `$LD --as-needed -v 2>&1 </dev/null` in
......@@ -222,24 +203,6 @@ if test x"$largefile" = x"yes"; then
AC_DEFINE(_FILE_OFFSET_BITS, 64, [File offset bits])
fi
AC_ARG_ENABLE(
[superuser-checks],
AS_HELP_STRING([--disable-superuser-checks],
[disable checks running as super user (no current function) (default: enable)]),
superuser_checks=$enableval, superuser_checks="yes")
if test x"$superuser_checks" = "xyes"; then
AC_DEFINE(SUPER_USER_CHECKS, 1, [Whether to check running as super user or not])
fi
AC_ARG_WITH(
[preferable-sudo],
AS_HELP_STRING([--with-preferable-sudo=PROG],
[Specify custom graphical su program to run root commands (or see /etc/zzzfm/zzzfm.conf)]),
[ preferable_sudo="$withval" ])
if test ! -z "$preferable_sudo"; then
CPPFLAGS="$CPPFLAGS -DPREFERABLE_SUDO_PROG=\\\"$preferable_sudo\\\""
fi
AC_ARG_ENABLE(
[desktop-integration],
AS_HELP_STRING([--disable-desktop-integration],
......@@ -311,6 +274,8 @@ done
echo
echo zzzFM...................................... : Version $VERSION
echo
echo ' -=- compile-time configuration options, per configure.ac :'
echo
echo Prefix....................................... : $prefix
echo Executable................................... : $prefix/bin/zzzfm
echo Configuration Dir............................ : "$sysconfdir/zzzfm/"
......@@ -330,22 +295,16 @@ else
echo Linux file change monitor support............ : fam/gamin
fi
echo 64-bit Large file support.................... : $largefile
#echo Show warnings if run as super user........... : $superuser_checks
if test ! -z "$preferable_sudo"; then
echo Additional graphical su program.............. : $preferable_sudo
fi
if test x"$with_gtk3" = x"yes"; then
echo 'GTK+ Version................................. : GTK 3'
else
echo 'GTK+ Version................................. : GTK 2'
fi
echo Desktop manager integration.................. : $desktop_integration
echo Startup notification......................... : $use_sn
echo Video thumbnail support...................... : $video_thumbnails
echo
echo
echo Please read README carefully if you are packaging zzzFM.
echo
if test ! -z "$bash_path"; then
echo "IMPORTANT: zzzFM is highly integrated with bash and uses features of"
......
......@@ -167,33 +167,6 @@
<row>
<col id="0">/usr/bin/gksu</col>
</row>
<row>
<col id="0">/usr/bin/gksudo</col>
</row>
<row>
<col id="0">/usr/bin/gnomesu</col>
</row>
<row>
<col id="0">/usr/bin/xdg-su</col>
</row>
<row>
<col id="0">/usr/bin/kdesu</col>
</row>
<row>
<col id="0">/usr/bin/kdesudo</col>
</row>
<row>
<col id="0">/usr/bin/ktsuss</col>
</row>
<row>
<col id="0">/usr/bin/lxqt-sudo</col>
</row>
<row>
<col id="0">/usr/bin/lxsu</col>
</row>
<row>
<col id="0">/usr/bin/su-to-root</col>
</row>
<row>
<col id="0">/bin/su</col>
</row>
......
......@@ -167,33 +167,6 @@
<row>
<col id="0">/usr/bin/gksu</col>
</row>
<row>
<col id="0">/usr/bin/gksudo</col>
</row>
<row>
<col id="0">/usr/bin/gnomesu</col>
</row>
<row>
<col id="0">/usr/bin/xdg-su</col>
</row>
<row>
<col id="0">/usr/bin/kdesu</col>
</row>
<row>
<col id="0">/usr/bin/kdesudo</col>
</row>
<row>
<col id="0">/usr/bin/ktsuss</col>
</row>
<row>
<col id="0">/usr/bin/lxqt-sudo</col>
</row>
<row>
<col id="0">/usr/bin/lxsu</col>
</row>
<row>
<col id="0">/usr/bin/su-to-root</col>
</row>
<row>
<col id="0">/bin/su</col>
</row>
......
......@@ -289,9 +289,7 @@ see: /usr/share/common-licenses/LGPL-3 &nbsp; &nbsp; /usr/share/zzzfm/COPYING-LG
pause, queue, resume or stop any task <a href="#tasks-queue">*</a>
<br><br>
<b></b> Includes extended overwrite, auto-rename, and error handling options <a href="#tasks-menu-popover">*</a>
<br><br>
<b></b> Provides a common interface to multiple su and graphical su programs, terminals, and editors - you simply select which tools
you want to use, and zzzFM handles the details of running your commands as other users, in a terminal, etc.
</blockquote>
<br>
......@@ -336,7 +334,7 @@ see: /usr/share/common-licenses/LGPL-3 &nbsp; &nbsp; /usr/share/zzzfm/COPYING-LG
Conveniently mount network URLs (nfs:// ftp:// smb:// ssh://) and ISO files using the highly configurable
udevil (debian package name "udevil"). Or, configure a custom protocol handler to mount networks using any external
tools you choose, plus create custom protocols of your own. <a href="#gui-pathbar-proto">*</a>
NOTE: Network share support in zzzFM is ad hoc by design. This means there aren't many built-in functions pertaining to networks,
NOTE: Network share support in zzzFM is ad hoc by design. This means there few built-in functions pertaining to networks,
and zzzFM does not make network connections itself. Network discovery and other functions are handled via your custom commands.
</blockquote>
......@@ -2274,8 +2272,8 @@ Stop is used to stop the selected task. If the task is internal (such as copyin
Task Manager until its process terminates. This means that if a process is hung and cannot be stopped with SIGKILL, selecting Stop may have no effect.
<p>If the command was run as another user, such as root, selecting Stop will cause a prompt for the user's password (or root's password
depending on your configured su program) to open. This password is required to send the SIGTERM and SIGKILL signals to the process running as another user.
<p>If the command was run AsRoot, selecting Stop will cause a prompt for your password (or root's password
depending on your configured su program) to open. This password is required to send the SIGTERM and SIGKILL signals to the process running AsRoot.
(You can see the exact commands being issued by running zzzFM from a terminal and observing its stdout output.)
<p>Paused and queued tasks may also be stopped.
......@@ -2296,8 +2294,8 @@ Ctrl+S in a terminal while a command is running; it will often cause the process
a process will not halt on a SIGSTOP signal, but the Task Manager will still list it as being in a 'paused' state until you
<a href="#tasks-menu-resume">Resume</a> the task.
<p>If the command was run as another user, such as root, selecting Pause will cause a prompt for the user's password (or root's password
depending on your configured su program) to open. This password is required to send the SIGSTOP signal to the process running as another user.
<p>If the command was run AsRoot, selecting Pause will cause a prompt for your password (or root's password
depending on your configured su program) to open. This password is required to send the SIGSTOP signal to the process running AsRoot.
(You can see the exact commands being issued by running zzzFM from a terminal and observing its stdout output.)
<p>If you <a href="#designmode-designmenu-icon">change the menu icon</a> for Pause, the new icon will also be used as the 'paused' icon in the task list.
......@@ -2326,7 +2324,10 @@ from the queue and resumed, regardless of how it conflicts with other running ta
<p>If the task is an exec task, the process, <i>and all its child processes</i>, are sent a SIGCONT signal. This is similar to pressing Ctrl+Q in a terminal after a command has been halted with Ctrl+S. If the original SIGSTOP halted the execution, SIGCONT should resume it. If SIGSTOP did not halt execution, SIGCONT will generally have no effect, except that the Task Manager will now list the task as 'running'.
<p>If the command was run as another user, such as root, selecting Resume will cause a prompt for the user's password (or root's password depending on your configured su program) to open. This password is required to send the SIGCONT signal to the process running as another user. (You can see the exact commands being issued by running zzzFM from a terminal and observing its stdout output.)
<p>If the command was run AsRoot, selecting Resume will cause a prompt for your password
(or root's password depending on your configured su program) to open.
This password is required to send the SIGCONT signal to the process running AsRoot.
(You can see the exact commands being issued by running zzzFM from a terminal and observing its stdout output.)
<p>You can also resume a task by clicking the Resume button in the task's <a href="#tasks-dlg">popup dialog</a>, left-clicking on the Status of a task in the Task Manager list, or by middle-clicking on a task in the list. Tasks may also be resumed automatically by the Task Manager if they are queued.
......@@ -3275,7 +3276,8 @@ Run As Task</a>, which is enabled by default for new commands, changes several a
<p>zzzFM's output monitor is designed to display text output to be used for monitoring the output of commands as they run, or to display a final result. However, the output monitor is not a terminal and does not permit you to enter input. If your command requires interaction, you will need to use <a href="#designmode-command-terminal">Run In Terminal</a> instead.
<p>To stop a task prematurely, raise the output monitor and click the Stop button, or right-click on the task in the Task Manager and select <a href="#tasks-menu-stop">Stop</a>. When zzzFM stops a task, it sends the process and all its child processes a SIGTERM signal, followed several seconds later by SIGKILL signals. If the process was run as another user, you will be prompted to enter the user's password (or root's password) again to stop the task.
<p>To stop a task prematurely, raise the output monitor and click the Stop button, or right-click on the task in the Task Manager and select <a href="#tasks-menu-stop">Stop</a>. When zzzFM stops a task, it sends the process and all its child processes a SIGTERM signal, followed several seconds later by SIGKILL signals. If the process was run AsRoot,
you will be prompted to enter your password (or root's password) again to stop the task.
<p>When the <a href="#designmode-command-terminal">Run In Terminal</a> option is checked, the Run As Task option will be unchecked automatically as a convenience. Although not normally useful, it is possible to use these options together (just check Run As Task again after checking Run In Terminal). When both are checked, the terminal window itself is run as a task, the output monitor will generally be empty, and errors may not be detected. Mostly this is useful only for monitoring when the command has finished (when the terminal window closes, it will be removed from the Task Manager). Note that some terminal emulators cannot be run as a task by zzzFM because the emulator does not start a new instance.
......@@ -3353,8 +3355,9 @@ Enabled by default when using <a href="#designmode-command-terminal">Run In Term
<p>With other programs or commands, it is not useful for the terminal to be held open after the command has finished. For these commands, uncheck Keep Terminal Open.
<p><a name="designmode-command-user"><b>Run As User</b></a><br>
If a username is entered in the Run As User field, when the command is run, your configured terminal or graphical su program will be used to run the command as this username, instead of as the current zzzFM user. Depending on the su program used, you will be prompted to enter either the user's password or root's password.
<p><a name="designmode-command-user"><b>Run As Root</b></a><br>
when the command is run, your configured terminal or graphical su program will be used to run the command with elevated privileges (AsRoot),
instead of as the current zzzFM user. Depending on the su program used, you will be prompted to enter either your password or root's password.
<p>To run a command as root, "root" may be entered as the Run As User username. However, <b>running commands as root in this way is generally NOT recommended</b>. Because the command line or script is generally saved with normal user permissions, you are running a command which is not protected by root, as root. This may compromise your system security at the root level.
......@@ -7043,16 +7046,6 @@ This file is designed to be edited by the system administrator. This file conta
<li><b>terminal_su</b> specifies an additional custom terminal su program, or alternate location.
This program will appear in the list in Preferences|Advanced|Terminal SU. zzzFM knows how to run su, sudo, and su-to-root.
<!--
If using another terminal su program, you may need to open an issue on the tracker so that zzzFM can be made to run your program
with the correct options. No options may be included here.<br><br>
-->
<li><b>graphical_su</b> specifies an additional custom graphical su program, or alternate location.
This program will appear in the list in Preferences|Advanced|Graphical SU. zzzFM knows how to run common graphical su programs such as gksu.
<!--
If using another graphical su program, you may need to open an issue on the tracker so that zzzFM can be made to run your program
with the correct options. No options may be included here.<br><br>
-->
</ul>
......@@ -7100,13 +7093,13 @@ A socket which zzzFM uses to <a href="#invocation-windows">open additional windo
<p><a name="programfiles-tmp-shrtmp"/><a href="#programfiles-tmp-shrtmp"><b>zzzfm.tmp/</b></a><br>
This directory, shared by all users, contains temporary files used for running a command as another user, including root. Once a root command is run,
This directory, shared by all users, contains temporary files used for running a command as root. Once a root command is run,
this directory will be owned by root.
<p><a name="programfiles-tmp-pidtmp"/><a href="#programfiles-tmp-pidtmp"><b>zzzfm-USERNAME-RANDOM.tmp/</b></a><br>
This directory contains temporary files used by USERNAME running zzzFM. It is owned by the user and will be deleted on exit. Other users can access
this directory, but usually not the files within it, unless a command is being run as another user.
this directory, but usually not the files within it, unless a command is being run AsRoot.
<p><a name="programfiles-tmp-exec"/><a href="#programfiles-tmp-exec"><b>zzzfm*.tmp/ID-tmp.sh</b></a><br>
......@@ -7138,7 +7131,7 @@ A temporary bash script used to execute a command run in zzzFM, which will be de
The zzzFM executable file.
<p><a name="programfiles-usr-bin-zzzfm-auth"/><a href="file:///usr/bin/zzzfm-auth"><b>/usr/bin/zzzfm-auth</b></a><br>
This script is used internally by zzzfm to authenticate temporary scripts run as another user (using /usr/bin/sha256sum).
This script is used internally by zzzfm to authenticate temporary scripts run AsRoot (using /usr/bin/sha256sum).
This file should not be modified or run directly. Its purpose is to simplify the command line for su programs,
which often handle special characters poorly and have inconsistent command line usage. If zzzfm-auth or /usr/bin/sha256sum are missing,
zzzFM will operate in a less secure mode. <!-- howdy -->
......@@ -7191,7 +7184,7 @@ and here it will save a "session" file containing your settings (preferences) al
edit it... but the running program may overwrite your changes and/or may crash at next launch if your edits have introduced invalid settings/values.
<br><br>
<center><br><p>document Last Updated 2021-04-19 by skidoo, &nbsp;&nbsp;(for zzzFM version 1.0.7)</p> <br></center>
<center><br><p>document Last Updated 2021-05-31 by skidoo, &nbsp;&nbsp;(for zzzFM version 1.0.7)</p> <br></center>
<hr><hr><hr>
</td></tr>
......
zzzfm (1.0.7-5) unstable; urgency=medium
* changed incorrect label of panel1 bookmarks right-click "Cut" item --}"New"
* revised content of /etc/zzzfm.conf
* revised content of zzzfm-manual-en.html
* debian/control: adjusted the list of Recommends items
* po/zzzfm.pot: fuzzy "" blankmsg (?) was leaking into content displayed to --help output
-- skidoo <email@redact.ed> Mon, 31 May 2021 12:02:02 +0200
zzzfm (1.0.7-4) unstable; urgency=medium
* increased mainwindow initial size request dimensions
......
......@@ -3,16 +3,15 @@ Section: utils
Priority: optional
Maintainer: skidoo <email@redact.ed>
Build-Depends: debhelper-compat (= 11), libgtk2.0-dev (>= 2.24),
libcairo2-dev, libpango1.0-dev, libx11-dev, intltool, pkg-config,
libglib2.0-dev, libstartup-notification0-dev,
libgdk-pixbuf2.0-dev, libudev-dev, libgtk-3-dev,
libcairo2-dev, libpango1.0-dev, libx11-dev, intltool, pkg-config,
libglib2.0-dev, libgdk-pixbuf2.0-dev, libudev-dev, libgtk-3-dev,
Standards-Version: 4.5.0
Homepage:https://gitlab.com/skidoo/zzzfm
Package: zzzfm
Architecture: linux-any
Depends: ${misc:Depends}, ${shlibs:Depends}, zzzfm-common (= ${source:Version}),
desktop-file-utils, shared-mime-info, e2fsprogs
desktop-file-utils, shared-mime-info, e2fsprogs
Recommends: udisks2
Suggests: udevil, eject, lsof, gksu, sshfs, dbus, fuseiso, curlftpfs, jmtpfs, gphotofs, ifuse
Replaces: zzzfm-gtk3
......@@ -49,7 +48,7 @@ Description: Multi-panel tabbed file manager - common files
Package: zzzfm-gtk3
Architecture: linux-any
Depends: ${misc:Depends}, ${shlibs:Depends}, zzzfm-common (= ${source:Version}),
desktop-file-utils, shared-mime-info, e2fsprogs
desktop-file-utils, shared-mime-info, e2fsprogs
Recommends: udisks2
Suggests: udevil, eject, lsof, gksu, sshfs, dbus, fuseiso, curlftpfs, jmtpfs, gphotofs, ifuse
Replaces: zzzfm
......
......@@ -4,9 +4,9 @@ FLAVORS = gtk2 gtk3
CONFIGURE_FLAGS_gtk2 = --with-gtk2
CONFIGURE_FLAGS_gtk3 = --with-gtk3
# skidoo disabling vidthumbs and startupnotification
# --disable-pixmaps is now MOOT
CONFIGURE_COMMON_FLAGS += --disable-video-thumbnails --disable-startup-notification
CONFIGURE_COMMON_FLAGS += --disable-video-thumbnails
LDFLAGS += -Wl,-z,defs -Wl,--as-needed
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
......
.TH zzzFM 1 "April 20, 2021"
.TH zzzFM 1 "May 31, 2021"
.SH NAME
zzzfm \- multi-panel, tabbed file manager
.SH SYNOPSIS
......
......@@ -376,3 +376,4 @@ app_dlg-s=424
app_dlg-x=600
app_dlg-y=600
app_dlg-z=400
# zzzfm.conf
# This file affects all users of zzzFM on this system.
#
# Currently, zzzfm reads only 3 configurable default settings from this conf file.
#
# At runtime, an extensive __ session __ file is created for the user, along with
# various other per-user files, pathed under ~/.config/zzzfm/
# tmp_dir must be a root-owned, user-writable, dir e.g. /tmp
# ALL users must be able to write to this dir.
# The tmp_dir pathhname must NOT contain spaces or special chars - keep it simple
tmp_dir=/tmp
### zzzfm.conf
### This file affects all users of zzzFM on this system.
###
### Currently, zzzfm reads only 2 configurable default settings from this conf file.
###
### At runtime, an extensive __ session __ file is created for the user,
### along with various other per-user files, pathed under ~/.config/zzzfm/
# zzzFM knows implicitly how to run su, sudo, and su-to-root.
# Here you may specify an absolute path to an alternative terminal su or sudo program
terminal_su=/usr/bin/su
### tmp_dir must be a root-owned, user-writable, directory e.g. /tmp
### ALL users must be able to write to this directory.
### The tmp_dir pathhname must NOT contain spaces or special chars - keep it simple
tmp_dir=/tmp
# zzzFM knows implicitly how to run common graphical su programs such as gksu and kdesu.
# Here you may specify an absolute path, or alternate location to, a graphical su program.
# This program will appear within the list displayed to zzm Preferences...Advanced...Graphical SU
graphical_su=/usr/bin/gksu
### zzzFM knows implicitly how to run su, sudo, and su-to-root.
### Here you may, optionally, specify an absolute path to an alternative terminal su or sudo program
#terminal_su=/usr/bin/su
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment