Ruslan Ermilov
ed40311694
mdoc(7) police: removed history info from the .Os FreeBSD call.
2000-12-14 11:52:05 +00:00
David E. O'Brien
1a37aa566b
Add `_PATH_DEVZERO'.
...
Use _PATH_* where where possible.
2000-12-09 09:35:55 +00:00
Maxim Sobolev
67739cc833
Alphabetically reorder options in `.Op Fl' macro to be consistent with the
...
rest of the code.
2000-12-05 16:40:14 +00:00
Maxim Sobolev
599654abba
- Add missed `-s' option into usage printout;
...
- sort options alphabetically.
2000-12-05 11:02:19 +00:00
Ruslan Ermilov
e97407b4f2
mdoc(7) police: use the new features of the Nm macro.
2000-11-20 20:10:44 +00:00
Ruslan Ermilov
251c176f41
mdoc(7) police: use certified section headers wherever possible.
2000-11-17 11:44:16 +00:00
Ruslan Ermilov
b5c508fba3
Use Fx macro wherever possible.
2000-11-14 11:20:58 +00:00
Dag-Erling Smørgrav
badea70002
Insetad of using fileno(ftp) as stdin for tar, use a pipe and have the
...
parent pass the data received from the server to the child.
2000-10-29 15:39:51 +00:00
Bruce A. Mah
5a817b9ba6
Sigh. It'd be nice to completely commit a bugfix. Once again:
...
Fix a bug in which pkg_version(1) was ignoring $PORTREVISION
or $PORTEPOCH from ports' Makefile definitions.
2000-10-26 21:50:41 +00:00
Bruce A. Mah
8a755120e7
Fix a bug in which pkg_version(1) was ignoring $PORTREVISION
...
or $PORTEPOCH from ports' Makefile definitions.
2000-10-26 21:38:44 +00:00
Bruce A. Mah
131291ba1c
Utilize the "-o" (origin) option recently added to pkg_create(1)
...
and pkg_info(1), for more accurate determination of the
"up-to-date-ness" of installed packages.
2000-10-25 17:10:20 +00:00
Maxim Sobolev
dd2b039a87
Add "-o" option to pkg_create(1) and pkg_info(1). This option intended to record
...
a path of the port from which package has been created within FreeBSD Ports
Collection and will be used to improve pkg_version(1) and similar tools.
Reviewed by: ports@FreeBSD.org , jkh
Approved by: jkh
2000-10-23 07:01:31 +00:00
Jordan K. Hubbard
aed4d2d137
Cause fatal error messages to be a little more helpful to the programmer
...
concerning where they're taking place.
Switch from [r]index() to str[r]chr() functions, which are more ISO
compliant.
Prompted by: Edward Welbourne <eddy@vortigen.demon.co.uk>
2000-10-22 09:53:27 +00:00
Bruce A. Mah
69a71301db
Add -L option to limit the package status characters the user *doesn't*
...
want to see.
Submitted by: Doug Barton <DougB@gorean.org>
2000-10-20 06:16:18 +00:00
Bruce A. Mah
65ea861a3e
Make pkg_version -c -l work.
...
PR: bin/19019
Submitted by: Stijn Hoop <stijn@win.tue.nl>
2000-10-20 06:00:28 +00:00
Dag-Erling Smørgrav
c1ff8324f0
Trim index lines down to 79 characters, not 80.
...
Approved by: jkh
2000-10-18 20:16:26 +00:00
Mark Ovens
09e0ff09c1
Fix typo
2000-09-25 10:49:10 +00:00
Mark Ovens
67a81e7a7a
Make the ``-r'' option actually do something :)
...
Also tidy up it's output.
Approved by: jkh
2000-09-25 07:27:05 +00:00
Maxim Sobolev
b2b064c2a0
Fix symlink-to-a-dir handling in pkg_delete.
...
Reviewed by: -ports
Tested by: bento
2000-09-18 07:41:48 +00:00
Bruce A. Mah
b8ffb8442a
pkg_version(1) will now distinguish between the different cases where
...
the exact relationship between an installed package and its
corresponding entry in the index file can't be determined.
Submitted by: Mark Ovens <marko@freebsd.org>
2000-09-15 04:16:20 +00:00
Bruce A. Mah
a645e023dc
Arrgh. Back out a change used during debugging and fix a typo.
2000-09-11 18:25:12 +00:00
Bruce A. Mah
aebba56752
Remove a workaround for a long-fixed bug in fetch(1).
...
Update URL for on-line Ports Collection INDEX file.
2000-09-09 21:45:19 +00:00
Bruce A. Mah
186cbe8e5d
pkg_version.pl now understands the new package/port numbering scheme
...
introduced by version 1.349 of ports/Mk/bsd.port.mk and originally
submitted by kris.
In particular, it understands the $PORTREVISION (FreeBSD-specific changes
or patches to a port) and $PORTEPOCH (for re-sorting version numbers
when not used or when broken).
2000-09-09 21:28:06 +00:00
Bruce A. Mah
1c9be6fb56
Update my email address in various places in pkg_version.
2000-08-23 17:10:34 +00:00
Bill Fumerola
cc693512ce
Now that Bruce Mah is a committer, retire my co-maintainership
...
of pkg_version.
2000-08-22 18:42:27 +00:00
Mark Ovens
2ad33f9844
Fix bug with -c option
...
PR: 18176
Reviewed by: Bruce A. Mah <bmah@acm.org>
2000-08-07 22:47:46 +00:00
Maxim Sobolev
0f4dfa202e
New option "-s" to query size of the installed package(s).
...
PR: 19445
Submitted by: sobomax
Reviewed by: knu
Approved by: silence
2000-07-07 13:06:32 +00:00
Dag-Erling Smørgrav
c66a7bdea9
Use libfetch instead of libftpio. This adds support for http and IPv6.
2000-06-27 11:00:07 +00:00
Tim Vanderhoek
87dc218ee3
Use rm -f
if the -f (force) option was given.
2000-06-02 04:32:37 +00:00
Steve Price
beb88613c3
Avoid infinite loops when given a package name like 'm4-1.1/'.
...
Approved by: jkh
2000-05-14 19:54:04 +00:00
Tim Vanderhoek
21014cca64
Finally remove the restriction introduced from NetBSD in r.1.3 that
...
pkg_delete be run as root. Now honours -f and checks ownership of
${PKG_DBDIR} before errx()'ing.
Requested by: bin/5718, myself, bin/18373 (in order)
2000-05-13 12:58:18 +00:00
Sheldon Hearn
8d548e1f88
Do not preserve UIDs, permissions nor flags of package system files in
...
tar files. This fixes clean-up problems during package creation and
does not affect the actual files to be included in the package.
The fix submitted on the attributed PR was identical to the one
obtained from NetBSD.
PR: 17386
Reported by: Adrian Filipi-Martin <adrian@ubergeeks.com>
Obtained from: NetBSD
2000-03-15 09:18:12 +00:00
Bill Fumerola
3bbd4ccc80
-CURRENT is now 500000, reflect that.
2000-03-13 18:47:48 +00:00
Sheldon Hearn
f2e366a105
Remove single-space hard sentence breaks. These degrade the quality
...
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 14:09:25 +00:00
John Baldwin
fb7ac445bf
Add cross references to pkg_version(1) in all the other pkg_* man pages.
...
Also, add a cross reference to pkg_info(1) in pkg_version(1). Finally,
in pkg_version(1), don't put a period at the end of the list of see also
man pages.
Noticed by: Matt Ayres <matta@fast.net>
2000-02-29 15:13:55 +00:00
Kris Kennaway
acf44ec222
pkg_create doesn't use more(1) for displaying +DISPLAY files, it
...
just cats it to stdout.
2000-02-27 06:32:25 +00:00
Jordan K. Hubbard
ff6f5bfb91
1. If checking for directory-ness, check "dir" and "dir/" to catch
...
the case where we have a symlink pointing at a dir.
2. Restore stomped character before returning in make_hierarchy()
2000-02-19 08:58:54 +00:00
Jordan K. Hubbard
95452c412e
1. If checking for directory-ness, check "dir" and "dir/" to catch
...
the case where we have a symlink pointing at a dir.
2. Restore stomped character before returning in make_hierarchy()
2000-02-19 08:52:52 +00:00
Jordan K. Hubbard
b349038c95
While looking for a bug, tripped over style issues with added
...
code. Fix them.
2000-02-18 07:00:01 +00:00
David E. O'Brien
e0908a9f34
Use lstat(2) rather than stat(2) in isdir(), so that a symlink to a
...
directory is not considered a directory. I have a feeling all the other
stat(2) calls should instead be lstat(2) calls, but I have not suffiently
determined that the current behavior [especially in isfile()] isn't
depended upon by someone.
Ok'ed by: JKH
2000-02-08 06:36:08 +00:00
Chris Costello
6f30e43c0e
Grammar fix: `Different than'' should be
`different from''.
2000-01-29 22:20:19 +00:00
Dan Moschuk
61de98348a
Fix a bug in previous commit where pkg_{delete,info} foo-1.0/ would segfault.
...
Noticed first by: kris
2000-01-18 01:45:54 +00:00
Dan Moschuk
06647a4f76
Teach pkg_delete and pkg_info how to deal with full pathnames
...
(/var/db/pkg/foo-1.0, instead of just foo-1.0).
Submitted by: Matthew D. Fuller <fullermd@futuresouth.com>
2000-01-15 01:15:37 +00:00
Sheldon Hearn
3c47fb7922
Fix bogon in previous commit: pass a string argument to printf(3) to
...
satisfy the %s conversion format specifier.
Reported by: Mark Huizer <freebsd@xaa.iae.nl>
2000-01-11 13:40:20 +00:00
Sheldon Hearn
b8d1e942b5
Use a more helpful fatal error message than "Toto! This doesn't look
...
like Kansas anymore!" when unable to return to the original working
directory.
PR: bin/16015
2000-01-11 12:37:16 +00:00
Alexey Zelkin
f4c2a87d41
Include -f and -t options to SYNOPSYS section (manpage) and usage information
...
(main.c)
PR: bin/5410
Submitted by: Frank Volf <volf@oasis.IAEhv.nl>
2000-01-07 13:25:53 +00:00
Jordan K. Hubbard
481dc61302
Deal with package filenames which contain spaces.
...
Submitted by: Ming-I Hsieh <mihs@wm28.csie.ncu.edu.tw>
PR: 15667
2000-01-04 05:08:58 +00:00
Satoshi Asami
a9758dac1a
Redirect stdout from mtree to /dev/null; we don't really need to know
...
the list of directories being created when we install a package.
2000-01-03 22:59:27 +00:00
Jordan K. Hubbard
430122ed41
Only pkg_delete the old package if the new one builds properly.
...
Submitted by: Dan "The Bug" Bugg <bugg@bugg.strangled.net>
1999-12-06 03:19:16 +00:00
Bill Fumerola
47f97505ad
Add '-l' which will match a certain status code.
...
Add the submitter as a contributor in the man page
freebsd -> FreeBSD, while I'm poking around.
PR: bin/15162
Submitted by: Dominic Mitchell <dom@palmerharvey.co.uk>
1999-12-03 06:08:11 +00:00