Benign netbsd Download

tex-uptex-2023 2023

File starts withpkgsrc maintainer script NetBSD header
SHA-256efa5156de817fa71883822c07a99de942484c0d274a83c542da2f9e5bd5fcdde

Evidence

pkgsrc maintainer script NetBSD header +INSTALL · lines 1–15
1#!/bin/sh
2#
3# $NetBSD: header,v 1.3 2014/12/30 15:13:20 wiz Exp $
4
5SELF="$0"
6PKGNAME="$1"
7STAGE="$2"
8shift 2
⋯7 lines
Unix rm delete utility absolute path +INSTALL · lines 24–60
⋯12 lines
36PKG_INFO="/usr/sbin/pkg_info"
37PWD_CMD="/bin/pwd"
38RM="/bin/rm"
39RMDIR="/bin/rmdir"
40SED="/usr/bin/sed"
41SETENV="/usr/bin/env"
42SH="/bin/sh"
43SORT="/usr/bin/sort"
44SU="/usr/bin/su"
⋯16 lines
Executes a local relative file +INSTALL · lines 75–102
⋯11 lines
86 #
87 ${TEST} ! -x ./+USERGROUP ||
88 { ./+USERGROUP ADD ${PKG_METADATA_DIR}
89 if ./+USERGROUP CHECK-ADD ${PKG_METADATA_DIR}; then
90 :
91 else
92 exit 1
93 fi; }
94 ${TEST} ! -x ./+DIRS ||
95 ./+DIRS ADD ${PKG_METADATA_DIR}
96 ${TEST} ! -x ./+DIRS ||
97 ./+DIRS PERMS ${PKG_METADATA_DIR}
⋯5 lines
Shell echo redirects output to file +INSTALL · lines 203–213
203:15… in
204POST-INSTALL)
205 map_files=""
206 for map in $map_files ; do
207 echo "Map ${map}" >> ${UPDMAP_CFG}
208 done
209 mixedmap_files=""
⋯4 lines
Shell runs a variable command with args +DEINSTALL · lines 98–118
98:4… usr/bin/printf "$formats" |
99 while read format engine junk; do
100 ${GREP} -v "^${format}[[:space:]][[:space:]]*${engine}[[:space:]]" ${FMTUTIL_CNF} > \
101 ${FMTUTIL_CNF}.tmp &&
102 ${MV} ${FMTUTIL_CNF}.tmp ${FMTUTIL_CNF}
⋯16 lines

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.