Date: Sat, 6 Sep 1997 20:05:26 -0400 (EDT) From: Matthew Hunt <mph@pobox.com> To: FreeBSD-gnats-submit@FreeBSD.ORG Subject: ports/4479: Port modification: games/xpat2 Message-ID: <199709070005.UAA13674@mph124.rh.psu.edu> Resent-Message-ID: <199709070010.RAA11185@hub.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 4479 >Category: ports >Synopsis: Port modification: games/xpat2 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports >State: open >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Sep 6 17:10:01 PDT 1997 >Last-Modified: >Originator: Matthew Hunt >Organization: none >Release: FreeBSD 2.2-STABLE i386 >Environment: FreeBSD mph124.rh.psu.edu 2.2-STABLE FreeBSD 2.2-STABLE #0: Mon Sep 1 13:45:50 EDT 1997 hunt@mph124.rh.psu.edu:/usr/src/sys/compile/WOPR i386 >Description: This is a modification to the port games/xpat2, which I maintain. The patch changes xpat2 to be sgid games instead of suid games. In addition to plugging any unknown security holes that might be present, this changes allows ~/.Xauthority authentication to work as expect. >How-To-Repeat: >Fix: "patch -p1" in the port directory. diff -r -u /usr/ports/games/xpat2/Makefile xpat2/Makefile --- /usr/ports/games/xpat2/Makefile Thu May 29 00:15:42 1997 +++ xpat2/Makefile Sat Sep 6 01:19:20 1997 @@ -19,8 +19,9 @@ post-install: touch $(PREFIX)/lib/X11/xpat/xpat.log - chown games $(PREFIX)/lib/X11/xpat/xpat.log $(PREFIX)/bin/xpat2 - chmod 4555 $(PREFIX)/bin/xpat2 + chown root.games $(PREFIX)/lib/X11/xpat/xpat.log $(PREFIX)/bin/xpat2 + chmod 2555 $(PREFIX)/bin/xpat2 + chmod 664 $(PREFIX)/lib/X11/xpat/xpat.log .include <bsd.port.mk> >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709070005.UAA13674>