| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
done inside of chroot(2) to chrootdir. Added to help with sysinstall(8)
support of install to alternate root but possibly useful for setting up
jails, etc.
No objection from: portmgr@
Style(9) abuse due to: entire program violates style(9)
Approved by: rwatson (mentor)
|
|
|
|
|
|
| |
Adding hard line breaks at the end of sentences.
Approved by: rwatson (mentor)
|
|
|
|
|
|
| |
by escaping all suspicious characters.
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
| |
package management tools.
- Drop redundant dependency of pkg_create(1) and pkg_delete(1)
on crypto libraries now that they do not link with libfetch.
|
| |
|
|
|
|
| |
5.0, 5.1, 5.2, and CURRENT packages.
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
exactly one character was truncated was not detected.
|
|
|
|
|
|
|
|
| |
in the description of the pkg_create -i command-line option.
PR: 55477
Submitted by: Eric van Gyzen <vangyzen@stat.duke.edu>
MFC after: 5 weeks
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
obtained from a package. Patch show_file() [1] and show_index() [2]
functions.
PR: 52097
Reviewed by: bento, kris,
portmgr, re,
Michael Nottebrock <michaelnottebrock@gmx.net>,
Martin Horcicka <horcicka@FreeBSD.cz>
Approved by: re (scottl)
Obtained from: NetBSD [1],
OpenBSD [2]
MFC after: 1 week
|
|
|
|
| |
Approved by: re (blanket)
|
|
|
|
| |
Approved by: re (scottl)
|
|
|
|
| |
Approved by: re (blanket)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
if matchinstalled() found no packages, which happens to be the
case after fresh installations.
- Instead of using strstr(3) to match the package name, depend on
matchinstalled()'s MATCH_REGEX package matching.
PR: bin/50384
MFC after: 2 weeks
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
the 'q' or 'Q' options are present.
- Document BLOCKSIZE.
|
|
|
|
|
|
|
|
| |
that it prefaces the output with the package name.
This is useful for things like this:
# pkg_info -Qsa | awk -F : '{print $2 "\t" $1}' | sort -rn | expand -t 10
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
post-deinstall script, the variable intended to hold the name of that
script would be used uninitialized. In some cases, fexists() would
succeed, causing pkg_delete to try to chmod +x it, then execute it,
resulting in bizarre error messages such as:
.//: Permission denied
This bug would normally only occur when multiple packages were
specified on the command line; otherwise post_script would be located
in a previously unused part of the stack, and implicitly (but quite
accidentally) initialized to all-zeros.
MFC after: 3 days
|
|
|
|
|
|
| |
of failure.
MFC after: 1 week
|
|
|
|
|
| |
EVP_sha1() returns a const EVP_MD *, so reflect that in the variable
we store its return value in.
|
|
|
|
| |
Fixed by: nectar
|
| |
|
|
|
|
|
|
|
|
| |
we even have a PR about it.
PR: 47388
Discussed with: bmah
Requested by: many
|
| |
|
| |
|
|
|
|
|
|
| |
buffer size.
Reported by: Lionnel CHAPTAL <Lionnel.Chaptal@IPricot.com>
MFC after: 1 week
|
|
|
|
| |
especially in troff files.
|
|
|
|
| |
Approved by: markm
|
| |
|
|
|
|
| |
Approved by: re
|
|
|
|
|
| |
instead of INDEX. This should be done better since this file name will
depend on the FreeBSD major version.
|
|
|
|
|
|
| |
(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.
|
| |
|
|
|
|
| |
to an int no longer works on an LP64 platform...
|
|
|
|
|
|
|
|
| |
osreldate.
(Actually, due to differences in package compression formats, I'm
not sure that a -CURRENT pkg_add -r will do the right thing in
this case, once it finds them.)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
While I'm here, fix a gramm-o.
PR: 42576
Submitted by: Jeff Ito <jeffi@rcn.com>
MFC after: 1 day
|
|
|
|
|
| |
Big pointy hat to: sobomax (who apparently needs some sleep)
Submitted by: walt <wa1ter@hotmail.com>
|
|
|
|
| |
Submitted by: jhb
|
|
|
|
|
|
|
| |
packages.
Pointed out by: obrien
Reviewed by: jhb
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|