Maxim Sobolev
a1ad4f468a
New feature: allow origins of all dependencies be recorded into package list
...
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
2002-05-05 21:03:25 +00:00
Maxim Sobolev
f351f851db
In a origin lookup mode (-O) don't bail out when encountering empty package
...
directory, because this prevent this option from being used from the
package-depends target of bsd.port.mk since it creates such empty dir
during its normal operation.
MFC after: 6 days
2002-05-05 20:50:27 +00:00
Maxim Sobolev
ae346c242b
Update usage() and manpage to match reality (add -O into usage and adjust
...
both to make clear that -W and -O are stand-alone options).
MFC after: 6 days
2002-05-05 13:44:32 +00:00
Maxim Sobolev
2dc0025a87
Use PLIST_ORIGIN instead of rolling own version using PLIST_COMMENT.
...
MFC after: 6 days
2002-05-05 13:09:04 +00:00
Maxim Sobolev
63d4f9853d
Handle PLIST_ORIGIN properly.
...
Poked by: kris
Pointy hat grabbed by: sobomax
MFC after: 6 days
2002-05-05 12:54:11 +00:00
Doug Barton
2b0baf3e99
* Fix a small typo, thanks to olgeni
...
* Document the COMP_CONFS variable in the .mergemasterrc example
2002-05-04 22:53:03 +00:00
Doug Barton
b3559845fb
* Add some niceties to make the -p option quieter, and better behaved
...
* Take a simple idea about setting the screen width using stty (for sdiff's
purposes) thoughtfully suggested by Joerg to an absurd conclusion.
2002-05-04 22:45:12 +00:00
Brian Somers
c1d57c383a
Tweak a data type from char * to u_char *
2002-05-04 21:47:43 +00:00
Brian Somers
e1e3d2ca69
Make ``set mru'' require a context. In multi-link mode, there's no
...
point in being allowed to ``set mru'' for the MP lcp layer.
Spotted by: Richard Browne <richb@timestone.com.au>
MFC after: 1 month
2002-05-04 19:38:43 +00:00
Maxim Sobolev
76c0ee0ef2
Add ability to query installed packages based on origin.
2002-05-04 14:49:49 +00:00
Maxim Konovalov
cc37581539
style(9): sort includes, remove EOL spaces.
...
MFC after: 1 week
2002-05-03 21:03:37 +00:00
Maxim Konovalov
021e53b8df
wait(2) for compress_log() processes to complete before exit.
...
Spotted by: Grigoriy Strokin <grg@isabase.philol.msu.ru>
Reviewed by: -current
MFC after: 1 month
2002-05-03 20:53:37 +00:00
Maxim Sobolev
3d5c1511ca
Make pkg_info working again when argument is a file not in the current
...
directory.
PR: 37571
Submitted by: Dirk Meyer <dirk.meyer@dinoex.sub.org>
MFC after: 1 week
2002-05-02 13:09:33 +00:00
Maxim Sobolev
5583155096
Make `-g' working for symlinks.
...
PR: 33857
Submitted by: darren <igla@batterybackups.net>
MFC after: 1 week
2002-05-02 12:52:42 +00:00
Maxim Sobolev
3465d2ab40
Kill local variable which shadows global one. This fixes creation of bzip2
...
compressed packages broken in the previous commit.
Pointy hat to: obrien
2002-05-02 10:19:13 +00:00
Brian Somers
d9c83d7b81
Bump the version to mark the fixed FSM TLD ordering
2002-05-01 10:08:10 +00:00
Brian Somers
d14cc5f96a
If we receive a config request while Open, call TLD *before* decoding
...
the request as TLD may initialise fields that are set when decoding the
request.
MFC after: 1 week
2002-05-01 10:04:49 +00:00
Brian Somers
69f6ed253d
Allow the peer to modify the LQR interval
2002-05-01 07:49:07 +00:00
Peter Wemm
37436e4075
Make this compile and not segfault on ia64. ptr = strdup("foo"); is
...
fatal if the declaration of strdup() isn't in scope. The upper 32 bits
of the pointer are lost since it defaults to returning "int". Fix some
warnings while here, including trying to make gcc-3.1 happy.
2002-05-01 06:49:43 +00:00
David E. O'Brien
ee1c407b54
Add the ability to use Bzip'ed packages.
...
Also add the ability to use Bzip'ed distributions -- but this is exclusive
of being able to use Gzip'ed distributions.
Sponsored by: FreeBSD Mall, Inc.
2002-04-30 22:40:06 +00:00
Ruslan Ermilov
64b06e7897
Make crunchide(1) a cross-tool; needed for cross-arch "make release".
...
Note that a.out is only supported for the non-cross i386 case.
2002-04-30 09:34:53 +00:00
Ruslan Ermilov
96a2d897a7
Use the SCRIPTS knob.
2002-04-29 15:43:47 +00:00
Dag-Erling Smørgrav
f249dbcc71
Spell void * as void * rather than caddr_t. This is complicated by the
...
fact that caddr_t is often misspelled as char *.
Sponsored by: DARPA, NAI Labs
2002-04-28 15:18:50 +00:00
Ian Dowse
62e621e89c
Fix a number of warnings. A gcc preprocessor bug relating to macros
...
with variable numbers of arguments made this slightly harder than
it should be. Avoid the bug by not doing string concatenation within
the macros, and instead add a new function to syslog or print the
error messages.
2002-04-28 11:59:30 +00:00
Ian Dowse
72d12a7fae
Oops, remove references to NLOCKED and NWANTED, now that they no
...
longer exist.
2002-04-28 10:24:38 +00:00
Garance A Drosehn
f16d68d06e
Include <netinet/in.h> to squash one more compile-time warning.
...
MFC after: 3 days
2002-04-25 07:41:49 +00:00
Garance A Drosehn
32e56cd19d
When using %p to print out pointers to struct's, first cast the values
...
to (void *) to satisfy some stricter warning-level checks in the new
gcc (on sparc64).
Reviewed by: obrien
MFC after: 4 days
2002-04-25 05:46:44 +00:00
Hellmuth Michaelis
82dd825190
PR: 33966
...
Submitted by: Nicola Vitale <nivit@libero.it>
Reviewed by: hm
MFC after: 3 days
2002-04-24 14:30:56 +00:00
Hajimu UMEMOTO
afb2dc7515
handle ECONNABORTED.
...
Submitted by: morito@double-fault.net
Obtained from: KAME
MFC after: 3 days
2002-04-24 12:23:03 +00:00
Hajimu UMEMOTO
561ca6a7f6
typo in connect(2) error handling.
...
Submitted by: Yukiyo Akisada <Yukiyo.Akisada@jp.yokogawa.com>
Obtained from: KAME
MFC after: 3 days
2002-04-24 10:43:40 +00:00
David E. O'Brien
01df2ec328
Change the name of the 'bin' distribution to 'base'.
...
This is done since it contains much more than /bin, and also gets in the
way when making a combined install+fixit CD.
OK'ed by: jkh
2002-04-23 22:16:41 +00:00
Garance A Drosehn
055c131503
Improve the error message the user sees if the startdaemon routine cannot
...
connect() to the socket for lpd. Tell them this error probably means that
the master 'lpd' process is not running.
MFC after: 4 days
2002-04-23 02:42:04 +00:00
Garance A Drosehn
98f6cc5401
Implement new printcap option of "rc" aka "remote.resend_copies".
...
This is a boolean option, and if it is specified in a print queue
for a remote host, it causes lpd to resend the data file for each
copy the user requested on 'lpr -#n'. This is useful for network
printers which accept lpd-style jobs, but which ignore the control
file (and thus they ignore any request for multiple copies).
PR: 25635
Reviewed by: short review on freebsd-audit
MFC after: 6 days
2002-04-23 00:06:10 +00:00
Garance A Drosehn
f0baf66556
Add 'const' to some casts to fix two warnings that are printed by the
...
new gcc (on sparc64).
MFC after: 4 days
2002-04-22 23:28:42 +00:00
Garance A Drosehn
ac7d1b151c
Add 'const' to some casts to fix two warnings that are printed by the
...
new gcc (on sparc64).
MFC after: 4 days
2002-04-22 23:08:07 +00:00
Dag-Erling Smørgrav
d397408818
Usage style sweep: spell "usage" with a small 'u'.
...
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.
2002-04-22 13:44:47 +00:00
Ruslan Ermilov
5fd42ef525
Don't needlessly redefine the afterinstall target.
2002-04-22 10:46:12 +00:00
Jake Burkholder
e114d8ce12
Add a Makefile for this.
2002-04-22 04:08:01 +00:00
Garance A Drosehn
475148538b
Underline the default value for rp=, the same way all the other string-type
...
default values are underlined (instead of using fake double-quotes).
MFC after: 4 days
2002-04-22 01:09:24 +00:00
Garance A Drosehn
4d39e5f937
Add description of `mc' (max copies), add short-form to long-form mapping
...
for `tf' (troff filter), and add a cross-reference to chkprintcap in some
lpr-related man pages.
Submitted by: dwmalone
MFC after: 4 days
2002-04-22 01:04:02 +00:00
Bill Fenner
8bddab08a5
Turn blank lines into .Pp . This does not significantly change the
...
rendering of the man pages (turns some sequences of two blank lines
into a single blank line), and eliminates 306 errors generated while
formatting named.conf.5 .
2002-04-21 18:41:29 +00:00
Brian Somers
768dc55092
Don't load the netgraph line discipline. When it's in use, TIOCMGET
...
fails and on loss of carrier, the device doesn't become selectable with
0 bytes to read.
Problem reported by: ache
2002-04-21 02:00:29 +00:00
David E. O'Brien
2d37eb657e
Improve the Bzip2 handling.
...
Sponsored by: FreeBSD Mall, Inc.
2002-04-20 21:20:58 +00:00
Jake Burkholder
47006c28ae
sysinstall compiles on sparc64.
2002-04-20 15:50:32 +00:00
Philippe Charnier
7f94b8deee
Use `The .Nm utility'
2002-04-20 12:27:18 +00:00
Boris Popov
5f3d1ad8c9
Add character translation table between Unix and NetWare according
...
to Sweden standards.
Submitted by: Roger Olofsson <roger.olofsson@kommun.engelholm.se>
MFC after: 1 week
2002-04-20 05:35:02 +00:00
Garance A Drosehn
c7e56d3248
Change lpd to recognize the '-s' parameter as a preferred synonym
...
for what is currently the '-p' parameter. '-s' is what NetBSD
used (and they implemented it before I added -p in FreeBSD), and
it also matches the '-s' option in syslogd. Someone in OpenBSD
land had also talked about adding a '-s' option, but it hasn't
happened yet.
MFC after: 5 days
2002-04-19 19:33:24 +00:00
Garance A Drosehn
fc7477304d
Remove a safety-setting line which is unnecessary now that the previous
...
line is using strlcpy instead of strncpy.
MFC after: 4 days
2002-04-19 18:46:10 +00:00
Garance A Drosehn
f6d5668396
Fix 'deamon' -> 'daemon' in a comment.
...
Obtained from: NetBSD, OpenBSD
MFC after: 4 days
2002-04-19 18:36:56 +00:00
Garance A Drosehn
150508c64d
Add a little detail to the syslog-msg that comes up when lpd can not
...
execute a given filter.
MFC after: 4 days
2002-04-19 18:28:35 +00:00