=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== debian-installer-20200314/build/Makefile-97-define genext2fs debian-installer-20200314/build/Makefile:98: genext2fs -d $(TREE) -b `expr $$(du -s $(TREE) | cut -f 1) + $$(expr $$(find $(TREE) | wc -l) \* 2)` -m 0 debian-installer-20200314/build/Makefile-99-endef ############################################## debian-installer-20200314/build/Makefile-373- if [ -f "$$udeb" ]; then \ debian-installer-20200314/build/Makefile:374: pkg=`basename $$udeb` ; \ debian-installer-20200314/build/Makefile-375- $(EATMYDATA) dpkg $(DPKG_UNPACK_OPTIONS) --path-include='*' --log=/dev/null --root=$(TREE) --unpack $$udeb ; \ debian-installer-20200314/build/Makefile:376: newsize=`du -bs $(TREE) | awk '{print $$1}'` ; \ debian-installer-20200314/build/Makefile:377: newblocks=`du -s $(TREE) | awk '{print $$1}'` ; \ debian-installer-20200314/build/Makefile:378: newcount=`find $(TREE) -type f | wc -l | awk '{print $$1}'` ; \ debian-installer-20200314/build/Makefile:379: usedsize=`echo $$newsize - $$oldsize | bc`; \ debian-installer-20200314/build/Makefile:380: usedblocks=`echo $$newblocks - $$oldblocks | bc`; \ debian-installer-20200314/build/Makefile:381: usedcount=`echo $$newcount - $$oldcount | bc`; \ debian-installer-20200314/build/Makefile:382: version=`dpkg-deb --info $$udeb | sed -n 's/^ Version: //p' | sed 's/+b[0-9]*$$//g'` ; \ debian-installer-20200314/build/Makefile:383: source=`dpkg-deb --info $$udeb | sed -n 's/^ Source: //p'` ; \ debian-installer-20200314/build/Makefile-384- if [ -z "$$source" ]; then \ debian-installer-20200314/build/Makefile:385: source=`dpkg-deb --info $$udeb | awk '/ Package: / { print $$2 }'` ; \ debian-installer-20200314/build/Makefile-386- source_version="$$source (= $$version)" ; \ ############################################## debian-installer-20200314/build/Makefile-389- elif echo "$$source" | grep -qs '(.*)'; then \ debian-installer-20200314/build/Makefile:390: source_version=`echo $$source|sed 's/(/(= /'`; \ debian-installer-20200314/build/Makefile-391- else \ ############################################## debian-installer-20200314/build/Makefile-416- for file in $(EXTRAFILES); do \ debian-installer-20200314/build/Makefile:417: mkdir -p $(TREE)/`dirname $$file`; \ debian-installer-20200314/build/Makefile-418- cp -a $$file $(TREE)/$$file; \ ############################################## debian-installer-20200314/build/Makefile-568- set -e; \ debian-installer-20200314/build/Makefile:569: for lib in `find $(TREE)/usr/lib/ -name "lib*" -type f -printf "%f\n" | cut -d . -f 1 | sort | uniq`; do \ debian-installer-20200314/build/Makefile-570- rm -f $(TREE)/lib/$$lib.*; \ ############################################## debian-installer-20200314/build/Makefile-613- cat needed-characters/*.utf > $(TEMP)/all.utf debian-installer-20200314/build/Makefile:614: if [ -n "`find $(EXTRAUDEBSDPKGDIR)/info/ -name \\*.templates`" ]; then \ debian-installer-20200314/build/Makefile-615- cat $(EXTRAUDEBSDPKGDIR)/info/*.templates >> $(TEMP)/all.utf; \ debian-installer-20200314/build/Makefile-616- fi debian-installer-20200314/build/Makefile:617: if [ -n "`find $(DPKGDIR)/info/ -name \\*.templates`" ]; then \ debian-installer-20200314/build/Makefile-618- cat $(DPKGDIR)/info/*.templates >> $(TEMP)/all.utf; \ ############################################## debian-installer-20200314/build/Makefile-712- @set -e; \ debian-installer-20200314/build/Makefile:713: CHARMAP=`LOCPATH=$(LOCALE_PATH) LC_ALL=C.UTF-8 locale charmap`; \ debian-installer-20200314/build/Makefile-714- if [ UTF-8 != "$$CHARMAP" ]; then \ ############################################## debian-installer-20200314/build/Makefile-919- if [ -f "$$udeb" ]; then \ debian-installer-20200314/build/Makefile:920: pkg=`basename $$udeb .udeb` ; \ debian-installer-20200314/build/Makefile:921: usedsize=`du -bs $$udeb | awk '{print $$1}'` ; \ debian-installer-20200314/build/Makefile:922: usedblocks=`du -s $$udeb | awk '{print $$1}'` ; \ debian-installer-20200314/build/Makefile-923- usedcount=1 ; \ debian-installer-20200314/build/Makefile:924: version=`dpkg-deb --info $$udeb | grep '^ *Version:' | awk '{print $$2}'` ; \ debian-installer-20200314/build/Makefile:925: arch=`dpkg-deb --info $$udeb | grep '^ *Architecture:' | awk '{print $$2}'` ; \ debian-installer-20200314/build/Makefile-926- echo " $$usedsize B - $$usedblocks blocks - $$usedcount files used by pkg $$pkg (version $$version)" >>$(TEMP)/diskusage.txt; \ ############################################## debian-installer-20200314/build/boot/arm/bootscr.mainline_common-26- echo "This installer medium does not contain a suitable device-tree file for" debian-installer-20200314/build/boot/arm/bootscr.mainline_common:27: echo "this system (${fdtfile}). Aborting boot process." debian-installer-20200314/build/boot/arm/bootscr.mainline_common-28- exit 0 ############################################## debian-installer-20200314/build/boot/arm/qnap-flash-debian-132- conf=$(grep -v "^eth" /tmp/debian.$$ | cksum | cut -d " " -f 1) debian-installer-20200314/build/boot/arm/qnap-flash-debian:133: if [ "$orig" != "$conf" -o "`cat /tmp/debian.$$`" == "" ]; then debian-installer-20200314/build/boot/arm/qnap-flash-debian-134- echo "Failed to generate new u-boot configuration." ############################################## debian-installer-20200314/build/config/x86.cfg-79- $(foreach file,$(shell IS_PURE_GTK=$(IS_PURE_GTK) syslinux-cfgs "$(TEMP_SYSLINUX)"), \ debian-installer-20200314/build/config/x86.cfg:80: subdir=`dirname $(file)`; \ debian-installer-20200314/build/config/x86.cfg-81- outfile=$(file); \ ############################################## debian-installer-20200314/build/config/x86.cfg-104- if [ -e $(file).withgtk ] && [ -n "$(INITRD_GTK)" ]; then \ debian-installer-20200314/build/config/x86.cfg:105: mcopy -i$(TEMP_BOOT) $(file).withgtk ::`basename $(file)`; \ debian-installer-20200314/build/config/x86.cfg-106- else \ debian-installer-20200314/build/config/x86.cfg:107: mcopy -i$(TEMP_BOOT) $(file) ::`basename $(file)`; \ debian-installer-20200314/build/config/x86.cfg-108- fi; \ ############################################## debian-installer-20200314/build/config/x86.cfg-154- SYSDIR "$(BOOT_SCREEN_DIR)" \ debian-installer-20200314/build/config/x86.cfg:155: < $(SCREEN) > $(TEMP_BOOT_SCREENS)/`basename $(SCREEN)`\ debian-installer-20200314/build/config/x86.cfg-156- ;) ############################################## debian-installer-20200314/build/config/x86.cfg-185- $(foreach file,$(shell IS_PURE_GTK=$(IS_PURE_GTK) syslinux-cfgs "$(TEMP_SYSLINUX)"), \ debian-installer-20200314/build/config/x86.cfg:186: subdir=`dirname $(file)`; \ debian-installer-20200314/build/config/x86.cfg-187- outfile=$(file); \ ############################################## debian-installer-20200314/build/config/x86.cfg-258- BUILD_DATE "$(BUILD_DATE)" "" \ debian-installer-20200314/build/config/x86.cfg:259: > $(TEMP_CD_TREE)/`basename $(file)`; \ debian-installer-20200314/build/config/x86.cfg-260- ) ############################################## debian-installer-20200314/build/config/x86.cfg-276- $(foreach file,$(shell IS_PURE_GTK=$(IS_PURE_GTK) syslinux-cfgs "$(TEMP_SYSLINUX)"), \ debian-installer-20200314/build/config/x86.cfg:277: subdir=`dirname $(file)`; \ debian-installer-20200314/build/config/x86.cfg-278- outfile=$(file); \ ############################################## debian-installer-20200314/build/config/x86.cfg-368- $(foreach file,$(shell IS_PURE_GTK=$(IS_PURE_GTK) syslinux-cfgs "$(TEMP_SYSLINUX)"), \ debian-installer-20200314/build/config/x86.cfg:369: subdir=`dirname $(file)`; \ debian-installer-20200314/build/config/x86.cfg-370- outfile=$(TEMP_NETBOOT_DIR)/$(BOOT_SCREEN_DIR)/$(file); \ ############################################## debian-installer-20200314/build/util/efi-image-59-(for i in /usr/lib/grub/$platform/part_*.mod; do debian-installer-20200314/build/util/efi-image:60: i=`echo $i | sed 's?^.*/??g;s?\.mod$??g;'` debian-installer-20200314/build/util/efi-image-61- echo "insmod $i" ############################################## debian-installer-20200314/build/util/get-packages-161-if [ "$KERNELVERSION" ]; then debian-installer-20200314/build/util/get-packages:162: for packages in `find $APTDIR/state -maxdepth 2 -type f -name \*_Packages ! -name \*_localudebs_Packages -print`; do debian-installer-20200314/build/util/get-packages-163- KV_COND= ############################################## debian-installer-20200314/build/util/get-packages-173- cleanup () { debian-installer-20200314/build/util/get-packages:174: for file in `find $APTDIR/state -maxdepth 2 -type f -name \*_Packages.orig -print`; do debian-installer-20200314/build/util/get-packages-175- mv "$file" "${file%.orig}" || true ############################################## debian-installer-20200314/build/util/get-packages-203- local L LV l lv debian-installer-20200314/build/util/get-packages:204: for l in `find $dir -name "${pkg}_*" 2>/dev/null`; do debian-installer-20200314/build/util/get-packages-205- lv=$(dpkg -f "$l" Version); lv=${lv%"Version: "} ############################################## debian-installer-20200314/build/util/tftpboot.sh-56-echo "building tftp image in $tftpimage" debian-installer-20200314/build/util/tftpboot.sh:57:tmp=`mktemp -p ${tmpdir} tftpboot.sysmap.XXXXXXXX` debian-installer-20200314/build/util/tftpboot.sh-58-gzip -cdq $sysmap > $tmp || true ############################################## debian-installer-20200314/build/util/tftpboot.sh-85- debian-installer-20200314/build/util/tftpboot.sh:86:size=`ls -l $tftpimage | awk '{print $5}'` || true debian-installer-20200314/build/util/tftpboot.sh:87:rem=`expr \( 4 - $size % 4 \) % 4` || true debian-installer-20200314/build/util/tftpboot.sh-88- ############################################## debian-installer-20200314/build/util/tftpboot.sh-91- debian-installer-20200314/build/util/tftpboot.sh:92:echo "TFTP image is `ls -l $tftpimage` " debian-installer-20200314/build/util/tftpboot.sh-93- ############################################## debian-installer-20200314/build/util/treecompare-49- if (-d $file) { debian-installer-20200314/build/util/treecompare:50: $size=`du -b -s $file`; debian-installer-20200314/build/util/treecompare-51- chomp $size; ############################################## debian-installer-20200314/build/util/treecompare-79- $dir1=shift()."/"; debian-installer-20200314/build/util/treecompare:80: %du=map {chomp;s/$dir1//;reverse split " ", $_, 2} `du -b $dir1`; debian-installer-20200314/build/util/treecompare:81: %du2=map {chomp;s/$dir2//;reverse split " ", $_, 2} `du -b $dir2`; debian-installer-20200314/build/util/treecompare-82- foreach (sort { $du{$b} <=> $du{$a} } keys %du) { ############################################## debian-installer-20200314/build/util/treecompare-94- %files=map {chomp; $file=$_; s/^$dir1//; $_ => -s $file } debian-installer-20200314/build/util/treecompare:95: `find $dir1 -type f`; debian-installer-20200314/build/util/treecompare-96- %files2=map {chomp; $file=$_; s/^$dir2//; $_ => -s $file } debian-installer-20200314/build/util/treecompare:97: `find $dir2 -type f`; debian-installer-20200314/build/util/treecompare-98- foreach (sort { $files{$b} <=> $files{$a} } keys %files) { ############################################## debian-installer-20200314/build/util/xen/build_modules-30- TOPRINT=$((N % 256)) debian-installer-20200314/build/util/xen/build_modules:31: echo -en '\0'`printf %o $TOPRINT` debian-installer-20200314/build/util/xen/build_modules-32- N=$((N / 256)) ############################################## debian-installer-20200314/build/util/xen/build_modules-42- # Write module debian-installer-20200314/build/util/xen/build_modules:43: MOD_LEN=`stat -L -c%s "$1"` debian-installer-20200314/build/util/xen/build_modules-44- MOD_USED=$(( ( ( $MOD_LEN + $ALIGN - 1 ) / $ALIGN ) * $ALIGN )) ############################################## debian-installer-20200314/build/util/xen/build_modules-58- # Write string debian-installer-20200314/build/util/xen/build_modules:59: STR=`echo "$2"` debian-installer-20200314/build/util/xen/build_modules-60- STR_LEN=${#STR} ############################################## debian-installer-20200314/doc/devel/partman/partman-doc.dbk-565-$type shows what partition can be created in it and $type can be `primary', debian-installer-20200314/doc/devel/partman/partman-doc.dbk:566:`logical', `pri/log' or `unusable'. $fs is `free' if this is a free space. debian-installer-20200314/doc/devel/partman/partman-doc.dbk-567-Otherwise $fs is the type of the file system of this partition as known to ############################################## debian-installer-20200314/doc/devel/partman/partman-doc.dbk-1295-created in it. In this case $type can be `primary', `logical', `pri/log' or debian-installer-20200314/doc/devel/partman/partman-doc.dbk:1296:`unusable'. $fs is `free' if this is a free space. Otherwise $fs is the type debian-installer-20200314/doc/devel/partman/partman-doc.dbk-1297-of the file system of this partition as known to ############################################## debian-installer-20200314/doc/i18n/scripts/create_xml-34-echo "Creating XML files for language '$language':" debian-installer-20200314/doc/i18n/scripts/create_xml:35:for ORIGXML in `find $SOURCEDIR -name "*.xml"` ; do debian-installer-20200314/doc/i18n/scripts/create_xml-36- BASEDIR=$(dirname $ORIGXML | sed "s:$SOURCEDIR::" | sed "s:^/::") ############################################## debian-installer-20200314/doc/i18n/scripts/merge_xml-35-echo "Building list of entities..." debian-installer-20200314/doc/i18n/scripts/merge_xml:36:for ENT in `grep "<!ENTITY" $BUILDDIR/templates/docstruct.ent` ; do debian-installer-20200314/doc/i18n/scripts/merge_xml-37- echo -n "$(echo $ENT | sed "s/.*ENTITY\ *//" | sed "s/\ *SYSTEM.*$//")" >>$TEMPDIR/entlist ############################################## debian-installer-20200314/doc/i18n/scripts/merge_xml-46-echo "Converting XML files to UTF-8..." >>$LOG debian-installer-20200314/doc/i18n/scripts/merge_xml:47:for FILE in `find $LANGDIR -name "*.xml"` ; do debian-installer-20200314/doc/i18n/scripts/merge_xml-48- SUBDIR=$(dirname $FILE | sed "s:$LANGDIR::"); ############################################## debian-installer-20200314/doc/i18n/scripts/update_po-32-echo "Updating PO files for language '$language':" debian-installer-20200314/doc/i18n/scripts/update_po:33:for POT in `find $PODIR/pot -name "*.pot"` ; do debian-installer-20200314/doc/i18n/scripts/update_po-34- BASENAME="$(basename $POT .pot)" ############################################## debian-installer-20200314/doc/i18n/scripts/update_pot-37- debian-installer-20200314/doc/i18n/scripts/update_pot:38:for XML in `find $SOURCEDIR -name "*.xml"` ; do debian-installer-20200314/doc/i18n/scripts/update_pot-39- echo "Creating new POT file for $XML"