pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/http_load Use BSD_INSTALL_* to set permission and ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/05336b483f5f
branches:  trunk
changeset: 514316:05336b483f5f
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sat Jun 10 19:47:47 2006 +0000

description:
Use BSD_INSTALL_* to set permission and ownership correctly.

diffstat:

 www/http_load/distinfo         |   4 ++--
 www/http_load/patches/patch-aa |  13 +++++++------
 2 files changed, 9 insertions(+), 8 deletions(-)

diffs (48 lines):

diff -r 9ad0dbab2a8b -r 05336b483f5f www/http_load/distinfo
--- a/www/http_load/distinfo    Sat Jun 10 19:44:22 2006 +0000
+++ b/www/http_load/distinfo    Sat Jun 10 19:47:47 2006 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2005/02/24 14:08:32 wiz Exp $
+$NetBSD: distinfo,v 1.6 2006/06/10 19:47:47 minskim Exp $
 
 SHA1 (http_load-04jan2002.tar.gz) = 7b21fd2cfeb4bf6705ef6bd3f194a6a2f01ff976
 RMD160 (http_load-04jan2002.tar.gz) = dc0986091b1f1819100c24503a58a57978deba38
 Size (http_load-04jan2002.tar.gz) = 16710 bytes
-SHA1 (patch-aa) = a5303abf65e48825607d47d6d519c24b28a42718
+SHA1 (patch-aa) = ed2d15083bbb5ef09cfef2c2b872dd7e06c915a3
 SHA1 (patch-ab) = b10f08ce3f09d8518415f4735aad2ca8bd53de3b
diff -r 9ad0dbab2a8b -r 05336b483f5f www/http_load/patches/patch-aa
--- a/www/http_load/patches/patch-aa    Sat Jun 10 19:44:22 2006 +0000
+++ b/www/http_load/patches/patch-aa    Sat Jun 10 19:47:47 2006 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.3 2002/10/25 09:33:37 wiz Exp $
+$NetBSD: patch-aa,v 1.4 2006/06/10 19:47:47 minskim Exp $
 
---- Makefile.orig      Fri Jan  4 06:54:43 2002
+--- Makefile.orig      2002-01-03 21:54:43.000000000 -0800
 +++ Makefile
 @@ -9,14 +9,14 @@
  # http://www.openssl.org/  Make sure the SSL_TREE definition points to the
@@ -23,7 +23,7 @@
  CC =          gcc -Wall
  CFLAGS =      -O $(SRANDOM_DEFS) $(SSL_DEFS) $(SSL_INC)
  #CFLAGS =     -g $(SRANDOM_DEFS) $(SSL_DEFS) $(SSL_INC)
-@@ -35,10 +35,9 @@ timers.o:   timers.c timers.h
+@@ -35,10 +35,10 @@ timers.o:  timers.c timers.h
        $(CC) $(CFLAGS) -c timers.c
  
  install:      all
@@ -31,9 +31,10 @@
 -      cp http_load $(BINDIR)
 -      rm -f $(MANDIR)/http_load.1
 -      cp http_load.1 $(MANDIR)
-+      $(INSTALL) -d $(BINDIR) $(MANDIR)
-+      $(INSTALL) -c -o root -m 555 http_load $(BINDIR)/http_load
-+      $(INSTALL) -c -o root -m 444 http_load.1 $(MANDIR)/http_load.1
++      $(BSD_INSTALL_PROGRAM_DIR) $(BINDIR)
++      $(BSD_INSTALL_MAN_DIR) $(MANDIR)
++      $(BSD_INSTALL_PROGRAM) http_load $(BINDIR)/http_load
++      $(BSD_INSTALL_MAN) http_load.1 $(MANDIR)/http_load.1
  
  clean:
        rm -f http_load *.o core core.* *.core



Home | Main Index | Thread Index | Old Index