Commit Graph

186 Commits

Author SHA1 Message Date
christos
c0990c9457 unhook libmagic 2009-05-08 17:47:22 +00:00
christos
185e0d409f External stuff does not belong here. It is handled by external/lib when
descending to external from the top level. At least this is the theory
as I understand it.
2009-04-14 17:49:45 +00:00
christos
62b7074a71 unhook bind libraries 2009-04-12 17:09:46 +00:00
mrg
d1ab7d6b0d put back the atf libraries in here, but find them in external.
fixes compat builds.


XXX: src/Makefile do-compat-external-lib not be necessary now.
2009-01-26 06:27:33 +00:00
jmmv
0cdcf7cea6 Remove ATF 0.5 from dist/atf and all of the reachover Makefiles used to
build it.  0.6 is going to be imported in external/bsd/atf, with all the
necessary Makefiles in that same hierarchy.
2009-01-19 07:08:14 +00:00
pooka
0b7df1d2e2 LIBDPLIBS on librumpvfs 2008-11-27 16:14:46 +00:00
pooka
e10fef6cd2 Split vfs out of rumpkern into rumpvfs. Non-fs rumps no longer
include the file system code.  File system rumps explicitly need
to include rumpvfs from now on.
2008-11-19 14:10:48 +00:00
pooka
b2fa04c6b2 Now that MKPUFFS is default, kill it as advertised.
While there, give puffs and refuse files sensible syspkg entries.
2008-11-12 13:17:27 +00:00
pooka
46b5f75de9 build librumpnet 2008-10-16 09:44:12 +00:00
joerg
af4f585309 Switch to libarchive in src/external/bsd. 2008-09-21 19:45:59 +00:00
pooka
bdf6e0b034 Install rump libraries and utilities to the base system and remove the
private non-installed build infrastructure from sys/rump.

breakdown of commit:
  * install relevant headers into /usr/include/rump
  * build sys/rump/librump/rumpuser and sys/rump/librump/rumpkern
    from src/lib and install as librumpuser and librump, respectively
    + this retains the ability to test a librump build with just the
      kernel sources at hand
  * move sys/rump/fs/lib/libukfs and sys/rump/fs/lib/libp2k to src/lib
    for general consumption, they are not kernel-space dwellers anyway
  * build and install sys/rump/fs/lib/lib$fs as librumpfs_$fs
  * add chapter 3 manual pages for rump, rumpuser, ukfs and p2k
  * build and install userspace kernel file system daemons if MKPUFFS=yes
    is spexified
  * retire fsconsole for now, it will make a comeback with an actually
    implemented version shortly
2008-07-29 13:17:40 +00:00
gmcgarry
495a069c8d Test MKATF variable to compile ATF libs. 2008-07-12 12:20:08 +00:00
lukem
8f975a405a Tie in ../external/lib after the "2nd" dependency barrier.
Move libpam to after a "3rd" dependency barrier, since PAM modules
may depend upon external/lib libraries such as libldap.
2008-05-22 14:16:11 +00:00
jmmv
2a6dead6fc Remove the libatf library and add libatf-c and libatf-c++; per import of
atf-0.5.
2008-05-01 15:33:33 +00:00
mlelstv
b0f88a0388 Import Heimdal-1.1 2008-03-22 08:36:48 +00:00
joerg
d134e844b3 libform and libmenu need libcurses. 2008-03-12 00:21:29 +00:00
jmmv
096ebe7672 Add the libatf library
This adds reachover Makefiles to build the libatf library and enables it in
the parent Makefile.

Things to review in this change:

* Add proper version numbers in the shlib_version files.

* Is libatf properly listed in lib/Makefile?  It theoretically needs
  libstdc++, but the resulting binary library is not linked against it.
