aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2001-01-29 00:22:10 +0000
committerKris Kennaway <kris@FreeBSD.org>2001-01-29 00:22:10 +0000
commitb0e70f9c89800a94b627227bff9757c85433c606 (patch)
tree6559bdb5f35668212abed38b0aec75270dd2c905 /games
parent938877754b69f1d3ecbafcea7bbd869bde9b2f7b (diff)
downloadports-b0e70f9c89800a94b627227bff9757c85433c606.tar.gz
ports-b0e70f9c89800a94b627227bff9757c85433c606.zip
Notes
Diffstat (limited to 'games')
-rw-r--r--games/dopewars/Makefile6
-rw-r--r--games/dopewars/pkg-install9
2 files changed, 15 insertions, 0 deletions
diff --git a/games/dopewars/Makefile b/games/dopewars/Makefile
index 0c651c4b0fef..b102e6f0c36b 100644
--- a/games/dopewars/Makefile
+++ b/games/dopewars/Makefile
@@ -7,6 +7,7 @@
PORTNAME= dopewars
PORTVERSION= 1.4.8
+PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://bellatrix.pcl.ox.ac.uk/~ben/dopewars/
@@ -15,6 +16,11 @@ MAINTAINER= jim@FreeBSD.org
USE_GMAKE= yes
GNU_CONFIGURE= yes
+pre-fetch:
+.if !defined(BATCH) && !defined(PACKAGE_BUILDING)
+ ${SH} pkg-install
+.endif
+
post-install:
@${ECHO} "===> Documentation is installed in ${PREFIX}/share/doc/dopewars"
@${ECHO} "===> Run 'dopewars -h' for usage options."
diff --git a/games/dopewars/pkg-install b/games/dopewars/pkg-install
new file mode 100644
index 000000000000..47b307353295
--- /dev/null
+++ b/games/dopewars/pkg-install
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+if [ "$2" = "POST-INSTALL" -o -n "${PACKAGE_BUILDING}" ]; then
+ exit 0
+fi
+
+/usr/bin/dialog --yesno "SECURITY NOTE: This software contains known locally-exploitable buffer overflows. However since the binaries in question are setgid to the games group, the impact of this vulnerability is believed to be limited to the ability for local users to overwrite score files, saved games, and certain other game data for this and other installed game packages. The wider system security is not believed to be compromised by this problem. Do you wish to install the software anyway?" 12 70 || /usr/bin/false
+
+