=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== simpleproxy-3.5/configure-67- case "$ac_option" in simpleproxy-3.5/configure:68: -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; simpleproxy-3.5/configure-69- *) ac_optarg= ;; ############################################## simpleproxy-3.5/configure-99- -disable-* | --disable-*) simpleproxy-3.5/configure:100: ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` simpleproxy-3.5/configure-101- # Reject names that are not valid shell variable names. simpleproxy-3.5/configure:102: if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then simpleproxy-3.5/configure-103- { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } simpleproxy-3.5/configure-104- fi simpleproxy-3.5/configure:105: ac_feature=`echo $ac_feature| sed 's/-/_/g'` simpleproxy-3.5/configure-106- eval "enable_${ac_feature}=no" ;; ############################################## simpleproxy-3.5/configure-108- -enable-* | --enable-*) simpleproxy-3.5/configure:109: ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` simpleproxy-3.5/configure-110- # Reject names that are not valid shell variable names. simpleproxy-3.5/configure:111: if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then simpleproxy-3.5/configure-112- { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } simpleproxy-3.5/configure-113- fi simpleproxy-3.5/configure:114: ac_feature=`echo $ac_feature| sed 's/-/_/g'` simpleproxy-3.5/configure-115- case "$ac_option" in ############################################## simpleproxy-3.5/configure-339- -with-* | --with-*) simpleproxy-3.5/configure:340: ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` simpleproxy-3.5/configure-341- # Reject names that are not valid shell variable names. simpleproxy-3.5/configure:342: if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then simpleproxy-3.5/configure-343- { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } simpleproxy-3.5/configure-344- fi simpleproxy-3.5/configure:345: ac_package=`echo $ac_package| sed 's/-/_/g'` simpleproxy-3.5/configure-346- case "$ac_option" in ############################################## simpleproxy-3.5/configure-352- -without-* | --without-*) simpleproxy-3.5/configure:353: ac_package=`echo $ac_option|sed -e 's/-*without-//'` simpleproxy-3.5/configure-354- # Reject names that are not valid shell variable names. simpleproxy-3.5/configure:355: if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then simpleproxy-3.5/configure-356- { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } simpleproxy-3.5/configure-357- fi simpleproxy-3.5/configure:358: ac_package=`echo $ac_package| sed 's/-/_/g'` simpleproxy-3.5/configure-359- eval "with_${ac_package}=no" ;; ############################################## simpleproxy-3.5/configure-382- *) simpleproxy-3.5/configure:383: if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then simpleproxy-3.5/configure-384- echo "configure: warning: $ac_option: invalid host type" 1>&2 ############################################## simpleproxy-3.5/configure-395-if test -n "$ac_prev"; then simpleproxy-3.5/configure:396: { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } simpleproxy-3.5/configure-397-fi ############################################## simpleproxy-3.5/configure-460- ac_prog=$0 simpleproxy-3.5/configure:461: ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` simpleproxy-3.5/configure-462- test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. ############################################## simpleproxy-3.5/configure-476-fi simpleproxy-3.5/configure:477:srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` simpleproxy-3.5/configure-478- ############################################## simpleproxy-3.5/configure-528-echo "configure:529: checking for $ac_word" >&5 simpleproxy-3.5/configure:529:if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then simpleproxy-3.5/configure-530- echo $ac_n "(cached) $ac_c" 1>&6 ############################################## simpleproxy-3.5/configure-558-echo "configure:559: checking for $ac_word" >&5 simpleproxy-3.5/configure:559:if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then simpleproxy-3.5/configure-560- echo $ac_n "(cached) $ac_c" 1>&6 ############################################## simpleproxy-3.5/configure-609-echo "configure:610: checking for $ac_word" >&5 simpleproxy-3.5/configure:610:if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then simpleproxy-3.5/configure-611- echo $ac_n "(cached) $ac_c" 1>&6 ############################################## simpleproxy-3.5/configure-688-echo "configure:689: checking whether we are using GNU C" >&5 simpleproxy-3.5/configure:689:if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then simpleproxy-3.5/configure-690- echo $ac_n "(cached) $ac_c" 1>&6 ############################################## simpleproxy-3.5/configure-716-echo "configure:717: checking whether ${CC-cc} accepts -g" >&5 simpleproxy-3.5/configure:717:if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then simpleproxy-3.5/configure-718- echo $ac_n "(cached) $ac_c" 1>&6 ############################################## simpleproxy-3.5/configure-720- echo 'void f(){}' > conftest.c simpleproxy-3.5/configure:721:if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then simpleproxy-3.5/configure-722- ac_cv_prog_cc_g=yes ############################################## simpleproxy-3.5/configure-779-if test -z "$INSTALL"; then simpleproxy-3.5/configure:780:if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then simpleproxy-3.5/configure-781- echo $ac_n "(cached) $ac_c" 1>&6 ############################################## simpleproxy-3.5/configure-833-echo "configure:834: checking for $ac_word" >&5 simpleproxy-3.5/configure:834:if eval "test \"`echo '$''{'ac_cv_prog_LINT'+set}'`\" = set"; then simpleproxy-3.5/configure-835- echo $ac_n "(cached) $ac_c" 1>&6 ############################################## simpleproxy-3.5/configure-862-ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` simpleproxy-3.5/configure:863:if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then simpleproxy-3.5/configure-864- echo $ac_n "(cached) $ac_c" 1>&6 ############################################## simpleproxy-3.5/configure-892-fi simpleproxy-3.5/configure:893:if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then simpleproxy-3.5/configure-894- echo "$ac_t""yes" 1>&6 ############################################## simpleproxy-3.5/configure-909-ac_lib_var=`echo socket'_'connect | sed 'y%./+-%__p_%'` simpleproxy-3.5/configure:910:if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then simpleproxy-3.5/configure-911- echo $ac_n "(cached) $ac_c" 1>&6 ############################################## simpleproxy-3.5/configure-939-fi simpleproxy-3.5/configure:940:if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then simpleproxy-3.5/configure-941- echo "$ac_t""yes" 1>&6 ############################################## simpleproxy-3.5/configure-961-if test -z "$CPP"; then simpleproxy-3.5/configure:962:if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then simpleproxy-3.5/configure-963- echo $ac_n "(cached) $ac_c" 1>&6 ############################################## simpleproxy-3.5/configure-977-{ (eval echo configure:978: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } simpleproxy-3.5/configure:978:ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` simpleproxy-3.5/configure-979-if test -z "$ac_err"; then ############################################## simpleproxy-3.5/configure-994-{ (eval echo configure:995: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } simpleproxy-3.5/configure:995:ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` simpleproxy-3.5/configure-996-if test -z "$ac_err"; then ############################################## simpleproxy-3.5/configure-1011-{ (eval echo configure:1012: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } simpleproxy-3.5/configure:1012:ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` simpleproxy-3.5/configure-1013-if test -z "$ac_err"; then ############################################## simpleproxy-3.5/configure-1036-echo "configure:1037: checking for ANSI C header files" >&5 simpleproxy-3.5/configure:1037:if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then simpleproxy-3.5/configure-1038- echo $ac_n "(cached) $ac_c" 1>&6 ############################################## simpleproxy-3.5/configure-1049-{ (eval echo configure:1050: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } simpleproxy-3.5/configure:1050:ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` simpleproxy-3.5/configure-1051-if test -z "$ac_err"; then ############################################## simpleproxy-3.5/configure-1140-echo "configure:1141: checking for sys/wait.h that is POSIX.1 compatible" >&5 simpleproxy-3.5/configure:1141:if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then simpleproxy-3.5/configure-1142- echo $ac_n "(cached) $ac_c" 1>&6 ############################################## simpleproxy-3.5/configure-1182-do simpleproxy-3.5/configure:1183:ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` simpleproxy-3.5/configure-1184-echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 simpleproxy-3.5/configure-1185-echo "configure:1186: checking for $ac_hdr" >&5 simpleproxy-3.5/configure:1186:if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then simpleproxy-3.5/configure-1187- echo $ac_n "(cached) $ac_c" 1>&6 ############################################## simpleproxy-3.5/configure-1195-{ (eval echo configure:1196: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } simpleproxy-3.5/configure:1196:ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` simpleproxy-3.5/configure-1197-if test -z "$ac_err"; then ############################################## simpleproxy-3.5/configure-1208-fi simpleproxy-3.5/configure:1209:if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then simpleproxy-3.5/configure-1210- echo "$ac_t""yes" 1>&6 simpleproxy-3.5/configure:1211: ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` simpleproxy-3.5/configure-1212- cat >> confdefs.h <<EOF ############################################## simpleproxy-3.5/configure-1223-echo "configure:1224: checking for working const" >&5 simpleproxy-3.5/configure:1224:if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then simpleproxy-3.5/configure-1225- echo $ac_n "(cached) $ac_c" 1>&6 ############################################## simpleproxy-3.5/configure-1298-echo "configure:1299: checking whether time.h and sys/time.h may both be included" >&5 simpleproxy-3.5/configure:1299:if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then simpleproxy-3.5/configure-1300- echo $ac_n "(cached) $ac_c" 1>&6 ############################################## simpleproxy-3.5/configure-1334-echo "configure:1335: checking return type of signal handlers" >&5 simpleproxy-3.5/configure:1335:if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then simpleproxy-3.5/configure-1336- echo $ac_n "(cached) $ac_c" 1>&6 ############################################## simpleproxy-3.5/configure-1375-echo "configure:1376: checking for vprintf" >&5 simpleproxy-3.5/configure:1376:if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then simpleproxy-3.5/configure-1377- echo $ac_n "(cached) $ac_c" 1>&6 ############################################## simpleproxy-3.5/configure-1414- simpleproxy-3.5/configure:1415:if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then simpleproxy-3.5/configure-1416- echo "$ac_t""yes" 1>&6 ############################################## simpleproxy-3.5/configure-1427-echo "configure:1428: checking for _doprnt" >&5 simpleproxy-3.5/configure:1428:if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then simpleproxy-3.5/configure-1429- echo $ac_n "(cached) $ac_c" 1>&6 ############################################## simpleproxy-3.5/configure-1466- simpleproxy-3.5/configure:1467:if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then simpleproxy-3.5/configure-1468- echo "$ac_t""yes" 1>&6 ############################################## simpleproxy-3.5/configure-1482-echo "configure:1483: checking for $ac_func" >&5 simpleproxy-3.5/configure:1483:if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then simpleproxy-3.5/configure-1484- echo $ac_n "(cached) $ac_c" 1>&6 ############################################## simpleproxy-3.5/configure-1521- simpleproxy-3.5/configure:1522:if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then simpleproxy-3.5/configure-1523- echo "$ac_t""yes" 1>&6 simpleproxy-3.5/configure:1524: ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'` simpleproxy-3.5/configure-1525- cat >> confdefs.h <<EOF ############################################## simpleproxy-3.5/configure-1714- fi simpleproxy-3.5/configure:1715: ac_file=`expr $ac_file + 1` simpleproxy-3.5/configure-1716- ac_beg=$ac_end simpleproxy-3.5/configure:1717: ac_end=`expr $ac_end + $ac_max_sed_cmds` simpleproxy-3.5/configure-1718- fi ############################################## simpleproxy-3.5/configure-1732- case "$ac_file" in simpleproxy-3.5/configure:1733: *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` simpleproxy-3.5/configure:1734: ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; simpleproxy-3.5/configure-1735- *) ac_file_in="${ac_file}.in" ;; ############################################## simpleproxy-3.5/configure-1740- # Remove last slash and all that follows it. Not all systems have dirname. simpleproxy-3.5/configure:1741: ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` simpleproxy-3.5/configure-1742- if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then ############################################## simpleproxy-3.5/configure-1744- test ! -d "$ac_dir" && mkdir "$ac_dir" simpleproxy-3.5/configure:1745: ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" simpleproxy-3.5/configure-1746- # A "../" for each directory in $ac_dir_suffix. simpleproxy-3.5/configure:1747: ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` simpleproxy-3.5/configure-1748- else ############################################## simpleproxy-3.5/configure-1754- if test -z "$ac_dots"; then top_srcdir=. simpleproxy-3.5/configure:1755: else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; simpleproxy-3.5/configure-1756- /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; ############################################## simpleproxy-3.5/configure-1768- rm -f "$ac_file" simpleproxy-3.5/configure:1769: configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." simpleproxy-3.5/configure-1770- case "$ac_file" in ############################################## simpleproxy-3.5/configure-1775- simpleproxy-3.5/configure:1776: ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` simpleproxy-3.5/configure-1777- sed -e "$ac_comsub ############################################## simpleproxy-3.5/install-sh-85- simpleproxy-3.5/install-sh:86: -t=*) transformarg=`echo $1 | sed 's/-t=//'` simpleproxy-3.5/install-sh-87- shift ############################################## simpleproxy-3.5/install-sh-89- simpleproxy-3.5/install-sh:90: -b=*) transformbasename=`echo $1 | sed 's/-b=//'` simpleproxy-3.5/install-sh-91- shift ############################################## simpleproxy-3.5/install-sh-150- then simpleproxy-3.5/install-sh:151: dst="$dst"/`basename $src` simpleproxy-3.5/install-sh-152- else ############################################## simpleproxy-3.5/install-sh-157-## this sed command emulates the dirname command simpleproxy-3.5/install-sh:158:dstdir=`echo $dst | sed -e 's,[^/]*$,,;s,/$,,;s,^$,.,'` simpleproxy-3.5/install-sh-159- ############################################## simpleproxy-3.5/install-sh-171-IFS='%' simpleproxy-3.5/install-sh:172:set - `echo ${dstdir} | sed -e 's@/@%@g' -e 's@^%@/@'` simpleproxy-3.5/install-sh-173-IFS="${oIFS}" ############################################## simpleproxy-3.5/install-sh-205- then simpleproxy-3.5/install-sh:206: dstfile=`basename $dst` simpleproxy-3.5/install-sh-207- else ############################################## simpleproxy-3.5/install-sh-215- then simpleproxy-3.5/install-sh:216: dstfile=`basename $dst` simpleproxy-3.5/install-sh-217- else ############################################## simpleproxy-3.5/mkinstalldirs-12-do simpleproxy-3.5/mkinstalldirs:13: set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'` simpleproxy-3.5/mkinstalldirs-14- shift ############################################## simpleproxy-3.5/simpleproxy.c-127-static int pass_in( int in, int out, int isHtmlProbe,char *authHash); simpleproxy-3.5/simpleproxy.c:128:static int get_hostaddr(const char *name); simpleproxy-3.5/simpleproxy.c-129-static int readln(int fd, char *buf, int siz); ############################################## simpleproxy-3.5/simpleproxy.c-394- serv_addr.sin_family = AF_INET; simpleproxy-3.5/simpleproxy.c:395: serv_addr.sin_addr.s_addr = ((lhost && *lhost)? get_hostaddr(lhost): htonl(INADDR_ANY)); simpleproxy-3.5/simpleproxy.c-396- serv_addr.sin_port = htons(lportn); ############################################## simpleproxy-3.5/simpleproxy.c-583- simpleproxy-3.5/simpleproxy.c:584:static int get_hostaddr(const char *name) simpleproxy-3.5/simpleproxy.c-585-{ ############################################## simpleproxy-3.5/simpleproxy.c-590- if (sscanf(name,"%d.%d.%d.%d",&a1,&a2,&a3,&a4) == 4) simpleproxy-3.5/simpleproxy.c:591: res = inet_addr(name); simpleproxy-3.5/simpleproxy.c-592- else ############################################## simpleproxy-3.5/simpleproxy.c-1136- remote_addr.sin_port = htons(dest_port); simpleproxy-3.5/simpleproxy.c:1137: remote_addr.sin_addr.s_addr = get_hostaddr(dest_host); simpleproxy-3.5/simpleproxy.c-1138- ############################################## simpleproxy-3.5/debian/changelog-42- * Add patch from Joey Hess to fix slowness when using nss_mdns (switches simpleproxy-3.5/debian/changelog:43: from gethostbyaddr() to getnameinfo()) (closes: #508148) simpleproxy-3.5/debian/changelog-44- * Removed obsolete patches ############################################## simpleproxy-3.5/debian/patches/fix_mdns_use.dpatch-4-## All lines beginning with `## DP:' are a description of the patch. simpleproxy-3.5/debian/patches/fix_mdns_use.dpatch:5:## DP: Switches from gethostbyaddr() to getnameinfo() to fix performance simpleproxy-3.5/debian/patches/fix_mdns_use.dpatch-6-## DP: issues when using nss_mdns ############################################## simpleproxy-3.5/debian/patches/fix_mdns_use.dpatch-36- case 0: /* Child */ simpleproxy-3.5/debian/patches/fix_mdns_use.dpatch:37:- hp = gethostbyaddr((char *)&cli_addr, clien, AF_INET); simpleproxy-3.5/debian/patches/fix_mdns_use.dpatch-38-- client_name = strdup(hp?(hp->h_name): inet_ntoa(cli_addr.sin_addr));