2007-11-12 14:56:24 +00:00
tls
6c2ee7b76e Describe libpthread dependency correctly and put bind libs in list of
dependent libs after .WAIT barrier in lib/Makefile.  Fixed build lossage
pointed out by smb.
2007-11-05 04:58:52 +00:00
tls
b21c402a7b Remove MKPRIVATELIB from BIND libraries; move library reachover
directories and Makefiles from src/usr.sbin/bind to src/lib; make
BIND libraries build shared.  Saves about 1MB-1.5MB per installed
executable, about 5MB for a base+etc minimal installation of NetBSD.
2007-11-04 23:28:16 +00:00
joerg
577a8c7029 Add build glue for libarchive and update the various sets. 2007-07-29 17:06:00 +00:00
tls
2368dc663d Move FORTIFY_SOURCE implementation from the somewhat ill-named "libssp"
(what other systems keep in libssp, we already have in libc) into libc
to match what other systems with FORTIFY_SOURCE do.  Goodbye, libssp
dependency in libraries and executables.  Discussed with christos and
mrg; Christos will merge the headers to get us the rest of the way to a
FORTIFY_SOURCE implementation that works as others' code expects.
2007-05-30 01:13:14 +00:00
tls
4147a3c54a Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry.  RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros.  Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default.  Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.
2007-05-28 12:06:17 +00:00
mrg
81d87b60e3 insert .WAIT between libcom_err and libasn1. 2007-03-01 02:54:51 +00:00
pooka
b4747228a7 descend into librefuse if building with MKPUFFS 2007-02-11 18:36:26 +00:00
bouyer
6401b32154 libpam also depends on libkafs now, so .WAIT before building it. 2007-01-06 20:54:37 +00:00
christos
b9692a922e fix typo. 2006-11-08 22:07:23 +00:00
christos
dc0c2709da Add libssp. 2006-11-08 20:52:39 +00:00
pooka
1635cf06bc add libpuffs - the userspace programming interface for puffs
This work was initially started and completed for Google SoC 2005
and tweaked to work a bit better in the past few weeks.  While
being far from complete, it is functional enough to be able and
stable to host a fairly general-purpose in-memory file system in
userspace.  Even so, puffs should be considered experimental and
no binary compatibility for interfaces or crash-freedom or zero
security implications should be relied upon just yet.

The GSoC project was mentored by William Studenmund and the final
review for the code was done by Christos.
2006-10-22 22:52:21 +00:00
tron
77e4af1adc Make sure "libmagic" gets built after "libz". 2006-10-08 13:43:01 +00:00
christos
95db8cb009 .WAIT before libroken. 2006-08-30 17:23:36 +00:00
mrg
2ed89a9707 add support for MKISCSI=no. 2006-06-24 05:14:01 +00:00
gdamore
a5c89047c0 Initial import of bluetooth stack on behalf of Iain Hibbert. (plunky@,
NetBSD Foundation Membership still pending.)  This stack was written by
Iain under sponsorship from Itronix Inc.

The stack includes support for rfcomm networking (networking via your
bluetooth enabled cell phone), hid devices (keyboards/mice), and headsets.

Drivers for both PCMCIA and USB bluetooth controllers are included.
2006-06-19 15:44:33 +00:00
thorpej
144348e766 Support for building proplib in userspace. 2006-04-27 20:41:57 +00:00
rtr
a559f08510 do not build or install libcdk as a part of base anymore
cdk source still lives in dist however

approved by core@
2006-03-30 00:00:23 +00:00
christos
85e611dd01 Goodbye KerberosIV 2006-03-20 04:03:10 +00:00
bouyer
4fd105ebad libkadm5srv and libkadm5clnt uses libhdb, add a .WAIT. 2006-03-19 15:10:19 +00:00
christos
d3e8815a4a Add proper DT_NEEDED dependencies. From Jukka Salmi 2006-03-17 21:43:16 +00:00
agc
c6b4d61ee2 Reachover support for the library version of the iSCSI target. 2006-02-08 18:58:55 +00:00
christos
70d7f8e8c5 move libradius to build after libcrypto. 2005-11-26 16:07:15 +00:00
christos
91168c6f92 Provide the minimum set of .WAIT barriers, adding explanatory comments.
From Patrick Welche, many thanks.
2005-06-03 14:28:07 +00:00
christos
eda876c9d5 Libedit depends on libterm. From Patrick Welche 2005-05-18 22:36:20 +00:00
manu
00b13c7897 Build libradius, imported from FreeBSD 2005-02-20 00:52:02 +00:00
he
67d66c86bb Don't build libpam and associated bits if the target platform doesn't
support shared libraries (sun2 and evbsh5 at it would seem), or if the
user has specified MKPIC=no.  Also introduce a new tag to the set lists
("pam"), so that the non-shlib ports can once again complete a release
build.

