Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Oct 2006 16:24:25 GMT
From:      "Dr. Markus Waldeck"<waldeck@gmx.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/104972: Some files in arpwatch-2.1.a15_3 have the ownership "bin:bin"
Message-ID:  <200610311624.k9VGOPMQ008379@www.freebsd.org>
Resent-Message-ID: <200610311630.k9VGUGKn065034@freefall.freebsd.org>

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

>Number:         104972
>Category:       ports
>Synopsis:       Some files in arpwatch-2.1.a15_3 have the ownership "bin:bin"
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 31 16:30:15 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Dr. Markus Waldeck
>Release:        7.0-CURRENT-200610
>Organization:
>Environment:
FreeBSD fbh 7.0-CURRENT-200610 FreeBSD 7.0-CURRENT-200610 #2: Tue Oct 10 06:42:33 CEST 2006     
root@fb:/usr/src/sys/i386/compile/FB70B01  i386

>Description:
See PR ports/103270 (http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/103270)

Some Files in arpwatch-2.1.a15_3 have the ownership "bin:bin".

The files in the base system and in the ports use "root:wheel".
>How-To-Repeat:
find /usr/local -user bin
>Fix:
Replace patch-ab with this one:

--- Makefile.in.orig    Thu Jun 15 02:39:55 2000
+++ Makefile.in Tue Oct 31 18:14:51 2006
@@ -31,7 +31,7 @@
 # Pathname of directory to install the man page
 MANDEST = @mandir@
 # Pathname of directory to install database file
-ARPDIR = $(prefix)/arpwatch
+ARPDIR ?= $(prefix)/arpwatch
 
 # VPATH
 srcdir = @srcdir@
@@ -45,7 +45,7 @@
 PROG = arpwatch
 CCOPT = @V_CCOPT@
 INCLS = -I. @V_INCLS@
-DEFS = -DDEBUG @DEFS@ -DARPDIR=\"$(ARPDIR)\" -DPATH_SENDMAIL=\"$(SENDMAIL)\"
+DEFS = @DEFS@ -DARPDIR=\"$(ARPDIR)\" -DPATH_SENDMAIL=\"$(SENDMAIL)\"
 
 # Standard CFLAGS
 CFLAGS = $(CCOPT) $(DEFS) $(INCLS)
@@ -110,13 +110,13 @@
        $(CC) $(CFLAGS) -o $@ zap.o intoa.o -lutil
 
 install: force
-       $(INSTALL) -m 555 -o bin -g bin arpwatch $(DESTDIR)$(BINDEST)
-       $(INSTALL) -m 555 -o bin -g bin arpsnmp $(DESTDIR)$(BINDEST)
+       $(INSTALL) -s -m 555 -o root -g wheel arpwatch $(DESTDIR)$(BINDEST)
+       $(INSTALL) -s -m 555 -o root -g wheel arpsnmp $(DESTDIR)$(BINDEST)
 
 install-man: force
-       $(INSTALL) -m 444 -o bin -g bin $(srcdir)/arpwatch.8 \
+       $(INSTALL) -m 444 -o root -g wheel $(srcdir)/arpwatch.8 \
            $(DESTDIR)$(MANDEST)/man8
-       $(INSTALL) -m 444 -o bin -g bin $(srcdir)/arpsnmp.8 \
+       $(INSTALL) -m 444 -o root -g wheel $(srcdir)/arpsnmp.8 \
            $(DESTDIR)$(MANDEST)/man8
 
 lint:  $(GENSRC) force

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



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