From owner-freebsd-ports Tue Jul 7 02:00:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA24672 for freebsd-ports-outgoing; Tue, 7 Jul 1998 02:00:14 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA24662 for ; Tue, 7 Jul 1998 02:00:12 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id CAA18772; Tue, 7 Jul 1998 02:00:01 -0700 (PDT) Received: from kamna.eunet.cz (kamna.eunet.cz [193.85.255.30]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id BAA24492 for ; Tue, 7 Jul 1998 01:59:01 -0700 (PDT) (envelope-from martin@eunet.cz) Received: (qmail 28249 invoked from network); 7 Jul 1998 08:58:28 -0000 Received: from woody.eunet.cz (@193.85.255.60) by kamna.eunet.cz with SMTP; 7 Jul 1998 08:58:28 -0000 Received: (from martin@localhost) by woody.eunet.cz (8.8.8/8.7.3) id KAA28148; Tue, 7 Jul 1998 10:58:27 +0200 (MET DST) Message-Id: <199807070858.KAA28148@woody.eunet.cz> Date: Tue, 7 Jul 1998 10:58:27 +0200 (MET DST) From: martin@eunet.cz Reply-To: martin@eunet.cz To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/7194: problem in xinetd-2.2.1 port Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 7194 >Category: ports >Synopsis: man pages being installed with wrong owner and permissions >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jul 7 02:00:00 PDT 1998 >Last-Modified: >Originator: Martin Machacek >Organization: Internet CZ >Release: FreeBSD 3.0-CURRENT i386 >Environment: Excerpt from the xinetd port top level Makefile: # New ports collection makefile for: xinetd # Version required: 2.2.1 # Date created: 28 June 1996 # Whom: markm # # $Id: Makefile,v 1.4 1997/12/04 03:40:06 vanilla Exp $ # >Description: Man pages (xinetd.1, xinetd.conf.5 and xinetd.log.5) are being installed with wrong owner a permissions. Currently man pages are being installed with owner root group bin mode 0640 which makes them basically unusable since on "normal" system almost nobody is in the bin group. Correct owner should be bin and mode 0444. >How-To-Repeat: Do make install in the top level directory of the above mentioned port. >Fix: Add folowing patch to the port's patches directory: *** xinetd/Makefile.orig Tue Jul 7 10:18:34 1998 --- xinetd/Makefile Tue Jul 7 10:22:38 1998 *************** *** 133,138 **** --- 133,139 ---- FMODE = -m 640 # mode for anything but executables INSTALL_PROGRAM = install -c -s INSTALL_DATA = install -c + INSTALL_MAN = install -c -o bin -g bin -m 0444 LINT_FLAGS = -hbux PAGER = less *************** *** 183,194 **** install.man: if test "$(MANPROGDIR)" ; then \ ! $(INSTALL_DATA) $(FMODE) $(MANPROGFILE) $(MANPROGDIR)/$(MANPROGPAGE) ;\ fi if test "$(MANDATADIR)" ; then \ for i in $(MANDATANAMES) ; do \ name=$(PROGRAM).$$i ; \ ! $(INSTALL_DATA) $(FMODE) $$name.man $(MANDATADIR)/$$name.$(MANDATASECTION);\ done ;\ fi --- 184,195 ---- install.man: if test "$(MANPROGDIR)" ; then \ ! $(INSTALL_MAN) $(MANPROGFILE) $(MANPROGDIR)/$(MANPROGPAGE) ;\ fi if test "$(MANDATADIR)" ; then \ for i in $(MANDATANAMES) ; do \ name=$(PROGRAM).$$i ; \ ! $(INSTALL_MAN) $$name.man $(MANDATADIR)/$$name.$(MANDATASECTION);\ done ;\ fi >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message