summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/rats/Makefile4
-rw-r--r--security/rats/distinfo3
-rw-r--r--security/rats/patches/patch-aa21
3 files changed, 25 insertions, 3 deletions
diff --git a/security/rats/Makefile b/security/rats/Makefile
index 0392425b13b..4e4efaae2dc 100644
--- a/security/rats/Makefile
+++ b/security/rats/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.21 2006/10/04 21:58:14 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2007/01/18 22:55:19 rillig Exp $
#
DISTNAME= rats-2.1
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= security
MASTER_SITES= http://www.securesoftware.com/rats/
diff --git a/security/rats/distinfo b/security/rats/distinfo
index f20aabc323c..318e6cc9bd1 100644
--- a/security/rats/distinfo
+++ b/security/rats/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.6 2005/02/24 13:10:12 agc Exp $
+$NetBSD: distinfo,v 1.7 2007/01/18 22:55:19 rillig 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
diff --git a/security/rats/patches/patch-aa b/security/rats/patches/patch-aa
new file mode 100644
index 00000000000..c08c85b9cdd
--- /dev/null
+++ b/security/rats/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.3 2007/01/18 22:55:19 rillig Exp $
+
+--- engine.c.orig 2002-09-23 19:51:11.000000000 +0200
++++ engine.c 2007-01-18 23:51:57.000000000 +0100
+@@ -1004,7 +1004,7 @@ void process_directory(char *filename, i
+ }
+ #else
+ if((dir=opendir(filename))==NULL) {
+- fprintf(stderr,"There was a problem opening the directory.\n");
++ perror(filename);
+ return;
+ }
+ while((dirdata=readdir(dir))!=NULL) {
+@@ -1019,6 +1019,7 @@ void process_directory(char *filename, i
+ dirdata->d_name);
+ process_file(buf,forcelang);
+ }
++ closedir(dir);
+ #endif
+ }
+