summaryrefslogtreecommitdiff
path: root/mk/scripts/mkreadme
AgeCommit message (Collapse)AuthorFilesLines
2022-07-17mk/scripts/mkreadme: fix typo?taca1-2/+2
s/indexx.html/index.html/.
2022-04-27mkreadme: fix commentrillig1-2/+2
2021-04-05mkreadme: Rename generated files to index.htmlnia1-20/+20
This should make web servers happier, as discusesd on tech-pkg.
2021-02-19mkreadme: Do not generate an index of packages with IPv6 supportnia1-44/+1
It is Current Year and most things have IPv6 support, whether there's an "ipv6" PKG_OPTION is no longer a good indicator.
2018-08-22Remove clauses 3,4 from TNF-only copyright blocks.maya1-8/+1
This is based on the decision The NetBSD Foundation made in 2008 to do so, which was already applied to src. This change has been applied to code which is likely not in other repositories. ok board@, reviewed by riastradh@
2016-08-19Less noise.wiz1-15/+3
2016-07-07Be less verbose.wiz1-6/+10
2015-10-03Add a list of options to generated README.html files. Patch frombsiegert1-1/+3
Daniel Loffgren on tech-pkg, slightly modified by me to use dl tags.
2015-06-13Fixspz1-6/+9
/pub/pkgsrc/current/pkgsrc/mk/scripts/mkreadme: ls: argument list too long
2011-04-22fix up paths on ftp.NetBSD.org:spz1-2/+2
- reading through the null mounts is deprecated - writing through the null mounts is not allowed (not possible)
2010-07-21give the readme creation scripts the option to be a lot less talkative,spz1-8/+23
by optionally disabling progress report type output. This will make the daily pkgmastr mail a lot smaller without dropping useful information.
2010-07-15we nowadays have too many packages to have the grep for IPv6 in Makefilesspz1-2/+14
and options.mk to succeed, so grep by category instead
2008-04-18Change the code generation README.html to use the newjoerg1-21/+15
"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-03-15Remove remaining compat code for old pkg_install versions.joerg1-7/+3
2008-01-03* Rename AP var to AUDIT_PACKAGES as the former was a bit obscureadrianp1-4/+5
* 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
2007-10-20Rename PKGTOOLS_VER to PKGTOOLS_VERSION and use that everywhereadrianp1-1/+2
Export PKGTOOLS_VERSION so that genreadme.awk can use it This will sync the output between './mkreadme' and 'make readme'
2007-10-09Remove trailing spaces.martti1-2/+2
2007-09-07Convert packages that test and use USE_INET6 to use the options frameworkjlam1-2/+2
and to support the "inet6" option instead. Remaining usage of USE_INET6 was solely for the benefit of the scripts that generate the README.html files. Replace: BUILD_DEFS+= USE_INET6 with BUILD_DEFS+= IPV6_READY and teach the README-generation tools to look for that instead. This nukes USE_INET6 from pkgsrc proper. We leave a tiny bit of code to continue to support USE_INET6 for pkgsrc-wip until it has been nuked from there as well.
2007-08-02Be more intelligent when setting PVDIR. If pkg_install<20070714 then useadrianp1-6/+14
PKGVULNDIR; else extract the current setting using audit-packages -Q and use that. In addition to this mkreadme can still be called with -V to specify a pkg-vulnerabilities file that will override any automatic detection.
2007-05-28Remove trailing spaces.martti1-2/+2
2007-02-18* Add an extra -V option to mkreadme to support a non-standard PKGVULNDIRadrianp1-2/+21
* Add the necessary changes to allow genreadme.awk to process the v1.1.0 format pkg-vulnerabilities file. * Changes are fully backward compatable i.e. mkreadme should be able to parse v1.0.0 and v1.1.0 format files.
2007-01-08Don't mention -m in the example when the script does not support it.adrianp1-2/+2
2006-12-15Remove trailing tabs.martti1-2/+2
2006-12-15Remove trailing spaces.martti1-4/+4
2006-07-28Allow the binpkg-cache script to also generate pkg_summary.gz filesdmcmahill1-2/+16
if requested. Suggested by Joerg Sonnenberger.
2006-05-29when generating the list of pkgsrc packages, usedmcmahill1-29/+40
${BMAKE} show-subdir-var VARNAME=SUBDIR instead of just grepping through the makefiles. This seems to be a litle more robust. Suggested by Joerg Sonnenberger.
2006-05-28strip trailing comments when searching for SUBDIR+= lines in the Makefilesdmcmahill1-2/+2
2005-06-01Recognize inet6 in PKG_SUPPORTED_OPTIONS as an indicatorwiz1-2/+2
that a package support IPv6 (for the README-IPv6.html generation).
2005-05-22pass down FIND to genreadme.awk and binpkg-cachedmcmahill1-3/+4
2005-05-18make use of the new tools framework via the prereq-readme package todmcmahill1-7/+21
extract tools needed for the README.html generation. Suggested by Johnny Lam and Rolland Illig.
2005-05-17Rework the README.html generation code. Major changes are:dmcmahill1-76/+45
- completely redo the code which decides on the machine architecture, operating system, and operating system version for the binary packages. The old way just used to directory names to take a guess. The new way creates a cache file containing meta-data for all the binary packages in each "All" directory. This cache file is consulted when generating the lists of available binary packages. The meta-data is obtained with pkg_info so it should always be correct even if you do something silly like mix OS_VERSION or MACHINE_ARCH packages up in the same directory. Among the benefits are: works when PACKAGES is not $PKGSRC/packages, works with a more or less arbitrary subdirectory structure, works when there are subdirectories for multiple operating systems. This portion of the fix should address PR25390. The cache files are only updated when the contents of an "All" directory changes or if the cache file format changes. There is some room for improving the updating of the cache files, but its not too bad the way it is. - fix up some of the awk code so that generadme.awk works with Solaris nawk as well as NetBSD's nawk and gawk (for pre-2.0 systems). - remove some "if ! foo" shell constructs to increase portability. - be more consistent with what variables get passed to mkreadme from make and which ones are determined automatically. Mostly this meant moving stuff into mkreadme to make it easier to run it standalone.
2003-09-23Use ${BMAKE} instead of make to make this work on non NetBSD platforms.yyamano1-2/+2
2003-05-06Drop trailing whitespace. Ok'ed by wiz.jmmv1-8/+8
2003-01-04expr -> ${EXPR}dmcmahill1-3/+4
2003-01-04move bulk/{mkreadme,genreadme.awk} to scripts/ as this is a more suitabledmcmahill1-0/+487
location. They are not really part of the bulk build stuff.