Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Nov 2006 16:32:31 +0100 (CET)
From:      trasz <trasz@pin.if.uz.zgora.pl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/105821: [PATCH] games/xjumpx: respect X11BASE
Message-ID:  <20061124153231.0DBD739DB8@pin.if.uz.zgora.pl>
Resent-Message-ID: <200611241540.kAOFeAoW065925@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         105821
>Category:       ports
>Synopsis:       [PATCH] games/xjumpx: respect X11BASE
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 24 15:40:09 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     trasz
>Release:        FreeBSD 6.1-RELEASE-p10 i386
>Organization:
>Environment:
System: FreeBSD pin.if.uz.zgora.pl 6.1-RELEASE-p10 FreeBSD 6.1-RELEASE-p10 #0: Wed Nov 15 19:16:30 CET 2006
>Description:
Respect X11BASE and fix some portlint warnings.

http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.5-exp.2006101300/xjumpx-1.4.log

Added file(s):
- files/patch-Makefile
- files/pkg-message.in

Removed file(s):
- pkg-message

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- xjumpx-1.4.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/xjumpx/Makefile /home/trasz/xjumpx/Makefile
--- /usr/ports/games/xjumpx/Makefile	Tue Feb 22 12:33:36 2005
+++ /home/trasz/xjumpx/Makefile	Fri Nov 24 16:31:19 2006
@@ -19,6 +19,9 @@
 MAN1=		xjumpx.1
 MANCOMPRESSED=	yes
 
+SUB_FILES=	pkg-message
+PKGMESSAGE=	${WRKDIR}/pkg-message
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/xjumpx ${PREFIX}/bin
 	${MKDIR} ${PREFIX}/lib/X11/xjumpx
diff -ruN --exclude=CVS /usr/ports/games/xjumpx/files/patch-Makefile /home/trasz/xjumpx/files/patch-Makefile
--- /usr/ports/games/xjumpx/files/patch-Makefile	Thu Jan  1 01:00:00 1970
+++ /home/trasz/xjumpx/files/patch-Makefile	Fri Nov 24 16:31:20 2006
@@ -0,0 +1,11 @@
+--- Makefile.orig	Fri Nov 24 16:24:37 2006
++++ Makefile	Fri Nov 24 16:24:48 2006
+@@ -11,7 +11,7 @@
+ 
+ ## X11 base directory
+ 
+-X11BASE = /usr/X11R6
++#X11BASE = /usr/X11R6
+ 
+ 
+ ## directory for record files
diff -ruN --exclude=CVS /usr/ports/games/xjumpx/files/pkg-message.in /home/trasz/xjumpx/files/pkg-message.in
--- /usr/ports/games/xjumpx/files/pkg-message.in	Thu Jan  1 01:00:00 1970
+++ /home/trasz/xjumpx/files/pkg-message.in	Fri Nov 24 16:31:20 2006
@@ -0,0 +1,9 @@
+---  NOTICE ---
+Original xjumpx is setgid games to protect scorefiles.
+However, due to security concerns, xjumpx is not installed setgid games,
+so everybody can change scorefiles.
+In order to protect scorefiles, you will need to run these commands:
+
+	chgrp games %%PREFIX%%/bin/xjumpx %%PREFIX%%/lib/X11/xjumpx
+	chmod g+s %%PREFIX%%/bin/xjumpx
+	chmod 770 %%PREFIX%%/lib/X11/xjumpx
diff -ruN --exclude=CVS /usr/ports/games/xjumpx/pkg-message /home/trasz/xjumpx/pkg-message
--- /usr/ports/games/xjumpx/pkg-message	Tue Feb 22 12:33:36 2005
+++ /home/trasz/xjumpx/pkg-message	Thu Jan  1 01:00:00 1970
@@ -1,9 +0,0 @@
----  NOTICE ---
-Original xjumpx is setgid games to protect scorefiles.
-However, due to security concerns, xjumpx is not installed setgid games,
-so everybody can change scorefiles.
-In order to protect scorefiles, you will need to run these commands:
-
-	chgrp games /usr/X11R6/bin/xjumpx /usr/X11R6/lib/X11/xjumpx
-	chmod g+s /usr/X11R6/bin/xjumpx
-	chmod 770 /usr/X11R6/lib/X11/xjumpx
diff -ruN --exclude=CVS /usr/ports/games/xjumpx/pkg-plist /home/trasz/xjumpx/pkg-plist
--- /usr/ports/games/xjumpx/pkg-plist	Sat Apr 10 18:07:04 2004
+++ /home/trasz/xjumpx/pkg-plist	Fri Nov 24 16:31:20 2006
@@ -1,4 +1,4 @@
 bin/xjumpx
 lib/X11/app-defaults/XJumpX
 @exec install -d -m 777 %D/lib/X11/xjumpx
-@unexec rm -rf %D/lib/X11/xjumpx
+@unexec rm -rf %D/lib/X11/xjumpx 2>&1 >/dev/null || true
--- xjumpx-1.4.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061124153231.0DBD739DB8>