From 65a59447b657b98687cdd36cee5076eaf4be560c Mon Sep 17 00:00:00 2001 From: Frank Brehm Date: Sun, 16 Aug 2020 11:07:18 +0200 Subject: [PATCH] committing changes in /etc made by "/usr/bin/apt install -y gadmin-samba" Package changes: +gadmin-samba 0.3.2-0ubuntu2 amd64 +menu 2.1.47ubuntu4 amd64 --- .etckeeper | 10 ++++ menu-methods/README | 10 ++++ menu-methods/lang.h | 3 ++ menu-methods/menu.config | 3 ++ menu-methods/menu.h | 91 +++++++++++++++++++++++++++++++++ menu-methods/translate_menus | 99 ++++++++++++++++++++++++++++++++++++ menu/README | 11 ++++ su-to-rootrc | 1 + 8 files changed, 228 insertions(+) create mode 100644 menu-methods/README create mode 100644 menu-methods/lang.h create mode 100644 menu-methods/menu.config create mode 100644 menu-methods/menu.h create mode 100644 menu-methods/translate_menus create mode 100644 menu/README create mode 100644 su-to-rootrc diff --git a/.etckeeper b/.etckeeper index 578dc9b..957b3ee 100755 --- a/.etckeeper +++ b/.etckeeper @@ -16,6 +16,7 @@ mkdir -p './cups/interfaces' mkdir -p './cups/ssl' mkdir -p './dbus-1/session.d' mkdir -p './dconf/db' +mkdir -p './gadmin-samba' mkdir -p './glvnd/egl_vendor.d' mkdir -p './gss/mech.d' mkdir -p './guest-session' @@ -1600,6 +1601,7 @@ maybe chmod 0644 'fwupd/thunderbolt.conf' maybe chmod 0644 'fwupd/uefi.conf' maybe chmod 0644 'fwupd/upower.conf' maybe chmod 0644 'g15daemon.conf' +maybe chmod 0755 'gadmin-samba' maybe chmod 0644 'gai.conf' maybe chmod 0644 'gamemode.ini' maybe chmod 0755 'gconf' @@ -2326,11 +2328,18 @@ maybe chmod 0755 'mate-settings-daemon' maybe chmod 0755 'mate-settings-daemon/xrandr' maybe chmod 0755 'mdadm' maybe chmod 0644 'mdadm/mdadm.conf' +maybe chmod 0755 'menu' maybe chmod 0755 'menu-methods' +maybe chmod 0644 'menu-methods/README' +maybe chmod 0644 'menu-methods/lang.h' maybe chmod 0755 'menu-methods/menu-xdg' +maybe chmod 0644 'menu-methods/menu.config' +maybe chmod 0644 'menu-methods/menu.h' +maybe chmod 0644 'menu-methods/translate_menus' maybe chmod 0755 'menu-methods/xdg-desktop-entry-spec-apps' maybe chmod 0755 'menu-methods/xdg-desktop-entry-spec-dirs' maybe chmod 0755 'menu-methods/xdg-desktop-entry-spec-sessions' +maybe chmod 0644 'menu/README' maybe chmod 0644 'mime.types' maybe chmod 0644 'mke2fs.conf' maybe chmod 0755 'modprobe.d' @@ -2910,6 +2919,7 @@ maybe chgrp 'ssl-cert' 'ssl/private' maybe chmod 0710 'ssl/private' maybe chgrp 'ssl-cert' 'ssl/private/ssl-cert-snakeoil.key' maybe chmod 0640 'ssl/private/ssl-cert-snakeoil.key' +maybe chmod 0644 'su-to-rootrc' maybe chmod 0644 'subgid' maybe chmod 0644 'subgid-' maybe chmod 0644 'subuid' diff --git a/menu-methods/README b/menu-methods/README new file mode 100644 index 0000000..efced27 --- /dev/null +++ b/menu-methods/README @@ -0,0 +1,10 @@ +In this directory the scripts files for the install programme +of the various window managers are situated. + +update-menus runs all files in this directory, passing it all menuentries +to install on stdin. + +The filenames in this directory must contain only letters/numbers or -_ +any other files (like the .bak, .dpkg-old, ...) are silently ignored. + +For more info, see /usr/share/doc/menu/html diff --git a/menu-methods/lang.h b/menu-methods/lang.h new file mode 100644 index 0000000..ff9b823 --- /dev/null +++ b/menu-methods/lang.h @@ -0,0 +1,3 @@ +#List of languages for multilingual menu + +function sections_translations()="ar:ast:be:bg:bn:br:bs:ca:cs:da:de:dz:el:eo:es:et:eu:fi:fr:ga:gl:gu:he:hi:hr:hu:id:it:ja:ka:kk:km:ko:ku:lt:mk:ml:mr:nb:ne:nl:nn:pa:pl:pt:pt_BR:ro:ru:sk:sq:sv:ta:th:tl:tr:uk:vi:wo:zh_CN:zh_TW" diff --git a/menu-methods/menu.config b/menu-methods/menu.config new file mode 100644 index 0000000..693331e --- /dev/null +++ b/menu-methods/menu.config @@ -0,0 +1,3 @@ +verbosity=quiet +method=stderr + diff --git a/menu-methods/menu.h b/menu-methods/menu.h new file mode 100644 index 0000000..48c2007 --- /dev/null +++ b/menu-methods/menu.h @@ -0,0 +1,91 @@ +# -*- mode: shell-script; -*- +#The definitions here are used by all window managers that !include menu.h. +#This way, you can set your preferences (like whether to use xterm/rxvt, +#how long do you want your menu titles, etc) for all window-managers. +# +#This file is part of the menu package (version 1.4 and higher). +#For more information, see /usr/share/doc/menu/html + +#If you prefer long titles, change the definition below accordingly. + +function title()=$title + +#function title()=ifelse($longtitle,$longtitle,$title) + +#If you don't like to see the icons, (un)comment (out) the lines below: +function icon()=ifelse($icon32x32, $icon32x32, \ + ifelse($icon16x16, $icon16x16, $icon)) +#function icon()= "" + +#Define the X terminal emulator to use for text apps under X11. +#The following use the x-terminal-emulator alternative. + +function term()=\ + "x-terminal-emulator " ifnempty($visible,"-ut") \ + ifnempty($geometry,"-geometry ") $geometry \ + " -T \"" esc(title(),"\\\"") "\"" \ + " -e sh -c \"" esc($command,"\\\"") "\"" + +#The above is more correct but unfortunately, some menu-methods +#do not support ''. + +#function term()=\ +# "x-terminal-emulator " ifnempty($visible,"-ut") \ +# ifnempty($geometry,"-geometry ") $geometry \ +# " -T '" escwith(title(),"'","'\\'") \ +# "' -e sh -c '" escwith($command,"'","'\\'") "'" + +#Examples: +#Use a specially cooked xterm instead: +#function term()=\ +# "xterm -sb -sl 500 -j -ls -fn 7x14 -geometry 80x30"\ +# " -T '" escwith(title(),"'","'\\'") \ +# "' -e sh -c '" escwith($command,"'","'\\'") "'" + +#Force use of rxvt: +#function term()=\ +# "rxvt " ifnempty($visible,"-ut") \ +# ifnempty($geometry,"-geometry ") $geometry \ +# " -T '" escwith(title(),"'","'\\'") \ +# "' -e sh -c '" escwith($command,"'","'\\'") "'" + + + +# This sort menu entry case-insensitively. +sort=$sort ":" tolower(title()) + +#If you want your submenus to come before the commands themselves +#in the menus (in case of mixed menus): +# +#sort=$sort ":" ifelse($command, "1", "0" ) ":" title() + +#Activate menu section translations: +outputlanguage="LOCALE" +#menu-methods need to set 'outputencoding' before translations are really +#enabled. + + +#The following is for the hints (or optimised tree structure): +# (For more info on these variables, see /usr/share/doc/menu/*) + +#If you want menu to optimize the tree, set this to true: +hint_optimize=false +#for more info on the other variables, see /usr/share/doc/menu/ +#hint_nentry=6 +#hint_topnentry=4 +#hint_mixedpenalty=15 +# +#The variables below are only useful if you want to speedup +#the finding of the best tree. +#hint_minhintfreq=0.1 +#hint_mlpenalty=2000 +#hint_max_ntry=4 +#hint_max_iter_hint=5 +#hint_debug=false + + +forcetree +#Due to the existance of both /Apps/System and /System, +#menu gets confused. So, force /System in it's own section + System +endforcetree diff --git a/menu-methods/translate_menus b/menu-methods/translate_menus new file mode 100644 index 0000000..58400a7 --- /dev/null +++ b/menu-methods/translate_menus @@ -0,0 +1,99 @@ +#There's: +# translate: only translate for exact matches (RE "^$match\$" +# subtranslate: translate for matches of RE "^$match" +# substitute: substitute substrings: sed -s "/^$match/$repl/". +# this only works for "substitute x->x", and +# will give interesting results for " substitute x->y". +# +# Language translators: DO NOT USE THIS FILE! (see note on top of this file) +# +# Implement transitory menu layout for menu migration. +# +# Applications [was:Apps] +# Amateur Radio [was:Hamradio] +# Data Management [was:Databases] +# Network [was:Net] +# Science +# Science/Electronics [was:Technical] +# Science/Mathematics [was:Math] +# System +# System/Administration [was:Admin] +# System/Language Environment [was:Language-Environment] +# Terminal Emulators [was:XShells] +# Games +# Action [was:Arcade] +# Blocks [was:Tetris-like] +# Screen +# Saving [was:Save] +# Locking [was:Lock] +# Window Managers [was:WindowManagers] +# FVWM Modules [was:WindowManagers/Modules] + +# Applications + +translate section->section + Apps/Hamradio "Apps/Amateur Radio" +endtranslate + +translate section->section + Apps/Databases "Apps/Data Management" +endtranslate + +translate section->section + Apps/Net Apps/Network +endtranslate + +translate section->section + Apps/Math Apps/Science/Mathematics +endtranslate + +translate section->section + Apps/Technical Apps/Science/Electronics +endtranslate + +translate section->section + Apps/System/Admin Apps/System/Administration +endtranslate + +translate section->section + Apps/System/Language-Environment "Apps/System/Language Environment" +endtranslate + +translate section->section + XShells "Apps/Terminal Emulators" +endtranslate + +# Games + +translate section->section + Games/Arcade Games/Action +endtranslate + +translate section->section + Games/Tetris-like Games/Blocks +endtranslate + +# Screen + +translate section->section + Screen/Lock Screen/Locking +endtranslate + +translate section->section + Screen/Save Screen/Saving +endtranslate + +# Toplevels + +substitute section->section + Apps/ Applications/ +endtranslate + +translate section->section + WindowManagers/Modules "FVWM Modules" +endtranslate + +translate section->section + WindowManagers "Window Managers" +endtranslate + diff --git a/menu/README b/menu/README new file mode 100644 index 0000000..862b8ba --- /dev/null +++ b/menu/README @@ -0,0 +1,11 @@ +In this directory, the system administrator can install menufiles to +override the menu files provided by Debian in /usr/lib/menu, /usr/share/menu +and /usr/share/menu/default. + +The filename should be the name of the package that it is overriding, +and may contain as many lines and menu entries as necessary. + +Please run 'update-menus' after changing or adding files. + +For more info, please read /usr/share/doc/menu/html. + diff --git a/su-to-rootrc b/su-to-rootrc new file mode 100644 index 0000000..9b99dbc --- /dev/null +++ b/su-to-rootrc @@ -0,0 +1 @@ +SU_TO_ROOT_SU=sudo -- 2.39.5