summaryrefslogtreecommitdiff
path: root/mk/bulk/upload
AgeCommit message (Collapse)AuthorFilesLines
2008-11-19Make the bulk scripts which use 'set -eu' actually work.sketch1-5/+13
2008-03-15Remove remaining compat code for old pkg_install versions.joerg1-15/+6
2008-01-04Replaced all references to pkglint with lintpkgsrc, which has its ownrillig1-9/+9
package since a few days.
2007-10-09Remove trailing spaces.martti1-5/+5
2007-07-25Add --config <file> from build scriptadrianp1-7/+35
2007-07-25Make sure PKG_INFO is setadrianp1-1/+2
2007-07-14Add support for the upcoming pkg_install-20070714 which now includesadrianp1-3/+18
audit-packages.
2006-12-15Remove trailing tabs.martti1-2/+2
2006-12-15Remove trailing spaces.martti1-2/+2
2006-12-07Due to a misunderstanding of mine, preventing to upload restrictedrillig1-2/+9
binary packages has not worked in the last few months. Now I fixed the rsync command line to use --files-from instead of --include-from, which does the right thing. Tested in a directory of about 20 binary packages, including one that is restricted. Everything worked as expected. Fixes PR 35199.
2006-08-10When installing packages, first "cd $USR_PKGSRC" to be independent ofrillig1-2/+2
the current working directory. See http://mail-index.netbsd.org/tech-pkg/2006/08/08/0006.html
2006-08-01Rewrote upload to use the newly introduced sort-packages program.rillig1-121/+117
While here, ... - Added stricter checking by using "set -eu". - The bulk build configuration file is properly included, and the MAKECONF definition that it may contain is properly exported. - All progress messages and error messages are prefixed by "upload>", so that it is obvious where the messages come from. - Since extracting the make(1) variables takes quite a long time, print an informational message before doing that. - Removed the use of the error-prone lintpkgsrc to detect whether a package is restricted or vulnerable. - If an error occurs, the upload program returns an exitcode of 1, which is common among Unix utilities. - Removed almost all pipe operators, since they tend to hide program failures. - All error messages are redirected to stderr instead of stdout.
2006-08-01- add a -h|--help flagdmcmahill1-16/+135
- add a -n|--no-upload flag which does everything but actually executing the upload to help see what would happen - add a -d|--debug flag to preserve the temporary files to help with debugging - add a -V|--version flag
2006-07-30- use ${BMAKE} instead of 'make' in one instancejschauma1-5/+18
- if we can't build one of the required packages, bail out
2006-06-22Restore ls -t | grep idiom, the whole package list is too big for thejoerg1-2/+2
argument list on at least on OS.
2006-06-02Adapt to create pkg_summary file via pkg_info -X. Prompted anddillo1-4/+6
reviewd by joerg.
2006-03-28Add an option (MKSUMMARY) to create pkg_chk index for binary-only updatesjoerg1-1/+6
during mk/bulk/upload. Disabled by default.
2005-07-28fix some non-portable statements, allowing this to work properlygrant1-3/+7
on Solaris.
2005-05-08Changes to the upload script:wiz1-53/+47
vulnerable packages are uploaded directly into the vulnerable subdir. While here: quote variables better handling of the temporary directory remove some backwards compatibility code that's been here long enough opsys-specific package handling was doing the same as non-opsys specific, so fold them together. Written together with dillo.
2005-04-30s/upto date/up-to-date/jschauma1-2/+2
2005-04-10uncomment the checksums for IRIXjschauma1-4/+4
(the commented version was committed by mistake)
2005-03-30If SIGN_AS is not set, remind the user to please sign the checksumhubertf1-1/+4
files manually. Suggested and OK'd by jschauma@
2005-03-30Before calculating checksums, print a line that says what's happening.hubertf1-1/+3
With a slow NFS server (as mine), this can take a lot of time.
2005-01-24Per default, only create md5 and sha1 checksums.jschauma1-15/+23
(These are available on all platforms via digest(1).) Set commands for other checksums on a per OPSYS basis. Set MKSUSM=yes back as the default.
2005-01-24Add bits to allow bulk-builders to generate checksums for the binaryjschauma1-1/+52
packages they upload (by setting the optional variable MKSUMS=yes) and, also optionally, PGP signing them (by setting SIGN_AS=username@NetBSD.org, for example).
2005-01-20Add LINTPKGSRC_CACHE support to reuse .lintpkgsrc.db created by pre-build.tv1-5/+14
"cd" to $USR_PKGSRC automagically so this can be called from any dir.
2004-04-19Deprecate RSYNC_DST_SPECIFIC and RSYNC_DST_OTHER and replace themhubertf1-19/+13
by RSYNC_DST. Warn if any of them is not set properly, and in general adjust to the new layout on the FTP server.
2004-04-12Catch UPDATE_VULNERABILITY_LIST being unset, default to be conservativehubertf1-2/+2
and run it if it's not explicitly set to "no"
2004-03-16Enforce vulnerability list being installed & correct & upto-datehubertf1-3/+13
before trying to upload anything.
2004-02-25s/netbsd.org/NetBSD.org/grant1-4/+4
2004-02-16Add RCS IDhubertf1-0/+2
2003-12-10Replace hardcoded '/usr/pkgsrc' in comments.sketch1-1/+1
2003-12-03Missing terminating quote.sketch1-1/+1
2003-08-19Added text describing major.minor-latest directories for binaries builtjklos1-1/+4
from pkgsrc current.
2003-05-06Drop trailing whitespace. Ok'ed by wiz.jmmv1-1/+1
2003-04-22now REALLY use the right dir... dohhubertf1-2/+2
2003-04-22Make sure binary pkgs are found :)hubertf1-2/+2
2003-04-21Set BATCH=1 and set DEPENDS_TARGET. (BATCH=1 is certainly needed forcjep1-0/+5
the bulk-install target to work.)
2002-08-07Make these scripts useful on platforms other than NetBSD by using a BMAKEagc1-4/+12
environment variable, which contains the name of the make(1) program to invoke - suggestion by Julien Letessier some time ago, the confusion mine, since I thought he was referring to something else completely. Don't rely on there being a POSIX tr(1) in the path by default - test explicitly for both "yes" and "YES". Set the default for PRUNEDISTFILES to "no", since we can't assume that the user wants us to delete something which he may have been keeping around, and there are other ways of accomplishing this aim (lintpkgsrc -o, for example). Clean up some superfluous white space at the end of lines.
2001-12-15Modify all references to PKGSRCDIR to _PKGSRCDIR, except in the externalagc1-1/+1
references of the pkglint package. _PKGSRCDIR is an internal definition in bsd.pkg.mk, and a few packages which would like to refer to other packages in the build tree. It should not be set by users, but neither should it stop a user from building a package if it is defined, so make it obvious that this is the case.
2001-07-09consolidate a duplicated part of the script.dmcmahill1-6/+10
2001-07-09when saving the rsync script for later, be sure and save the startingdmcmahill1-0/+4
directory too.
2001-07-08teach the upload script about OSVERSION_SPECIFIC packages so one can putdmcmahill1-7/+83
them in the right place. For example, a collection of binary packages can now put uploaded with most going to the major.minor directory and the OSVERSION_SPECIFIC ones going to the major.minor.patch directory. still todo: the destination settings should probably be moved out of build.conf so the same build.conf can be used by multiple machines of different MACHINE_ARCH's at the same time. Perhaps these should be a command line option to 'upload' instead.
2001-06-23Add a script that I use to upload binary pkgs to the FTP serverhubertf1-0/+31