pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/libradius Use BSD_INSTALL_* to set permission and ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/48d7ffc6f007
branches:  trunk
changeset: 499069:48d7ffc6f007
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Thu Sep 08 18:01:29 2005 +0000

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

diffstat:

 net/libradius/distinfo         |   4 ++--
 net/libradius/patches/patch-aa |  28 ++++++++++++++--------------
 2 files changed, 16 insertions(+), 16 deletions(-)

diffs (66 lines):

diff -r 28010da2fc92 -r 48d7ffc6f007 net/libradius/distinfo
--- a/net/libradius/distinfo    Thu Sep 08 18:00:35 2005 +0000
+++ b/net/libradius/distinfo    Thu Sep 08 18:01:29 2005 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2005/02/24 12:13:52 agc Exp $
+$NetBSD: distinfo,v 1.6 2005/09/08 18:01:29 minskim Exp $
 
 SHA1 (libradius-linux-20040827.tar.gz) = 27abd1390d16befe290ded70579bfdda8fabe68f
 RMD160 (libradius-linux-20040827.tar.gz) = 040fb6e3919402c21ffc4dcdb6c7ae2137030489
 Size (libradius-linux-20040827.tar.gz) = 15791 bytes
-SHA1 (patch-aa) = 4d8f06404570a758805afe19cadea9d421808f9f
+SHA1 (patch-aa) = 92c13e57919a75c0d463ca749222957d7a4c8ba9
diff -r 28010da2fc92 -r 48d7ffc6f007 net/libradius/patches/patch-aa
--- a/net/libradius/patches/patch-aa    Thu Sep 08 18:00:35 2005 +0000
+++ b/net/libradius/patches/patch-aa    Thu Sep 08 18:01:29 2005 +0000
@@ -1,9 +1,8 @@
-$NetBSD: patch-aa,v 1.5 2004/12/13 11:51:00 wiz Exp $
+$NetBSD: patch-aa,v 1.6 2005/09/08 18:01:29 minskim Exp $
 
---- Makefile.orig      2004-08-27 09:20:33.000000000 +0200
-+++ Makefile   2004-12-13 09:11:36.000000000 +0100
-@@ -23,17 +23,13 @@
- # SUCH DAMAGE.
+--- Makefile.orig      2004-08-27 00:20:33.000000000 -0700
++++ Makefile
+@@ -24,15 +24,11 @@
  #
  #     $FreeBSD: src/lib/libradius/Makefile,v 1.1.1.1 1998/11/13 00:53:01 jdp Exp $
  
@@ -22,9 +21,7 @@
  
  # netbsd - it's in libc
  #LIBMD= -L/usr/lib -lc
- 
-@@ -47,13 +43,13 @@
- lib$(LIB).a:    $(OBJS)
+@@ -48,11 +44,11 @@ lib$(LIB).a:    $(OBJS)
        ar cru $@ $(OBJS)
        ranlib $@
  
@@ -41,16 +38,19 @@
  
  clean:
        $(RM) *.o
- 
-@@ -61,9 +57,9 @@
+@@ -61,9 +57,9 @@ clobber:     clean
        $(RM) lib$(LIB).a
  
  install:      all
-       install -c -m 644 -o bin -g bin lib$(LIB).a $(PREFIX)/lib
+-      install -c -m 644 -o bin -g bin lib$(LIB).a $(PREFIX)/lib
 -      install -c -m 644 -o bin -g bin lib$(LIB).so.1.0 $(PREFIX)/lib
 -      $(LN) -sf $(PREFIX)/lib/lib$(LIB).so.1.0 $(PREFIX)/lib/lib$(LIB).so
+-      install -c -m 444 -o bin -g bin radlib.h $(PREFIX)/include
+-      install -c -m 444 -o bin -g bin libradius.3 $(PREFIX)/man/man3
+-      install -c -m 444 -o bin -g bin radius.conf.5 $(PREFIX)/man/man5
++      ${BSD_INSTALL_LIB} lib$(LIB).a $(PREFIX)/lib
 +#     install -c -m 644 -o bin -g bin lib$(LIB).so.1.0 $(PREFIX)/lib
 +#     $(LN) -sf $(PREFIX)/lib/lib$(LIB).so.1.0 $(PREFIX)/lib/lib$(LIB).so
-       install -c -m 444 -o bin -g bin radlib.h $(PREFIX)/include
-       install -c -m 444 -o bin -g bin libradius.3 $(PREFIX)/man/man3
-       install -c -m 444 -o bin -g bin radius.conf.5 $(PREFIX)/man/man5
++      ${BSD_INSTALL_DATA} radlib.h $(PREFIX)/include
++      ${BSD_INSTALL_MAN} libradius.3 $(PREFIX)/man/man3
++      ${BSD_INSTALL_MAN} radius.conf.5 $(PREFIX)/man/man5



Home | Main Index | Thread Index | Old Index