summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Turn on libdevinfomsmith2001-04-211-3/+3
|
* Activate build of posix1e extensions in libc and libc_r that have beentmm2001-04-041-1/+1
| | | | | | | | moved in from libposix1e, and deactivate build of the soon-to-be-removed libposix1e. Approved by: rwatson Obtained from: TrustedBSD Project
* Rewrite of the CAM error recovery code.ken2001-03-271-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some of the major changes include: - The SCSI error handling portion of cam_periph_error() has been broken out into a number of subfunctions to better modularize the code that handles the hierarchy of SCSI errors. As a result, the code is now much easier to read. - String handling and error printing has been significantly revamped. We now use sbufs to do string formatting instead of using printfs (for the kernel) and snprintf/strncat (for userland) as before. There is a new catchall error printing routine, cam_error_print() and its string-based counterpart, cam_error_string() that allow the kernel and userland applications to pass in a CCB and have errors printed out properly, whether or not they're SCSI errors. Among other things, this helped eliminate a fair amount of duplicate code in camcontrol. We now print out more information than before, including the CAM status and SCSI status and the error recovery action taken to remedy the problem. - sbufs are now available in userland, via libsbuf. This change was necessary since most of the error printing code is shared between libcam and the kernel. - A new transfer settings interface is included in this checkin. This code is #ifdef'ed out, and is primarily intended to aid discussion with HBA driver authors on the final form the interface should take. There is example code in the ahc(4) driver that implements the HBA driver side of the new interface. The new transfer settings code won't be enabled until we're ready to switch all HBA drivers over to the new interface. src/Makefile.inc1, lib/Makefile: Add libsbuf. It must be built before libcam, since libcam uses sbuf routines. libcam/Makefile: libcam now depends on libsbuf. libsbuf/Makefile: Add a makefile for libsbuf. This pulls in the sbuf sources from sys/kern. bsd.libnames.mk: Add LIBSBUF. camcontrol/Makefile: Add -lsbuf. Since camcontrol is statically linked, we can't depend on the dynamic linker to pull in libsbuf. camcontrol.c: Use cam_error_print() instead of checking for CAM_SCSI_STATUS_ERROR on every failed CCB. sbuf.9: Change the prototypes for sbuf_cat() and sbuf_cpy() so that the source string is now a const char *. This is more in line wth the standard system string functions, and helps eliminate warnings when dealing with a const source buffer. Fix a typo. cam.c: Add description strings for the various CAM error status values, as well as routines to look up those strings. Add new cam_error_string() and cam_error_print() routines for userland and the kernel. cam.h: Add a new CAM flag, CAM_RETRY_SELTO. Add enumerated types for the various options available with cam_error_print() and cam_error_string(). cam_ccb.h: Add new transfer negotiation structures/types. Change inq_len in the ccb_getdev structure to be "reserved". This field has never been filled in, and will be removed when we next bump the CAM version. cam_debug.h: Fix typo. cam_periph.c: Modularize cam_periph_error(). The SCSI error handling part of cam_periph_error() is now in camperiphscsistatuserror() and camperiphscsisenseerror(). In cam_periph_lock(), increase the reference count on the periph while we wait for our lock attempt to succeed so that the periph won't go away while we're sleeping. cam_xpt.c: Add new transfer negotiation code. (ifdefed out) Add a new function, xpt_path_string(). This is a string/sbuf analog to xpt_print_path(). scsi_all.c: Revamp string handing and error printing code. We now use sbufs for much of the string formatting code. More of that code is shared between userland the kernel. scsi_all.h: Get rid of SS_TURSTART, it wasn't terribly useful in the first place. Add a new error action, SS_REQSENSE. (Send a request sense and then retry the command.) This is useful when the controller hasn't performed autosense for some reason. Change the default actions around a bit. scsi_cd.c, scsi_da.c, scsi_pt.c, scsi_ses.c: SF_RETRY_SELTO -> CAM_RETRY_SELTO. Selection timeouts shouldn't be covered by a sense flag. scsi_pass.[ch]: SF_RETRY_SELTO -> CAM_RETRY_SELTO. Get rid of the last vestiges of a read/write interface. libkern/bsearch.c, sys/libkern.h, conf/files: Add bsearch.c, which is needed for some of the new table lookup routines. aic7xxx_freebsd.c: Define AHC_NEW_TRAN_SETTINGS if CAM_NEW_TRAN_CODE is defined. sbuf.h, subr_sbuf.c: Add the appropriate #ifdefs so sbufs can compile and run in userland. Change sbuf_printf() to use vsnprintf() instead of kvprintf(), which is only available in the kernel. Change the source string for sbuf_cpy() and sbuf_cat() to be a const char *. Add __BEGIN_DECLS and __END_DECLS around function prototypes since they're now exported to userland. kdump/mkioctls: Include stdio.h before cam.h since cam.h now includes a function with a FILE * argument. Submitted by: gibbs (mostly) Reviewed by: jdp, marcel (libsbuf makefile changes) Reviewed by: des (sbuf changes) Reviewed by: ken
* Do not build (and install) both secure/ and standard versionsru2001-03-261-1/+1
| | | | | | | of libtelnet, telnetd, and telnet. This only worked because secure/ was listed late in SUBDIR in Makefile.inc1. Reviewed by: markm
* There are now compat libs for the Alpha too.obrien2001-02-101-1/+4
|
* Merge into a single US-exportable libcrypt, which only providespeter2000-12-281-8/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | one-way hash functions for authentication purposes. There is no more "set the libcrypt->libXXXcrypt" nightmare. - Undo the libmd.so hack, use -D to hide the md5c.c internals. - Remove the symlink hacks in release/Makefile - the algorthm is set by set_crypt_format() as before. If this is not called, it tries to heuristically figure out the hash format, and if all else fails, it uses the optional auth.conf entry to chose the overall default hash. - Since source has non-hidden crypto in it there may be some issues with having the source it in some countries, so preserve the "secure/*" division. You can still build a des-free libcrypt library if you want to badly enough. This should not be a problem in the US or exporting from the US as freebsd.org had notified BXA some time ago. That makes this stuff re-exportable by anyone. - For consistancy, the default in absence of any other clues is md5. This is to try and minimize POLA across buildworld where folk may suddenly be activating des-crypt()-hash support. Since the des hash may not always be present, it seemed sensible to make the stronger md5 algorithm the default. All things being equal, no functionality is lost. Reviewed-by: jkh (flame-proof suit on)
* Build the ISC library as libisc. This library comes as part of thearchie2000-10-241-1/+1
| | | | | | | | | bind distribution, but until now was not being built as a separate entity. For documentation, see these man pages: assertions(3), eventlib(3), heap(3), logging(3), memcluster(3), tree(3). Reviewed by: jdp
* Fix alphabetical ordering for libsmutilgshapiro2000-10-101-1/+1
|
* Use sendmail's version of vacation. It is command line and databasegshapiro2000-10-101-6/+1
| | | | | | | | | compatible with the old version but includes new functionality and bug fixes. Since it is not part of the NO_SENDMAIL make.conf option, libsmdb and libsmutil should always be built for vacation's sake. PR: 15227
* The rest of the changes needed to support the new version of sendmail (8.11.0).gshapiro2000-08-121-1/+6
| | | | | | Beyond changes to the build system, this includes fixing up the sample freebsd.mc configuration for changes in defaults and syntax, removing outdated documentation, and updating the release notes.
* Include libusb in the buildn_hibma2000-07-021-1/+1
|
* Disconnect libm from the build tree. It's broken, not beingjoe2000-05-021-8/+2
| | | | | | | | | maintained, and has been replaced by msun. The libm sources shouldn't be removed just yet as there are parts that should be merged into msun first. PR: misc/17848 Discussed with: phk & bde
* Document the libpam dependency on libopiekris2000-04-181-0/+1
| | | | Reminded by: bde
* Buildworld fixes for NO_OPENSSH and NO_OPENSSLkris2000-03-091-1/+1
| | | | Approved by: jkh
* Oops, The dependency of libcrypt on libmd went away before it was "fixed"bde2000-01-211-3/+3
| | | | | | here. Reported by: peter
* Fixed bitrot in library build order. libmd was not built beforebde2000-01-171-3/+3
| | | | | | | | libcrypt and libutil was not built before libpam. The order here is currently unimportant, but ../Makefile should descend here to build everything (which currently doesn't work right) or at least to get the order using `make -V SUBDIR'.
* Fixed stray backslash in previous commit.bde2000-01-161-4/+5
| | | | | | Fixed bitrot in comments about library dependencies. The list has been maintained better in ../Makefile.inc1, except it has been uninverted there so it is hard to use manually.
* Enable the building of libposix1erwatson2000-01-151-2/+3
| | | | Reviewed by: eivind
* libipsec and IPsec related apps. (and some KAME related man pages)shin2000-01-061-1/+2
| | | | | Reviewed by: freebsd-arch, cvs-committers Obtained from: KAME project
* Turn libbind back on, it should be ok now.peter1999-11-301-1/+1
|
* oops, forgot to disconnect libbind while it's broken.peter1999-11-301-2/+6
|
* Whistle's Netgraph link-layer (sometimes more) networking infrastructure.julian1999-10-211-2/+2
| | | | | | | | | | Been in production for 3 years now. Gives Instant Frame relay to if_sr and if_ar drivers, and PPPOE support soon. See: ftp://ftp.whistle.com/pub/archie/netgraph/index.html for on-line manual pages. Reviewed by: Doug Rabson (dfr@freebsd.org) Obtained from: Whistle CVS tree
* Make libncp actually compiled.bp1999-10-141-2/+3
| | | | Reviewed by: mdodd
* Allow for another telnet in secure (SRA telnet).markm1999-10-071-1/+2
| | | | Submitted by: Nick Sayer
* Connect libform/libpanel/libmenu.peter1999-09-051-5/+3
|
* Fixed disorder in comments.bde1999-09-041-6/+6
| | | | | | Build libncurses early again (it had drifted into set of libraries that have no ordering requirements, but it must be built before libedit here and before some gnu libraries in ../Makefile.inc1).
* Make the libcrypt's build in the correct order.markm1999-09-011-6/+5
|
* Update a comment regarding dependencies on libtermcap and curses etc.peter1999-09-011-2/+1
|
* Don't build libtermcap, libcurses, libmytinfo, just libncurses.peter1999-08-301-4/+5
|
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Turn off libf2c. Superseeded by EGCS's libg2c.obrien1999-04-181-2/+2
|
* Remove references to libg++ and libf2c that aren't needed post-EGCS.obrien1999-04-141-2/+2
|
* Build libwrap - the core to tcp_wrappers.markm1999-03-141-2/+2
|
* Enable building libio on the alpha.dfr1998-12-171-2/+6
|
* Fixed SUBDIR order.bde1998-11-291-2/+2
|
* Make sure libskey is built before libpam. It is required for one ofjdp1998-11-201-4/+6
| | | | | | | | | | the PAM modules. Fix the comments describing the PAM dependencies to be consistent with other related comments. Restructure the library-building loop slightly, per suggestion from bde.
* Enable the building of libpam. Move libradius and libtacplus up injdp1998-11-181-5/+6
| | | | the list, because they are prerequisites for libpam.
* Enable libradius and libtacplus.jdp1998-11-131-4/+5
|
* Updated library order and comments about it. This fixes libm notbde1998-10-131-6/+10
| | | | being built before libf2c and libmd not being built before libatm.
* Add libdisk back to alpha build.jkh1998-10-011-3/+2
|
* libscsi is obsoleted by CAM.gibbs1998-09-171-3/+2
|
* (this is an extract from src/share/examples/atm/README)phk1998-09-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | =================================== HARP | Host ATM Research Platform =================================== HARP 3 What is this stuff? ------------------- The Advanced Networking Group (ANG) at the Minnesota Supercomputer Center, Inc. (MSCI), as part of its work on the MAGIC Gigabit Testbed, developed the Host ATM Research Platform (HARP) software, which allows IP hosts to communicate over ATM networks using standard protocols. It is intended to be a high-quality platform for IP/ATM research. HARP provides a way for IP hosts to connect to ATM networks. It supports standard methods of communication using IP over ATM. A host's standard IP software sends and receives datagrams via a HARP ATM interface. HARP provides functionality similar to (and typically replaces) vendor-provided ATM device driver software. HARP includes full source code, making it possible for researchers to experiment with different approaches to running IP over ATM. HARP is self-contained; it requires no other licenses or commercial software packages. HARP implements support for the IETF Classical IP model for using IP over ATM networks, including: o IETF ATMARP address resolution client o IETF ATMARP address resolution server o IETF SCSP/ATMARP server o UNI 3.1 and 3.0 signalling protocols o Fore Systems's SPANS signalling protocol What's supported ---------------- The following are supported by HARP 3: o ATM Host Interfaces - FORE Systems, Inc. SBA-200 and SBA-200E ATM SBus Adapters - FORE Systems, Inc. PCA-200E ATM PCI Adapters - Efficient Networks, Inc. ENI-155p ATM PCI Adapters o ATM Signalling Protocols - The ATM Forum UNI 3.1 signalling protocol - The ATM Forum UNI 3.0 signalling protocol - The ATM Forum ILMI address registration - FORE Systems's proprietary SPANS signalling protocol - Permanent Virtual Channels (PVCs) o IETF "Classical IP and ARP over ATM" model - RFC 1483, "Multiprotocol Encapsulation over ATM Adaptation Layer 5" - RFC 1577, "Classical IP and ARP over ATM" - RFC 1626, "Default IP MTU for use over ATM AAL5" - RFC 1755, "ATM Signaling Support for IP over ATM" - RFC 2225, "Classical IP and ARP over ATM" - RFC 2334, "Server Cache Synchronization Protocol (SCSP)" - Internet Draft draft-ietf-ion-scsp-atmarp-00.txt, "A Distributed ATMARP Service Using SCSP" o ATM Sockets interface - The file atm-sockets.txt contains further information What's not supported -------------------- The following major features of the above list are not currently supported: o UNI point-to-multipoint support o Driver support for Traffic Control/Quality of Service o SPANS multicast and MPP support o SPANS signalling using Efficient adapters This software was developed under the sponsorship of the Defense Advanced Research Projects Agency (DARPA). Reviewed (lightly) by: phk Submitted by: Network Computing Services, Inc.
* Hook up libcam and libdevstat.gibbs1998-09-151-4/+4
|
* Fixed SUBDIR order (libm is no longer a prerequisite for libtcl).bde1998-09-071-3/+3
|
* Remove tcl from /usr/src, according to prior agreement. BTW, tcl-8.0 *is*asami1998-09-051-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a port so there is nothing to be done on that side now. Approved by: jkh === To: "Jordan K. Hubbard" <jkh@time.cdrom.com> cc: Andreas Klemm <andreas@klemm.gtn.com>, current@freebsd.org Subject: Re: Make this a relese coordinator decision (was Re: ports-current/packages-current discontinued) From: David Greenman <dg@root.com> Date: Sun, 03 Aug 1997 20:23:31 -0700 >decision is, I'll respect it. Another chance to architect people's principles...I can hardly wait. Seems quite appropriate for a Sunday - I just need to get one of those collection plates (and money envelopes) so I can profit, too. :-) Tcl stays in /usr/src for now, but it needs to be kept up to date; same for perl. If Jordan doesn't have "setup" (written in tcl) ready for 3.0, then tcl will be yanked prior to the 3.0 release (and made into a port). As for the ports tree only supporting the last FreeBSD release, this seems sensible to me. The "ports" have always been a moving target between releases and the problem is only going to get worse when we expand to supporting other processor architectures. In any case, Satoshi is and always has been in charge of the ports tree and whatever he wants to do with it (within reason :-)) is his decision. Does this cover the issue completely? I admit to deleting messages in this thread with unusual fervor (people have FAR too much time on their hands!). There's a fair bit of reasoning behind the above, but since everyone is sick of arguing about this, I'll spare you the analysis. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project
* csu must be built before all shared libaries for ELF, since ELF sharedbde1998-09-021-3/+4
| | | | libraries are linked to at least crti.o. Always build it first.
* BINFORMAT -> OBJFORMAT ready for E-day.jb1998-08-301-3/+3
|
* Building `compat' on alpha is meaningless (they are i386 libraries)gpalmer1998-08-221-2/+3
|
* Add libstand.msmith1998-08-201-2/+2
|
* Cross my fingers and enable libfetch.des1998-08-171-2/+2
|
OpenPOWER on IntegriCloud