[Midnightbsd-cvs] mports [19497] trunk/security/vxquery: add pkg_check.sh script

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sun Jun 21 11:09:49 EDT 2015


Revision: 19497
          http://svnweb.midnightbsd.org/mports/?rev=19497
Author:   laffer1
Date:     2015-06-21 11:09:49 -0400 (Sun, 21 Jun 2015)
Log Message:
-----------
add pkg_check.sh script

Modified Paths:
--------------
    trunk/security/vxquery/Makefile
    trunk/security/vxquery/files/pkg_check.sh
    trunk/security/vxquery/pkg-plist

Modified: trunk/security/vxquery/Makefile
===================================================================
--- trunk/security/vxquery/Makefile	2015-06-21 15:07:04 UTC (rev 19496)
+++ trunk/security/vxquery/Makefile	2015-06-21 15:09:49 UTC (rev 19497)
@@ -17,5 +17,6 @@
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/object/vxquery ${PREFIX}/bin
+	${INSTALL_SCRIPT} ${FILESDIR}/pkg_check.sh ${PREFIX}/bin
 
 .include <bsd.port.mk>

Modified: trunk/security/vxquery/files/pkg_check.sh
===================================================================
--- trunk/security/vxquery/files/pkg_check.sh	2015-06-21 15:07:04 UTC (rev 19496)
+++ trunk/security/vxquery/files/pkg_check.sh	2015-06-21 15:09:49 UTC (rev 19497)
@@ -5,4 +5,4 @@
 VULN_XML="${VULN_XML:-${PORTSDIR}/security/vuxml/vuln.xml}"
 
 set -e
-echo /usr/libexec/mport.list | "${VXQUERY}" -f - -t "${FORMAT}" "${VULN_XML}"
+/usr/libexec/mport.list | "${VXQUERY}" -f - -t "${FORMAT}" "${VULN_XML}"

Modified: trunk/security/vxquery/pkg-plist
===================================================================
--- trunk/security/vxquery/pkg-plist	2015-06-21 15:07:04 UTC (rev 19496)
+++ trunk/security/vxquery/pkg-plist	2015-06-21 15:09:49 UTC (rev 19497)
@@ -1 +1,2 @@
+bin/pkg_check.sh
 bin/vxquery



More information about the Midnightbsd-cvs mailing list