/usr/share/avfs/extfs/upp is in avfs 1.0.5-2.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 | #! /bin/sh
#
# Written by Ralf Hoffmann <ralf@boomerangsworld.de>
# upp 0.9.0
#
# (C) 2007 Ralf Hoffmann <ralf@boomerangsworld.de>
# May be distributed under the terms of the GNU General
# Public License V2 or higher
#
# Powerpacker handler
#
# requires ppunpack (ftp://de.aminet.net/pub/aminet/misc/unix/)
#
PPUNPACK=ppunpack
AWK=mawk
extfs_pp_list ()
{
if test -f "$1"; then
t=$(ls -l "$1" | $AWK '{print $6, $7, $8}')
name=$(basename "$1" | sed 's/\(.*\)\.pp/\1/')
echo "-r-------- 1 $(id -nu) $(id -ng) 0 $t $name"
fi
}
extfs_pp_copyout ()
{
name=$(basename "$1" | sed 's/\(.*\)\.pp/\1/')
if test "$2" = "$name"; then
$PPUNPACK "$1" "$3"
fi
}
# override any locale for dates
LC_ALL=C
export LC_ALL
umask 077
case "$1" in
list)
extfs_pp_list "$2"
;;
copyout)
shift
extfs_pp_copyout "$@"
;;
*)
echo "extfs_pp: unknown command: \"$1\"." 1>&2
exit 1
;;
esac
exit 0
|