summaryrefslogtreecommitdiff
path: root/mk/scripts
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
2022-02-18mk/scripts/remove_todo: support python 3.10wiz1-1/+1
2021-04-05mkreadme: Rename generated files to index.htmlnia2-56/+41
This should make web servers happier, as discusesd on tech-pkg.
2021-03-08genreadme: Reorganize information for clarity.nia1-4/+4
Move the navigation to the top and reword it slightly. This makes it more immediately visible. I'm not sure if this justifies a "Skip to content" button yet. Give the binary package table headers.
2021-02-24genreadme: Reduce size of generated README.allnia1-5/+3
2021-02-22genreadme: Improve generated HTML markupnia1-41/+17
Don't use tables for everything, it's not 1999 any more. Remove another hack for Solaris 9.
2021-02-22genreadme: Add DESCR to output. Make history useful for not-CVS-fans.nia1-1/+11
2021-02-22genreadme: Re-order package summary and attempt to present it better.nia1-7/+14
- Add a maintainer field. - Use lists and sections to separate information. - Make license information a hyperlink. - Move available build options and vulnerabilities listings to the bottom, as they tend to use up a lot of space and create reader fatigue. - Correct stylesheet paths.
2021-02-22genreadme: Include TOOL_DEPENDS in build-time dependencies listnia1-22/+20
2021-02-22genreadme: Fix printing of package options where there's more than onenia2-6/+8
2021-02-21genreadme: Simplify dependency list generation.nia1-157/+34
- Only bother with top-level dependencies and don't attempt to recurse the tree, this creates very messy output for modern packages. - Normalize output for both build-time and runtime dependencies. - Remove slow workarounds for Solaris 9 awk limitations.
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.
2021-02-18genreadme: Skip printing fixed vulnerabilities to the html outputnia1-5/+4
2020-06-06mk/subst.mk: fix wrong SUBST failure in mail/policyd-weightrillig1-8/+15
The general rule is that a SUBST_SED that contains _any_ identity substitution may leave files unmodified, no matter if there are other substitutions as well.
2020-05-30Typokhorben1-2/+2
2020-05-16mk/subst.mk: properly detect s,a,a,1 as identity substitutionrillig1-2/+2
Seen in games/bastet. The 1 is not necessary though since it only repeats the default behavior of sed.
2020-05-11mk/subst.mk: fix edge case in detection of identity substitutionsrillig1-3/+7
In a basic regular expression, a dollar-sign only means end-of-string if it appears at the end of the pattern, or (at the choice of the implementation) at the end of a \(...\) subexpression. This affects the package converters/help2man that uses a regular expression containing a dollar in a non-final position. This regular expression had not been detected as an identity substitution even though it is one.
2020-05-10mk/scripts: fix a few of the HTML injections in README generationrillig2-4/+16
These are needed for the djb-errno-hack option, which includes the <> characters.
2020-05-06mk/subst.mk: allow identity substitutions with escaped dotsrillig1-9/+27
This fixes the build of converters/help2man in SUBST_NOOP_OK=no mode.
2020-04-29mk/subst.mk: allow identity substitutions in SUBST_NOOP_OK=no moderillig1-0/+38
There are several cases where patterns like s|man|${PKGMANDIR}| appear in SUBST_SED. Up to now, these had been categorized as no-ops and required extra code to make the package build when SUBST_NOOP_OK was set to "no". This was against the original intention of SUBST_NOOP_OK, which was to find outdated substitution patterns that do not occur in SUBST_FILES anymore, most often because the packages have been updated since. The identity substitutions do appear in the files, they just don't change them. Typical cases are for PKGMANDIR, DEVOSSAUDIO, PREFIX, and these variables may well be different in another pkgsrc setup. These patterns are therefore excluded from the SUBST_NOOP_OK check.
2019-09-08gcc{48,49,5,6,7,8}: In the case of a "system GCC", detect if the systemmaya1-0/+81
libgcc is newer than the one about to be installed. If so, don't install the libgcc. Having an older libgcc appear in the lookup may result in binaries not running, as they need symbols from the newer libgcc. Such a case is PR pkg/54506. Leaves SunOS unchanged, by request from jperkin.
2018-08-22Remove clauses 3,4 from TNF-only copyright blocks.maya11-88/+11
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@
2017-06-01Remove unused scripts/shlib-type script.jlam1-46/+0
The platform/${OPSYS}.mk files now use platform-specific code to set ${_OPSYS_SHLIB_TYPE} which is the default value for ${SHLIB_TYPE}. All previous uses of this script to detect the native shared library type or native executable format have been removed from pkgsrc.
2016-08-19Less noise.wiz1-15/+3
2016-07-07Be less verbose.wiz1-2/+4
2016-07-07Be less verbose.wiz1-6/+10
2015-10-03Add a list of options to generated README.html files. Patch frombsiegert4-10/+82
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
2013-05-09Split BUILD_DEPENDS into TOOL_DEPENDS and BUILD_DEPENDS in mk/.riastradh2-2/+5
Build depends are target packages that are needed at build-time for, e.g., static libraries to link against, header files to include, &c. Tool depends are native packages that are needed at build-time for, e.g., compilers/linkers/&c. to run. ok agc
2013-04-12Allow running on systems where pkg_admin is not in PATHjoerg1-1/+2
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,spz3-20/+42
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
2010-03-13fix file permission != directory permission problem for the pkg_summary.bz2spz1-1/+2
2010-03-12update pkg_summary.bz2 files if existing (and the pkg_summary.gz gets updated)spz1-1/+13
2010-02-27delete the summary and cache files in case the dir is writeable, but thespz1-2/+8
file isn't (as suggested by bouyer@) fix typo in output message
2009-09-10Teach remove_todo how to remove entries for Python packages.wiz1-1/+1
2009-08-21When making an entry to the CHANGES-* file using 'make changes-entry',wiz1-0/+42
the target now automatically also removes any TODO entries for the package that was updated. Script improved based on version by dholland; further suggestions by gdt and joerg.
2009-01-05this script was not visiting packages in the proper order when subpackagesdbj1-31/+40
had common dependencies. This change hopefully fixes that.
2008-09-07Apply patch from Aleksej Saushev to fix index generation.wiz1-7/+7
2008-08-03fix "make readme" error due to awk changes in -current.tnn1-9/+9
From Aleksej Saushev.
2008-04-18Change the code generation README.html to use the newjoerg2-84/+34
"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.joerg2-42/+5
2008-01-03* Rename AP var to AUDIT_PACKAGES as the former was a bit obscureadrianp2-6/+7
* 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-31Changed ${TEST} to [...], since only the very basic conditions arerillig1-9/+8
checked, which is handled the same by every implementation of test(1). Removed the comment saying that absolute directories can be handled. It doesn't work.
2007-10-20Rename PKGTOOLS_VER to PKGTOOLS_VERSION and use that everywhereadrianp2-4/+5
Export PKGTOOLS_VERSION so that genreadme.awk can use it This will sync the output between './mkreadme' and 'make readme'
2007-10-13The "debug" variable was often used like "if [ $debug = yes ]; then ...;rillig1-34/+19
fi". There is an easier way to solve the same problem with much less code.
2007-10-13The --database option doesn't exist.rillig1-3/+1
2007-10-09Remove trailing spaces.martti1-2/+2