summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Ack! I finally got annoyed enough to actually kill this. There is nopeter2001-03-023-11/+0
| | | | | | need to manually force the network_interfaces variable in /etc/rc.conf, and it only ever gets in the way. rc.network and rc.network6 DTRT with the default of 'auto'. This should have died over a year ago.
* Fix brokeness in rev. 1.6: this manpage appeared in NetBSD 1.4.ru2001-03-011-1/+1
| | | | Obtained from: NetBSD
* Put back several lines that I erroneously deleted in my previous commit. Thissobomax2001-03-011-0/+3
| | | | | | should fix recent segfault of `pkg_info -e'. Submitted by: Garrett Rooney <rooneg@electricjellyfish.net>, knu
* h_errno is declared in netdb.h.imp2001-03-011-2/+0
|
* Include <unistd.h> for getopt's interface rather than declare thingsimp2001-03-016-23/+11
| | | | individually here.
* optarg and optind are declared in unistd.h, so don't redundantlyimp2001-03-011-2/+0
| | | | declare them here.
* Move installation of sendmail helpfile into etc/sendmail/Makefile. It isgshapiro2001-03-011-4/+0
| | | | a user configurable file and it would benefit from mergemaster.
* Eliminate mdocNG warnings caused by misplaced or extraneous macro calls.ru2001-02-289-19/+19
|
* Prepare for mdocNG.ru2001-02-281-1/+1
|
* newbus_ioconf() is long gonepeter2001-02-281-1/+0
|
* Some more tidying up. we dont use config-dependent anyware. Eliminatepeter2001-02-282-22/+8
| | | | some duplicate code (cut/paste bug?). tidy up some other minor stuff.
* s/special/compilewith/ (so I stop confusing myself) and GC an unusedpeter2001-02-282-27/+12
| | | | function I missed before.
* Untangle some special magic that happened for conflicting defintions forpeter2001-02-282-24/+0
| | | | local files.* and options.* files on the third pass.
* Remove some more dead code. :-/peter2001-02-281-10/+4
|
* GC some leftover stuff (device-driver suffix)peter2001-02-281-7/+0
|
* Properly detect and report malloc(3) failures.sobomax2001-02-271-36/+51
|
* Print a diagnostic message if no interface could be determinedru2001-02-271-0/+2
| | | | | | | | | when attempting to create a published ARP entry. For example: # arp -s 1.1.1.1 auto pub PR: bin/7753 Submitted by: Jonathan Hanna <pangolin@home.com>
* - Merge recently added into pkg_info(1) regex/glob matching functionality intosobomax2001-02-279-168/+338
| | | | | | | | | pkg_delete(1) as well; - add a new `-a' option for pkg_delete(1) to delete all installed packages; - add a new `-i' option for pkg_delete(1) to request simple rm(1)-like interactive confirmation before attempting to delete each package. Silently approved by: jkh, -ports
* Prepare for mdocNG.ru2001-02-261-1/+1
|
* Use vsnprintf in logmsg() to avoid overflowing the array on the stack.gj2001-02-251-1/+1
| | | | | The problem was noted with an older model 3Com 3C589 which seems to return more than 256 bytes of data.
* Stop pac dereferencing a null pointer if accounting is not enabeled.dwmalone2001-02-251-1/+2
| | | | | | PR: 24798 18191 Submitted by: Nick Hilliard <nick@netability.ie> Reviewed by: gad
* Add two missed modifiers into usage message (`-G' and `-x').sobomax2001-02-241-1/+1
|
* Fix typo that was causing a compiler warning.wpaul2001-02-231-1/+1
| | | | Submitted by: Alfred Perlstein
* Move the 'dont forget "make depend"' to be the last thing that people see,peter2001-02-232-2/+1
| | | | after the warnings.
* Futher cleanups. Since we have two options lists, one for proper optionspeter2001-02-221-18/+9
| | | | | | and one for Makefile options, pass in the list head and use a common newopt() routine. Fix the 'config vmunix' support glue which was broken for a few minutes.
* Move creation of the sendmail statistics file from the usr.sbin/sendmailgshapiro2001-02-221-2/+0
| | | | | | Makefile to the etc/sendmail Makefile to be consistent with all of the other /var file creations. In doing so, change the Makefile target from etc-sendmail.cf to distribution as it installs more than just the sendmail.cf.
* Collect together a handful of copies of the option generator code into apeter2001-02-223-60/+33
| | | | | single newopt(char *name, char *value) function. Change newdev() to do the same thing rather than depending on the evil 'cur' device hack.
* Properly preserve /etc/mail during upgrades.jkh2001-02-211-0/+1
| | | | | PR: misc/23048 Submitted by: jack@germanium.xtalwind.net
* Fix a typo, that in some cases may lead to incorrect packages reordering.sobomax2001-02-211-1/+1
|
* Use the more logical author syntax from pkg_version and quotejkh2001-02-204-14/+8
| | | | email addresses properly.
* Install manpages into machine-specific (i386) subdir.ru2001-02-193-0/+3
|
* Improve pkg_delete(1) behaviour when deleting several packages at once.sobomax2001-02-191-3/+74
| | | | | | | | | | Instead of trying to delete packages in the same order as they were specified in the command line, reorder deletion in such a way that if package A depends on package B then package A will be deleted before B no matter in which order they were specified in the command line. Reviewed by: jkh, will Approved by: jkh
* There is an arbitrary file size limit in ctm of 20MB. By my reckoning,mckay2001-02-191-1/+1
| | | | | | ports/INDEX,v is currently 19.97MB and will blow this limit on the next update. Let's try doubling the limit again, to give us time to get around to removing the limit altogether.
* ${BDECFLAGS} work. And fix a real error in the process. A "MAXUSERS"peter2001-02-197-21/+21
| | | | | string could have been passed to free(); There are some warnings here I am not sure how to fix as they are in the lex scanner code, etc.
* Devices are NOT compiled with the "special c2 option -i"..peter2001-02-181-3/+0
|
* Switch to using a struct xucred instead of a struct xucred when notgreen2001-02-182-13/+13
| | | | | | | | | | | | | | | | | actually in the kernel. This structure is a different size than what is currently in -CURRENT, but should hopefully be the last time any application breakage is caused there. As soon as any major inconveniences are removed, the definition of the in-kernel struct ucred should be conditionalized upon defined(_KERNEL). This also changes struct export_args to remove dependency on the constantly-changing struct ucred, as well as limiting the bounds of the size fields to the correct size. This means: a) mountd and friends won't break all the time, b) mountd and friends won't crash the kernel all the time if they don't know what they're doing wrt actual struct export_args layout. Reviewed by: bde
* Preceed/preceeding are not english words. Use precede and preceding.asmodai2001-02-181-1/+2
| | | | Add $FreeBSD$.
* Preceed/preceeding are not english words. Use precede and preceding.asmodai2001-02-182-3/+3
|
* MFS: getpackagesite() from RELENG_4 that allows the code to be the same.obrien2001-02-171-4/+16
|
* Remove old DNS setup document. We have long past the times whereasmodai2001-02-171-1/+1
| | | | BIND 4 was the thing of the day.
* mdoc(7) police: sanitize previous commit.ru2001-02-161-2/+3
|
* Don't even look at af_family if accept() returns sa->sa_len == 0brian2001-02-131-0/+4
|
* mdoc(7) police: use the default ``file ...'' feature of the .Ar macro.ru2001-02-131-1/+1
|
* In light of the dismal transfer times from ftp.FreeBSD.org, add a newobrien2001-02-132-10/+36
| | | | | | | | `PACKAGEROOT' env var which you would set to a proper mirror of ftp.FreeBSD.org (say "export PACKAGEROOT=ftp://ftp3.FreeBSD.org"), to fetch from an alternate place. This is easier to use than `PACKAGESITE' for true mirrors, and can be used in your dot files across all versions of FreeBSD.
* A better fix for the PacketAliasProxyRule() call.brian2001-02-101-3/+3
| | | | Submitted by: Ian Dowse <iedowse@maths.tcd.ie>
* Prevent the commands output of pkg_version.pl from being executed without thebmah2001-02-091-0/+14
| | | | | | | | | | user actually editing the output. Too many people were rampantly abusing this feature via "pkg_version -c | sh" without really being cognizant of the dangers involved (ports upgrade kits) or the fact that it just plain wasn't designed for it (dependencies). We'll try to keep people from shooting themselves in the foot. Will be MFC-ed to RELENG_4 and RELENG_3 after cooling-off period.
* Teach sysinstall about the `compat4x' distribution.murray2001-02-096-6/+33
| | | | Approved by: jkh
* mdoc(7) police: cosmetics.ru2001-02-091-8/+9
|
* - By default treat supplied arguments as a shell globs to be matched againstsobomax2001-02-084-41/+191
| | | | | | | | | | | | | | | | | | | names of installed packages; - add new `-G' option to disable glob matching and revert to previous behaviour (I have no idea why this could be necessary, though); - add a new `-x' option, which instructs pkg_info(1) to treat supplied arguments as a regular expressions. For example: $ pkg_info foo\* - displays information about all packages whose names start from foo $ pkg_info -G foo\*-1.1 - displays information about package named "foo*-1.1" $ pkg_info -x ^foo.\* - displays information about all packages whose names start from foo Original idea submitted by: Edwin Groothuis <mavetju@chello.nl> (bin/24695) Reviewed by: jkh, roam Approved by: jkh
* mdoc(7) police: replace two -unfilled displays with -tag lists.ru2001-02-072-8/+8
| | | | | | This works only because of bugs in current implementation: the first .It after ``.Bd -unfilled'' re-enables filling mode and does not restore (disable) it back afterwards.
OpenPOWER on IntegriCloud