=========================================================== .___ __ __ _________________ __ __ __| _/|__|/ |_ / ___\_` __ \__ \ | | \/ __ | | \\_ __\ / /_/ > | \// __ \| | / /_/ | | || | \___ /|__| (____ /____/\____ | |__||__| /_____/ \/ \/ grep rough audit - static analysis tool v2.8 written by @Wireghoul =================================[justanotherhacker.com]=== subnetcalc-2.4.16/ci/before-install-24- subnetcalc-2.4.16/ci/before-install:25:. `dirname $0`/get-container subnetcalc-2.4.16/ci/before-install-26- ############################################## subnetcalc-2.4.16/ci/build-24- subnetcalc-2.4.16/ci/build:25:. `dirname $0`/get-container subnetcalc-2.4.16/ci/build-26- ############################################## subnetcalc-2.4.16/ci/build-147- subnetcalc-2.4.16/ci/build:148: cores=`sudo docker exec ${CONTAINER} env LANG=C.UTF-8 getconf _NPROCESSORS_ONLN 2>/dev/null || true` subnetcalc-2.4.16/ci/build-149- if [ $cores -gt 1 ] ; then ############################################## subnetcalc-2.4.16/ci/build-161- echo "###### Running mock ... ###############################################" subnetcalc-2.4.16/ci/build:162: release=`sudo docker exec -t ${CONTAINER} bash -c "LANG=C.UTF-8 ; cat /etc/fedora-release | sed -e \"s/^\(.*\) release \([0-9]*\) (\(.*\))$/\2/g\"" | sed -e "s/[^0-9]//g"` subnetcalc-2.4.16/ci/build:163: arch=`sudo docker exec -t ${CONTAINER} env LANG=C.UTF-8 uname -m | sed -e "s/[^0-9a-zA-Z_+-]//g"` subnetcalc-2.4.16/ci/build-164- ci/monitor 60 sudo docker exec ${CONTAINER} env LANG=C.UTF-8 LD_PRELOAD=/usr/lib64/nosync/nosync.so OVERRIDE_SKIP_PACKAGE_SIGNING=1 ./build-rpm fedora-${release}-${arch} ############################################## subnetcalc-2.4.16/ci/enter-24- subnetcalc-2.4.16/ci/enter:25:. `dirname $0`/get-container subnetcalc-2.4.16/ci/enter-26-sudo docker exec -it ${CONTAINER} env LANG=C.UTF-8 /bin/bash ############################################## subnetcalc-2.4.16/ci/get-container-38- CHANGELOG_HEADER="`head -n1 debian/changelog`" subnetcalc-2.4.16/ci/get-container:39: PACKAGE=`echo ${CHANGELOG_HEADER} | sed -e "s/(.*//" -e "s/ //g"` subnetcalc-2.4.16/ci/get-container-40- ############################################## subnetcalc-2.4.16/ci/get-container-42- # ====== Set container name ============================================== subnetcalc-2.4.16/ci/get-container:43: CONTAINER=`echo "${PACKAGE}-${DOCKER}-${TOOL}" | sed -e "s/:/_/g"` subnetcalc-2.4.16/ci/get-container-44- if [ "${COMPILER_C}" != "" ] ; then ############################################## subnetcalc-2.4.16/ci/test-24- subnetcalc-2.4.16/ci/test:25:. `dirname $0`/get-container subnetcalc-2.4.16/ci/test-26- ############################################## subnetcalc-2.4.16/ci/test-40- CHANGELOG_HEADER="`head -n1 debian/changelog`" subnetcalc-2.4.16/ci/test:41: PACKAGE=`echo ${CHANGELOG_HEADER} | sed -e "s/(.*//" -e "s/ //g"` subnetcalc-2.4.16/ci/test:42: PACKAGE_VERSION=`echo ${CHANGELOG_HEADER} | sed -e "s/.*(//" -e "s/).*//" -e "s/ //g" -e "s/ //g" -e "s/^[0-9]://g"` subnetcalc-2.4.16/ci/test:43: OUTPUT_VERSION=`echo ${PACKAGE_VERSION} | sed -e "s/\(ubuntu\|ppa\)[0-9]*$/\1/"` subnetcalc-2.4.16/ci/test:44: DEBIAN_VERSION=`echo ${OUTPUT_VERSION} | sed -e "s/\(ubuntu\|ppa\)$//1"` subnetcalc-2.4.16/ci/test-45- ############################################## subnetcalc-2.4.16/ci/test-48- echo "Looking for *${DEBIAN_VERSION}*.deb in /var/cache/pbuilder/result ..." subnetcalc-2.4.16/ci/test:49: packages="`sudo docker exec ${CONTAINER} env LANG=C.UTF-8 find /var/cache/pbuilder/result -name "*${DEBIAN_VERSION}*.deb"`" subnetcalc-2.4.16/ci/test-50- fi ############################################## subnetcalc-2.4.16/ci/test-52- echo "Looking for $1*${DEBIAN_VERSION}*.deb in /var/cache/pbuilder/result ..." subnetcalc-2.4.16/ci/test:53: packages="${packages} `sudo docker exec ${CONTAINER} env LANG=C.UTF-8 find /var/cache/pbuilder/result -name "$1*${DEBIAN_VERSION}*.deb"`" subnetcalc-2.4.16/ci/test-54- shift subnetcalc-2.4.16/ci/test-55- done subnetcalc-2.4.16/ci/test:56: packages=`echo "${packages}" | xargs -n1 | sort -u | xargs` subnetcalc-2.4.16/ci/test-57- if [ "${packages}" == "" ] ; then ############################################## subnetcalc-2.4.16/ci/test-79- subnetcalc-2.4.16/ci/test:80: release=`sudo docker exec ${CONTAINER} bash -c "LANG=C.UTF-8 ; cat /etc/fedora-release | sed -e \"s/^\(.*\) release \([0-9]*\) (\(.*\))$/\2/g\"" | sed -e "s/[^0-9]//g"` subnetcalc-2.4.16/ci/test:81: arch=`sudo docker exec ${CONTAINER} env LANG=C.UTF-8 uname -m | sed -e "s/[^0-9a-zA-Z_+-]//g"` subnetcalc-2.4.16/ci/test-82- if ! sudo docker exec ${CONTAINER} cd /var/lib/mock/fedora-${release}-${arch}/result ; then ############################################## subnetcalc-2.4.16/ci/test-93- echo "Looking for *${PACKAGE_VERSION}*.rpm in /var/lib/mock/fedora-${release}-${arch}/result ..." subnetcalc-2.4.16/ci/test:94: packages="`sudo docker exec ${CONTAINER} env LANG=C.UTF-8 find /var/lib/mock/fedora-${release}-${arch}/result -name "*${PACKAGE_VERSION}*.rpm" | grep -v "\.src\.rpm$"`" subnetcalc-2.4.16/ci/test-95- fi ############################################## subnetcalc-2.4.16/ci/test-97- echo "Looking for $1*${PACKAGE_VERSION}*.rpm in /var/lib/mock/fedora-${release}-${arch}/result ..." subnetcalc-2.4.16/ci/test:98: packages="${packages} `sudo docker exec ${CONTAINER} env LANG=C.UTF-8 find /var/lib/mock/fedora-${release}-${arch}/result -name "$1*${PACKAGE_VERSION}*.rpm" | grep -v "\.src\.rpm$"`" subnetcalc-2.4.16/ci/test-99- shift subnetcalc-2.4.16/ci/test-100- done subnetcalc-2.4.16/ci/test:101: packages=`echo "${packages}" | xargs -n1 | sort -u | xargs` subnetcalc-2.4.16/ci/test-102- if [ "${packages}" == "" ] ; then ############################################## subnetcalc-2.4.16/ci/install-24- subnetcalc-2.4.16/ci/install:25:. `dirname $0`/get-container subnetcalc-2.4.16/ci/install-26-UBUNTU_MIRROR="us.archive.ubuntu.com" ############################################## subnetcalc-2.4.16/ci/install-81- subnetcalc-2.4.16/ci/install:82: distribution=`sudo docker exec ${CONTAINER} env LANG=C.UTF-8 lsb_release -cs | sed -e "s/[^0-9a-zA-Z]//g"` subnetcalc-2.4.16/ci/install-83- if [ "${VARIANT}" == "debian" ] ; then ############################################## subnetcalc-2.4.16/ci/install-122- echo "Extracting dependencies ..." subnetcalc-2.4.16/ci/install:123: UBUNTU_DEPS=`sudo docker exec ${CONTAINER} env LANG=C.UTF-8 ci/get-dependencies ${VARIANT}` subnetcalc-2.4.16/ci/install-124- echo "Dependencies: ${UBUNTU_DEPS}" ############################################## subnetcalc-2.4.16/ci/install-199- echo "Extracting dependencies ..." subnetcalc-2.4.16/ci/install:200: FEDORA_DEPS="`ci/get-dependencies ${VARIANT}`" subnetcalc-2.4.16/ci/install-201- echo "Dependencies: ${FEDORA_DEPS}" ############################################## subnetcalc-2.4.16/ci/install-224- subnetcalc-2.4.16/ci/install:225: release=`sudo docker exec -t ${CONTAINER} bash -c "LANG=C.UTF-8 ; cat /etc/fedora-release | sed -e \"s/^\(.*\) release \([0-9]*\) (\(.*\))$/\2/g\"" | sed -e "s/[^0-9]//g"` subnetcalc-2.4.16/ci/install:226: arch=`sudo docker exec -t ${CONTAINER} env LANG=C.UTF-8 uname -m | sed -e "s/[^0-9a-zA-Z_+-]//g"` subnetcalc-2.4.16/ci/install-227- if ! sudo docker exec ${CONTAINER} grep "^\[copr-dreibh-ppa\]" /etc/mock/fedora-${release}-${arch}.cfg ; then ############################################## subnetcalc-2.4.16/ci/install-292- sudo umount ${mountPoint} 2>/dev/null || true subnetcalc-2.4.16/ci/install:293: LOOPDEVS=`sudo losetup -j ${imageName} | awk '{ print $1 }' | sed -e "s/:$//g"` subnetcalc-2.4.16/ci/install-294- for loopdev in ${LOOPDEVS} ; do ############################################## subnetcalc-2.4.16/ci/install-299- sudo losetup -j ${imageName} subnetcalc-2.4.16/ci/install:300: LOOPDEV=`sudo losetup -j ${imageName} | awk '{ print $1 }' | sed -e "s/:$//g"` subnetcalc-2.4.16/ci/install-301- ############################################## subnetcalc-2.4.16/build-rpm-41-if [ "${DISTRIBUTIONS}" == "" ] ; then subnetcalc-2.4.16/build-rpm:42: release=`cat /etc/fedora-release | sed -e "s/^\(.*\) release \([0-9]*\) (\(.*\))$/\2/g"` subnetcalc-2.4.16/build-rpm-43- arch=`uname -m` ############################################## subnetcalc-2.4.16/build-rpm-59- subnetcalc-2.4.16/build-rpm:60:PACKAGE_SRPM=`find $HOME/rpmbuild/SRPMS/ -name "${PACKAGE}-*-*.src.rpm"` subnetcalc-2.4.16/build-rpm-61-if [ ! -e "${PACKAGE_SRPM}" ] ; then ############################################## subnetcalc-2.4.16/build-rpm-78- fi subnetcalc-2.4.16/build-rpm:79: distribution=`grep "config_opts..root.. =" /etc/mock/${DISTRIBUTION}.cfg | sed -e "s/^.* = //g" -e "s/'//g"` subnetcalc-2.4.16/build-rpm-80- ############################################## subnetcalc-2.4.16/build-rpm-91- # Check whether files are at the right location subnetcalc-2.4.16/build-rpm:92: PACKAGE_RPMS=`find /var/lib/mock/${distribution}/result -name "${PACKAGE}-*-*.rpm" | grep -v "${PACKAGE}-*-*.src.rpm" || true` subnetcalc-2.4.16/build-rpm-93- if [ "${PACKAGE_RPMS}" == "" ] ; then ############################################## subnetcalc-2.4.16/make-srpm-46- # The package name, e.g. MyApplication subnetcalc-2.4.16/make-srpm:47: DEBIAN_PACKAGE=`echo ${DEBIAN_CHANGELOG_HEADER} | sed -e "s/(.*//" -e "s/ //g"` subnetcalc-2.4.16/make-srpm-48- # The package distribution, e.g. precise, raring, ... subnetcalc-2.4.16/make-srpm:49: DEBIAN_PACKAGE_DISTRIBUTION=`echo ${DEBIAN_CHANGELOG_HEADER} | sed -e "s/[^)]*)//" -e "s/;.*//g" -e "s/ //g"` subnetcalc-2.4.16/make-srpm-50- # The package's version, e.g. 1.2.3-1ubuntu1 subnetcalc-2.4.16/make-srpm:51: DEBIAN_PACKAGE_VERSION=`echo ${DEBIAN_CHANGELOG_HEADER} | sed -e "s/.*(//" -e "s/).*//" -e "s/ //g" -e "s/ //g" -e "s/^[0-9]://g"` subnetcalc-2.4.16/make-srpm-52- # The package's output version, e.g. 1.2.3-1ubuntu subnetcalc-2.4.16/make-srpm:53: DEBIAN_OUTPUT_VERSION=`echo ${DEBIAN_PACKAGE_VERSION} | sed -e "s/\(ubuntu\|ppa\)[0-9]*$/\1/"` subnetcalc-2.4.16/make-srpm-54- # The package's Debian version, e.g. 1.2.3-1 subnetcalc-2.4.16/make-srpm:55: DEBIAN_VERSION=`echo ${DEBIAN_OUTPUT_VERSION} | sed -e "s/\(ubuntu\|ppa\)$//1"` subnetcalc-2.4.16/make-srpm-56- # The package's upstream version, e.g. 1.2.3 subnetcalc-2.4.16/make-srpm:57: DEBIAN_UPSTREAM_VERSION=`echo ${DEBIAN_VERSION} | sed -e "s/-[0-9]*$//"` subnetcalc-2.4.16/make-srpm-58- ############################################## subnetcalc-2.4.16/make-srpm-80-for UPSTREAM_PACKAGE_TYPE in xz bz2 gz ; do subnetcalc-2.4.16/make-srpm:81: UPSTREAM_PACKAGE="`find . -maxdepth 1 -name "${PACKAGE}-*.tar.${UPSTREAM_PACKAGE_TYPE}" -printf '%f'`" subnetcalc-2.4.16/make-srpm-82- if [ -e "${UPSTREAM_PACKAGE}" ] ; then ############################################## subnetcalc-2.4.16/make-srpm-115-rpmbuild -bs rpm/${PACKAGE}.spec subnetcalc-2.4.16/make-srpm:116:PACKAGE_SRPM=`find ${HOME}/rpmbuild/SRPMS/ -name "${PACKAGE}-*-*.src.rpm"` subnetcalc-2.4.16/make-srpm-117-if [ ! -e "${PACKAGE_SRPM}" ] ; then ############################################## subnetcalc-2.4.16/make-upstream-package-57- echo -n "Looking for ${PACKAGE}-*.tar.${UPSTREAM_PACKAGE_TYPE} ... " subnetcalc-2.4.16/make-upstream-package:58: UPSTREAM_PACKAGE="`find . -maxdepth 1 -name "${PACKAGE}-*.tar.${UPSTREAM_PACKAGE_TYPE}" -printf '%f'`" subnetcalc-2.4.16/make-upstream-package-59- if [ -e "${UPSTREAM_PACKAGE}" ] ; then ############################################## subnetcalc-2.4.16/make-upstream-package-74- for UPSTREAM_PACKAGE_TYPE in xz bz2 gz ; do subnetcalc-2.4.16/make-upstream-package:75: UPSTREAM_PACKAGE="`find . -maxdepth 1 -name "${PACKAGE}-*.tar.${UPSTREAM_PACKAGE_TYPE}" -printf '%f'`" subnetcalc-2.4.16/make-upstream-package-76- if [ -e "${UPSTREAM_PACKAGE}" ] ; then