summaryrefslogtreecommitdiff
path: root/security/rats
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-02-20 08:25:51 +0000
committerobache <obache@pkgsrc.org>2010-02-20 08:25:51 +0000
commitca1b7fc2e40f062a7c43d33e2c618aabe1a82289 (patch)
treeaaeb14b8b18d89aa6bfdf7fff20014132b4a39ab /security/rats
parentdd5341d333d98e98c408d42fe5c366661254f23e (diff)
downloadpkgsrc-ca1b7fc2e40f062a7c43d33e2c618aabe1a82289.tar.gz
* add user-destdir support
* set LICENSE=gnu-gpl-v2
Diffstat (limited to 'security/rats')
-rw-r--r--security/rats/Makefile4
-rw-r--r--security/rats/distinfo5
-rw-r--r--security/rats/patches/patch-aa6
-rw-r--r--security/rats/patches/patch-ab29
4 files changed, 38 insertions, 6 deletions
diff --git a/security/rats/Makefile b/security/rats/Makefile
index cbaa9bbc918..3c940f46e7e 100644
--- a/security/rats/Makefile
+++ b/security/rats/Makefile
@@ -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 @@ MASTER_SITES= http://www.fortifysoftware.com/servlet/downloads/public/
MAINTAINER= tech-pkg-ja@jp.NetBSD.org
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 --git a/security/rats/distinfo b/security/rats/distinfo
index 318e6cc9bd1..717c95a9350 100644
--- a/security/rats/distinfo
+++ b/security/rats/distinfo
@@ -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 --git a/security/rats/patches/patch-aa b/security/rats/patches/patch-aa
index c08c85b9cdd..6f15cda58aa 100644
--- a/security/rats/patches/patch-aa
+++ b/security/rats/patches/patch-aa
@@ -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 --git a/security/rats/patches/patch-ab b/security/rats/patches/patch-ab
new file mode 100644
index 00000000000..3aeaa1214e7
--- /dev/null
+++ b/security/rats/patches/patch-ab
@@ -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