8d82e7ea1c
The Laboratory intexxia found a remote exploitable format string vulnerability in libgtop_daemon which could cause privilege escalation on a remote system. The libgtop_daemon is not running by default if you run GNOME. New since last version: - security fix - update for parallel install with libgtop-2.0 + Only install shared libraries on shared arches. From maintainer (Nils Nordman <nino@nforced.com>).
39 lines
817 B
Plaintext
39 lines
817 B
Plaintext
#!/bin/sh
|
|
#
|
|
# $OpenBSD: INSTALL,v 1.2 2001/11/27 23:07:02 todd Exp $
|
|
#
|
|
# libgtop, install .info correctly and set gid kmem for ligtop_server.
|
|
|
|
PREFIX=${PKG_PREFIX:-/usr/local}
|
|
|
|
do_post() {
|
|
chown root.kmem ${PREFIX}/bin/libgtop_server
|
|
chmod 2755 ${PREFIX}/bin/libgtop_server
|
|
install-info --section="Programming \& development tools" \
|
|
--entry="* libgtop: (libgtop). libgtop programming manual" \
|
|
${PREFIX}/info/libgtop.info ${PREFIX}/info/dir
|
|
}
|
|
|
|
# verify proper execution
|
|
#
|
|
if [ $# -ne 2 ]; then
|
|
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
|
exit 1
|
|
fi
|
|
|
|
# Verify/process the command
|
|
#
|
|
case $2 in
|
|
PRE-INSTALL)
|
|
;;
|
|
POST-INSTALL)
|
|
do_post
|
|
;;
|
|
*)
|
|
echo "usage: $0 distname { PRE-INSTALL | POST-INSTALL }" >&2
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
exit 0
|