=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== dl10n-3.00/pootle/sync-projects.d/30fusionforge-2- dl10n-3.00/pootle/sync-projects.d/30fusionforge:3:. `dirname "$0"`/cfg/common dl10n-3.00/pootle/sync-projects.d/30fusionforge:4:#. `dirname "$0"`/cfg/`basename "$0"` dl10n-3.00/pootle/sync-projects.d/30fusionforge-5- ############################################## dl10n-3.00/pootle/sync-projects.d/10debconf-3- dl10n-3.00/pootle/sync-projects.d/10debconf:4:. `dirname $0`/cfg/common dl10n-3.00/pootle/sync-projects.d/10debconf:5:. `dirname $0`/cfg/`basename $0` dl10n-3.00/pootle/sync-projects.d/10debconf-6- dl10n-3.00/pootle/sync-projects.d/10debconf:7:##echo "`basename $0`: Updating debconf translations..." dl10n-3.00/pootle/sync-projects.d/10debconf-8- ############################################## dl10n-3.00/pootle/sync-projects.d/10debconf-10-export TMPDIR dl10n-3.00/pootle/sync-projects.d/10debconf:11:TEMPDIR=`mktemp -d -p "$TMPDIR" sync.XXXXXX` dl10n-3.00/pootle/sync-projects.d/10debconf-12- ############################################## dl10n-3.00/pootle/sync-projects.d/10debconf-37- # Uncompress files dl10n-3.00/pootle/sync-projects.d/10debconf:38: if [ `\ls -1 "$pkg"/*gz 2>/dev/null | wc -l` != "0" ] ; then dl10n-3.00/pootle/sync-projects.d/10debconf-39- gzip -d "$pkg"/*gz ############################################## dl10n-3.00/pootle/sync-projects.d/10debconf-43- # The name of the templates.pot file will give it to us dl10n-3.00/pootle/sync-projects.d/10debconf:44: for pot in `\ls -1 "$pkg"/*templates.pot 2>/dev/null`; do dl10n-3.00/pootle/sync-projects.d/10debconf:45: root=`basename "$pot" templates.pot` dl10n-3.00/pootle/sync-projects.d/10debconf:46: for pots in `\ls -1 "$pkg"/*.pot 2>/dev/null`; do dl10n-3.00/pootle/sync-projects.d/10debconf-47- # Rename the file to "templates.pot" dl10n-3.00/pootle/sync-projects.d/10debconf:48: mv "$pots" $pkg/`basename $pots | sed "s/$root//g"` dl10n-3.00/pootle/sync-projects.d/10debconf-49- done dl10n-3.00/pootle/sync-projects.d/10debconf:50: for po in `\ls -1 "$pkg"/*.po 2>/dev/null`; do dl10n-3.00/pootle/sync-projects.d/10debconf-51- # Convert the file to UTF-8 and rename it by ############################################## dl10n-3.00/pootle/sync-projects.d/10debconf-53- # If something fails, report dl10n-3.00/pootle/sync-projects.d/10debconf:54: if msgconv --to-code=utf-8 "$po" >$pkg/`basename "$po" | sed "s/$root//g"` 2>/dev/null; then dl10n-3.00/pootle/sync-projects.d/10debconf-55- rm "$po" dl10n-3.00/pootle/sync-projects.d/10debconf-56- else dl10n-3.00/pootle/sync-projects.d/10debconf:57: rm $pkg/`basename "$po" | sed "s/$root//g"` >/dev/null 2>&1 || true dl10n-3.00/pootle/sync-projects.d/10debconf-58- rm "$po" ############################################## dl10n-3.00/pootle/sync-projects.d/10debconf-63- # Now we have a directory with only $LANGUAGE.po and templates.pot dl10n-3.00/pootle/sync-projects.d/10debconf:64: TEMPFILE=`tempfile --directory "$TMPDIR"` dl10n-3.00/pootle/sync-projects.d/10debconf-65- # Now we update the file in Pootle ############################################## dl10n-3.00/pootle/sync-projects.d/10debconf-74- # Cycle over all PO files dl10n-3.00/pootle/sync-projects.d/10debconf:75: for pofile in `\ls -1 "$pkg"/*.po 2>/dev/null` ; do dl10n-3.00/pootle/sync-projects.d/10debconf:76: filename=`basename "$pofile"` dl10n-3.00/pootle/sync-projects.d/10debconf-77- if [ -f "$POOTLEDEBCONFDIR/$pkg/$filename" ] ; then ############################################## dl10n-3.00/pootle/sync-projects.d/10debconf-113-## echo " $pkg" dl10n-3.00/pootle/sync-projects.d/10debconf:114: rm -rf `find "$POOTLEDEBCONFDIR" -mindepth 3 -maxdepth 3 -name "$pkg"` #2>/dev/null dl10n-3.00/pootle/sync-projects.d/10debconf-115-done ############################################## dl10n-3.00/pootle/sync-projects.d/10debconf-124-# What languages are present? dl10n-3.00/pootle/sync-projects.d/10debconf:125:LANGUAGES=`find "$POOTLEDEBCONFDIR" -name \*.po | cut -f9 -d\/ | sort | uniq | cut -f1 -d\.` dl10n-3.00/pootle/sync-projects.d/10debconf-126-# This will allow automatically adding a language as soon as *one* package ############################################## dl10n-3.00/pootle/sync-projects.d/10debconf-132-##echo " Updating Pootle files..." dl10n-3.00/pootle/sync-projects.d/10debconf:133:for pkg in `find "$POOTLEDEBCONFDIR" -maxdepth 3 -mindepth 3 -type d | grep -v \\.svn` ; do dl10n-3.00/pootle/sync-projects.d/10debconf-134- for lang in $LANGUAGES; do ############################################## dl10n-3.00/pootle/sync-projects.d/10debconf-168-diff -d -I "lintian" -I "powertweak" "$TMPDIR/list-tarball" "$TMPDIR/list-pootle" > "$TMPDIR/diff" || true dl10n-3.00/pootle/sync-projects.d/10debconf:169:if [ -n "`cat $TMPDIR/diff`" ] ; then dl10n-3.00/pootle/sync-projects.d/10debconf-170- cd "$POOTLEDEBCONFDIR" dl10n-3.00/pootle/sync-projects.d/10debconf-171- echo " SVN commands to issue:" dl10n-3.00/pootle/sync-projects.d/10debconf:172: for i in `grep -E "^>" "$TMPDIR/diff" | cut -f2 -d" "` ; do dl10n-3.00/pootle/sync-projects.d/10debconf-173- svn rm --force $i ############################################## dl10n-3.00/pootle/sync-projects.d/40iso-codes-3- dl10n-3.00/pootle/sync-projects.d/40iso-codes:4:. `dirname "$0"`/cfg/common dl10n-3.00/pootle/sync-projects.d/40iso-codes:5:. `dirname "$0"`/cfg/`basename "$0"` dl10n-3.00/pootle/sync-projects.d/40iso-codes-6- ############################################## dl10n-3.00/pootle/sync-projects.d/20di-3- dl10n-3.00/pootle/sync-projects.d/20di:4:. `dirname "$0"`/cfg/common dl10n-3.00/pootle/sync-projects.d/20di:5:. `dirname "$0"`/cfg/`basename "$0"` dl10n-3.00/pootle/sync-projects.d/20di-6- dl10n-3.00/pootle/sync-projects.d/20di:7:## echo "`basename $0`: Updating Debian Installer translations..." dl10n-3.00/pootle/sync-projects.d/20di-8- ############################################## dl10n-3.00/pootle/sync-projects.d/40tasksel-3- dl10n-3.00/pootle/sync-projects.d/40tasksel:4:. `dirname "$0"`/cfg/common dl10n-3.00/pootle/sync-projects.d/40tasksel:5:. `dirname "$0"`/cfg/`basename "$0"` dl10n-3.00/pootle/sync-projects.d/40tasksel-6- ############################################## dl10n-3.00/pootle/sync-projects.d/x20ddtp-19- echo " $srcpkg" dl10n-3.00/pootle/sync-projects.d/x20ddtp:20: for pofile in `ls -1 "$srcpkg"/*.po`; do dl10n-3.00/pootle/sync-projects.d/x20ddtp:21: pkg=`basename "$pofile" .po` dl10n-3.00/pootle/sync-projects.d/x20ddtp-22- echo " $pkg" ############################################## dl10n-3.00/compendia/createcompendium-12-#create a local tmp directory dl10n-3.00/compendia/createcompendium:13:POTMPDIR=`mktemp -d "$TMPDIR"/cpd.XXXXXXXXXX` dl10n-3.00/compendia/createcompendium-14-# cleanup local tmp directory on exit ############################################## dl10n-3.00/dl10n-rrd/manpages-rrd.pl-35- } dl10n-3.00/dl10n-rrd/manpages-rrd.pl:36: system ("wget", "-c", "--quiet", "$MIRROR/dists/$dist/Contents-$arch.gz") == 0 dl10n-3.00/dl10n-rrd/manpages-rrd.pl-37- or die "wget failed to download $MIRROR/dists/$dist/Contents-$arch.gz . Aborting."; ############################################## dl10n-3.00/lib/Debian/L10n/Debconf.pm-108- if ($tmpl eq '') { dl10n-3.00/lib/Debian/L10n/Debconf.pm:109: warn "$file:$line: \`$1' field found before \`Template'\n"; dl10n-3.00/lib/Debian/L10n/Debconf.pm-110- goto SKIP; ############################################## dl10n-3.00/lib/Debian/L10n/Debconf.pm-115- if ($tmpl eq '') { dl10n-3.00/lib/Debian/L10n/Debconf.pm:116: warn "$file:$line: \`$1' field found before \`Template'\n"; dl10n-3.00/lib/Debian/L10n/Debconf.pm-117- goto SKIP; ############################################## dl10n-3.00/lib/Debian/L10n/Debconf.pm-134- if ($tmpl eq '') { dl10n-3.00/lib/Debian/L10n/Debconf.pm:135: warn "$file:$line: \`$1' field found before \`Template'\n"; dl10n-3.00/lib/Debian/L10n/Debconf.pm-136- goto SKIP; ############################################## dl10n-3.00/lib/Debian/L10n/Debconf.pm-146- if ($tmpl eq '') { dl10n-3.00/lib/Debian/L10n/Debconf.pm:147: warn "$file:$line: \`$1' field found before \`Template'\n"; dl10n-3.00/lib/Debian/L10n/Debconf.pm-148- goto SKIP; ############################################## dl10n-3.00/lib/Debian/L10n/Debconf.pm-241- if ($tmpl eq '') { dl10n-3.00/lib/Debian/L10n/Debconf.pm:242: warn "$file:$line: \`$1' field found before \`Template'\n"; dl10n-3.00/lib/Debian/L10n/Debconf.pm-243- goto SKIP; ############################################## dl10n-3.00/lib/Debian/L10n/Debconf.pm-253- if ($tmpl eq '') { dl10n-3.00/lib/Debian/L10n/Debconf.pm:254: warn "$file:$line: \`$1' field found before \`Template'\n"; dl10n-3.00/lib/Debian/L10n/Debconf.pm-255- goto SKIP; ############################################## dl10n-3.00/lib/Debian/L10n/Debconf.pm-274- if ($tmpl eq '') { dl10n-3.00/lib/Debian/L10n/Debconf.pm:275: warn "$file:$line: \`$1' field found before \`Template'\n"; dl10n-3.00/lib/Debian/L10n/Debconf.pm-276- goto SKIP; ############################################## dl10n-3.00/lib/Debian/L10n/Debconf.pm-298- if ($tmpl eq '') { dl10n-3.00/lib/Debian/L10n/Debconf.pm:299: warn "$file:$line: \`$1' field found before \`Template'\n"; dl10n-3.00/lib/Debian/L10n/Debconf.pm-300- goto SKIP; ############################################## dl10n-3.00/lib/Debian/L10n/Debconf.pm-310- if (defined($self->{files}->{$lang})) { dl10n-3.00/lib/Debian/L10n/Debconf.pm:311: die "Lang \`$lang' found in \`$file' and \`$self->{files}->{$lang}'\n" dl10n-3.00/lib/Debian/L10n/Debconf.pm-312- unless $self->{files}->{$lang} eq $file; ############################################## dl10n-3.00/dl10n-check-283- if ($newer) { dl10n-3.00/dl10n-check:284: $newer = system ("dpkg","--compare-versions", $data->version($pkg), "\>", $ver); dl10n-3.00/dl10n-check-285- } ############################################## dl10n-3.00/dl10n-check-605- File::Path::mkpath($dir, 0, 0755) unless -d $dir; dl10n-3.00/dl10n-check:606: if (system("gzip -9f -c \"$old\" > \"$new.gz\"")) { dl10n-3.00/dl10n-check-607- unlink "$new.gz"; ############################################## dl10n-3.00/dl10n-check-940- $data->add_errors($pkg, "podebconf: file debian/po/templates.pot is missing"); dl10n-3.00/dl10n-check:941: system ("cd $pkgroot && debconf-updatepo --skip-merge"); dl10n-3.00/dl10n-check-942- process_po_file($pkg, "debian/po/templates.pot", 'podebconf') if -r $pkgroot."/debian/po/templates.pot"; ############################################## dl10n-3.00/dl10n-check-967- if ($can_update) { dl10n-3.00/dl10n-check:968: system ("cp $pkgroot/debian/po/templates.pot $pkgroot/debian/po/templates.dl10n.pot"); dl10n-3.00/dl10n-check:969: system ("cd $pkgroot && debconf-updatepo --skip-merge"); dl10n-3.00/dl10n-check:970: if (system ("msgcmp --use-untranslated $pkgroot/debian/po/templates.dl10n.pot $pkgroot/debian/po/templates.pot >/dev/null 2>&1 && msgcmp --use-untranslated $pkgroot/debian/po/templates.pot $pkgroot/debian/po/templates.dl10n.pot >/dev/null 2>&1")) { dl10n-3.00/dl10n-check-971- $data->add_errors($pkg, "podebconf: file debian/po/templates.pot not up-to-date"); ############################################## dl10n-3.00/dl10n-check-975- next if $file eq 'debian/po/templates.pot'; dl10n-3.00/dl10n-check:976: if (system ("msgcmp --use-untranslated --use-fuzzy $pkgroot/$file $pkgroot/debian/po/templates.pot >/dev/null 2>&1 && msgcmp --use-fuzzy --use-untranslated $pkgroot/debian/po/templates.pot $pkgroot/$file >/dev/null 2>&1")) { dl10n-3.00/dl10n-check-977- $data->add_errors($pkg, "podebconf: file $file not up-to-date");