summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* - Introduce a notion of `packing list format version'. This allows makingsobomax2001-10-1011-17/+146
| | | | | | | | | | | | | | | | | | non-backward compatible changes in the format of packing list and handle them gracefully; - fix a longstanding issue with symlinks handling. Instead of recording checksum for the file symlink points to, record checksum for the value returned by readlink(2). For backward compatibility increase packing list format minor version number and provide a fallback to a previous behaviour, if package in question was created with older version of pkg_* tools; Submitted by: Alec Wolman <wolman@cs.washington.edu>, sobomax - don't record MD5 checksum for device nodes, fifo's and other non-regular files. Submitted by: nbm MFC in: 2 weeks
* WARNS=2 cleanup.sobomax2001-10-1027-175/+184
| | | | | Tested on: i386, alpha MFC after: 2 weeks
* Fix one more compile-time warning by renaming a local variable.gad2001-10-091-3/+3
| | | | MFC after: 4 days
* Fix a compile-time warning by declaring 'len' as size_t instead of int.gad2001-10-091-1/+1
| | | | MFC after: 4 days
* Rename the local variable 'person' to 'lpr_username', to avoid compile-timegad2001-10-091-9/+9
| | | | | | warnings about conflict with a global variable used by 'lprm'. MFC after: 4 days
* Get rid of some minor compile-time errors by changing copyright/rcsidgad2001-10-091-3/+6
| | | | | | | definitions to the same format used in other lpr source files, and by adding parenthesis to the right spot in one 'if' statement. MFC after: 4 days
* Fix minor compile-time error in definition of 'copyright'.gad2001-10-091-1/+1
| | | | MFC after: 4 days
* Fix minor compile-time warning that snunk in with changes to sortq() rtn.gad2001-10-091-0/+1
| | | | MFC after: 4 days
* OOPS, delete some commented out debugging code committed along with r.1.25.sobomax2001-10-081-1/+0
| | | | MFC after: 2 weeks
* - Allow package archive to be created from a locally installed package. Thissobomax2001-10-085-30/+109
| | | | | | | | | allows for an easy way to backup old version of port prior to installing a new one; - silence compiler warnings by killing some unused variables and adding all includes necessary. MFC after: 2 weeks
* Print interface name for each ARP entry.ru2001-10-081-0/+3
| | | | | Prodded by: Igor Podlesny <poige@morning.ru> MFC after: 1 week
* Don't core dump if we can't get the index automatically.imp2001-10-051-1/+2
| | | | Debug info from: Ben Hockenhull <benh@jpj.net>
* Removed mentions of TARGET_ARCH from non-cross places.ru2001-10-041-2/+1
|
* Hopefully improve control message passing over Unix domain sockets.dwmalone2001-10-042-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) Allow the sending of more than one control message at a time over a unix domain socket. This should cover the PR 29499. 2) This requires that unp_{ex,in}ternalize and unp_scan understand mbufs with more than one control message at a time. 3) Internalize and externalize used to work on the mbuf in-place. This made life quite complicated and the code for sizeof(int) < sizeof(file *) could end up doing the wrong thing. The patch always create a new mbuf/cluster now. This resulted in the change of the prototype for the domain externalise function. 4) You can now send SCM_TIMESTAMP messages. 5) Always use CMSG_DATA(cm) to determine the start where the data in unp_{ex,in}ternalize. It was using ((struct cmsghdr *)cm + 1) in some places, which gives the wrong alignment on the alpha. (NetBSD made this fix some time ago). This results in an ABI change for discriptor passing and creds passing on the alpha. (Probably on the IA64 and Spare ports too). 6) Fix userland programs to use CMSG_* macros too. 7) Be more careful about freeing mbufs containing (file *)s. This is made possible by the prototype change of externalise. PR: 29499 MFC after: 6 weeks
* Change the way DAO/TAO modes are init'ed.sos2001-10-011-4/+6
|
* mdoc(7) police: markup nits.ru2001-10-011-3/+3
|
* mdoc(7) police: removed whitespace at EOL.ru2001-10-011-1/+1
|
* *** empty log message ***obrien2001-10-013-15/+18
|
* Check the return values from calls to malloc(), calloc(), strdup() etc.des2001-09-301-12/+33
| | | | | Submitted by: Philippe Charnier <charnier@xp11.frmug.org> MFC after: 2 weeks
* Close all open file descriptors before restarting sysinstall.murray2001-09-304-2/+16
| | | | | PR: bin/30737 Submitted by: Alexey V. Neyman <alex.neyman@auriga.ru>
* Add a new option to edquota(8) - "-f", which willyar2001-09-282-10/+38
| | | | | | | | | allow to limit the prototype quota distribution (-p) to a single filesystem. Useful when initializing quotas on a newly added disk. PR: bin/30816 Submitted by: Dmitry Morozovsky <marck@rinet.ru>
* Mention that gif interfaces are created at runtime and refer thebrooks2001-09-281-0/+7
| | | | | | administrator to the ifconfig create command. MFC after: 1 week
* Add device driver support for the Broadcom BCM570x family of gigabitwpaul2001-09-272-0/+2
| | | | | | | | | | | | | | ethernet controllers. This adds support for the 3Com 3c996-T, the SysKonnect SK-9D21 and SK-9D41, and the built-in gigE NICs on Dell PowerEdge 2550 servers. The latter configuration hauls ass: preliminary measurements show TCP speeds of over 900Mbps using only normal size frames. TCP/IP checksum offload, jumbo frames and VLAN tag insertion/stripping are supported, as well as interrupt moderation. Still need to fix autonegotiation support for 1000baseSX NICs, but beyond that, driver is pretty solid.
* Basically rewrite the sortq() routine which is used by 'lpc clean' andgad2001-09-271-20/+126
| | | | | | | | | | 'lpc tclean'. In some obscure cases, the previous version could cause a valid user job to be removed (by 'clean'), due to invalid assumptions in the sort routine. This was a rare problem, unless ctlinfo.c is compiled with 'LEAVE_TMPCF_FILES' turned on (to check what that rtn was doing). Reviewed by: Lack of outcry on -audit and freebsd-print@bostonradio.org MFC after: 10 days
* Redo patch in 1.22 such that the header printing is reset when theguido2001-09-261-19/+16
| | | | | | | process gets a SIGCONT Reviewed by: kris@freebs.org MFC after: 2 weeks
* Back out rev 1.74. This functionality causes a panic on 4.4-RELEASEmurray2001-09-251-32/+0
| | | | | | | | | | | | | | | | floppies if you try to actually use it. This code will work fine if you build and use sysinstall on a running system, since you have the benefit of an installed termcap file. However, this code does not work on an MFSROOT, where you must set the TERMCAP environment variable properly. Unfortunately the quick fix of setting the TERMCAP variable doesn't seem to fix the problem either. olgeni will add this functionality back once it's been fully implemented (hopefully using the working code in termcap.c). PR: bin/30739 Submitted by: Alexey V. Neyman <alex.neyman@auriga.ru> Discussed with / Pointy hat to: olgeni MFC after: 3 days
* Only compile with strtofflags.c from libc if bootstrapping.ru2001-09-241-4/+6
|
* o Reduce userland inclusion of kernel headers -- remove unneeded includerwatson2001-09-241-1/+0
| | | | | | of <sys/mbuf.h>. Reviewed by: jlemon
* Add a couple of functions to create persistent variables that willmurray2001-09-246-12/+110
| | | | | | | | | | | survive a sysinstall Ctrl-C -> 'Restart'. This fixes another annoying bug where restarting sysinstall will try to reload kernel modules and do other external things that have already been done. For now, use these persistent variables to keep track of module, usbd, and pccardd initialization. Bug found by: rwatson MFC after: 1 week
* Silence more warnings.murray2001-09-226-9/+10
|
* Silence warnings on alpha :murray2001-09-224-12/+22
| | | | | Use '%p' when printing out the address of a function. sizeof(int) != sizeof(long)
* Silence warnings.murray2001-09-225-6/+12
|
* Silence warnings :murray2001-09-226-16/+19
| | | | | | Use static as necessary. Use __unused as necessary. sizeof(int) != sizeof(void *)
* Add a function to free all of sysinstall's internal variables from themurray2001-09-226-6/+74
| | | | | | | | | environment. This fixes an annoying bug where hitting Ctrl-C and telling sysinstall to 'restart' will do no such thing since many of the options are still set and so you won't be prompted for them again. MFC after: 1 week
* Use the isDebug() function rather than making up a new environmentmurray2001-09-222-2/+2
| | | | | | variable to check for debug functionality. Previously, you had to set both 'debug' and 'SYSINSTALL_DEBUG' to get a log of sysinstall's activities. Now, only 'debug' is necessary.
* Keep up with sys/net/rtsock.c,v 1.58.ru2001-09-211-1/+1
| | | | Prodded by: brian
* WARNS= -> WARNS?=ru2001-09-212-2/+2
|
* Deal with nfs server module changes for autoloading.peter2001-09-201-9/+4
|
* Deal with module name changes and autoloading.peter2001-09-201-15/+8
|
* Add minimal support for "o"-type print-file actions in lpd control files.gad2001-09-202-13/+29
| | | | | | | | | This was described in the original RFC wrt lpr, but most lpr's do not actually implement it. There is some indication that MacOS 10.1 will be using this when sending postscript files to print servers (that is what "o"-type was supposed to signify -- postscript files). MFC after: 1 week
* Various fixes and improvements:sobomax2001-09-198-80/+187
| | | | | | | | | | | | - fix harmless compiler's warnings (unused variables and missed prototype); - before refusing to delete package because "there are packages installed that require this package" check that packages in question is actually installed; - add new `-r' option to pkg_delete(8), which instructs it to delete not only packages specified at command line, but all packages that depend on specified packages as well. MFC after: 2 weeks
* Userland part of nfs client/server split and cleanup.peter2001-09-186-198/+17
|
* Drop maintainership.bmah2001-09-181-1/+0
|
* Support the use of ${PORTSDIR} to find a ports tree INDEX file inbmah2001-09-181-2/+2
| | | | | | | | an other-than-default location. PR: bin/30350 Submitted by: "NINOMIYA Hideyuki <NINOMIYA Hideyuki" <nin@jp.FreeBSD.org> MFC after: 3 days
* Use includes to get prototypes for hints and env arrays.peter2001-09-171-0/+8
| | | | Submitted by: bde
* Fix segfault introduced in previous commit (when adding local packages).sobomax2001-09-171-2/+3
|
* Fix the bootstrapping aid from revision 1.9.ru2001-09-171-1/+1
| | | | WORLD was renamed to BOOTSTRAPPING.
* Fix so that lpc's interactive-mode will not be confused by EditLine processinggad2001-09-171-0/+9
| | | | | | | into thinking that there is a print-queue called 'xterm'... Reviewed by: short discussion on freebsd-stable MFC after: 1 week
* Rework the RTSOL logic from previous patch (it was wrong)jkh2001-09-151-4/+15
| | | | | PR: 26187 && 24136 Submitted by: Glenn Trewitt <trewitt@trewitt.org>
* Add missing {}. This made most/all scripted installs fail.phk2001-09-142-2/+4
| | | | Approved by: jkh
OpenPOWER on IntegriCloud