aboutsummaryrefslogtreecommitdiff
path: root/x11-servers/XFree86-4-Server
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2000-06-09 06:55:56 +0000
committerKris Kennaway <kris@FreeBSD.org>2000-06-09 06:55:56 +0000
commit29b550ae2e5a206d7d518455ec9fdc43238e687f (patch)
treefd0d42df49d51c77e658785d5e6ed87c78889f42 /x11-servers/XFree86-4-Server
parent9f63d9346ab68a5c283d734e8b7714e8b4f380bb (diff)
downloadports-29b550ae2e5a206d7d518455ec9fdc43238e687f.tar.gz
ports-29b550ae2e5a206d7d518455ec9fdc43238e687f.zip
Note the possible insecurity of this port.
Notes
Notes: svn path=/head/; revision=29432
Diffstat (limited to 'x11-servers/XFree86-4-Server')
-rw-r--r--x11-servers/XFree86-4-Server/Makefile5
-rw-r--r--x11-servers/XFree86-4-Server/pkg-install3
2 files changed, 8 insertions, 0 deletions
diff --git a/x11-servers/XFree86-4-Server/Makefile b/x11-servers/XFree86-4-Server/Makefile
index 606ea6644024..89ec23f91907 100644
--- a/x11-servers/XFree86-4-Server/Makefile
+++ b/x11-servers/XFree86-4-Server/Makefile
@@ -57,4 +57,9 @@ MAN5= XF86Config.5
# Set following as NO. or type make ExtendefInputDevices=NO
ExtendedInputDevices?= YES
+.pre-fetch:
+.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
+ ${SH} ${PKGDIR}/INSTALL
+.endif
+
.include <bsd.port.mk>
diff --git a/x11-servers/XFree86-4-Server/pkg-install b/x11-servers/XFree86-4-Server/pkg-install
new file mode 100644
index 000000000000..a48c22846390
--- /dev/null
+++ b/x11-servers/XFree86-4-Server/pkg-install
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+/usr/bin/dialog --yesno "XFree86 4.0 may contain vulnerabilities yielding root privileges to local users, due to insecure coding of the setuid root X server. It is not recommended that this port be installed on multi-user systems. Do you wish to accept the security risk and build XFree86 4.0 anyway?" 10 60 || /usr/bin/false