mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-14 23:46:10 +00:00
2f1ad59ee3
major security hole (and at least one minor one) resulting in a local root exploit. Until a better fix is available, this patch installs the binary chmod go-s, meaning you must be root to run it. If anyone is using this in a multi-user environment they are strongly advised to remove the setuid bit. Submitted by: Steve Reid <sreid@alpha.sea-to-sky.net>
47 lines
1.3 KiB
Makefile
47 lines
1.3 KiB
Makefile
# New ports collection makefile for: wmmon
|
|
# Version required: 1.0b2
|
|
# Date created: 27 November 1998
|
|
# Whom: Kris Kennaway <kkennawa@physics.adelaide.edu.au>
|
|
#
|
|
# $Id: Makefile,v 1.5 1999/01/26 19:53:01 fenner Exp $
|
|
#
|
|
|
|
DISTNAME= wmmon-1.0b2
|
|
CATEGORIES= sysutils windowmaker
|
|
MASTER_SITES= ftp://ftp.mezaway.org/pub/DockApps/ \
|
|
http://www.physics.adelaide.edu.au/~kkennawa/ \
|
|
ftp://ftp.tecnogi.com/pub/linux/WindowMaker/ \
|
|
ftp://ftp.deva.net/pub/sources/X11/WindowMaker/dockapps/ \
|
|
ftp://ftp.paco.odessa.ua/.2/x11/wm/WindowMaker/apps/
|
|
DISTFILES= wmmon-1.0b2.tar.gz wmmon-1.0b2-freebsd.tar.gz
|
|
|
|
MAINTAINER= kkennawa@physics.adelaide.edu.au
|
|
|
|
LIB_DEPENDS= Xpm.4:${PORTSDIR}/graphics/xpm
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
WRKSRC= ${WRKDIR}/wmmon.app/wmmon
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
pre-patch:
|
|
@cd ${WRKDIR}/wmmon.app && ${PATCH} -p < ${WRKDIR}/wmmon-freebsd.patch
|
|
|
|
post-patch:
|
|
.if ${OSVERSION} >= 300000
|
|
@${CP} ${WRKDIR}/wmmon/Makefile.FreeBSD-3.0 ${WRKSRC}/Makefile
|
|
.else
|
|
@${CP} ${WRKDIR}/wmmon/Makefile.FreeBSD-2.2 ${WRKSRC}/Makefile
|
|
.endif
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/wmmon ${PREFIX}/bin/wmmon
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
${MKDIR} ${PREFIX}/share/doc/wmmon
|
|
${INSTALL_MAN} ${WRKSRC}/../HINTS ${PREFIX}/share/doc/wmmon
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|