| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
This option saves packages to PKGDIR (if defined or current directory by default)
as they are downloaded.
Silent a warning when -n is used and package has a +DISPLAY file.
Approved by: krion
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
prefix later, but doing so with @cwd %%OLDPREFIX%% (having
PLIST_SUB+="OLDPREFIX=${PREFIX}") hardcodes the value in the packing
list. That's not really a problem when dealing with ports but that's
a problem with packages since pkg_add -p option only overrides the
first @cwd occurrence.
This patch allow us to use @cwd without any argument. If no
directory argument is given, it will set current working directory
to the first prefix given by the @cwd command.
PR: bin/77212
Submitted by: flz
|
|
|
|
|
|
| |
Based on PR: bin/82269
Submitted by: Steven Hartland <killing at multiplay dot co dot uk>
MFC after: 3 days
|
|
|
|
|
|
| |
Reviewed by: hrs
Approved by: re (scottl)
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
function as @comment has. But will be valid only for files and not
for md5 sums, rcsid's and comments in the future.
Submitted by: flz
Approved by: re@ (scottl)
|
| |
|
|
|
|
| |
any fake value.
|
|
|
|
| |
This makes it possible to "portupgrade `pkg_version -q -l '<'`".
|
| |
|
| |
|
|
|
|
| |
casts as lvalue usage whenever possible.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
enable the use as a port on older systems
- use absolute paths in all calls to external programs, to account for strange
PATH settings
- use INDEX or INDEX-5 depending on FreeBSD version, to enable the use on
FreeBSD 4.x as a port.
- conditionalize all 4.x/5.x differences on __FreeBSD_version, so that the
pkg_install tools can be kept in sync on 4.x and 5.x
- Bump PKG_INSTALL_VERSION
Reviewed by: portmgr (bento run)
MFC after: 4 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
change))
- pkg_info: new flag -j (show the requirements script)
- pkg_info: fix verbose output when used on packages
- better handling of corrupt entries in /var/db/pkg
- differ between corrupt entires and packages not installed
- various small fixes
PR: 56989, 57016, 57029, 26468
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- use glob patterns when matching packages by origin
- csh-style {...} choices in glob matching
- pkg_info: new flag -E (list matching package names only)
- pkg_version: new flag -T (test if a given name matches a pattern)
- new flag -X (interpret pattern as an extended regular expression)
PR: 56961
|
|
|
|
|
|
|
|
|
|
| |
compatibiliy of 5.x with 4.x and portupgrade
- parse version numbers of ports containing an underscore followed by a number correctly
- handle special strings pl, alpha, beta, pre and rc
PR: 56961
|
| |
|
|
|
|
|
|
|
|
| |
snprintf (buf, size, fmt, buf, etc). This only works by chance with our
libc, but fails (with a truncated string) on e.g. glibc.
Okayed by: sobomax
MFC after: 1 week
|
|
|
|
|
| |
and I don't have time to investigate this code in much detail right
now.
|
|
|
|
|
|
| |
installed ports.
Submitted by: Harold Gutch <logix@foobar.franken.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
either COMMENT or DESCR from the command line. When a port is
installed, one gets both +COMMENT and +DESCR files with a trailing
'\n' character. However, +COMMENT does not contain a trailing '\n'
when it is installed from a package due to this behavior of pkg_create.
Therefore, make sure it behaves exactly the same regardless of
where got its information; either command line or files. The modified
functions are used by pkg_create.
PR: 52097
Reviewed by: bento, kris,
portmgr, re,
Michael Nottebrock <michaelnottebrock@gmx.net>,
Martin Horcicka <horcicka@FreeBSD.cz>
Approved by: re (scottl)
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
register a list of other packages with which they conflict (via the
-C option to pkg_create), and they will refuse to install (unless -f is
specified) if one of the listed packages is already present.
* Update documentation for the new feature as well as fleshing out some
existing documentation.
* Bump PKG_INSTALL_VERSION so this feature can be tested for.
Submitted by: Sergey Matveychuk <sem@ciam.ru>
PR: bin/47145
MFC after: 2 weeks
|
|
|
|
|
|
|
| |
the fix and when I committed it -- in between the two, DES committed
a different fix, rendering this fix unneeded.
Requested by: des
|
|
|
|
|
|
| |
as this can result in a NULL pointer deference when parsing the
flags later. This change fixes "pkg_add -r" on 5.0-CURRENT for
me; not quite clear how the problem was introduced.
|
|
|
|
|
|
| |
buffer size.
Reported by: Lionnel CHAPTAL <Lionnel.Chaptal@IPricot.com>
MFC after: 1 week
|
|
|
|
|
|
| |
(sysinstall depends on this feature for package addition.)
Comment on hard-coded bzip2 usage in the spirit of rev. 1.58.
|
|
|
|
| |
find any consumers of HOSTNAME_MAX.
|
|
|
|
| |
pkg_{create,delete} don't need to needlessly link with libfetch.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
hack, thereby allowing future extensions to the structure (e.g., for extended
attributes) without rebreaking the ABI. FTSENT now contains a pointer to the
parent stream, which fts_compar() can then take advantage of, avoiding the
undefined behavior previously warned about. As a consequence of this change,
the prototype of the comparison function passed to fts_open() has changed
to reflect the required amount of constness for its use. All callers in the
tree are updated to use the correct prototype.
Comparison functions can now make use of the new parent pointer to access
the new stream-specific private data pointer, which is intended to assist
creation of reentrant library routines which use fts(3) internally.
Not objected to in spirit by: -arch
|
|
|
|
|
| |
Big pointy hat to: sobomax (who apparently needs some sleep)
Submitted by: walt <wa1ter@hotmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
included into pkg_install according to the content of /var/db/pkg_install.conf
file, which specifies version and alternative location of the tools. Format
of the said file is very simple: one line which specifies revision of the
alternative version of the tools and their location separated by space,
i.e.:
20030102 /usr/local/sbin
This would allow bsd.port.mk to install and use up to date version of tools
on older system from ports.
Also add new `-P' flag to pkg_info, which causes it to report currently
installed version of package tools.
Discussed with: will
|
|
|
|
|
|
|
| |
the signature of out-of-date pkg_tools and newer packages.
Reviewed by: jkh
MFC after: 3 days
|
|
|
|
| |
Submitted by: Craig Rodrigues <rodrigc@attbi.com>
|
|
|
|
|
| |
Mark with XXX so someone that cares about being able to handle either
bziped or gziped packages knows where the remaining nits are.
|
|
|
|
|
|
|
| |
fetched with -r option
Reviewed by: will
Approved by: will
|
|
|
|
|
|
|
| |
fixes problem when there are origin-less packages installed on a system
Reported by: Mark Knight <markk@knigma.org>
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
| |
(I skipped those in contrib/, gnu/ and crypto/)
While I was at it, fixed a lot more found by ispell that I
could identify with certainty to be errors. All of these
were in comments or text, not in actual code.
Suggested by: bde
MFC after: 3 days
|
|
|
|
| |
MFC after: 1 day
|
|
|
|
| |
Submitted by: reg
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
|
| |
- fix few bogosities here and there;
- move some common routines into the library.
MFC after: 2 weeks
|
| |
|
|
|
|
| |
Requested by: jhb
|
|
|
|
|
|
|
|
| |
you may not use string concatination with __FUNCTION__, replace all occurances
of:
__FUNCTION__ ": error string"
with:
"%s: error string"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
using new `@comment DEPORIGIN:...' directive. This would allow us to make
many neat things including:
- easier binary upgrades;
- source upgrades without using external tools by simply extending
bsd.port.mk and pkg_install tools;
- mixed-mode upgrades (source + binary);
- depreciate and deorbit silly +REQUIRED_BY files in the near future.
This feature is no-op until appropriate bsd.port.mk patch is committed, and
even when it is already committed packages generated will remain 100%
compatible with old set of pkg_install tools (module all those neat
features, of course).
MFC after: 6 days
|
|
|
|
|
|
| |
Poked by: kris
Pointy hat grabbed by: sobomax
MFC after: 6 days
|
| |
|
| |
|
|
|
|
|
| |
Submitted by: roam
MFC in: 1 week
|
|
|
|
|
|
| |
easily browse its contents.
Noted by: Antoine
|