aboutsummaryrefslogtreecommitdiffstats
path: root/x11-servers/XFree86-4-Server
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2000-06-09 14:55:56 +0800
committerkris <kris@FreeBSD.org>2000-06-09 14:55:56 +0800
commit4090134dd8fd9161bd7870de48b4373ca2e133f3 (patch)
tree5134f13b664945a74024b989561749cc9710026d /x11-servers/XFree86-4-Server
parent7b6fb9940a9e4f4869823bddf2a16149f4144169 (diff)
downloadfreebsd-ports-gnome-4090134dd8fd9161bd7870de48b4373ca2e133f3.tar.gz
freebsd-ports-gnome-4090134dd8fd9161bd7870de48b4373ca2e133f3.tar.zst
freebsd-ports-gnome-4090134dd8fd9161bd7870de48b4373ca2e133f3.zip
Note the possible insecurity of this port.
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