summaryrefslogtreecommitdiff
path: root/mk/scripts
AgeCommit message (Collapse)AuthorFilesLines
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
2007-10-09Fixed CVS Id and trailing empty lines.rillig1-3/+1
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-29The code for the pkg_install<20070714 vulnerability checks used in theadrianp1-2/+29
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-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-08-02Don't bother using environment variables to pass info the shlib-typejlam1-11/+10
shell script. Just specify everything on the command line. Also, since shlib-type is a plain-old shell script with no bells and whistles, we can safely run it with "sh" and not "${SH}", which is necessary because "${SH}" isn't defined at this point.
2007-08-02Rewrite in a more portable way (basically cripple ourselves to Solarisjlam1-25/+21
/bin/sh).
2007-07-18Add back a facility to rebuild the run-time library search paths databasejlam1-0/+51
on platforms that need it. XXX Right now, if the platform needs it, then it runs for every package. XXX This needs to be fixed to only run for packages that install shared XXX libraries. * Move mk/plist/shlib-type to mk/scripts. * Move definition of SHLIB_TYPE from mk/plist/plist.mk to bsd.pkg.mk. * Move inclusion of bsd.pkginstall.mk below bsd.tools.mk so that it can use SHLIB_TYPE. This is necessary because SHLIB_TYPE's value is the result of evaluating a command, and the command needs "TOOL" definitions provided by bsd.tools.mk.
2007-05-28Remove trailing spaces.martti2-5/+5
2007-02-18* Add an extra -V option to mkreadme to support a non-standard PKGVULNDIRadrianp2-8/+33
* 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
2007-01-06Added the FAIL command, which can be prepended to an arbitrary shellrillig1-0/+5
command, making it return with a non-zero exit status. The first use of it is in a command called FAIL_MSG, which prints an error message and exits immediately. ERROR_MSG itself doesn't do that.
2006-12-15Remove trailing tabs.martti5-42/+42
2006-12-15Remove trailing spaces.martti6-35/+35
2006-10-22Removed setargs_from_cmd, as it is unused.rillig1-12/+1
2006-07-28Update the usage output to reflect current reality. Noted by Stoneddmcmahill1-4/+14
Elipot.
2006-07-28remove spurious empty line at the top of the summary filesdmcmahill1-2/+3
2006-07-28Allow the binpkg-cache script to also generate pkg_summary.gz filesdmcmahill3-19/+75
if requested. Suggested by Joerg Sonnenberger.
2006-07-01Add a script that can be used to scan for NO_BIN_ON_FTP packages usingdmcmahill1-0/+163
the cache files left by the README.html generation. This is indended to be used to monitor a ftp server, not for generating a file list for uploading to a ftp server.
2006-06-21When producing the list of directories containing binary packages, dodmcmahill1-3/+29
some extra processing to ensure that we have a list of unique directories. Otherwise we end up with two problems: - cache files get rebuilt all the time because they get built once for each path to the directory in question and since the path ends up in the cache, it is always declared out of date. - we end up with multiple links to the same binary package in the README.html files. Committed during the freeze becuase this is a real bug which is encountered daily.
2006-06-08undo most of the last commit which was a mistake.dmcmahill1-12/+3
2006-06-06When using find to search for the "All" directories containing binarydmcmahill1-4/+13
packages, use -follow. Hopefully this will pick up all of the binary packages again after the ftp.netbsd.org reorganization.
2006-06-06Refactor "fetch" and "extract" code into correspondingly namedjlam1-306/+0
subdirectories of pkgsrc/mk. Move the following files around for locality: pkgsrc/mk/scripts/extract -> pkgsrc/mk/extract/extract pkgsrc/mk/bsd.sites.mk -> pkgsrc/mk/fetch/sites.mk Also get rid of the recursive make for the "fetch" and "extract" targets. This basically merges the "fetch" and "extract" phases into the "patch" phase. There is still much more work to do to simplify the fetch code, but this is a good start.
2006-05-30Recognize -tar.gz as tar.gz files. PR 33571 by Dieter Roelants.wiz1-2/+2
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.