Discussed with christos and lukem.
2005-01-10 00:20:21 +00:00
lukem
98a04f5390 Implement libssh as a public library, as pam_ssh needs it. 2005-01-03 06:00:12 +00:00
lukem
fddd5ca989 Move libpam until after everything that it depends upon.
Fixes build that starts with empty OBJ and DEST dirs.
2004-12-29 15:49:42 +00:00
christos
bc6fc4a390 Build libpam last because the modules need to access other libraries. 2004-12-29 04:16:46 +00:00
thorpej
05b129326d Descend into libpam. 2004-12-29 00:11:27 +00:00
lukem
124613b27e Implement DEPLIBS (in Makefile.inc for now), which adds all the listed
libraries to LDADD & DPADD for the current library, using -L OBJDIR-of-DEPLIB
so that the current library can link with the DEPLIB library built but
not installed.

Set DEPLIBS appropriately, rather than explictly adding LDADD/DPADD
for various libraries.

Reorder library build order so that libraries that depend upon any
other library are built at the end.


Whilst this change could be done in a more generic manner (and I
intend to work on that), it does remove the need to implement
top-level build targets such as "do-lib-des" (etc).
2004-07-30 07:02:53 +00:00
dyoung
4758291178 Fix the checkflist for builds without Kerberos 4 (MKKERBEROS4=no)
and without Kerberos 4 & 5 (MKKERBEROS=no). Previously checkflist
complained of missing files.

