diff options
author | Jacques Vidrine <nectar@FreeBSD.org> | 2004-02-12 14:24:01 +0000 |
---|---|---|
committer | Jacques Vidrine <nectar@FreeBSD.org> | 2004-02-12 14:24:01 +0000 |
commit | 3bc45b7c076e4fe86d70e61d74d6fc070d2fd8df (patch) | |
tree | ed0f287db5bcff2a1652a584fc177c3b4b7d89ae /security/vxquery | |
parent | b73c2468c353bc8fc01082f2e8eacdcfb7b14197 (diff) |
Notes
Diffstat (limited to 'security/vxquery')
-rw-r--r-- | security/vxquery/Makefile | 30 | ||||
-rw-r--r-- | security/vxquery/distinfo | 2 | ||||
-rw-r--r-- | security/vxquery/files/pkg_check.sh | 10 | ||||
-rw-r--r-- | security/vxquery/pkg-descr | 5 | ||||
-rw-r--r-- | security/vxquery/pkg-plist | 1 |
5 files changed, 48 insertions, 0 deletions
diff --git a/security/vxquery/Makefile b/security/vxquery/Makefile new file mode 100644 index 000000000000..b1c79af280ad --- /dev/null +++ b/security/vxquery/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: vxquery +# Date created: 2004/02/11 +# Whom: nectar@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= vxquery +PORTVERSION= 0.1 +CATEGORIES= security textproc +MASTER_SITES= http://www.vuxml.org/files/ + +MAINTAINER= nectar@FreeBSD.org +COMMENT= VuXML Query Tool + +USE_BZIP2= YES +USE_SIZE= YES +GNU_CONFIGURE= YES + +# FreeBSD 5.x systems have expat in the base system. +.include <bsd.port.pre.mk> +.if ${OSVERSION} < 501111 +CONFIGURE_ENV+= LIBS="-L${LOCALBASE}/lib" CPPFLAGS="-I${LOCALBASE}/include" +LIB_DEPENDS= expat.4:${PORTSDIR}/textproc/expat2 +.endif + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/object/vxquery ${PREFIX}/bin/vxquery + +.include <bsd.port.post.mk> diff --git a/security/vxquery/distinfo b/security/vxquery/distinfo new file mode 100644 index 000000000000..6355b93f6fd8 --- /dev/null +++ b/security/vxquery/distinfo @@ -0,0 +1,2 @@ +MD5 (vxquery-0.1.tar.bz2) = 44929e63237d3de5f7a59687ec968ff5 +SIZE (vxquery-0.1.tar.bz2) = 124165 diff --git a/security/vxquery/files/pkg_check.sh b/security/vxquery/files/pkg_check.sh new file mode 100644 index 000000000000..bd79868393dd --- /dev/null +++ b/security/vxquery/files/pkg_check.sh @@ -0,0 +1,10 @@ +#! /bin/sh +LS="/bin/ls" +VXQUERY="vxquery" +PORTSDIR="${PORTSDIR:-/usr/ports}" +PKGDIR="${PKGDIR:-/var/db/pkg}" +FORMAT="${FORMAT:-text}" +VULN_XML="${VULN_XML:-${PORTSDIR}/security/vuxml/vuln.xml}" + +set -e +(cd "$PKGDIR" && "${LS}") | "${VXQUERY}" -f - -t "${FORMAT}" "${VULN_XML}" diff --git a/security/vxquery/pkg-descr b/security/vxquery/pkg-descr new file mode 100644 index 000000000000..d2f7fcdefde4 --- /dev/null +++ b/security/vxquery/pkg-descr @@ -0,0 +1,5 @@ +The VuXML Query Tool, vxquery, is a simple utility for selecting +entries from a VuXML document by package name and version. + +Suggested usage: +/bin/ls /var/db/pkg | vxquery -f - /usr/ports/textproc/vuxml/vuln.xml diff --git a/security/vxquery/pkg-plist b/security/vxquery/pkg-plist new file mode 100644 index 000000000000..e7f181bbe06c --- /dev/null +++ b/security/vxquery/pkg-plist @@ -0,0 +1 @@ +bin/vxquery |