Benign netbsd Download

ghostscript-cmaps-20020913nb3 20020913nb3

pkgsrc maintainer script NetBSD headerpkgsrc maintainer script lifecycle variables
SHA-256b092ab92ca9800fa833cc98103d74beceef925998e011faf3831cef01c7fe458

Evidence

pkgsrc maintainer script NetBSD header +DEINSTALL · 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 +DEINSTALL · lines 36–60
36:7… FO="/usr/sbin/pkg_info -K /usr/pkg/pkgdb"
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
Shell runs a variable command with args +DEINSTALL · lines 81–95
81:14… r/sbin/pkg_info -K /usr/pkg/pkgdb"
82
83case ${STAGE} in
84DEINSTALL)
85 ${PKG_INFO} -qL adobe-cmaps | ${GREP} "/Resource/CMap/" |
86 while read src; do
87 base=`${BASENAME} $src`
⋯8 lines
Executes a local relative file +DEINSTALL · lines 98–138
98:32… ml-findlib.
99 #
100 ${TEST} ! -x ./+OCAML_FINDLIB_REGISTER ||
101 ./+OCAML_FINDLIB_REGISTER REMOVE ${OCAML_FINDLIB_DIR}
102
103 #
104 # Unregister info files.
105 #
106 ${TEST} ! -x ./+INFO_FILES ||
107 ./+INFO_FILES REMOVE ${PKG_METADATA_DIR}
108 #
109 # Remove any icon theme caches.
110 #
111 ${TEST} ! -x ./+ICON_THEMES ||
112 ./+ICON_THEMES REMOVE ${PKG_METADATA_DIR}
113 #
114 # Remove shells from /etc/shells.
115 #
116 ${TEST} ! -x ./+SHELL ||
117 ./+SHELL REMOVE ${PKG_METADATA_DIR}
118 ${TEST} ! -x ./+SHELL ||
119 ./+SHELL CHECK-REMOVE ${PKG_METADATA_DIR}
120
121 # Remove configuration files if they don't differ from the default
122 # config file.
123 #
124 ${TEST} ! -x ./+FILES ||
125 ./+FILES REMOVE ${PKG_METADATA_DIR}
126 ;;
127
128POST-DEINSTALL)
129 #
130 # Update any fonts databases.
131 #
132 ${TEST} ! -x ./+FONTS ||
133 ./+FONTS ${PKG_METADATA_DIR}
134 #
135 # Update any icon theme caches.
136 #
137 ${TEST} ! -x ./+ICON_THEMES ||
138 ./+ICON_THEMES UPDATE ${PKG_METADA …
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

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.