* move kerberos- and kerberos 4-only files into new flists,
  distrib/sets/lists/*/krb.*

* make the flist generators grok MKKERBEROS{,4} variables

* fix Makefiles which treat MKKERBEROS=no as MKKERBEROS5=no.
  9 out of 10 experts agree that it is ludicrous to build w/
  KERBEROS4 and w/o KERBEROS5.

* fix header files, also, which treat MKKERBEROS=no as MKKERBEROS5=no.

* omit some Kerberos-only subdirectories from the build as
  MKKERBEROS{,4} indicate

(I acknowledge the sentiment that flists are the wrong way to go,
and that the makefiles should produce the metalog directly.  That
sounds to me like the right way to go, but I am not prepared to do
revamp all the makefiles.  While my approach is expedient, it fits
painlessly within the current build architecture until we are
delivered from flist purgatory, and it does not postpone our
delivery. Fair enough?)
2003-12-11 09:46:26 +00:00
itojun
62be3f2658 libkafs is needed for both krb4 and krb5. lha 2003-07-23 20:48:51 +00:00
itojun
75905560e6 go down to libdes 2003-07-23 05:27:38 +00:00
provos
0275e3fef4 enable building the library and the regression test 2003-06-12 23:18:07 +00:00
elric
a41d8cfaf3 Turn on the building and installing of libbsdmalloc. 2003-04-22 20:35:17 +00:00
pooka
f5892341fc descend into libmagic 2003-03-25 23:55:18 +00:00
thorpej
37946878c4 Add librt, which provides POSIX 1003.1b Real-time extensions not
present in libc.  Currently includes 1003.1b semaphores.
2003-01-24 01:52:42 +00:00
christos
f242002868 put libpthread back. I don't think that it will cause ABI issues. 2003-01-19 16:05:46 +00:00
christos
20efb4a2f3 disable pthread support for now, as there will be abi changes. 2003-01-19 15:30:30 +00:00
thorpej
9172911549 Descend into libpthread and libpthread_dbg. 2003-01-18 17:38:04 +00:00
itojun
7ec4f039a8 visit libcrypto_mdc2 if MKCRYPTO_MDC2 is defined 2002-09-26 13:29:44 +00:00
thorpej
035cf21112 Build libpmc. 2002-08-09 00:16:38 +00:00
thorpej
9c33b55e7c Split the notion of building Hesiod, Kerberos, S/key, and YP
infrastructure and using that infrastructure in programs.

	* MKHESIOD, MKKERBEROS, MKSKEY, and MKYP control building
	  of the infratsructure (libraries, support programs, etc.)

	* USE_HESIOD, USE_KERBEROS, USE_SKEY, and USE_YP control
	  building of support for using the corresponding API
	  in various libraries/programs that can use it.

As discussed on tech-toolchain.
2002-03-22 18:10:19 +00:00
tshiozak
dc7d18ff88 refine i18n stuffs.
- add libc/citrus directory.
    this directory contains the common stuffs not only for locale
    but also other facilities relating to i18n (e.g. iconv).
  - To keep the binary compatibility for the ctype modules easily,
    the interface between libc and the modules is simplified.
  - For the future integrated extension, module pool is renamed
    from "/usr/lib/runemodule" to "/usr/lib/i18n".
    In the future, this directory will contain the modules for "iconv",
    "collation", etc.
  - some cosmetic changes.
  - Bug fix for runetype.h; __attribute__((__packed__)) is placed at
    the wrong position and it is invalid unintentionally.
    But, the all members of the structures seem well-aligned.  Thus,
    this bug causes no problem, hopefully.

HEADS UP:
  - /usr/lib/rumemodule is obsoleted.  If you use the multibyte locales,
    you need to install /usr/lib/i18n/* from sys/lib/i18n_module .
  - The binary compatibility of /usr/share/locale/*/LC_CTYPE is probably kept.
    Perhaps, the bug fix about __packed__ mentioned above breaks the
    compatibility...  Be careful especially on 64bit platforms.
