Age | Commit message (Collapse) | Author | Files | Lines |
|
- completely redo the code which decides on the machine architecture,
operating system, and operating system version for the binary packages.
The old way just used to directory names to take a guess. The new
way creates a cache file containing meta-data for all the binary packages
in each "All" directory. This cache file is consulted when generating
the lists of available binary packages. The meta-data is obtained with
pkg_info so it should always be correct even if you do something silly
like mix OS_VERSION or MACHINE_ARCH packages up in the same directory.
Among the benefits are: works when PACKAGES is not $PKGSRC/packages,
works with a more or less arbitrary subdirectory structure, works
when there are subdirectories for multiple operating systems.
This portion of the fix should address PR25390.
The cache files are only updated when the contents of an "All" directory
changes or if the cache file format changes. There is some room for
improving the updating of the cache files, but its not too bad the way
it is.
- fix up some of the awk code so that generadme.awk works with Solaris
nawk as well as NetBSD's nawk and gawk (for pre-2.0 systems).
- remove some "if ! foo" shell constructs to increase portability.
- be more consistent with what variables get passed to mkreadme from
make and which ones are determined automatically. Mostly this meant
moving stuff into mkreadme to make it easier to run it standalone.
|
|
|
|
|
|
This causes the relevant "TOOL" variable names to be defined by
bsd.prefs.mk (through including mk/tools/defaults.mk).
|
|
meant. Approved by jlam.
|
|
as it's only used internally by bsd.prefs.mk.
* Make _PKGSRCDIR a public variable by renaming it to PKGSRCDIR.
Also, generate its value from ${_PKGSRC_TOPDIR} so it's less fragile
than the old method of stripping off the last two components of
${.CURDIR}. PKGSRCDIR may now be used after bsd.prefs.mk is defined.
* Change all references to _PKGSRCDIR to PKGSRCDIR.
|
|
don't descend into this directory for anything since these packages aren't
packages in the normal sense, since they're not expected to install or
package correctly.
|
|
List all packages that depend on a particular package; needs the INDEX file
Usage: 'make show-deps PKG=openssl'
PKG: name of the package
No make dependency on INDEX by purpose, since INDEX generation
right now happens too often (too much phoniness, I guess).
|
|
|
|
|
|
|
|
|
|
available) and tell the user what to do. Addresses PR pkg/22413.
|
|
target:<space>depends, not <tab>
|
|
* rename DEPENDSDB to PKGDB
* move build of PKGDB to its own target so make(1) removes it if it
bombs.
ok'd by dmcmahill@.
|
|
several orders of magnitude and 'make index' now takes 30 minutes or so
instead of several days on my test machine. The approach now is to take
one pass through every package and extract some key information including
the explicitly listed dependencies. After the data is extracted, the
dependencies are flattened in one step which avoids the extremely
inefficient recursive make that was previously used.
|
|
|
|
|
|
to add local directories to the build hierarchy (e.g. wip, local).
|
|
|
|
new and much more efficient code. Previously a 'make readme' took over
3 weeks on my SS5 and now takes < 3 hours. The number of make calls has
been reduced from somewhere over 1,000,000 to one per package which is
around 3,000. The mk/scripts/mkreadme script does all the work now. This
script has been used in standalone form for a month or two on ftp.netbsd.org
and has had no problem.
|
|
Remove continuous blank lines.
|
|
Otherwise a bad value of _PKGSRCDIR will be used and the bulk cache creation
fails. This didn't show up before because formerly _PKGSRCDIR was previously
set in bsd.pkg.mk instead of bsd.prefs.mk as it is now.
Should fix bulk build dependency problems noted recently by Hubert.
|
|
|
|
Add the inputmethod category.
This is part of the japanese category retirement.
|
|
|
|
the cache files used during a bulk pkgsrc build.
- replace the code in the build script that used to create the cache
files with a 'make bulk-cache' call.
|
|
as IPv6-enabled. Fixes pkg/13394.
|
|
|
|
to main Makefile.
|
|
|
|
|
|
from x11 to wm; fix paths in packages that depend on the moved ones.
|
|
locations (moved to finance).
|
|
work on netbsd-1-5 at all.
|
|
sets MKCRYPTO=no, packages in this category won't be fetched, installed,
built, or packaged. Also, binary package users forbidden, by law, from
using strong cryptography would presumably find the list on the category's
automatically generated web page useful for ensuring compliance.
|
|
|
|
|
|
show-pkgsrc-dir target to compile a list of host specific package
directories from which the packages can be built and installed.
|
|
"^BUILD_DEFS.*=.*USE_INET6" instead of just "USE_INET6" in the pkg's
Makefile.
Suggested by Jun-ichiro itojun Hagino <itojun@iijlab.net> on tech-pkg.
|
|
converted from FreeBSD, or have been disabled since. Sorted lines
alphabetically, added some missing directories.
|
|
packages.
|
|
Fixes PR 9120 by Michael Eriksson T/K 2 <Michael.Eriksson@era-t.ericsson.se>
|
|
|
|
lose the <TD VALIGN=TOP> entries (the <TR VALIGN=TOP> should be sufficient).
Suggested by David Brownlee <abs@mono.org> on tech-pkg@netbsd.org.
|
|
|
|
(README-all.html), and reference this file.
|
|
|
|
|
|
|