View | Details | Raw Unified | Return to bug 105821
Collapse All | Expand All

(-)/home/trasz/xjumpx/Makefile (+3 lines)
Lines 19-24 Link Here
19
MAN1=		xjumpx.1
19
MAN1=		xjumpx.1
20
MANCOMPRESSED=	yes
20
MANCOMPRESSED=	yes
21
21
22
SUB_FILES=	pkg-message
23
PKGMESSAGE=	${WRKDIR}/pkg-message
24
22
do-install:
25
do-install:
23
	${INSTALL_PROGRAM} ${WRKSRC}/xjumpx ${PREFIX}/bin
26
	${INSTALL_PROGRAM} ${WRKSRC}/xjumpx ${PREFIX}/bin
24
	${MKDIR} ${PREFIX}/lib/X11/xjumpx
27
	${MKDIR} ${PREFIX}/lib/X11/xjumpx
(-)/home/trasz/xjumpx/files/patch-Makefile (+11 lines)
Line 0 Link Here
1
--- Makefile.orig	Fri Nov 24 16:24:37 2006
2
+++ Makefile	Fri Nov 24 16:24:48 2006
3
@@ -11,7 +11,7 @@
4
 
5
 ## X11 base directory
6
 
7
-X11BASE = /usr/X11R6
8
+#X11BASE = /usr/X11R6
9
 
10
 
11
 ## directory for record files
(-)/home/trasz/xjumpx/files/pkg-message.in (+9 lines)
Line 0 Link Here
1
---  NOTICE ---
2
Original xjumpx is setgid games to protect scorefiles.
3
However, due to security concerns, xjumpx is not installed setgid games,
4
so everybody can change scorefiles.
5
In order to protect scorefiles, you will need to run these commands:
6
7
	chgrp games %%PREFIX%%/bin/xjumpx %%PREFIX%%/lib/X11/xjumpx
8
	chmod g+s %%PREFIX%%/bin/xjumpx
9
	chmod 770 %%PREFIX%%/lib/X11/xjumpx
(-)/home/trasz/xjumpx/pkg-message (-9 lines)
Lines 1-9 Link Here
1
---  NOTICE ---
2
Original xjumpx is setgid games to protect scorefiles.
3
However, due to security concerns, xjumpx is not installed setgid games,
4
so everybody can change scorefiles.
5
In order to protect scorefiles, you will need to run these commands:
6
7
	chgrp games /usr/X11R6/bin/xjumpx /usr/X11R6/lib/X11/xjumpx
8
	chmod g+s /usr/X11R6/bin/xjumpx
9
	chmod 770 /usr/X11R6/lib/X11/xjumpx
(-)/home/trasz/xjumpx/pkg-plist (-1 / +1 lines)
Lines 1-4 Link Here
1
bin/xjumpx
1
bin/xjumpx
2
lib/X11/app-defaults/XJumpX
2
lib/X11/app-defaults/XJumpX
3
@exec install -d -m 777 %D/lib/X11/xjumpx
3
@exec install -d -m 777 %D/lib/X11/xjumpx
4
@unexec rm -rf %D/lib/X11/xjumpx
4
@unexec rm -rf %D/lib/X11/xjumpx 2>&1 >/dev/null || true

Return to bug 105821