Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
Sync with base system: Ranges support and some other stuff that wasn't
pulled over.
|
|
If a pattern does not have any suffix, assume that it matches both
".tbz" and ".tgz". This allows to install binary package dependencies
that are not exact matches, but satisfy requirements.
|
|
of a 32 bit signed number when pkg_add-ing a binary package
file larger than 512 Mb.
- Bump PKGTOOLS_VERSION (NOT!!! PKGTOOLS_REQD) to 20050527
|
|
|
|
happened to me when I had a misnamed directory in the pkgdb directory.
|
|
|
|
|
|
* ftp.fi.netbsd.org returns "257" in return to a "cd" command, accept that
(in addition to 250 and 550). Seems to be allowed per RFC 959.
* Make buffer for reply bigger (not too big, as it may hit performance).
* Bump PKGTOOLS_VERSION (NOT!!! PKGTOOLS_REQD) to 20050318
|
|
by wiz.
|
|
+ state that the message is just a warning
+ make it clearer what an OS mismatch is
|
|
initialise a variable before using it. pkg_info binpkg.tgz would pass
garbage on the command line to tar(1).
|
|
cast return value of min_free() to uint64_t.
fixes pkg_add <binarypkg> on Solaris 8.
|
|
which may be passed to command line, and may contain white spaces.
|
|
|
|
|
|
rework pkg_info(8) operating on binary packages, deprecating the `-.'
argument as it is no longer required (but is retained as a no-op for
backward compatibility).
the behaviour is now what is expected and intended:
- when the pkg argument is path (absolute or relative) to a
binary pkg, pkg_info operates on it.
- when no pkg argument is given, or the argument is not a
binary pkg path, pkg_info operates on the installed packages.
`pkg_info foo-1.0.tgz', `pkg_info /path/to/foo-1.0.tgz', etc. now work
correctly when foo-1.0.tgz is in the cwd.
bump PKGTOOLS_VERSION to 20050210.
|
|
with WARNS=2 from src/usr.sbin/pkg_install. No functional change and
no version bump.
|
|
branch of src). Changes from version 20050106:
Teach pkg_add(1) and pkg_delete(1) to pass PKG_METADATA_DIR and
PKG_REFCOUNT_DBDIR in the environment when running the +* scripts.
PKG_METADATA_DIR is the location of the +* files after the package is
registered. PKG_REFCOUNT_DBDIR is the location of the reference counts
database directory. If PKG_REFCOUNT_DBDIR is left unset, then it
defaults the the location of the package database directory with
".refcount" appended to the path, e.g. /var/db/pkg.refcount.
pkgviews users should explicitly set PKG_REFCOUNT_DBDIR in the shell
environment to ensure that all packages will use the same refcount
database.
These changes allow the +INSTALL and +DEINSTALL script to keep state
in +* files within ${PKG_METADATA_DIR}, and to store reference counts
in ${PKG_REFCOUNT_DBDIR} to handle usage of resources outside of
${LOCALBASE}.
|
|
revision of src/usr.sbin/pkg_install as of 20050204. I ran:
cd pkgsrc/pkg_install/files
./pkg_install2nbcompat .
Then I ran "cvs diff" and looked for portability-related changes that
were removed as a result of the import and resurrected them from the
repository.
|
|
|
|
problems when people run "make update" without checking to see if anything
old was still around. "make update" now cleans after installing.
|
|
+ always echo the command which is about to be executed during a pkg_add
or pkg_delete, not just when verbose mode is on.
+ extract files on ftp pkg_adds with the 'p' flag to tar, to preserve
modes of entries in the binary package. (Addresses PR 28826 from
Tyler Retzlaff)
Bump version to 20050106
|
|
user, so it's not nice to try to use an option that will try to chown if
the repository isn't owned by the builder.
(Some OS's do in fact cause an error when the chown in "cp -p" fails.)
|
|
Introduce a new abstraction in the C code, called MaxPathSize. All
previous occurrences of MAXPATHLEN and FILENAME_MAX have been changed
to use MaxPathSize instead.
If MAXPATHLEN is not defined, then assume a default value of 1024
(this is primarily for use on the Hurd).
The reason for this is that some older platforms define FILENAME_MAX
to be 14, although MAXPATHLEN is 1024. On BSD-derived systems,
FILENAME_MAX And MAXPATHLEN are both 1024.
Bump pkg_install version to 20041226.
These modifications have been tested so far on a NetBSD-current bulk
build.
|
|
newer platforms such as DragonFly.
fixes PR pkg/28579 from Todd Willey.
|
|
Bump the version to 20041210.
|
|
after the package is built. This is necessary because the pkg_delete binary
that is used is the one from the WRKDIR, not the installed one.
|
|
update also. Specifying -u twice will now update the named package
and its dependencies.
Also make sure Fake really means Fake, even if update is specified.
|
|
no trailing comma at end of enum.
|
|
Document the "pre" magic string, and bump date for this change.
Re-generate the preformatted manual page having done this.
|
|
|
|
|
|
|
|
|
|
but not its files.
Override PKG_DELETE when building this package so -N can be used to
upgrade an existing install.
Bump version to 20041101.
|
|
don't explicitly call gunzip, just pass the right arguments to tar.
fixes package decompression on Solaris where gunzip is not available
(but gzip is), and also decompression of bzip2 packages on non-NetBSD.
|
|
updated using entirely binary packages.
|
|
"all" target as the first one so that a bare "make" will build the "all"
target by default. This should fix problems seen on AIX 5.1.
|
|
while here, regen all catman pages on NetBSD-current w/ groff 1.19,
the output is much improved over groff 1.16.
|
|
|
|
|
|
the Makefiles so that they can be built by really basic make programs.
|
|
|
|
|
|
branch of src). Changes from version 20040730 include:
Modify pkg_info so that it will only print information on uninstalled
binary packages in the current working directory if -. is given on
the command line. If no -. is given, pkg_info will look for its
information in the ${PKG_DBDIR}. This addresses a long-held gripe on
the part of a number of people, including myself (agc), which completely
violated the POLS.
Add a -q switch to pkg_admin, which allows it to work in a quiet
manner. Fixes the change request in PR 26583, but in a different
manner, preserving existing behaviour and making the new behaviour
dependent upon a command line option.
|
|
|
|
|
|
missing <netdb.h> in lib/ftpio.c for MAXHOSTNAMELEN definition on Solaris.
|