diff options
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bulk/build.conf-example | 5 | ||||
-rw-r--r-- | mk/bulk/upload | 7 |
2 files changed, 10 insertions, 2 deletions
diff --git a/mk/bulk/build.conf-example b/mk/bulk/build.conf-example index 80bcc8f99b2..4039f04012f 100644 --- a/mk/bulk/build.conf-example +++ b/mk/bulk/build.conf-example @@ -1,4 +1,4 @@ -# $NetBSD: build.conf-example,v 1.34 2006/01/22 21:36:28 rillig Exp $ +# $NetBSD: build.conf-example,v 1.35 2006/03/28 10:56:52 joerg Exp $ # # This is an example configuration file for pkgsrc bulk builds. # Actually it's a shell script that is sourced in by the pre-build, @@ -93,6 +93,9 @@ PRUNEPACKAGES=yes # Whether or not to create checksum files. MKSUMS=yes +# Whether or not to create the pkg_chk summary file. +MKSUMMARY=no + # If you want to PGP sign the checksum files, set and correct. #SIGN_AS=username@NetBSD.org diff --git a/mk/bulk/upload b/mk/bulk/upload index c5fbd901a53..96943763d0b 100644 --- a/mk/bulk/upload +++ b/mk/bulk/upload @@ -1,5 +1,5 @@ #!/bin/sh -# $NetBSD: upload,v 1.27 2005/07/28 00:37:43 grant Exp $ +# $NetBSD: upload,v 1.28 2006/03/28 10:56:52 joerg Exp $ # # Upload non-restricted binary pkgs to ftp server @@ -156,6 +156,11 @@ if [ "${MKSUMS}" = "yes" -o "${MKSUMS}" = "YES" ]; then fi fi +if [ "${MKSUMMARY}" = "yes" -o "${MKSUMMARY}" = "YES" ]; then + echo "Creating pkg_chk index..." + ( cd ${pkgsrcdir}/pkgtools/pkg_chk; ${BMAKE} bulk-install ) + pkg_chk -P "${packages}" -bS +fi echo "#!/bin/sh" > "$upload" echo "packages=$packages" >> "$upload" |