Linux sagir-us1.hostever.us 5.14.0-570.51.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 8 09:41:34 EDT 2025 x86_64
LiteSpeed
Server IP : 104.247.108.91 & Your IP : 216.73.216.255
Domains : 74 Domain
User : georgeto
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
local /
emps /
bin /
Delete
Unzip
Name
Size
Permission
Date
Action
annotate
13.09
KB
-rwxr-xr-x
2026-05-14 17:34
autoconf
14.32
KB
-rwxr-xr-x
2026-05-14 17:32
autoheader
8.43
KB
-rwxr-xr-x
2026-05-14 17:32
autom4te
31.48
KB
-rwxr-xr-x
2026-05-14 17:32
autopoint
23.93
KB
-rwxr-xr-x
2026-05-14 17:36
autoreconf
20.68
KB
-rwxr-xr-x
2026-05-14 17:32
autoscan
16.82
KB
-rwxr-xr-x
2026-05-14 17:32
autoupdate
33.17
KB
-rwxr-xr-x
2026-05-14 17:32
bdftogd
3.9
KB
-rwxr-xr-x
2026-05-14 17:34
bsqldb
41.8
KB
-rwxr-xr-x
2026-05-14 17:35
bunzip2
281.48
KB
-rwxr-xr-x
2026-05-14 17:33
bzcat
281.48
KB
-rwxr-xr-x
2026-05-14 17:33
bzcmp
2.08
KB
-rwxr-xr-x
2026-05-14 17:33
bzdiff
2.08
KB
-rwxr-xr-x
2026-05-14 17:33
bzegrep
1.64
KB
-rwxr-xr-x
2026-05-14 17:33
bzfgrep
1.64
KB
-rwxr-xr-x
2026-05-14 17:33
bzgrep
1.64
KB
-rwxr-xr-x
2026-05-14 17:33
bzip2
281.48
KB
-rwxr-xr-x
2026-05-14 17:33
bzip2recover
32.64
KB
-rwxr-xr-x
2026-05-14 17:33
bzless
1.23
KB
-rwxr-xr-x
2026-05-14 17:33
bzmore
1.23
KB
-rwxr-xr-x
2026-05-14 17:33
c_rehash
6.73
KB
-rwxr-xr-x
2026-05-14 17:16
captoinfo
63.13
KB
-rwxr-xr-x
2026-05-14 17:22
cjpeg
44.55
KB
-rwxr-xr-x
2026-05-14 17:34
clear
8.44
KB
-rwxr-xr-x
2026-05-14 17:22
clusterdb
81.73
KB
-rwxr-xr-x
2026-05-14 17:32
createdb
85.87
KB
-rwxr-xr-x
2026-05-14 17:32
createuser
82.13
KB
-rwxr-xr-x
2026-05-14 17:32
curl
242.66
KB
-rwxr-xr-x
2026-05-14 17:33
curl-config
5.67
KB
-rwxr-xr-x
2026-05-14 17:33
datacopy
27.1
KB
-rwxr-xr-x
2026-05-14 17:35
defncopy
28.15
KB
-rwxr-xr-x
2026-05-14 17:35
derb
30.97
KB
-rwxr-xr-x
2026-05-14 17:39
djpeg
35.84
KB
-rwxr-xr-x
2026-05-14 17:34
dropdb
77.02
KB
-rwxr-xr-x
2026-05-14 17:32
dropuser
76.96
KB
-rwxr-xr-x
2026-05-14 17:32
ecpg
981.44
KB
-rwxr-xr-x
2026-05-14 17:32
envsubst
43.15
KB
-rwxr-xr-x
2026-05-14 17:36
fisql
39.02
KB
-rwxr-xr-x
2026-05-14 17:35
fpmctl
1.73
KB
-rwxr-xr-x
2026-05-14 17:44
freebcp
27.42
KB
-rwxr-xr-x
2026-05-14 17:35
freetype-config
3.63
KB
-rwxr-xr-x
2026-05-14 17:34
gd2copypal
8.59
KB
-rwxr-xr-x
2026-05-14 17:34
gd2togif
8.54
KB
-rwxr-xr-x
2026-05-14 17:34
gd2topng
12.64
KB
-rwxr-xr-x
2026-05-14 17:34
gdcmpgif
12.63
KB
-rwxr-xr-x
2026-05-14 17:34
gdparttopng
8.64
KB
-rwxr-xr-x
2026-05-14 17:34
gdtopng
8.54
KB
-rwxr-xr-x
2026-05-14 17:34
genbrk
18.54
KB
-rwxr-xr-x
2026-05-14 17:39
gencfu
13.96
KB
-rwxr-xr-x
2026-05-14 17:39
gencnval
27.45
KB
-rwxr-xr-x
2026-05-14 17:39
gendict
29.29
KB
-rwxr-xr-x
2026-05-14 17:39
genrb
140.42
KB
-rwxr-xr-x
2026-05-14 17:39
gettext
42.57
KB
-rwxr-xr-x
2026-05-14 17:36
gettext.sh
4.51
KB
-rwxr-xr-x
2026-05-14 17:36
gettextize
41.16
KB
-rwxr-xr-x
2026-05-14 17:36
giftogd2
8.59
KB
-rwxr-xr-x
2026-05-14 17:34
iconv
109.52
KB
-rwxr-xr-x
2026-05-14 17:27
icu-config
21.54
KB
-rwxr-xr-x
2026-05-14 17:39
icuinfo
13.46
KB
-rwxr-xr-x
2026-05-14 17:39
ifnames
4.09
KB
-rwxr-xr-x
2026-05-14 17:32
infocmp
58.49
KB
-rwxr-xr-x
2026-05-14 17:22
infotocap
63.13
KB
-rwxr-xr-x
2026-05-14 17:22
initdb
144.46
KB
-rwxr-xr-x
2026-05-14 17:32
innochecksum
27.82
KB
-rwxr-xr-x
2026-05-14 17:26
jpegtran
52.73
KB
-rwxr-xr-x
2026-05-14 17:34
ldapadd
63.13
KB
-rwxr-xr-x
2026-05-14 17:29
ldapcompare
51.02
KB
-rwxr-xr-x
2026-05-14 17:29
ldapdelete
55.12
KB
-rwxr-xr-x
2026-05-14 17:29
ldapexop
51.09
KB
-rwxr-xr-x
2026-05-14 17:29
ldapmodify
63.13
KB
-rwxr-xr-x
2026-05-14 17:29
ldapmodrdn
51.02
KB
-rwxr-xr-x
2026-05-14 17:29
ldappasswd
51.04
KB
-rwxr-xr-x
2026-05-14 17:29
ldapsearch
75.3
KB
-rwxr-xr-x
2026-05-14 17:29
ldapurl
18.38
KB
-rwxr-xr-x
2026-05-14 17:29
ldapwhoami
51.04
KB
-rwxr-xr-x
2026-05-14 17:29
libmcrypt-config
1.43
KB
-rwxr-xr-x
2026-05-14 17:33
libpng-config
2.28
KB
-rwxr-xr-x
2026-05-14 17:34
libpng16-config
2.28
KB
-rwxr-xr-x
2026-05-14 17:34
libtool
311.68
KB
-rwxr-xr-x
2026-05-14 17:32
libtoolize
76.78
KB
-rwxr-xr-x
2026-05-14 17:32
makeconv
55.24
KB
-rwxr-xr-x
2026-05-14 17:39
mcrypt
110.92
KB
-rwxr-xr-x
2026-05-14 17:34
mdecrypt
110.92
KB
-rwxr-xr-x
2026-05-14 17:34
msgattrib
26.77
KB
-rwxr-xr-x
2026-05-14 17:36
msgcat
22.85
KB
-rwxr-xr-x
2026-05-14 17:36
msgcmp
28.12
KB
-rwxr-xr-x
2026-05-14 17:36
msgcomm
22.85
KB
-rwxr-xr-x
2026-05-14 17:36
msgconv
22.53
KB
-rwxr-xr-x
2026-05-14 17:36
msgen
22.52
KB
-rwxr-xr-x
2026-05-14 17:36
msgexec
18.8
KB
-rwxr-xr-x
2026-05-14 17:36
msgfilter
27.79
KB
-rwxr-xr-x
2026-05-14 17:36
msgfmt
91.11
KB
-rwxr-xr-x
2026-05-14 17:36
msggrep
45.83
KB
-rwxr-xr-x
2026-05-14 17:36
msginit
53.94
KB
-rwxr-xr-x
2026-05-14 17:36
msgmerge
69.17
KB
-rwxr-xr-x
2026-05-14 17:36
msgunfmt
37.17
KB
-rwxr-xr-x
2026-05-14 17:36
msguniq
22.73
KB
-rwxr-xr-x
2026-05-14 17:36
msql2mysql
1.42
KB
-rwxr-xr-x
2026-05-14 17:22
my_print_defaults
3.74
MB
-rwxr-xr-x
2026-05-14 17:26
myisam_ftdump
5.58
MB
-rwxr-xr-x
2026-05-14 17:23
myisamchk
6
MB
-rwxr-xr-x
2026-05-14 17:23
myisamlog
5.55
MB
-rwxr-xr-x
2026-05-14 17:23
myisampack
5.66
MB
-rwxr-xr-x
2026-05-14 17:23
mysql
7.9
MB
-rwxr-xr-x
2026-05-14 17:26
mysql_client_test
8
MB
-rwxr-xr-x
2026-05-14 17:26
mysql_config
6.66
KB
-rwxr-xr-x
2026-05-14 17:22
mysql_convert_table_format
4.11
KB
-rwxr-xr-x
2026-05-14 17:22
mysql_find_rows
3.21
KB
-rwxr-xr-x
2026-05-14 17:22
mysql_fix_extensions
1.22
KB
-rwxr-xr-x
2026-05-14 17:22
mysql_install_db
14.42
KB
-rwxr-xr-x
2026-05-14 17:22
mysql_plugin
3.78
MB
-rwxr-xr-x
2026-05-14 17:26
mysql_secure_installation
8.53
KB
-rwxr-xr-x
2026-05-14 17:22
mysql_setpermission
17.05
KB
-rwxr-xr-x
2026-05-14 17:22
mysql_tzinfo_to_sql
3.58
MB
-rwxr-xr-x
2026-05-14 17:26
mysql_upgrade
6.96
MB
-rwxr-xr-x
2026-05-14 17:26
mysql_waitpid
3.74
MB
-rwxr-xr-x
2026-05-14 17:26
mysql_zap
3.77
KB
-rwxr-xr-x
2026-05-14 17:22
mysqlaccess
109.38
KB
-rwxr-xr-x
2026-05-14 17:22
mysqlaccess.conf
1.66
KB
-rwxr-xr-x
2018-08-28 21:12
mysqladmin
6.9
MB
-rwxr-xr-x
2026-05-14 17:26
mysqlbinlog
7.54
MB
-rwxr-xr-x
2026-05-14 17:26
mysqlbug
10.43
KB
-rwxr-xr-x
2026-05-14 17:22
mysqlcheck
6.88
MB
-rwxr-xr-x
2026-05-14 17:26
mysqlctl
11.16
KB
-rwxr-xr-x
2026-05-14 17:36
mysqld
55.04
MB
-rwxr-xr-x
2026-05-14 17:26
mysqld_multi
23.55
KB
-rwxr-xr-x
2026-05-14 17:22
mysqld_safe
26.66
KB
-rwxr-xr-x
2026-05-14 17:22
mysqldump
7.1
MB
-rwxr-xr-x
2026-05-14 17:26
mysqldumpslow
7.19
KB
-rwxr-xr-x
2026-05-14 17:22
mysqlhotcopy
34.04
KB
-rwxr-xr-x
2026-05-14 17:22
mysqlimport
6.89
MB
-rwxr-xr-x
2026-05-14 17:26
mysqlshow
6.88
MB
-rwxr-xr-x
2026-05-14 17:26
mysqlslap
6.93
MB
-rwxr-xr-x
2026-05-14 17:26
mysqltest
7.52
MB
-rwxr-xr-x
2026-05-14 17:26
ncurses5-config
5.2
KB
-rwxr-xr-x
2026-05-14 17:22
ngettext
42.59
KB
-rwxr-xr-x
2026-05-14 17:36
nginxctl
2.23
KB
-rwxr-xr-x
2026-05-14 17:32
onig-config
1.35
KB
-rwxr-xr-x
2026-05-14 17:37
openssl
982.48
KB
-rwxr-xr-x
2026-05-14 17:18
osql
9.15
KB
-rwxr-xr-x
2026-05-14 17:35
pcre-config
2.31
KB
-rwxr-xr-x
2026-05-14 17:18
pcregrep
39.82
KB
-rwxr-xr-x
2026-05-14 17:18
pcretest
61.12
KB
-rwxr-xr-x
2026-05-14 17:18
perror
3.83
MB
-rwxr-xr-x
2026-05-14 17:26
pg_amcheck
108.26
KB
-rwxr-xr-x
2026-05-14 17:32
pg_archivecleanup
47.46
KB
-rwxr-xr-x
2026-05-14 17:32
pg_basebackup
137.1
KB
-rwxr-xr-x
2026-05-14 17:32
pg_checksums
65.62
KB
-rwxr-xr-x
2026-05-14 17:32
pg_config
45.98
KB
-rwxr-xr-x
2026-05-14 17:32
pg_controldata
60.11
KB
-rwxr-xr-x
2026-05-14 17:32
pg_ctl
75.36
KB
-rwxr-xr-x
2026-05-14 17:32
pg_dump
422.85
KB
-rwxr-xr-x
2026-05-14 17:32
pg_dumpall
116.84
KB
-rwxr-xr-x
2026-05-14 17:32
pg_isready
76.62
KB
-rwxr-xr-x
2026-05-14 17:32
pg_receivewal
96.14
KB
-rwxr-xr-x
2026-05-14 17:32
pg_recvlogical
96.74
KB
-rwxr-xr-x
2026-05-14 17:32
pg_resetwal
70.04
KB
-rwxr-xr-x
2026-05-14 17:32
pg_restore
192.88
KB
-rwxr-xr-x
2026-05-14 17:32
pg_rewind
144.02
KB
-rwxr-xr-x
2026-05-14 17:32
pg_test_fsync
48.18
KB
-rwxr-xr-x
2026-05-14 17:32
pg_test_timing
42.34
KB
-rwxr-xr-x
2026-05-14 17:32
pg_upgrade
158.74
KB
-rwxr-xr-x
2026-05-14 17:32
pg_verifybackup
116.66
KB
-rwxr-xr-x
2026-05-14 17:32
pg_waldump
106.17
KB
-rwxr-xr-x
2026-05-14 17:32
pgbench
193.3
KB
-rwxr-xr-x
2026-05-14 17:32
phar
14.54
KB
-rwxr-xr-x
2026-05-14 17:43
phar.phar
14.54
KB
-rwxr-xr-x
2026-05-14 17:43
php
19.99
MB
-rwxr-xr-x
2026-05-14 17:43
php-cgi
19.99
MB
-rwxr-xr-x
2026-05-14 17:43
php-config
5.14
KB
-rwxr-xr-x
2026-05-14 17:43
phpdbg
20.01
MB
-rwxr-xr-x
2026-05-14 17:43
phpize
4.43
KB
-rwxr-xr-x
2026-05-14 17:43
pkgdata
46.42
KB
-rwxr-xr-x
2026-05-14 17:39
pngtogd
8.54
KB
-rwxr-xr-x
2026-05-14 17:34
pngtogd2
8.59
KB
-rwxr-xr-x
2026-05-14 17:34
postgres
8.37
MB
-rwxr-xr-x
2026-05-14 17:32
postmaster
8.37
MB
-rwxr-xr-x
2026-05-14 17:32
psql
503.38
KB
-rwxr-xr-x
2026-05-14 17:32
rdjpgcom
13.3
KB
-rwxr-xr-x
2026-05-14 17:34
recode-sr-latin
18.17
KB
-rwxr-xr-x
2026-05-14 17:36
reindexdb
90.73
KB
-rwxr-xr-x
2026-05-14 17:32
replace
3.68
MB
-rwxr-xr-x
2026-05-14 17:26
reset
23.75
KB
-rwxr-xr-x
2026-05-14 17:22
resolve_stack_dump
3.75
MB
-rwxr-xr-x
2026-05-14 17:26
resolveip
3.74
MB
-rwxr-xr-x
2026-05-14 17:26
sqlite3
158.13
KB
-rwxr-xr-x
2026-05-14 17:33
tabs
17.53
KB
-rwxr-xr-x
2026-05-14 17:22
tdspool
405.46
KB
-rwxr-xr-x
2026-05-14 17:35
testgdbm
39.11
KB
-rwxr-xr-x
2026-05-14 17:34
tic
63.13
KB
-rwxr-xr-x
2026-05-14 17:22
toe
18.38
KB
-rwxr-xr-x
2026-05-14 17:22
tput
18.34
KB
-rwxr-xr-x
2026-05-14 17:22
tset
23.75
KB
-rwxr-xr-x
2026-05-14 17:22
tsql
381.83
KB
-rwxr-xr-x
2026-05-14 17:35
uconv
55.21
KB
-rwxr-xr-x
2026-05-14 17:39
vacuumdb
90.95
KB
-rwxr-xr-x
2026-05-14 17:32
webpng
17.77
KB
-rwxr-xr-x
2026-05-14 17:34
wrjpgcom
17.52
KB
-rwxr-xr-x
2026-05-14 17:34
xgettext
289.89
KB
-rwxr-xr-x
2026-05-14 17:36
xml2-config
1.77
KB
-rwxr-xr-x
2026-05-14 17:28
xmlcatalog
41.3
KB
-rwxr-xr-x
2026-05-14 17:28
xmllint
203.2
KB
-rwxr-xr-x
2026-05-14 17:28
xmlwf
33.66
KB
-rwxr-xr-x
2026-05-14 17:44
xslt-config
2.41
KB
-rwxr-xr-x
2026-05-14 17:28
xsltproc
81.52
KB
-rwxr-xr-x
2026-05-14 17:28
zipcmp
23.77
KB
-rwxr-xr-x
2026-05-14 17:37
zipmerge
14.38
KB
-rwxr-xr-x
2026-05-14 17:37
ziptool
48.5
KB
-rwxr-xr-x
2026-05-14 17:37
Save
Rename
#!/bin/sh # Copyright (C) 2000-2002, 2004 MySQL AB # Use is subject to license terms # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; version 2 of the License. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA # Create a bug report and mail it to the mysql mailing list # Based on glibc bug reporting script. echo "Finding system information for a MySQL bug report" VERSION="5.5.62" COMPILATION_COMMENT="Source distribution" BUGmysql="mysql@lists.mysql.com" # This is set by configure COMP_CALL_INFO="CC='/usr/bin/cc' CFLAGS=' -O2 -g -DNDEBUG -DDBUG_OFF' CXX='/usr/bin/c++' CXXFLAGS=' -fno-implicit-templates -fno-exceptions -fno-rtti -O2 -g -DNDEBUG -DDBUG_OFF' LDFLAGS='' ASFLAGS=''" COMP_RUN_INFO="CC='/usr/bin/cc' CFLAGS=' -O2 -g -DNDEBUG -DDBUG_OFF' CXX='/usr/bin/c++' CXXFLAGS=' -fno-implicit-templates -fno-exceptions -fno-rtti -O2 -g -DNDEBUG -DDBUG_OFF' LDFLAGS='' ASFLAGS=''" CONFIGURE_LINE="" LIBC_INFO="" for pat in /lib/libc.* /lib/libc-* /usr/lib/libc.* /usr/lib/libc-* do TMP=`ls -l $pat 2>/dev/null` if test $? = 0 then LIBC_INFO="$LIBC_INFO $TMP" fi done PATH=../client:$PATH:/bin:/usr/bin:/usr/local/bin export PATH BUGADDR=${1-$BUGmysql} ENVIRONMENT=`uname -a` : ${USER=${LOGNAME-`whoami`}} COMMAND=`echo $0|sed 's%.*/\([^/]*\)%\1%'` # Try to create a secure tmpfile umask 077 TEMPDIR=/tmp/mysqlbug-$$ mkdir $TEMPDIR || (echo "can not create directory in /tmp, aborting"; exit 1;) TEMP=${TEMPDIR}/mysqlbug trap 'rm -f $TEMP $TEMP.x; rmdir $TEMPDIR; exit 1' 1 2 3 13 15 trap 'rm -f $TEMP $TEMP.x; rmdir $TEMPDIR' 0 # How to read the passwd database. PASSWD="cat /etc/passwd" if test -f /usr/lib/sendmail then MAIL_AGENT="/usr/lib/sendmail -oi -t" elif test -f /usr/sbin/sendmail then MAIL_AGENT="/usr/sbin/sendmail -oi -t" else MAIL_AGENT="rmail $BUGmysql" fi # Figure out how to echo a string without a trailing newline N=`echo 'hi there\c'` case "$N" in *c) ECHON1='echo -n' ECHON2= ;; *) ECHON1=echo ECHON2='\c' ;; esac # Find out the name of the originator of this PR. if test -n "$NAME" then ORIGINATOR="$NAME" elif test -f $HOME/.fullname then ORIGINATOR="`sed -e '1q' $HOME/.fullname`" else # Must use temp file due to incompatibilities in quoting behavior # and to protect shell metacharacters in the expansion of $LOGNAME $PASSWD | grep "^$LOGNAME:" | awk -F: '{print $5}' | sed -e 's/,.*//' > $TEMP ORIGINATOR="`cat $TEMP`" rm -f $TEMP fi if test -n "$ORGANIZATION" then if test -f "$ORGANIZATION" then ORGANIZATION="`cat $ORGANIZATION`" fi else if test -f $HOME/.organization then ORGANIZATION="`cat $HOME/.organization`" elif test -f $HOME/.signature then ORGANIZATION=`sed -e "s/^/ /" $HOME/.signature; echo ">"` fi fi PATH_DIRS=`echo $PATH | sed -e 's/^:/. /' -e 's/:$/ ./' -e 's/::/ . /g' -e 's/:/ /g' ` which_1 () { for cmd do # Absolute path ?. if expr "x$cmd" : "x/" > /dev/null then echo "$cmd" exit 0 else for d in $PATH_DIRS do file="$d/$cmd" if test -x "$file" -a ! -d "$file" then echo "$file" exit 0 fi done fi done exit 1 } change_editor () { echo "You can change editor by setting the environment variable VISUAL." echo "If your shell is a bourne shell (sh) do" echo "VISUAL=your_editors_name; export VISUAL" echo "If your shell is a C shell (csh) do" echo "setenv VISUAL your_editors_name" } # If they don't have a preferred editor set, then use emacs if test -z "$VISUAL" then if test -z "$EDITOR" then # Honor debian sensible-editor if test -x "/usr/bin/sensible-editor" then EDIT=/usr/bin/sensible-editor else EDIT=emacs fi else EDIT="$EDITOR" fi else EDIT="$VISUAL" fi #which_1 $EDIT used_editor=`which_1 $EDIT` echo "test -x $used_editor" if test -x "$used_editor" then echo "Using editor $used_editor"; change_editor sleep 2 else echo "Could not find a text editor. (tried $EDIT)" change_editor exit 1 fi # Find out some information. SYSTEM=`( test -f /bin/uname && /bin/uname -a ) || \ ( test -f /usr/bin/uname && /usr/bin/uname -a ) || echo ""` ARCH=`test -f /bin/arch && /bin/arch` MACHINE=`test -f /bin/machine && /bin/machine` FILE_PATHS= for cmd in perl make gmake gcc cc do file=`which_1 $cmd` if test $? = 0 then if test $cmd = "gcc" then GCC_INFO=`$file -v 2>&1` elif test $cmd = "perl" then PERL_INFO=`$file -v | grep -i version 2>&1` fi FILE_PATHS="$FILE_PATHS $file" fi done admin=`which_1 mysqladmin` MYSQL_SERVER= if test -x "$admin" then MYSQL_SERVER=`$admin version 2> /dev/null` if test "$?" = "1" then MYSQL_SERVER="" fi fi SUBJECT_C="[50 character or so descriptive subject here (for reference)]" ORGANIZATION_C='<organization of PR author (multiple lines)>' LICENCE_C='[none | licence | email support | extended email support ]' SYNOPSIS_C='<synopsis of the problem (one line)>' SEVERITY_C='<[ non-critical | serious | critical ] (one line)>' PRIORITY_C='<[ low | medium | high ] (one line)>' CLASS_C='<[ sw-bug | doc-bug | change-request | support ] (one line)>' RELEASE_C='<release number or tag (one line)>' ENVIRONMENT_C='<machine, os, target, libraries (multiple lines)>' DESCRIPTION_C='<precise description of the problem (multiple lines)>' HOW_TO_REPEAT_C='<code/input/activities to reproduce the problem (multiple lines)>' FIX_C='<how to correct or work around the problem, if known (multiple lines)>' cat > $TEMP <<EOF SEND-PR: -*- send-pr -*- SEND-PR: Lines starting with \`SEND-PR' will be removed automatically, as SEND-PR: will all comments (text enclosed in \`<' and \`>'). SEND-PR: From: ${USER} To: ${BUGADDR} Subject: $SUBJECT_C >Description: $DESCRIPTION_C >How-To-Repeat: $HOW_TO_REPEAT_C >Fix: $FIX_C >Submitter-Id: <submitter ID> >Originator: ${ORIGINATOR} >Organization: ${ORGANIZATION- $ORGANIZATION_C} >MySQL support: $LICENCE_C >Synopsis: $SYNOPSIS_C >Severity: $SEVERITY_C >Priority: $PRIORITY_C >Category: mysql >Class: $CLASS_C >Release: mysql-${VERSION} ($COMPILATION_COMMENT) `test -n "$MYSQL_SERVER" && echo ">Server: $MYSQL_SERVER"` >C compiler: cc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) >C++ compiler: c++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-44) >Environment: $ENVIRONMENT_C `test -n "$SYSTEM" && echo "System: $SYSTEM"` `test -n "$ARCH" && echo "Architecture: $ARCH"` `test -n "$MACHINE" && echo "Machine: $MACHINE"` `test -n "$FILE_PATHS" && echo "Some paths: $FILE_PATHS"` `test -n "$GCC_INFO" && echo "GCC: $GCC_INFO"` `test -n "$COMP_CALL_INFO" && echo "Compilation info (call): $COMP_CALL_INFO"` `test -n "$COMP_RUN_INFO" && echo "Compilation info (used): $COMP_RUN_INFO"` `test -n "$LIBC_INFO" && echo "LIBC: $LIBC_INFO"` `test -n "$CONFIGURE_LINE" && echo "Configure command: $CONFIGURE_LINE"` `test -n "$PERL_INFO" && echo "Perl: $PERL_INFO"` EOF chmod u+w $TEMP cp $TEMP $TEMP.x eval $EDIT $TEMP if cmp -s $TEMP $TEMP.x then echo "File not changed, no bug report submitted." mv -f $TEMP /tmp/failed-mysql-bugreport echo "The raw bug report exists in /tmp/failed-mysql-bugreport" echo "If you use this remember that the first lines of the report are now a lie.." exit 1 fi # # Check the enumeration fields # This is a "sed-subroutine" with one keyword parameter # (with workaround for Sun sed bug) # SED_CMD=' /$PATTERN/{ s||| s|<.*>|| s|^[ ]*|| s|[ ]*$|| p q }' while :; do CNT=0 # # 1) Severity # PATTERN=">Severity:" SEVERITY=`eval sed -n -e "\"$SED_CMD\"" $TEMP` case "$SEVERITY" in ""|non-critical|serious|critical) CNT=`expr $CNT + 1` ;; *) echo "$COMMAND: \`$SEVERITY' is not a valid value for \`Severity'." esac # # 2) Priority # PATTERN=">Priority:" PRIORITY=`eval sed -n -e "\"$SED_CMD\"" $TEMP` case "$PRIORITY" in ""|low|medium|high) CNT=`expr $CNT + 1` ;; *) echo "$COMMAND: \`$PRIORITY' is not a valid value for \`Priority'." esac # # 3) Class # PATTERN=">Class:" CLASS=`eval sed -n -e "\"$SED_CMD\"" $TEMP` case "$CLASS" in ""|sw-bug|doc-bug|change-request|support) CNT=`expr $CNT + 1` ;; *) echo "$COMMAND: \`$CLASS' is not a valid value for \`Class'." esac # # 4) Synopsis # VALUE=`grep "^>Synopsis:" $TEMP | sed 's/>Synopsis:[ ]*//'` case "$VALUE" in "$SYNOPSIS_C") echo "$COMMAND: \`$VALUE' is not a valid value for \`Synopsis'." ;; *) CNT=`expr $CNT + 1` esac test $CNT -lt 4 && echo "Errors were found with the problem report." # Check if subject of mail was changed, if not, use Synopsis field # subject=`grep "^Subject" $TEMP| sed 's/^Subject:[ ]*//'` if [ X"$subject" = X"$SUBJECT_C" -o X"$subject" = X"$SYNOPSIS_C" ]; then subject=`grep Synopsis $TEMP | sed 's/>Synopsis:[ ]*//'` sed "s/^Subject:[ ]*.*/Subject: $subject/" $TEMP > $TEMP.tmp mv -f $TEMP.tmp $TEMP fi while :; do $ECHON1 "a)bort, e)dit or s)end? $ECHON2" read input case "$input" in a*) echo "$COMMAND: problem report saved in $HOME/dead.mysqlbug." cat $TEMP >> $HOME/dead.mysqlbug xs=1; exit ;; e*) eval $EDIT $TEMP continue 2 ;; s*) break 2 ;; esac done done # # Remove comments and send the problem report # (we have to use patterns, where the comment contains regex chars) # # /^>Originator:/s;$ORIGINATOR;; sed -e " /^SEND-PR:/d /^>Organization:/,/^>[A-Za-z-]*:/s;$ORGANIZATION_C;; /^>Confidential:/s;<.*>;; /^>Synopsis:/s;$SYNOPSIS_C;; /^>Severity:/s;<.*>;; /^>Priority:/s;<.*>;; /^>Class:/s;<.*>;; /^>Release:/,/^>[A-Za-z-]*:/s;$RELEASE_C;; /^>Environment:/,/^>[A-Za-z-]*:/s;$ENVIRONMENT_C;; /^>Description:/,/^>[A-Za-z-]*:/s;$DESCRIPTION_C;; /^>How-To-Repeat:/,/^>[A-Za-z-]*:/s;$HOW_TO_REPEAT_C;; /^>Fix:/,/^>[A-Za-z-]*:/s;$FIX_C;; " $TEMP > $TEMP.x if $MAIL_AGENT < $TEMP.x then echo "$COMMAND: problem report sent" xs=0; exit else echo "$COMMAND: mysterious mail failure, report not sent." echo "$COMMAND: problem report saved in $HOME/dead.mysqlbug." cat $TEMP >> $HOME/dead.mysqlbug fi exit 0