Commit graph

22 commits

Author SHA1 Message Date
wiz
112778c66a Fix _two_ bugs in obviously untested previous commit. 2008-06-24 13:03:29 +00:00
abs
07a2e76cf1 include owner in readme 2008-06-23 01:38:54 +00:00
joerg
45efa7e875 Change the code generation README.html to use the new
"pkg_admin audit-history" command to print the full list of
vulnerabilities and use further pkg_admin pmatch logic to mark them as
fixed or still open. For pkg_install versions before 20080415, skip the
vulnerability processing.

Discussed with: dmcmahill
2008-04-18 14:26:36 +00:00
joerg
1375bd1199 Remove remaining compat code for old pkg_install versions. 2008-03-15 16:27:42 +00:00
joerg
f1c6df3ba5 Require newer pkg_install for make README.html as well. 2008-03-15 16:17:43 +00:00
rillig
66736dde43 Replaced _PKG_SILENT and _PKG_DEBUG with RUN. 2008-02-07 21:36:13 +00:00
adrianp
8c8f2165fb * Rename AP var to AUDIT_PACKAGES as the former was a bit obscure
* Add DOWNLOAD_VULN_LIST var
* Get AUDIT_PACKAGES and DOWNLOAD_VULN_LIST to point to the right binaries
  taking into consideration OPSYS and pkg_install version
* Replace all references to audit-packages and download-vulnerability-list
  with AUDIT_PACKAGES and DOWNLOAD_VULN_LIST
2008-01-03 20:51:21 +00:00
adrianp
64dfe76316 Rename PKGTOOLS_VER to PKGTOOLS_VERSION and use that everywhere
Export PKGTOOLS_VERSION so that genreadme.awk can use it
This will sync the output between './mkreadme' and 'make readme'
2007-10-20 13:35:12 +00:00
martti
bd986edbc7 Remove trailing spaces. 2007-10-09 19:19:08 +00:00
adrianp
583342970a The code for the pkg_install<20070714 vulnerability checks used in the
README.html generation are broken.  It will not find vulnerabilities in any
packages that have complex names in the pkg-vulnerabilties file.
e.g. php{4,5}-perl and sun-{jdk,jre}15
Post pkg_install-20070714 this is now fixed and only currently known
vulnerabilities are shown in the generated README.html files for packages.

You will need to update to pkg_install>=20070714 to get this fix.
2007-08-29 23:26:30 +00:00
rillig
3434bf2469 PKGNAME and PKGPATH will never contain characters that need to be
escaped for HTML output.
2007-08-13 09:45:49 +00:00
adrianp
462a5ff1d9 Encode the generated HTML properly, taken from genreadme.awk 2007-08-06 19:28:17 +00:00
adrianp
bf4e848d46 Fix show-vulnerabilities-html target for pkg_install>=20070714.
audit-packages prints vulnerabilities to stdout so compensate for this.
2007-08-06 02:36:24 +00:00
adrianp
4dbb76ab3c mkdatabase needs BMAKE=${MAKE:Q} set before calling otherwise it will
default to using 'make' which will break systems (e.g. OS/X) that use
'bmake'.
Report from Mark E. Perkins on pkgsrc-users@
2007-08-05 19:13:02 +00:00
adrianp
7bddba39aa Use ${PKGTOOLS_VERSION} when detecting which version of pkg_install is
installed.  Idea from one of joerg@'s patches.
Fix 'make readme' and make README.html' targets for individual packages.
Issue reported by Gary Thorpe and David Lord in pkgsrc-users@
2007-08-04 11:23:56 +00:00
adrianp
9b5c38d79d Add support for the upcoming pkg_install-20070714 which now includes
audit-packages.
2007-07-14 17:17:45 +00:00
rillig
767e55b646 Added a missing line continuation in the README.html target. 2006-10-17 06:28:33 +00:00
rillig
25e3638a11 Replaced ${RECURSIVE_MAKE} with ${SH}, so that the README.html files can
be generated again.
2006-10-02 09:37:09 +00:00
jlam
b5e83f7d36 Remove all uses of the following targets from pkgsrc:
show-all-depends-dirs
	show-all-depends-dirs-excl

Replace them with calls to pkgsrc/mk/scripts/depends-depth-first.awk
which does the same thing but without the extra overhead of invoking
a recursive make.
2006-07-27 22:01:28 +00:00
jlam
c489860d62 Whenever we invoke a recursive make, we need to ensure that the proper
environment ${PKGSRC_MAKE_ENV} is also passed along.  Create a
convenience variable RECURSIVE_MAKE that does exactly this and that
can be used in place of MAKE when invoking make recursively.

Use RECURSIVE_MAKE everywhere in pkgsrc/mk that we invoke make
recursively.
2006-07-27 21:46:45 +00:00
rillig
5c048c44f3 Fixed dead links in the automatically generated README.html files. From
OKANO Takayoshi in PR 34006.
2006-07-15 20:08:33 +00:00
jlam
1d395074e5 Refactor the README.html generation code from bsd.pkg.mk into a separate
bsd.pkg.readme.mk and document the public targets and variables for this
new file.
2006-07-06 21:07:33 +00:00