diff --git a/devel/rats/Makefile b/devel/rats/Makefile index d4c085a690c..58c8cfc61f5 100644 --- a/devel/rats/Makefile +++ b/devel/rats/Makefile @@ -1,10 +1,10 @@ -# $OpenBSD: Makefile,v 1.5 2001/08/04 07:42:04 jsyn Exp $ +# $OpenBSD: Makefile,v 1.6 2001/11/12 22:52:05 jsyn Exp $ COMMENT= "source code auditing tool" -DISTNAME= rats-1.1 +DISTNAME= rats-1.3 CATEGORIES= devel security -NEED_VERSION= 1.428 +NEED_VERSION= 1.496 HOMEPAGE= http://www.securesw.com/rats/ @@ -22,8 +22,12 @@ LIB_DEPENDS= expat::textproc/expat CONFIGURE_STYLE= gnu dest CONFIGURE_ARGS+= --with-expat-lib=${LOCALBASE}/lib \ --with-expat-include=${LOCALBASE}/include +MAKE_FLAGS= CFLAGS='${CFLAGS} -I${LOCALBASE}/include \ + -DHAVE_LIBEXPAT=1 -DHAVE_EXPAT_H=1 \ + -DLIBDIR=\"${LOCALBASE}/lib\"' ALL_TARGET= rats +NO_REGRESS= Yes post-install: ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rats diff --git a/devel/rats/pkg/DESCR b/devel/rats/pkg/DESCR index dd890eb29e9..ec78f0d5b47 100644 --- a/devel/rats/pkg/DESCR +++ b/devel/rats/pkg/DESCR @@ -1,6 +1,6 @@ This is RATS, a rough auditing tool for security, developed by Secure Software Solutions. It is a tool for scanning source code -(C, C++, Perl, and Python) and flagging common security related +(C, C++, Perl, PHP, and Python) and flagging common security related programming errors such as buffer overflows and TOCTOU (Time Of Check, Time Of Use) race conditions. As its name implies, the tool performs only a rough analysis of source code. It will not find diff --git a/devel/rats/pkg/PLIST b/devel/rats/pkg/PLIST index f6990f7b5c4..e047cfa527d 100644 --- a/devel/rats/pkg/PLIST +++ b/devel/rats/pkg/PLIST @@ -1,7 +1,9 @@ -@comment $OpenBSD: PLIST,v 1.2 2001/08/04 07:42:04 jsyn Exp $ +@comment $OpenBSD: PLIST,v 1.3 2001/11/12 22:52:05 jsyn Exp $ bin/rats lib/rats-c.xml lib/rats-perl.xml +lib/rats-php.xml lib/rats-python.xml +man/man1/rats.1 share/doc/rats/README @dirrm share/doc/rats