summaryrefslogtreecommitdiff
path: root/mk/pbulk
AgeCommit message (Collapse)AuthorFilesLines
2020-12-02*: move default database directory from /var/db/pkg to ${PREFIX}/pkgdbwiz1-2/+2
As discussed in August 2020 and previously on pkgsrcCon 2019. Ok pkgsrc-pmc@
2020-01-13Sort the list of files included during a scan run and remove duplicates.joerg1-2/+2
This avoids some sources of entropy and can save a bit space too.
2018-10-29Use the same method to create the pbulk user on Minix as NetBSDsevan1-2/+2
2018-02-08Fix an inconsistency for package database directory.triaxx1-3/+9
The pkgdb variable generated for pbulk.conf is ${PREFIX}/var/db/pkg but bootstrap generates by default PKG_DBDIR=${PREFIX}/pkgdb. This fix add a common PKGDBDIR variable used for both pbulk.conf and bootstrapkit.
2018-01-01apache22: remove, it was eol'd in June 2017wiz1-7/+2
Remove packages that only work with apache22. Remove apache22 references.
2017-08-27Use NetBSD rcsid.sevan1-1/+1
Reminded by joerg.
2017-08-11pbulk is able to handle the creation All directory itself[1].sevan1-5/+2
changing the permission of ${PACKAGES} at the end of the script prevents that from working. Undo the change in r1.4 to create the All directory during setup & instead do not change permissions. Tested on OS X Tiger & FreeBSD. Heads up by joerg [1] http://mail-index.netbsd.org/pkgsrc-changes/2017/08/01/msg160826.html
2017-07-25Create the All packages sub directory.sevan1-2/+2
This prevents the bulk build failing on the complition of the first package because the directory doesn't exist.
2016-12-17Add optional caching of extracted build options. As the number of usersjoerg1-2/+8
of this feature has exploded over recent years, this avoids quadratic complexity for many packages during scan and build phase of a bulk build. Pbulk logic for exploiting this feature will be committed separately. Over all, this saves ~66% for wm/xfce4-wm with initially empty cache and ~90% when the cache is populated. Total scan time can be cut in half.
2016-09-08Rename RUBY_VERSION_SUPPORTED into _RUBY_VERSIONS_ACCEPTED to follow thejoerg1-2/+2
naming scheme of the other multi-version packages. Add support for the coorresponding RUBY_VERSIONS_INCOMPATIBLE list.
2016-09-08Add PHP_VERSIONS_INCOMPATIBLE to filter out unsupported versions,joerg1-2/+2
especially if a package requires newer versions.
2015-12-14Make the pbulk deployment script more reusable:asau1-19/+17
- allow setting non-default prefix; - avoid embedding non-essential settings into binary bootstrap kit.
2015-10-29Make sure the pbulk user is created with /bin/sh as shell,he1-2/+2
at least on NetBSD. Trying to build with /bin/csh as login shell leads to a rather cryptic "Illegal variable name" error message for all bulk-built packages.
2014-07-15Add helper script for simplified pbulk setup.asau1-0/+205
The script serves several purposes. Chief of them: 1. Fast track for those who just want to build their 1000 packages and do not want to bother with optimizations. 2. Fast track for those who want to understand how pbulk is supposed to be set up. Because it serves as a documentation (providing working setup at the same time), a lot of features are intentionally left out.
2014-06-10Retire Apache 1.3 and 2.0.joerg1-2/+2
2013-10-30Add multiversion support for Lua modules.dholland1-2/+6
2013-06-02Add the ability for a package to disable pbulk multi-package handling.sbd1-3/+5
2013-06-02Add mysql to pbulk multi-package support.sbd1-2/+6
2013-05-09Multi support for PostgreSQL packages (e.g. databases/postgresql-postgis).fhajny1-2/+6
2012-11-23Update pbulk to 0.51 and pbulk-base to 0.46. Add support for reusing oldjoerg1-1/+2
scan results to speed up the process. Fix a bug that overwrote the package.log during installation.
2011-11-12Fix from taca@ to update pbulk indexing to work with the new rubydholland1-2/+2
version stuff. Ok'd by joerg@ too.
2011-10-04Use ${TAR} instead of tar.hans1-2/+2
2011-09-25Fix a bug in the multi-version logic exposed by packages supporting onlyjoerg1-2/+5
Ruby 1.8. The multi-version logic was skipped for an attribute, if there was only entry in the parameter list. This is wrong, if this entry is not the default version for this attribute. Adjust. Tested by comparing the resulting packages for a scan with and without this change.
2010-09-28Add the necessary glue to hook Ruby into the multi-version framework.joerg1-3/+7
This allows lang/ruby18 and lang/ruby19 to coexist in bulk builds. Discussed with taca@
2010-06-15Allow pre-install for USERGROUP_PHASE. This is intended forjoerg1-1/+2
PKG_DESTDIR_SUPPORT=destdir packages, that don't otherwise need the user/group during build. Export USERGROUP_PHASE for the sake of pbulk.
2008-06-19Add a marker for bootstrap packages to allow special cases them duringjoerg1-1/+2
bulk builds.
2008-04-18As all Python packages are required to include lang/python/pyversion.mkjoerg1-2/+2
anyway, simplify logic a bit: Add Python 2.5 to the default list, but also mark it as incompatible if wip/python25 is not present. Move the Darwin handling after setting a default value. Provide a new variable _PYTHON_VERSIONS_ACCEPTED that is filtered by PYTHON_VERSIONS_INCOMPATIBLE. This helps to avoid providing broken dependencies when a version is not supported as PYPKGPREFIX wouldn't be set in that case.
2008-01-15Print _USE_DESTDIR as USE_DESTDIR from pbulk-index.joerg1-1/+2
2007-11-13Allow _PBULK_MULTI to be overriden. Requested by seb@.joerg1-2/+2
2007-09-09Switched from pax to tar, as suggested by joerg@.rillig1-2/+2
2007-09-08Made the command that saves PREFIX silent.rillig1-2/+2
2007-09-07The WRKDIR and PREFIX can be saved in the log directory when a packagerillig1-1/+4
doesn't build properly. These options are off by default since they require much disk space.
2007-05-16set -e to abort on errors from the sub-makes.joerg1-2/+2
2007-05-09Add two targets, pbulk-index and pbulk-index-item.joerg1-0/+101
pbulk-index-item prints a number of variables used by the parallel bulk build code during either the build, the report or the upload phase. pbulk-index checks whether multiple versions of the current package could be build (e.g. because multiple Python versions are supported) and uses pbulk-index-item for each possible combination. Thanks to David Laight for explaining the different between using :[#] in the body of a make target and in a clause of an .if. Powered-by: Google SoC 2007.