pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/rats * add user-destdir support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b1fe494a6690
branches:  trunk
changeset: 572119:b1fe494a6690
user:      obache <obache%pkgsrc.org@localhost>
date:      Sat Feb 20 08:25:51 2010 +0000

description:
* add user-destdir support
* set LICENSE=gnu-gpl-v2

diffstat:

 security/rats/Makefile         |   4 +++-
 security/rats/distinfo         |   5 +++--
 security/rats/patches/patch-aa |   6 +++---
 security/rats/patches/patch-ab |  29 +++++++++++++++++++++++++++++
 4 files changed, 38 insertions(+), 6 deletions(-)

diffs (80 lines):

diff -r 00a10deec5a1 -r b1fe494a6690 security/rats/Makefile
--- a/security/rats/Makefile    Sat Feb 20 08:14:44 2010 +0000
+++ b/security/rats/Makefile    Sat Feb 20 08:25:51 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2008/01/05 05:23:23 obache Exp $
+# $NetBSD: Makefile,v 1.24 2010/02/20 08:25:51 obache Exp $
 #
 
 DISTNAME=              rats-2.1
@@ -9,8 +9,10 @@
 MAINTAINER=            tech-pkg-ja%jp.NetBSD.org@localhost
 HOMEPAGE=              http://www.fortifysoftware.com/security-resources/rats.jsp
 COMMENT=               Rough Auditing Tool for Security
+LICENSE=               gnu-gpl-v2
 
 PKG_INSTALLATION_TYPES=        overwrite pkgviews
+PKG_DESTDIR_SUPPORT=   user-destdir
 
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --datadir=${PREFIX}/share/rats
diff -r 00a10deec5a1 -r b1fe494a6690 security/rats/distinfo
--- a/security/rats/distinfo    Sat Feb 20 08:14:44 2010 +0000
+++ b/security/rats/distinfo    Sat Feb 20 08:25:51 2010 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.7 2007/01/18 22:55:19 rillig Exp $
+$NetBSD: distinfo,v 1.8 2010/02/20 08:25:51 obache Exp $
 
 SHA1 (rats-2.1.tar.gz) = b837b1765caa8ed36b70e6c88446c4d415554500
 RMD160 (rats-2.1.tar.gz) = 6385ff617bf629b03eff64f5563963c905341f22
 Size (rats-2.1.tar.gz) = 326930 bytes
-SHA1 (patch-aa) = dd5cf15ab3c8221681e4311c5327ec17c11401af
+SHA1 (patch-aa) = e03d134c5c24bfad0577532faa8e846acb20adbb
+SHA1 (patch-ab) = 7acde84cdd1a25c1bc4ce66cec12152a7cade341
diff -r 00a10deec5a1 -r b1fe494a6690 security/rats/patches/patch-aa
--- a/security/rats/patches/patch-aa    Sat Feb 20 08:14:44 2010 +0000
+++ b/security/rats/patches/patch-aa    Sat Feb 20 08:25:51 2010 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.3 2007/01/18 22:55:19 rillig Exp $
+$NetBSD: patch-aa,v 1.4 2010/02/20 08:25:52 obache Exp $
 
---- engine.c.orig      2002-09-23 19:51:11.000000000 +0200
-+++ engine.c   2007-01-18 23:51:57.000000000 +0100
+--- engine.c.orig      2002-09-23 17:51:11.000000000 +0000
++++ engine.c
 @@ -1004,7 +1004,7 @@ void process_directory(char *filename, i
    }
  #else
diff -r 00a10deec5a1 -r b1fe494a6690 security/rats/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/security/rats/patches/patch-ab    Sat Feb 20 08:25:51 2010 +0000
@@ -0,0 +1,29 @@
+$NetBSD: patch-ab,v 1.1 2010/02/20 08:25:52 obache Exp $
+
+user-destdir support.
+
+--- Makefile.in.orig   2002-08-21 20:48:56.000000000 +0000
++++ Makefile.in
+@@ -48,14 +48,14 @@ lex:       c-lex.l python-lex.l perl-lex.l
+       $(LEX) $(LEXFLAGS) -Pyyphp  php-lex.l       
+ 
+ install:      $(BIN)
+-      ./mkinstalldirs $(BINDIR) $(LIBDIR) $(MANDIR) $(MANDIR)/man1 $(SHAREDIR)
+-      $(INSTALL_PROGRAM) $(BIN) $(BINDIR)
+-      $(INSTALL_DATA) rats-python.xml $(SHAREDIR)
+-      $(INSTALL_DATA) rats-c.xml $(SHAREDIR)
+-      $(INSTALL_DATA) rats-perl.xml $(SHAREDIR)
+-      $(INSTALL_DATA) rats-php.xml $(SHAREDIR)
+-      $(INSTALL_DATA) rats-openssl.xml $(SHAREDIR)
+-      $(INSTALL_DATA) rats.1  $(MANDIR)/man1
++      ./mkinstalldirs $(DESTDIR)$(BINDIR) $(DESTDIR)$(LIBDIR) $(DESTDIR)$(MANDIR) $(DESTDIR)$(MANDIR)/man1 $(DESTDIR)$(SHAREDIR)
++      $(INSTALL_PROGRAM) $(BIN) $(DESTDIR)$(BINDIR)
++      $(INSTALL_DATA) rats-python.xml $(DESTDIR)$(SHAREDIR)
++      $(INSTALL_DATA) rats-c.xml $(DESTDIR)$(SHAREDIR)
++      $(INSTALL_DATA) rats-perl.xml $(DESTDIR)$(SHAREDIR)
++      $(INSTALL_DATA) rats-php.xml $(DESTDIR)$(SHAREDIR)
++      $(INSTALL_DATA) rats-openssl.xml $(DESTDIR)$(SHAREDIR)
++      $(INSTALL_DATA) rats.1  $(DESTDIR)$(MANDIR)/man1
+ 
+ clean:
+       rm -f $(OBJ) *~ $(BIN) core



Home | Main Index | Thread Index | Old Index