Repocop reports for by-leader sem

  rpm id test status message
NetworkManager-applet-gtk-1.36.0-alt1.x86_64 arch-dep-package-has-big-usr-share info The package has a significant amount of architecture-independent data in /usr/share, while it is an architecture-dependent package. This is wasteful of mirror space and bandwidth, as we then end up with multiple copies of this data, one for each architecture. If the data in /usr/share is not architecture-independent, it is a policy violation, and in this case, you should move that data elsewhere.
NetworkManager-applet-gtk-1.36.0-alt1.x86_64 freedesktop-categories warn Menu-related Additional Categories (http://standards.freedesktop.org/menu-spec/latest/apa.html) not found in /usr/share/applications/nm-connection-editor.desktop. Please add it or report a bug against this test if you already have registered one (not including menu unrelated ones as Core or Qt).
NetworkManager-cloud-setup-1.46.0-alt2.x86_64 systemd-but-no-native-init experimental The package have native systemd file(s) but no SysV init scripts.
NetworkManager-config-server-1.46.0-alt2.noarch file-in-usr-marked-as-conffile warn Files below /usr may not be marked as conffiles, since
/usr might be mounted read-only and thus, the local system
administrator would not have a chance to modify this configuration
file.
NetworkManager-daemon-1.46.0-alt2.x86_64 arch-dep-package-has-big-usr-share info The package has a significant amount of architecture-independent data in /usr/share, while it is an architecture-dependent package. This is wasteful of mirror space and bandwidth, as we then end up with multiple copies of this data, one for each architecture. If the data in /usr/share is not architecture-independent, it is a policy violation, and in this case, you should move that data elsewhere.
NetworkManager-daemon-1.46.0-alt2.x86_64 file-in-usr-marked-as-conffile warn Files below /usr may not be marked as conffiles, since
/usr might be mounted read-only and thus, the local system
administrator would not have a chance to modify this configuration
file.
NetworkManager-iodine-1.2.1-alt3.gd0e5d85.x86_64 file-in-usr-marked-as-conffile warn Files below /usr may not be marked as conffiles, since
/usr might be mounted read-only and thus, the local system
administrator would not have a chance to modify this configuration
file.
NetworkManager-l2tp-1.20.12-alt1.x86_64 file-in-usr-marked-as-conffile warn Files below /usr may not be marked as conffiles, since
/usr might be mounted read-only and thus, the local system
administrator would not have a chance to modify this configuration
file.
NetworkManager-openvpn-1.10.3-alt1.ge1c5978.x86_64 file-in-usr-marked-as-conffile warn Files below /usr may not be marked as conffiles, since
/usr might be mounted read-only and thus, the local system
administrator would not have a chance to modify this configuration
file.
NetworkManager-pptp-1.2.12-alt2.x86_64 file-in-usr-marked-as-conffile warn Files below /usr may not be marked as conffiles, since
/usr might be mounted read-only and thus, the local system
administrator would not have a chance to modify this configuration
file.
NetworkManager-ssh-1.2.12-alt2.x86_64 file-in-usr-marked-as-conffile warn Files below /usr may not be marked as conffiles, since
/usr might be mounted read-only and thus, the local system
administrator would not have a chance to modify this configuration
file.
NetworkManager-vpnc-1.2.9-alt1.g7e01b1d.x86_64 file-in-usr-marked-as-conffile warn Files below /usr may not be marked as conffiles, since
/usr might be mounted read-only and thus, the local system
administrator would not have a chance to modify this configuration
file.
PokerTH-data-1.1.2-alt7.noarch iconsdir experimental Please, move pixmaps from /usr/share/pixmaps to %_liconsdir, %_niconsdir, %_miconsdir according to their size. See http://www.altlinux.org/IconPathsPolicy.
alt-os-release-0.1.1-alt1.noarch missing-url info Missing Url: in a package.
alterator-fbi-5.49.4-alt1.src specfile-useradd-n warn -n in useradd is compat option and can be removed any time. Use -N instead.
alterator-fbi-5.49.4-alt1.x86_64 init-lsb warn /etc/rc.d/init.d/ahttpd: lsb init header missing. See http://www.altlinux.org/Services_Policy for details.
alterator-fbi-5.49.4-alt1.x86_64 subdir-in-var-run info Found a subdir in /var/run or /var/lock. /var/run and /var/lock may be mounted as temporary filesystems, so the init.d scripts must handle this correctly. This will typically amount to creating any required subdirectories dynamically when the init.d script is run, rather than including them in the package and relying on rpm to create them.
alterator-net-domain-0.7.3-alt4.x86_64 unsafe-tmp-usage-in-scripts fail The test discovered scripts with errors which may be used by a user for damaging important system files. For example if a script uses in its work a temp file which is created in /tmp directory, then every user can create symlinks with the same name (pattern) in this directory in order to destroy or rewrite some system or another user's files. Scripts _must_ _use_ mktemp/tempfile or must use $TMPDIR. mktemp/tempfile is safest. $TMPDIR is safer than /tmp/ because libpam-tmpdir creates a subdirectory of /tmp that is only accessible by that user, and then sets TMPDIR and other variables to that. Hence, it doesn't matter nearly as much if you create a non-random filename, because nobody but you can access it. Found error in /usr/lib/alterator/backend3/net-domain: $ grep /tmp/ /usr/lib/alterator/backend3/net-domain ## https://www.altlinux.org/ActiveDirectory/DC ad_provision_domain() { local domain_name="$1" shift local log="/tmp/samba-dc-provision-$(date +%d.%m.%Y-%H:%M:%S)-$domain_name.log" # Begin log date > "$log" echo "Domain: $domain_name" >> "$log" echo >> "$log" if [ "$in_domain_type" = 'ad' ]; then if ipa_install_running; then ipa_install_stop fi env > /tmp/net-domain.txt ad_current_domain="$($samba_tool domain info '127.0.0.1' | sed 's/ *: /:/' | sed -n 's/^Domain://p')" # Check creation of existing domain if [ "$ad_current_domain" != "$in_domain" ]; then write_domain "$in_domain" "1"
atril-gtk-1.27.0-alt2.x86_64 arch-dep-package-has-big-usr-share info The package has a significant amount of architecture-independent data in /usr/share, while it is an architecture-dependent package. This is wasteful of mirror space and bandwidth, as we then end up with multiple copies of this data, one for each architecture. If the data in /usr/share is not architecture-independent, it is a policy violation, and in this case, you should move that data elsewhere.
atril-gtk-dvi-1.27.0-alt2.x86_64 rpm-filesystem-conflict-file-file warn File /usr/lib64/atril/3/backends/libdvidocument.so conflicts with the package mate-document-viewer-dvi-1.28.0-alt1.x86_64. Moreover, the packages have no explicit conflicts with each other. You should add explicit conflicts, or, if conflicts are avoidable, consider using alternatives.
branding-alt-workstation-10.2-alt1.src requires-ImageMagick info Dependency on ImageMagick (compat package) found. It probably should be replaced with more specific dependency like /usr/bin/convert or ImageMagick-tools, or it can be already autodetected by findreq-shell.
branding-alt-workstation-mate-settings-10.2-alt1.noarch rpm-filesystem-conflict-file-file warn Files /etc/skel/.config/gtk-3.0/settings.ini /etc/skel/.gtkrc-2.0 conflict with the package branding-uzguard-workstation-xfce-settings-1.0-alt0.1.x86_64. Moreover, the packages have no explicit conflicts with each other. You should add explicit conflicts, or, if conflicts are avoidable, consider using alternatives.
branding-simply-linux-10.2-alt1.2.src requires-ImageMagick info Dependency on ImageMagick (compat package) found. It probably should be replaced with more specific dependency like /usr/bin/convert or ImageMagick-tools, or it can be already autodetected by findreq-shell.
branding-simply-linux-system-settings-10.2-alt1.2.noarch rpm-filesystem-conflict-file-file warn File /usr/share/install3/lightdm-gtk-greeter.conf conflicts with the package branding-alt-spworkstation-mate-settings-10-alt9.noarch. Moreover, the packages have no explicit conflicts with each other. You should add explicit conflicts, or, if conflicts are avoidable, consider using alternatives.
branding-simply-linux-xfce-settings-10.2-alt1.2.x86_64 rpm-filesystem-conflict-file-file warn File /etc/skel/.gtkrc-2.0 conflicts with the package branding-xalt-kworkstation-graphics-10.3.0-alt1.noarch. Moreover, the packages have no explicit conflicts with each other. You should add explicit conflicts, or, if conflicts are avoidable, consider using alternatives.
ca-trust-0.1.5-alt1.noarch missing-url info Missing Url: in a package.
ca-trust-directory-hash-0.1.5-alt1.noarch missing-url info Missing Url: in a package.
ca-trust-java-0.1.5-alt1.noarch missing-url info Missing Url: in a package.
claws-mail-4.2.0-alt2.x86_64 arch-dep-package-has-big-usr-share info The package has a significant amount of architecture-independent data in /usr/share, while it is an architecture-dependent package. This is wasteful of mirror space and bandwidth, as we then end up with multiple copies of this data, one for each architecture. If the data in /usr/share is not architecture-independent, it is a policy violation, and in this case, you should move that data elsewhere.
clawsker-1.3.8-alt1.noarch freedesktop-categories warn Menu-related Additional Categories (http://standards.freedesktop.org/menu-spec/latest/apa.html) not found in /usr/share/applications/clawsker.desktop. Please add it or report a bug against this test if you already have registered one (not including menu unrelated ones as Core or Qt).
consolehelper-0.3.2-alt1.x86_64 missing-url info Missing Url: in a package.
consolehelper-debuginfo-0.3.2-alt1.x86_64 missing-url info Missing Url: in a package.
cpufreq-simple-0.4.1-alt1.noarch init-lsb warn /etc/rc.d/init.d/cpufreq-simple: lsb init header missing. See http://www.altlinux.org/Services_Policy for details.
cpufreq-simple-0.4.1-alt1.noarch missing-url info Missing Url: in a package.
dhcp-omshell-4.4.3.P1-alt2.x86_64 bin-permissions info not executable file /usr/bin/omshell
dhcp-relay-4.4.3.P1-alt2.x86_64 init-lsb warn /etc/rc.d/init.d/dhcrelay: lsb init header missing. /etc/rc.d/init.d/dhcrelay6: lsb init header missing. See http://www.altlinux.org/Services_Policy for details.
dhcp-server-4.4.3.P1-alt2.x86_64 init-lsb warn /etc/rc.d/init.d/dhcpd: lsb init header missing. /etc/rc.d/init.d/dhcpd6: lsb init header missing. See http://www.altlinux.org/Services_Policy for details.
dnsmasq-2.90-alt1.x86_64 file-in-usr-marked-as-conffile warn Files below /usr may not be marked as conffiles, since
/usr might be mounted read-only and thus, the local system
administrator would not have a chance to modify this configuration
file.
dnsmasq-2.90-alt1.x86_64 init-lsb warn /etc/rc.d/init.d/dnsmasq: lsb init header missing. See http://www.altlinux.org/Services_Policy for details.
etcnet-0.9.29-alt1.noarch init-condrestart warn /etc/rc.d/init.d/network: missing condrestart target. Note: alt-specific script %_sbindir/post_service (used in %post_service macro) depends on condrestart. It is wise to add condrestart anyway./etc/rc.d/init.d/network: missing condstop target. Note: alt-specific script %_sbindir/preun_service (used in %preun_service macro) depends on condstop. It is wise to add condstop anyway.
etcnethook-services-restart-0.0.1-alt1.noarch missing-url info Missing Url: in a package.
firewall-config-2.1.1-alt1.noarch freedesktop-desktop info desktop-file-validate utility printed the following message(s): /usr/share/applications/firewall-config.desktop: hint: value "System;Settings;Security;" for key "Categories" in group "Desktop Entry" contains more than one main category; application might appear more than once in the application menu
firewalld-2.1.1-alt1.noarch file-in-usr-marked-as-conffile warn Files below /usr may not be marked as conffiles, since
/usr might be mounted read-only and thus, the local system
administrator would not have a chance to modify this configuration
file.
flare-engine-1.14-alt1.x86_64 arch-dep-package-has-big-usr-share info The package has a significant amount of architecture-independent data in /usr/share, while it is an architecture-dependent package. This is wasteful of mirror space and bandwidth, as we then end up with multiple copies of this data, one for each architecture. If the data in /usr/share is not architecture-independent, it is a policy violation, and in this case, you should move that data elsewhere.
hostname-hook-hosts-5.2.7-alt1.noarch missing-url info Missing Url: in a package.
installer-distro-alt-workstation-stage2-10.4.0-alt1.noarch rpm-filesystem-conflict-file-file warn Files /usr/share/install2/installer-steps /usr/share/install2/preinstall.d/80-setup-user-groups conflict with the package installer-distro-token-desktop-stage2-0.1.1-alt5.noarch. Moreover, the packages have no explicit conflicts with each other. You should add explicit conflicts, or, if conflicts are avoidable, consider using alternatives.
nflicts, or, if conflicts are avoidable, consider using alternatives.
installer-distro-simply-linux-stage2-10.6.0-alt1.noarch rpm-filesystem-conflict-file-file warn Files /usr/share/install2/alterator-menu/module-expert-list /usr/share/install2/installer-steps conflict with the package installer-distro-token-desktop-stage2-0.1.1-alt5.noarch. Moreover, the packages have no explicit conflicts with each other. You should add explicit conflicts, or, if conflicts are avoidable, consider using alternatives.
licts are avoidable, consider using alternatives.
er using alternatives.
installer-feature-simply-livecd-10.4.0-alt1.noarch rpm-filesystem-conflict-file-file warn File /usr/share/livecd-install/alterator-menu/module-expert-list conflicts with the package installer-distro-token-desktop-live-0.1.1-alt5.noarch. Moreover, the packages have no explicit conflicts with each other. You should add explicit conflicts, or, if conflicts are avoidable, consider using alternatives.
libguile-vhttpd-0.7.13-alt2.x86_64 missing-url info Missing Url: in a package.
libguile-vhttpd-debuginfo-0.7.13-alt2.x86_64 missing-url info Missing Url: in a package.
libvhttpd-0.7.13-alt2.x86_64 missing-url info Missing Url: in a package.
libvhttpd-debuginfo-0.7.13-alt2.x86_64 missing-url info Missing Url: in a package.
libvhttpd-devel-0.7.13-alt2.x86_64 missing-url info Missing Url: in a package.
livecd-timezone-0.1.1-alt1.noarch init-lsb warn /etc/rc.d/init.d/livecd-timezone: lsb init header missing. See http://www.altlinux.org/Services_Policy for details.
livecd-timezone-0.1.1-alt1.noarch missing-url info Missing Url: in a package.
menulibre-2.2.3-alt1.noarch freedesktop-desktop info desktop-file-validate utility printed the following message(s): /usr/share/applications/menulibre.desktop: hint: value "GNOME;GTK;Settings;DesktopSettings;Utility;" for key "Categories" in group "Desktop Entry" contains more than one main category; application might appear more than once in the application menu
mousepad-0.6.2-alt1.x86_64 altlinux-policy-shared-lib-contains-devel-so info SharedLibs Policy Draft violation: Shared Lib package should not contain symlink /usr/lib64/libmousepad.so but just /usr/lib64/libmousepad.so.0.0.0. According to SharedLibs Policy Draft, symlink /usr/lib64/libmousepad.so should be placed in a special subpackage named lib-devel. If you have already packaged this symlink in lib-devel, just append \%exclude /usr/lib64/libmousepad.so to \%files of mousepad-0.6.2-alt1.x86_64. Otherwise, move the symlink into the subpackage lib-devel. There is a known exception for case the .so file is not a shared lib but a plugin that is never directly linked with. Please report such a case to repocop test.
nginx-webapps-0.2.0-alt1.noarch missing-url info Missing Url: in a package.
nginx-webapps-ssl-0.2.0-alt1.noarch missing-url info Missing Url: in a package.
pa-conf-switch-on-connect-0.1-alt1.noarch missing-url info Missing Url: in a package.
radvd-2.19-alt1.x86_64 init-lsb warn /etc/rc.d/init.d/radvd: lsb init header missing. See http://www.altlinux.org/Services_Policy for details.
rdnssd-1.0.8-alt1.x86_64 subdir-in-var-run info Found a subdir in /var/run or /var/lock. /var/run and /var/lock may be mounted as temporary filesystems, so the init.d scripts must handle this correctly. This will typically amount to creating any required subdirectories dynamically when the init.d script is run, rather than including them in the package and relying on rpm to create them.
rp-pppoe-client-3.15-alt1.noarch init-but-no-native-systemd info The package have SysV init script(s) but no native systemd files.
rp-pppoe-client-3.15-alt1.noarch init-condrestart warn /etc/rc.d/init.d/pppoe: missing condrestart target. Note: alt-specific script %_sbindir/post_service (used in %post_service macro) depends on condrestart. It is wise to add condrestart anyway./etc/rc.d/init.d/pppoe: missing condstop target. Note: alt-specific script %_sbindir/preun_service (used in %preun_service macro) depends on condstop. It is wise to add condstop anyway.
rp-pppoe-client-3.15-alt1.noarch init-lsb fail /etc/rc.d/init.d/pppoe: not systemd compatible: lsb init header missing and pppoe.service is not present. See http://www.altlinux.org/Services_Policy for details.
snort-2.9.17.1-alt1.x86_64 alt-alternatives-vs-ghost info Since alternatives 0.4 the practice to own alternative symlinks as ghost files is deprecated. the ghost file /usr/sbin/snort is an alternative in package snort-plain+flexresp-2.9.17.1-alt1.x86_64. Consider removing the ghost file /usr/sbin/snort.
snort-2.9.17.1-alt1.x86_64 init-but-no-native-systemd info The package have SysV init script(s) but no native systemd files.
snort-2.9.17.1-alt1.x86_64 init-lsb fail /etc/rc.d/init.d/snortd: not systemd compatible: lsb init header missing and snortd.service is not present. See http://www.altlinux.org/Services_Policy for details.
thunar-4.18.10-alt1.x86_64 arch-dep-package-has-big-usr-share info The package has a significant amount of architecture-independent data in /usr/share, while it is an architecture-dependent package. This is wasteful of mirror space and bandwidth, as we then end up with multiple copies of this data, one for each architecture. If the data in /usr/share is not architecture-independent, it is a policy violation, and in this case, you should move that data elsewhere.
thunar-4.18.10-alt1.x86_64 freedesktop-desktop info desktop-file-validate utility printed the following message(s): /usr/share/applications/thunar-bulk-rename.desktop: warning: value "Hromadn? premenovanie" for key "Comment[sk]" in group "Desktop Entry" looks the same as that of key "Name[sk]"
ulogd-2.0.8-alt1.x86_64 init-lsb warn /etc/rc.d/init.d/ulogd: lsb init header missing. See http://www.altlinux.org/Services_Policy for details.
usb-modeswitch-2.6.1-alt3.x86_64 systemd-but-no-native-init experimental The package have native systemd file(s) but no SysV init scripts.
vconsole-setup-kludge-0.1-alt1.noarch missing-url info Missing Url: in a package.
vconsole-setup-kludge-0.1-alt1.noarch systemd-but-no-native-init experimental The package have native systemd file(s) but no SysV init scripts.
vhttpd-utils-0.7.13-alt2.x86_64 missing-url info Missing Url: in a package.
vhttpd-utils-debuginfo-0.7.13-alt2.x86_64 missing-url info Missing Url: in a package.
volumes-profile-alt-workstation-0.4-alt1.noarch rpm-filesystem-conflict-file-file warn File /usr/share/install2/initinstall.d/10-vm-profile.sh conflicts with the package volumes-profile-regular-0.5.1-alt1.noarch. Moreover, the packages have no explicit conflicts with each other. You should add explicit conflicts, or, if conflicts are avoidable, consider using alternatives.
.
ives.
xfce4-genmon-plugin-4.2.0-alt1.x86_64 fail The test discovered scripts with errors which may be used by a user for damaging important system files. For example if a script uses in its work a temp file which is created in /tmp directory, then every user can create symlinks with the same name (pattern) in this directory in order to destroy or rewrite some system or another user's files. Scripts _must_ _use_ mktemp/tempfile or must use $TMPDIR. mktemp/tempfile is safest. $TMPDIR is safer than /tmp/ because libpam-tmpdir creates a subdirectory of /tmp that is only accessible by that user, and then sets TMPDIR and other variables to that. Hence, it doesn't matter nearly as much if you create a non-random filename, because nobody but you can access it. Found error in /usr/share/doc/xfce4-genmon-plugin-4.2.0/scripts/gmail: $ grep /tmp/ /usr/share/doc/xfce4-genmon-plugin-4.2.0/scripts/gmail ############################################## # don't change anything below ############################################## # get and save the atom feed curl "$USERNAME":"$PASSWORD" "https://mail.google.com/mail/feed/atom" > /tmp/.gmail # get number of unread messages num_messages=$(grep "(?<=)[^<]+" /tmp/.gmail) # get last checked time last_checked=$(grep "(?<=)[^<]+" /tmp/.gmail | TZ=$TIMEZONE date +'%r') # get ids, senders and subjects mapfile < <(grep "(?<=)[^<]+" /tmp/.gmail | awk '{print $3}') mapfile < <(grep "(?<=)[^<]+" /tmp/.gmail) mapfile < <(grep "(?<=)[^<]+" /tmp/.gmail | grep Gmail) # prepare tooltip string out=$(for (( i=0; i<$num_messages; i++ )); do echo "${names[i]} - ${subjects[i]}#"; done) toolstr="$(echo $out | sed 's/\# /\n/g' | sed 's/\#//g')" # check to see if there are new, new messages (only notify if something new has arrived) new_msgs=0 if [ $num_messages ]; then if [ /tmp/.gmail.lastid ]; then if [ "${ids[0]}" != "$(cat /tmp/.gmail.lastid)" ]; then echo ${ids[0]} > /tmp/.gmail.lastid let new_msgs=1 fi else echo ${ids[0]} > /tmp/.gmail.lastid let new_msgs=1 fi fi Found error in /usr/share/doc/xfce4-genmon-plugin-4.2.0/scripts/twit: $ grep /tmp/ /usr/share/doc/xfce4-genmon-plugin-4.2.0/scripts/twit # Default Font = (your choice) # ############################################## ### configurable parameters # debug mode (logged to /tmp/twit-log if set to 1) DEBUG=0 # location of t TWIT_CMD="/home/toz/.gem/ruby/2.4.0/bin/t" # # open twitter in browser window #CLICK_ACTION="xdg-open https://www.twitter.com" # display list of recent tweets in yad dialog CLICK_ACTION="yad --window-icon=$NOTIFICATION_ICON --title Recent\ Twitter\ Timeline --center --width=1200 --height=500 --text-info --show-uri --filename=/tmp/.twit-all-output" # compose a new tweet (untested) #TWEET=$(yad --title "Compose a new message..." --height=200 --width=300 --text-info --editable --wrap) #CLICK_ACTION="t update '$TWEET'" -- ############################################## # don't change anything below ############################################## # check to see if .lastid is valid and if not reset [[ $(cat /tmp/.lastid) =~ ^[0-9]+$ ]] || rm /tmp/.lastid # get last processed ID and timeline if [ -s /tmp/.lastid ] then LASTID=$(cat /tmp/.lastid) $TWIT_CMD timeline -lr -s $LASTID > /tmp/.twit else $TWIT_CMD timeline -lr > /tmp/.twit fi [ $DEBUG -eq 1 ] && echo "01 .lastid=$(cat /tmp/.lastid)" > /tmp/twit-log [ $DEBUG -eq 1 ] && echo "02 LASTID=$LASTID" >> /tmp/twit-log sleep 1 # save the last processed ID cat /tmp/.twit | tail -1 | awk '{print $1}' > /tmp/.lastid if [ ! -s /tmp/.lastid ] then echo $LASTID > /tmp/.lastid fi [ $DEBUG -eq 1 ] && echo "03 new.lastid=$(cat /tmp/.lastid)" >> /tmp/twit-log # get number of new tweets num_tweets=$(cat /tmp/.twit | wc -l) [ $DEBUG -eq 1 ] && echo "04 num_tweets=$num_tweets" >> /tmp/twit-log # get the contents of the new tweets mapfile -t ids < <(awk '{print $1}' /tmp/.twit) mapfile -t from < <(awk '{print $5}' /tmp/.twit) mapfile -t text < <(awk '{for(i=6;i<=NF;i++){printf "%s ", $i}; printf "\n"}' /tmp/.twit) toolstr=$(for (( i=0; i<$num_tweets; i++ )); do echo "${from[i]} >> ${text[i]}"; echo ""; done) [ $DEBUG -eq 1 ] && echo "05 toolstr=$toolstr" >> /tmp/twit-log ##### set default plugin icon file and notify of new tweets #set default icon file to no new emails ICON_FILE="$NOTWEETS" [ $DEBUG -eq 1 ] && echo "06 ICON_FILE=$ICON_FILE" >> /tmp/twit-log if [ $num_tweets -gt 0 ]; then [ $DEBUG -eq 1 ] && echo "07 num_tweets > 0" >> /tmp/twit-log # set icon file to new emails image ICON_FILE="$NEWTWEETS" [ $DEBUG -eq 1 ] && echo "08 ICON_FILE=$ICON_FILE" >> /tmp/twit-log for (( i=0; i<$num_tweets; i++ )) do [ $DEBUG -eq 1 ] && echo "09 sending notification" >> /tmp/twit-log notify-send -i "$NOTIFICATION_ICON" "$(echo ${from[i]} | sed -r 's/[&]+/&/g')" "$(echo ${text[i]} | sed -r 's/[&]+/&/g')" done fi # append current to the all file if [ -s /tmp/.twit-all ] then cat /tmp/.twit /tmp/.twit-all > /tmp/.twit-tmp && mv /tmp/.twit-tmp /tmp/.twit-all else cat /tmp/.twit > /tmp/.twit-tmp && mv /tmp/.twit-tmp /tmp/.twit-all fi # format the output cat /tmp/.twit-all | awk '{ printf("%s %- 16s", $4, $5); out=$6; for(i=7;i<=NF;i++){out=out" "$i}; print out}' > /tmp/.twit-all-output # get last checked time stamp last_checked=$(date) # prepare tooltip string (to show last NUM_TOOLTIP_TWEETS) if [ -s /tmp/.twit-all ] then mapfile -t from2 < <(awk '{print $5}' /tmp/.twit-all) mapfile -t text2 < <(awk '{for(i=6;i<=NF;i++){printf "%s ", $i}; printf "\n"}' /tmp/.twit-all) toolstr2=$(for (( i=$num_tweets; i<$NUM_TOOLTIP_TWEETS; i++ )); do if [ "${from2[i]}" != "" ]; then echo "${from2[i]} >> ${text2[i]}"; echo ""; fi; done) fi [ $DEBUG -eq 1 ] && echo "10 toolstr2=$toolstr2" >> /tmp/twit-log ##### do the genmon if [ $TOOLTIP_NEW_TWEETS_ONLY -eq 0 ] then if [ $num_tweets -gt 0 ] then [ $DEBUG -eq 1 ] && echo "11 genmon:num_tweets > 0" >> /tmp/twit-log echo "<img>$ICON_FILE</img> <click>$CLICK_ACTION</click> <tool>New tweets: -- $toolstr2 Last checked: $last_checked</tool>" else [ $DEBUG -eq 1 ] && echo "12 genmon:num_tweets = 0" >> /tmp/twit-log echo "<img>$ICON_FILE</img> <click>$CLICK_ACTION</click> <tool>Recent tweets: -- else if [ $num_tweets -gt 0 ] then [ $DEBUG -eq 1 ] && echo "11 genmon:num_tweets > 0" >> /tmp/twit-log echo "<img>$ICON_FILE</img> <click>$CLICK_ACTION</click> <tool>New tweets: $toolstr Last checked: $last_checked</tool>" else [ $DEBUG -eq 1 ] && echo "12 genmon:num_tweets = 0" >> /tmp/twit-log echo "<img>$ICON_FILE</img> <click>$CLICK_ACTION</click> <tool>No new tweets. -- fi fi [ $DEBUG -eq 1 ] && echo "13 $(date)" >> /tmp/twit-log # purge old tweets from list KEEPEPOCHLIMIT=$(( $(date +%s) - $KEEP_TIME )) while IFS= read -r line do if [[ $(date --date="$(echo "$line" | awk '{print $2" "$3" "$4}')" +%s) -gt $KEEPEPOCHLIMIT ]] then echo "$line" >> /tmp/.twit-all.new fi done < "/tmp/.twit-all" mv /tmp/.twit-all.new /tmp/.twit-all unset ids from text from2 text2 exit 0</td> </tr> <tr> <td><img src="img/experimental.png"></td> <td>xfce4-mixer-4.18.1-alt1.x86_64</td> <td>iconsdir</td> <td>experimental</td> <td>Please, move pixmaps from /usr/share/pixmaps to %_liconsdir, %_niconsdir, %_miconsdir according to their size. See http://www.altlinux.org/IconPathsPolicy.</td> </tr> <tr> <td><img src="img/warn.png"></td> <td>xfce4-panel-profiles-1.0.14-alt1.noarch</td> <td>freedesktop-desktop</td> <td>warn</td> <td>desktop-file-validate utility exited abnormally with the following message(s): /usr/share/applications/org.xfce.PanelProfiles.desktop: error: file contains multiple keys named "Keywords" in group "Desktop Entry"</td> </tr> <tr> <td><img src="img/info.png"></td> <td>xfce4-screensaver-4.18.3-alt1.x86_64</td> <td>freedesktop-desktop</td> <td>info</td> <td>desktop-file-validate utility printed the following message(s): /usr/share/applications/screensavers/xfce-floaters.desktop: hint: value "Screensaver;" for key "Categories" in group "Desktop Entry" does not contain a registered main category; application might only show up in a "catch-all" section of the application menu<br/>tion menu</td> </tr> <tr> <td><img src="img/info.png"></td> <td>xfce4-sensors-plugin-1.4.4-alt1.x86_64</td> <td>freedesktop-desktop</td> <td>info</td> <td>desktop-file-validate utility printed the following message(s): /usr/share/applications/xfce4-sensors.desktop: hint: value "X-XFCE;Utility;System;Monitor;" for key "Categories" in group "Desktop Entry" contains more than one main category; application might appear more than once in the application menu</td> </tr> <tr> <td><img src="img/info.png"></td> <td>xfce4-settings-4.18.4-alt1.x86_64</td> <td>freedesktop-desktop</td> <td>info</td> <td>desktop-file-validate utility printed the following message(s): /usr/share/applications/xfce4-web-browser.desktop: warning: value "????" for key "Comment[zh_HK]" in group "Desktop Entry" looks the same as that of key "Name[zh_HK]"</td> </tr> <tr> <td><img src="img/warn.png"></td> <td>xfce4-taskmanager-1.5.7-alt1.x86_64</td> <td>freedesktop-categories</td> <td>warn</td> <td>Menu-related Additional Categories (http://standards.freedesktop.org/menu-spec/latest/apa.html) not found in /usr/share/applications/xfce4-taskmanager.desktop. Please add it or report a bug against this test if you already have registered one (not including menu unrelated ones as Core or Qt).</td> </tr> <tr> <td><img src="img/info.png"></td> <td>xfce4-taskmanager-1.5.7-alt1.x86_64</td> <td>freedesktop-desktop</td> <td>info</td> <td>desktop-file-validate utility printed the following message(s): /usr/share/applications/xfce4-taskmanager.desktop: hint: value "System;Utility;" for key "Categories" in group "Desktop Entry" contains more than one main category; application might appear more than once in the application menu</td> </tr> <tr> <td><img src="img/info.png"></td> <td>xfce4-terminal-1.1.3-alt1.x86_64</td> <td>freedesktop-desktop</td> <td>info</td> <td>desktop-file-validate utility printed the following message(s): /usr/share/applications/xfce4-terminal-settings.desktop: warning: value "Xfce ?????" for key "Comment[ja]" in group "Desktop Entry" looks the same as that of key "Name[ja]"<br/>/usr/share/applications/xfce4-terminal-settings.desktop: warning: value "Xfce ??? ??" for key "Comment[ko]" in group "Desktop Entry" looks the same as that of key "Name[ko]"<br/>/usr/share/applications/xfce4-terminal-settings.desktop: warning: value "???????????? ????????? XFCE" for key "Comment[uk]" in group "Desktop Entry" looks the same as that of key "Name[uk]"<br/>pplications/xfce4-terminal.desktop: warning: value "???????? ?????????" for key "Comment[be]" in group "Desktop Entry" looks the same as that of key "GenericName[be]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "?????????? ????????" for key "Comment[bg]" in group "Desktop Entry" looks the same as that of key "GenericName[bg]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "Emulador de terminal" for key "Comment[ca]" in group "Desktop Entry" looks the same as that of key "GenericName[ca]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "Emul?tor termin?lu" for key "Comment[cs]" in group "Desktop Entry" looks the same as that of key "GenericName[cs]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "Terminalemulator" for key "Comment[da]" in group "Desktop Entry" looks the same as that of key "GenericName[da]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "Terminal-Programm" for key "Comment[de]" in group "Desktop Entry" looks the same as that of key "GenericName[de]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "????????? ?????????? XFCE" for key "Comment[el]" in group "Desktop Entry" looks the same as that of key "GenericName[el]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "Terminal Emulator" for key "Comment[en_AU]" in group "Desktop Entry" looks the same as that of key "GenericName[en_AU]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "Terminal Emulator" for key "Comment[en_GB]" in group "Desktop Entry" looks the same as that of key "GenericName[en_GB]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "Terminala Simulilo" for key "Comment[eo]" in group "Desktop Entry" looks the same as that of key "GenericName[eo]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "Emulador de terminal" for key "Comment[es]" in group "Desktop Entry" looks the same as that of key "GenericName[es]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "Terminaliemulaator" for key "Comment[et]" in group "Desktop Entry" looks the same as that of key "GenericName[et]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "Terminal emuladorea" for key "Comment[eu]" in group "Desktop Entry" looks the same as that of key "GenericName[eu]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "???????? ??????" for key "Comment[fa_IR]" in group "Desktop Entry" looks the same as that of key "GenericName[fa_IR]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "P??te-emulaattori" for key "Comment[fi]" in group "Desktop Entry" looks the same as that of key "GenericName[fi]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "?mulateur de terminal" for key "Comment[fr]" in group "Desktop Entry" looks the same as that of key "GenericName[fr]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "Emulador de terminal" for key "Comment[gl]" in group "Desktop Entry" looks the same as that of key "GenericName[gl]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "???? ????" for key "Comment[he]" in group "Desktop Entry" looks the same as that of key "GenericName[he]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "Emulator terminala" for key "Comment[hr]" in group "Desktop Entry" looks the same as that of key "GenericName[hr]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "Termin?lemul?tor" for key "Comment[hu]" in group "Desktop Entry" looks the same as that of key "GenericName[hu]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "????????? ???????" for key "Comment[hy_AM]" in group "Desktop Entry" looks the same as that of key "GenericName[hy_AM]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "????????? ???????" for key "Comment[hye]" in group "Desktop Entry" looks the same as that of key "GenericName[hye]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "Emulator Terminal" for key "Comment[id]" in group "Desktop Entry" looks the same as that of key "GenericName[id]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "Emulator de Terminal" for key "Comment[ie]" in group "Desktop Entry" looks the same as that of key "GenericName[ie]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "Skj?hermir" for key "Comment[is]" in group "Desktop Entry" looks the same as that of key "GenericName[is]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "Emulatore di terminale" for key "Comment[it]" in group "Desktop Entry" looks the same as that of key "GenericName[it]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "?????????" for key "Comment[ja]" in group "Desktop Entry" looks the same as that of key "GenericName[ja]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "???????? ?????????" for key "Comment[kk]" in group "Desktop Entry" looks the same as that of key "GenericName[kk]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "??? ?????" for key "Comment[ko]" in group "Desktop Entry" looks the same as that of key "GenericName[ko]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "Terminalo emuliatorius" for key "Comment[lt]" in group "Desktop Entry" looks the same as that of key "GenericName[lt]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "Termin??a emulators" for key "Comment[lv]" in group "Desktop Entry" looks the same as that of key "GenericName[lv]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "Emulator Terminal" for key "Comment[ms]" in group "Desktop Entry" looks the same as that of key "GenericName[ms]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "Teminalemulator" for key "Comment[nb]" in group "Desktop Entry" looks the same as that of key "GenericName[nb]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "Terminalvenster" for key "Comment[nl]" in group "Desktop Entry" looks the same as that of key "GenericName[nl]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "Emulator de terminal" for key "Comment[oc]" in group "Desktop Entry" looks the same as that of key "GenericName[oc]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "?????? ???????" for key "Comment[pa]" in group "Desktop Entry" looks the same as that of key "GenericName[pa]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "Emuluje dzia?anie terminala X" for key "Comment[pl]" in group "Desktop Entry" looks the same as that of key "GenericName[pl]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "Emulador de terminal" for key "Comment[pt]" in group "Desktop Entry" looks the same as that of key "GenericName[pt]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "Emulador de terminal" for key "Comment[pt_BR]" in group "Desktop Entry" looks the same as that of key "GenericName[pt_BR]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "Emulator de terminal" for key "Comment[ro]" in group "Desktop Entry" looks the same as that of key "GenericName[ro]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "???????? ?????????" for key "Comment[ru]" in group "Desktop Entry" looks the same as that of key "GenericName[ru]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "????? ???????" for key "Comment[si]" in group "Desktop Entry" looks the same as that of key "GenericName[si]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "Termin?l Emul?tor" for key "Comment[sk]" in group "Desktop Entry" looks the same as that of key "GenericName[sk]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "Posnemovalnik terminala" for key "Comment[sl]" in group "Desktop Entry" looks the same as that of key "GenericName[sl]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "Emulues Terminali" for key "Comment[sq]" in group "Desktop Entry" looks the same as that of key "GenericName[sq]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "???????? ?????????" for key "Comment[sr]" in group "Desktop Entry" looks the same as that of key "GenericName[sr]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "Terminalemulator" for key "Comment[sv]" in group "Desktop Entry" looks the same as that of key "GenericName[sv]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "????????? ??????????" for key "Comment[te]" in group "Desktop Entry" looks the same as that of key "GenericName[te]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "??????????????????????" for key "Comment[th]" in group "Desktop Entry" looks the same as that of key "GenericName[th]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "U?birim ?yk?n?c?s?" for key "Comment[tr]" in group "Desktop Entry" looks the same as that of key "GenericName[tr]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "???????? Emulator" for key "Comment[ug]" in group "Desktop Entry" looks the same as that of key "GenericName[ug]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "???????? ?????????" for key "Comment[uk]" in group "Desktop Entry" looks the same as that of key "GenericName[uk]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "????? ????????" for key "Comment[ur]" in group "Desktop Entry" looks the same as that of key "GenericName[ur]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "????? ????????" for key "Comment[ur_PK]" in group "Desktop Entry" looks the same as that of key "GenericName[ur_PK]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "Tr?nh gi? l?p Terminal" for key "Comment[vi]" in group "Desktop Entry" looks the same as that of key "GenericName[vi]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "?????" for key "Comment[zh_CN]" in group "Desktop Entry" looks the same as that of key "GenericName[zh_CN]"<br/>/usr/share/applications/xfce4-terminal.desktop: warning: value "?????" for key "Comment[zh_TW]" in group "Desktop Entry" looks the same as that of key "GenericName[zh_TW]"</td> </tr> <tr> <td><img src="img/info.png"></td> <td>xfce4-weather-plugin-0.11.2-alt1.x86_64</td> <td>arch-dep-package-has-big-usr-share</td> <td>info</td> <td>The package has a significant amount of architecture-independent data in /usr/share, while it is an architecture-dependent package. This is wasteful of mirror space and bandwidth, as we then end up with multiple copies of this data, one for each architecture. If the data in /usr/share is not architecture-independent, it is a policy violation, and in this case, you should move that data elsewhere.</td> </tr> <tr> <td><img src="img/warn.png"></td> <td>xfdashboard-1.0.0-alt1.x86_64</td> <td>freedesktop-categories</td> <td>warn</td> <td>Menu-related Additional Categories (http://standards.freedesktop.org/menu-spec/latest/apa.html) not found in /usr/share/applications/org.xfce.xfdashboard.desktop. Please add it or report a bug against this test if you already have registered one (not including menu unrelated ones as Core or Qt).</td> </tr> <tr> <td><img src="img/info.png"></td> <td>xorg-apps-7.8-alt9.x86_64</td> <td>missing-url</td> <td>info</td> <td>Missing Url: in a package.</td> </tr> <tr> <td><img src="img/info.png"></td> <td>xorg-conf-libinput-touchpad-0.1-alt1.noarch</td> <td>missing-url</td> <td>info</td> <td>Missing Url: in a package.</td> </tr> <tr> <td><img src="img/info.png"></td> <td>xorg-conf-synaptics-1.0-alt2.noarch</td> <td>missing-url</td> <td>info</td> <td>Missing Url: in a package.</td> </tr> <tr> <td><img src="img/info.png"></td> <td>xorg-drv-input-7.8-alt9.x86_64</td> <td>missing-url</td> <td>info</td> <td>Missing Url: in a package.</td> </tr> <tr> <td><img src="img/info.png"></td> <td>xorg-drv-video-7.8-alt9.x86_64</td> <td>missing-url</td> <td>info</td> <td>Missing Url: in a package.</td> </tr> <tr> <td><img src="img/info.png"></td> <td>xorg-utils-7.8-alt9.x86_64</td> <td>missing-url</td> <td>info</td> <td>Missing Url: in a package.</td> </tr> </table> <hr/> generated by repocop at Thu Mar 28 02:33:59 2024 </body> </html>