freebsd-ports/x11/imwheel/Makefile
Sheldon Hearn 15be3d1062 Update to imwheel-0.9.9, which fixes a root exploit in the case where
imwheel is setuid root.

Note that the port doesn't install imwheel setuid root, so the
problem would not have affected users of the port / package.

Regardless, it's bad PR to make mouse wheel support so visible
in the FAQ and then keep a known-bad version of the supporting
software in the ports tree.

This update is derived from broken patches received by way of the
maintainer, who no longer has time to maintain the port.  This port is
now looking for a maintainer.

Submitted by:	Jeremy Norris <ishmael27@home.com>
2001-06-28 23:48:48 +00:00

34 lines
645 B
Makefile

# New ports collection makefile for: imwheel-0.9.7
# Date created: 18 Feb 2000
# Whom: jhb
#
# $FreeBSD$
#
PORTNAME= imwheel
PORTVERSION= 0.9.9
CATEGORIES= x11
MASTER_SITES= http://jonatkins.org/imwheel/files/
MAINTAINER= ports@FreeBSD.org
USE_GMAKE= YES
USE_X_PREFIX= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS= --disable-gpm
MAN1= imwheel.1
post-patch:
.for i in imwheel.1 util.c
@${PERL} -pi -e 's|%%PREFIX%%|${PREFIX}|g' ${WRKSRC}/${i}
.endfor
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/doc/imwheel
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/EMACS \
${PREFIX}/share/doc/imwheel
.endif
.include <bsd.port.mk>