mikeh
2597e1a0b7
Initialize sign to NULL so that we don't attempt to free() it in case
...
of failure.
MFC after: 1 week
2003-02-20 20:13:07 +00:00
billf
1089e5e54e
even the default case in a switch requires some action (add break;)
...
EVP_sha1() returns a const EVP_MD *, so reflect that in the variable
we store its return value in.
2003-02-03 22:47:03 +00:00
markm
ae91bda061
No need for the OPENSSL_NO_KRB5 switch anymore.
...
Fixed by: nectar
2003-01-31 23:26:55 +00:00
markm
3582268d12
iAdjust for OpenSSL 0.9.7.
2003-01-28 23:08:41 +00:00
trhodes
6c7deb994e
Note that -c is no longer supported. This was requested by a few users and
...
we even have a PR about it.
PR: 47388
Discussed with: bmah
Requested by: many
2003-01-27 02:05:59 +00:00
des
974bf201ef
Actually, the canonical way would be syntactically correct.
2003-01-09 12:04:21 +00:00
des
04c259b610
Canonical way of determining whether or not to use crypto.
2003-01-09 11:57:58 +00:00
jkh
a90ed4aee2
Prevent buffer overflow in format_cmd() by properly tracking maximum
...
buffer size.
Reported by: Lionnel CHAPTAL <Lionnel.Chaptal@IPricot.com>
MFC after: 1 week
2003-01-06 07:39:02 +00:00
schweikh
c353aec149
Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,
...
especially in troff files.
2003-01-01 18:49:04 +00:00
mike
2c84f3f191
Back out rev 1.33; getbsize(3)'s original interface has been restored.
...
Approved by: markm
2002-12-30 18:16:26 +00:00
schweikh
2505bee728
english(4) police.
2002-12-27 12:15:40 +00:00
ru
88d368906e
Uniformly refer to a file system as "file system".
...
Approved by: re
2002-12-12 17:26:04 +00:00
kris
f23e71a9d3
Minimal change to cause pkg_version to examine the new INDEX-5 file
...
instead of INDEX. This should be done better since this file name will
depend on the FreeBSD major version.
2002-12-04 17:22:48 +00:00
bmah
29a5b19e04
Assume that packages passed on stdin are in bzip2 format, not gzip.
...
(sysinstall depends on this feature for package addition.)
Comment on hard-coded bzip2 usage in the spirit of rev. 1.58.
2002-11-14 21:01:17 +00:00
obrien
b27b77b7ff
Clean up a little. Don't need to include fetch.h any more, and I can't
...
find any consumers of HOSTNAME_MAX.
2002-11-06 09:03:53 +00:00
obrien
9b4747c0b5
Break fileGetURL() out into its own file so that pkg_install/lib consumers
...
pkg_{create,delete} don't need to needlessly link with libfetch.
2002-11-06 08:57:03 +00:00
des
7ebaf0b638
Whitespace cleanup
2002-10-29 12:14:31 +00:00
gallatin
8e7a2d9d0b
getbsize() now takes a pointer to a size_t as its first arg. A pointer
...
to an int no longer works on an LP64 platform...
2002-10-24 17:27:32 +00:00
bmah
84bdd47e2d
Teach pkg_add -r how to find 4.7-RELEASE packages with an appropriate
...
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.)
2002-10-08 05:15:21 +00:00
wollman
d8d5a39838
Make the threatened fts(3) ABI fix. FTSENT now avoids the use of the struct
...
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
2002-09-21 01:28:41 +00:00
bmah
3a4bae9a6e
Update to use *.tbz suffix, also update example URL.
...
While I'm here, fix a gramm-o.
PR: 42576
Submitted by: Jeff Ito <jeffi@rcn.com>
MFC after: 1 day
2002-09-10 02:42:59 +00:00
sobomax
f9e3a7c25a
Sigh, finally activate pkgwrap.c.
...
Big pointy hat to: sobomax (who apparently needs some sleep)
Submitted by: walt <wa1ter@hotmail.com>
2002-09-09 22:59:06 +00:00
bmah
4918777a94
Fix minor off-by-one error.
...
Submitted by: jhb
2002-09-09 21:21:34 +00:00
bmah
94f1839c31
Make pkg_install go to the right place for 4.6-RELEASE and 4.6.2-RELEASE
...
packages.
Pointed out by: obrien
Reviewed by: jhb
2002-09-09 19:44:17 +00:00
sobomax
259816cc82
Introduce notion of the package tools revision and allow to wrap all tools
...
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
2002-09-09 19:43:30 +00:00
sobomax
342bf9a702
Kill debugging line occasionally slipped into rev.1.3.
...
Submitted by: reg
2002-09-09 11:13:00 +00:00
sobomax
544a988854
Vastly decrease amount of memory comsumed in the case when we have to read
...
ports/INDEX, by allocating eactly amount of memory necessary for storing
each particular entry, insdead of 4K per entry (more than 7000 entries -
go figure). Memory consumption went down to some 500K from some 30M.
2002-09-09 08:00:32 +00:00
sobomax
259ae58411
Use --fast-read mode to extract metadata from package file. Since metadata
...
files are located at the very beginning of the package, this patch in
conjuction with latest tar(1) --fast-mode fix greatly speeds up pkg_info(1)
operation on package files.
MFC after: 1 week
2002-09-09 06:06:09 +00:00
sobomax
d139bd37ea
When installing package from a local file assume that all subsequent
...
autoinstalled dependencies will have the same extension, not just
".tbz".
Pointy hat to: obrien
X-MFC after: -1 day
2002-09-03 06:59:33 +00:00
kris
a06635443f
Don't treat unknown commands as fatal errors: they are probably just
...
the signature of out-of-date pkg_tools and newer packages.
Reviewed by: jkh
MFC after: 3 days
2002-08-31 20:21:47 +00:00
reg
153c928216
Don't dump core on packages with an invalid or empty PLIST.
...
Reviewed by: markm
2002-08-26 13:25:48 +00:00
obrien
18f5c8d760
Grrr.... mumble.... a linger gzip'ism still existed.
...
Submitted by: Craig Rodrigues <rodrigc@attbi.com>
2002-08-26 03:44:44 +00:00
obrien
6e458a3f73
Reorg just a tad to better express our bzip intentions.
2002-08-25 01:01:08 +00:00
obrien
41022cd8a4
Find remaining hardcoded gzip bits and change to bzip2 bits.
...
Mark with XXX so someone that cares about being able to handle either
bziped or gziped packages knows where the remaining nits are.
2002-08-25 01:00:16 +00:00
lioux
19479b6632
Preserve suid/gid permissions when extracting packages remotelly
...
fetched with -r option
Reviewed by: will
Approved by: will
2002-08-24 20:04:17 +00:00
sobomax
892c948085
Ensure that origin field in the packing list structure is initialised. This
...
fixes problem when there are origin-less packages installed on a system
Reported by: Mark Knight <markk@knigma.org>
MFC after: 3 days
2002-08-12 16:15:25 +00:00
schweikh
7f17c396f7
Fix typos; each file has at least one s/seperat/separat/
...
(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
2002-08-11 13:05:30 +00:00
knu
c7876d4ed3
Another .tbz2 -> .tbz leftover. Properly look for pkgname.tbz.
...
MFC after: 1 day
2002-08-04 21:27:57 +00:00
knu
50eabf8699
Drop support for the .tbz2 suffix. One would not want pkg_create(1)
...
to create "pkgname.tbz" when one specifies "pkgname.tbz2".
MFC after: 1 week
2002-08-04 21:20:09 +00:00
obrien
71de65e2d9
Use an 8.3 friendly extension when compressing with bzip2.
2002-08-04 06:03:34 +00:00
sobomax
4e0739273d
When extracting package pass `-p' option to tar(1), so that files are
...
extracted with correct permissions.
2002-08-02 17:26:53 +00:00
markm
6d78153d59
C replacement for the Perl5 code.
...
Submitted by: reg
2002-06-24 16:03:24 +00:00
des
e63cee1378
Reorder libraries to fix static linking (libssl depends on libcrypto, so
...
it must come before libcrypto in LDADD)
Reviewed by: bde
2002-06-12 12:45:24 +00:00
ru
30074c9c9b
libfetch now depends on libcrypto and libssl.
2002-06-06 13:45:46 +00:00
obrien
86f6d954ce
Grammar nit.
...
Submitted by: keramida
2002-06-04 20:01:53 +00:00
bmah
af10a607d1
pkg_version was incorrectly claiming that 1.5 == 1.5.0.1, because
...
we weren't properly checking for the case that the two version strings
being compared had different numbers of components. This has been
fixed.
Pointed out by: sobomax
Reviewed by: silence on -ports
2002-05-31 15:45:48 +00:00
ru
02550e1129
mdoc(7) police: markup nits.
2002-05-30 08:24:52 +00:00
sobomax
1b14003f64
MFS: two more testcases highlighting recently discovered problem with version
...
comparison routine.
2002-05-28 18:00:44 +00:00
sobomax
897a546e39
Eliminate free'ing already freed chunks.
...
MFC after: 1 week
2002-05-22 10:33:25 +00:00
sobomax
8706787d29
MFS: silence compiler warnings.
2002-05-20 09:55:41 +00:00