ports/77302: [maintainer] fix for www/oops wrong/usr/local/sbin/ ownership

Dmitry Morozovsky marck at FreeBSD.org
Wed Feb 9 11:50:28 UTC 2005


The following reply was made to PR ports/77302; it has been noted by GNATS.

From: Dmitry Morozovsky <marck at FreeBSD.org>
To: FreeBSD-gnats-submit at FreeBSD.org, freebsd-ports-bugs at FreeBSD.org
Cc:  
Subject: Re: ports/77302: [maintainer] fix for www/oops wrong /usr/local/sbin/
 ownership
Date: Wed, 9 Feb 2005 14:49:05 +0300 (MSK)

 Oops, more generic solution is needed, like
 
 Index: files/patch-src::Makefile.in
 ===================================================================
 RCS file: /home/ncvs/ports/www/oops/files/patch-src::Makefile.in,v
 retrieving revision 1.6
 diff -u -r1.6 patch-src::Makefile.in
 --- files/patch-src::Makefile.in        5 Feb 2005 18:33:40 -0000       1.6
 +++ files/patch-src::Makefile.in        9 Feb 2005 11:47:35 -0000
 @@ -1,9 +1,18 @@
  
 -$FreeBSD: ports/www/oops/files/patch-src::Makefile.in,v 1.6 2005/02/05 
 18:33:40 pav Exp $
 +$FreeBSD$
  
  --- src/Makefile.in.orig
  +++ src/Makefile.in
 -@@ -49,14 +49,12 @@
 +@@ -2,7 +2,7 @@
 + CXX = @CXX@
 + LDFLAGS = @LDFLAGS@
 + EXTLDFLAGS = @EXTLDFLAGS@
 +-INSTALL = @INSTALL@ @SETOWNER@
 ++INSTALL = @INSTALL@
 + INSTALL_DATA = @INSTALL@ -m 644 @SETOWNER@
 + CHOWN = @CHOWN@
 + STATIC_MODULES = @STATIC_MODULES@
 +@@ -49,19 +49,16 @@
   
   mkinstalldirs:
         ../mkinstalldirs ${OOPSPATH} \
 @@ -18,3 +27,8 @@
                 ${CHOWN} @OOPS_USER@ ${OOPSPATH}/DB;\
         fi
   
 + install: all mkinstalldirs
 +-      $(INSTALL) -d ${OOPS_SBINDIR}
 +       $(INSTALL) oops ${OOPS_SBINDIR}
 +       if [ -f ${OOPS_SYSCONFDIR}/oops.cfg ]; then\
 +               $(INSTALL_DATA) oops.cfg ${OOPS_SYSCONFDIR}/oops.cfg.sample ;\
 
 
 
 Sincerely,
 D.Marck                                        [DM5020, MCK-RIPE, DM3-RIPN]
 ---------------------------------------------------------------------------
 *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at FreeBSD.org ***
 ---------------------------------------------------------------------------



More information about the freebsd-ports-bugs mailing list