2002-03-17 22:14:05 +00:00
augustss
6f4fe92a35 s/usb/usbhid/ 2001-12-28 18:25:24 +00:00
tv
8601a3d8d9 Build libc (and its lint libraries) before all other libs, as llib-lc.ln
is needed in order to build useful lint libraries for the rest.
2001-09-22 01:22:59 +00:00
thorpej
3328ec93f7 Build libpci. 2001-09-13 23:49:19 +00:00
assar
7243e32f7d remove libkadm5 - it is not being used for anything useful 2001-03-04 02:33:09 +00:00
itojun
4481e2ca0d build multibyte locale modules. installed into /usr/lib/runemodule and
dynamically loaded at runtime.
2001-01-25 09:16:38 +00:00
blymn
cbb96bb933 Added libform. 2001-01-05 12:10:39 +00:00
garbled
ff77138855 Enable the build of libcdk 2001-01-04 20:28:13 +00:00
itojun
455900d894 always build libintl (don't check MKNLS).
MKSHARE=no turns off MKNLS (sets it into "no") and /usr/src/Makefile builds
src/lib with MKSHARE=no.
From: Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>
2000-11-04 15:35:43 +00:00
itojun
a8735e2859 do not build libintl if MKNLS=no 2000-11-01 01:21:21 +00:00
itojun
dd5efd6d45 enable lib/libintl. 2000-10-31 10:46:34 +00:00
itojun
8d26d03189 repair openssl (libcrypto) for non-32bit architecture.
don't use unsigned long where 32bit unsigned variable is asked for.
use u_int32_t.  (not sure if uint32_t is better or not, but anyway,
u_int32_t <-> uint32_t should not raise binary compatibility issue)
PR10921.

TODO: have arch-dependent Makefiles where we supply -DFOO for optimization.
(do not change size of variable though)

XXX: we should actually nuke all other #ifdef in /usr/include/openssl/*.h,
however, that needs a lot of work and will make future openssl upgrade harder.

remove RC5 and IDEA by default.  build them separately as
libcrypto_{rc5,idea}.a.  put dummy function, which is "warning to stderr
and exit(1)".  NOCRYPTO_{RC5,IDEA} are obsoleted.
PR10883.
2000-09-30 00:23:28 +00:00
assar
187f6e559a update build infrastructure for heimdal 0.3a, including new shlib versions 2000-08-03 03:53:35 +00:00
thorpej
df83a2a3cd Add MK... variables to enable/disable various aspects of building
crypto support into the system.  See share/mk/bsd.README for more
a full description.
2000-06-23 06:01:10 +00:00
thorpej
e7d6b96938 Merge a bunch of things from crypto-us and crypto-intl into basesrc,
adding support for Heimdal/KTH Kerberos where easy to do so.  Eliminate
bsd.crypto.mk.

There is still a bunch more work to do, but crypto is now more-or-less
fully merged into the base NetBSD distribution.
2000-06-20 06:00:24 +00:00
thorpej
9d167c96cc Build libcrypto and libssl. 2000-06-16 16:18:46 +00:00
simonb
dc5fae5847 Don't build libntp anymore. 2000-05-02 12:22:23 +00:00
veego
70b32a2849 Remove unused libahdi.
It will be replaced in the future with a more generic libdisklabel.
2000-03-07 20:54:57 +00:00
jdc
b646eea64f Add libahdi entry. 2000-02-05 20:57:13 +00:00
blymn
363014dffa Added the libmenu library. 1999-11-23 11:20:29 +00:00
mrg
ba255f8a34 optionally include CRYPTOPATH Makefile.frag files. 1999-07-20 09:47:07 +00:00
thorpej
a3281f7249 Use bsd.crypto.mk. 1999-07-12 22:04:09 +00:00
itojun
85685e0177 ipsec support library.
mainly for debugging, and policy text->binary conversion.  NO crypto code
is included so it is export safe.
1999-07-01 20:15:26 +00:00
thorpej
1cfcfaddc7 Treat crypto-us like domestic. 1999-06-07 00:53:09 +00:00
augustss
ed41c2c3e5 Don't forget to build libusb. 1999-05-11 22:39:05 +00:00
cjs
adfa683d2a Always descend on `make obj', too, to allow developers to switch between
defined and undefined EXPORTABLE_SYSTEM without rerunning `make obj'.
1999-01-03 21:52:26 +00:00
ross
68c92cf43b Descend into libbz2. 1998-09-14 06:39:53 +00:00
lukem
06b0ffe181 distclean is a synonym for cleandir 1998-09-05 14:46:13 +00:00
thorpej
af00191efd libkvm.old is dead. 1998-02-19 23:38:04 +00:00
thorpej
2b1ad5791f Simplify libkvm.old test ... MACHINE_ARCH == "mips" 1998-02-19 07:05:53 +00:00
thorpej
4d03bddedb The i386 port uses libkvm, not libkvm.old now. 1998-02-18 01:13:52 +00:00
oki
f7536c0926 NetBSD/x68k now use libkvm instead of libkvm.old 1997-10-19 19:07:24 +00:00
augustss
24a2703246 Add libossaudio. 1997-10-16 20:28:49 +00:00
mark
9b68e622d1 Switch from libkvm.old to libkvm for the arm32 port. 1997-10-05 23:50:33 +00:00
veego
23caa115f1 Please update your repository before you do a commit. 1997-06-23 09:25:59 +00:00
veego
3a04316b4c s/else/endif/ and remove the endif line for make(clean) || make(cleandir). 1997-06-23 09:17:56 +00:00
mrg
0553741950 move man pages into share/man. 1997-06-23 04:51:16 +00:00
veego
77d1feb1fd Fix a spelling error in a comment. 1997-06-12 07:07:32 +00:00
veego
b0d79042a3 Exchange the test for libkvm and libkvm.old. This makes it easier to see
which port still use the old libkvm.
1997-06-08 10:30:08 +00:00