aboutsummaryrefslogtreecommitdiff
path: root/share/mk/src.libnames.mk
Commit message (Collapse)AuthorAgeFilesLines
...
| * Enable build of libbearsslSimon J. Gerraty2019-02-261-0/+15
| | | | | | | | | | | | | | | | | | Reviewed by: emaste Sponsored by: Juniper Networks Differential Revision: D16337 Notes: svn path=/head/; revision=344566
| * Make libifconfig INTERNALLIBEd Maste2019-02-251-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of PRIVATELIB + NO_PIC. This avoids the need for the wlandebug PIE special case added in r344211, and provides a stronger guarantee against 3rd party software coming to depend on the API or ABI. If / when we declare the API/ABI to be stable we can make it a normal library. Discussed with: bapt Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=344530
* | Fix typosEnji Cooper2019-02-201-2/+2
| | | | | | | | | | | | | | | | LIBGMOCK_MAIN and LIBGTEST_MAIN were missing corresponding underscores in the variable names. Notes: svn path=/projects/import-googletest-1.8.1/; revision=344321
* | MFhead@r344270Enji Cooper2019-02-191-23/+29
|\| | | | | | | Notes: svn path=/projects/import-googletest-1.8.1/; revision=344271
| * Use make's :tl instead of checking "no" and "NO"Ed Maste2019-02-151-1/+1
| | | | | | | | | | | | | | | | Suggested by: kevans Reviewed by: kevans Notes: svn path=/head/; revision=344182
| * Add WITH_PIE knob to build Position Independent ExecutablesEd Maste2019-02-151-22/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Building binaries as PIE allows the executable itself to be loaded at a random address when ASLR is enabled (not just its shared libraries). With this change PIE objects have a .pieo extension and INTERNALLIB libraries libXXX_pie.a. MK_PIE is disabled for some kerberos5 tools, Clang, and Subversion, as they explicitly reference .a libraries in their Makefiles. These can be addressed on an individual basis later. MK_PIE is also disabled for rtld-elf because it is already position-independent using bespoke Makefile rules. Currently only dynamically linked binaries will be built as PIE. Discussed with: dim Reviewed by: kib MFC after: 1 month Relnotes: Yes Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D18423 Notes: svn path=/head/; revision=344179
* | Merge build glue for libraries and tests done on githubEnji Cooper2019-02-131-0/+30
|/ | | | | | | | | | I need to doublecheck my work vs the port, but I believe that this covers the initial integration of all upstream tests. Ref: https://github.com/ngie-eign/freebsd/tree/googletest-integration Notes: svn path=/projects/import-googletest-1.8.1/; revision=344086
* libcasper: introduce cap_fileargs serviceMariusz Zaborski2018-11-121-0/+2
| | | | | | | | | | | | | | | | cap_fileargs is a Casper service which helps to sandbox applications that need access to the filesystem namespace. The main purpose of the service is to make easy to capsicumize applications that works on multiple files passed in argv. We have a couple example of using it but we still treat this service as an experimental one. Reviewed by: emsate (previous version), jonathan (partially) Discussed with: many Differential Revision: https://reviews.freebsd.org/D14407 Notes: svn path=/head/; revision=340373
* Add libssl to libldns for DANE.Dag-Erling Smørgrav2018-10-121-1/+1
| | | | | | | Approved by: re (gjb) Notes: svn path=/head/; revision=339325
* Link libcrypto with pthread.Jung-uk Kim2018-09-201-0/+1
| | | | Notes: svn path=/projects/openssl111/; revision=338816
* libbe(3): Move build goop back out of cddl/Kyle Evans2018-08-181-1/+0
| | | | | | | | | | | | | | | | | | | | | | | Some background: in the GSoC project, libbe/Makefile lived in lib/libbe. I created projects/bectl branch, maintained the above for all of five minutes before I misread Makefile.inc1 and decided that it couldn't possibly build outside of cddl/, so I kicked the Makefile out into the cddl/ build and all was good. The misreading was of the bit where .WAIT is added to SUBDIR after lib, libexec but prior to building bin and cddl *only during the install targets*, which is the critical part. Fast forward- buildworld was still broken in my branch unbeknownst to me because I didn't nuke my OBJDIR. Combing through Makefile.inc1 eventually revealed the necessary magic to make sure that libbe's dependencies are specified well enough, and it becomes clear what needs done to make a non-cddl/ build work. This is an interesting prospect, because the build split is kind of annoying to work with. IGNORE_PRAGMA is added to avoid dropping WARNS by one more. This was previously pulled in via cddl/Makefile.inc. Notes: svn path=/head/; revision=337995
* libbe(3): Add to cddl build, adjust src.libnames.mk as neededKyle Evans2018-07-241-1/+1
| | | | Notes: svn path=/projects/bectl/; revision=336673
* src.libnames.mk: Make libbe entry consistent with othersKyle Evans2018-07-241-1/+2
| | | | | | | | | Perhaps using libbe.a from "${DESTDIR}${LIBDIR}" might have been the prevailing technique at one point, but nowadays it appears to be to preferred to spell this as "${OBJTOP}/lib" -- make it so. Notes: svn path=/projects/bectl/; revision=336671
* Import libbe(3)/be(1) from socsvn/soc2017/kneitinger/libbe-headKyle Evans2018-07-241-0/+4
| | | | Notes: svn path=/projects/bectl/; revision=336668
* Rework ofed build.Konstantin Belousov2018-06-161-12/+12
| | | | | | | | | | | | | | Aligns the build with the FreeBSD traditional approach to not build in contrib/, and to track inter-dependencies between libraries. With help from: bdrewery Reviewed by: bdrewery, hselasky Sponsored by: Mellanox Technologies MFC after: 2 weeks Differential revision: https://reviews.freebsd.org/D15648 Notes: svn path=/head/; revision=335253
* MFV r333789: libpcap 1.9.0 (pre-release)Hans Petter Selasky2018-05-281-0/+3
| | | | | | | | MFC after: 1 month Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=334277
* Created static libc PIC/no-SSP library to be used by rtld.Konstantin Belousov2018-05-091-0/+4
| | | | | | | | | | | | | | | | Rtld is not compatible with SSP, and since we link libc_pic.a to rtld to have the basic support like memory and string copy functions, we have to both carefully limit libc use, and to provide the ssp support shims. This change makes the libc use in rtld more straighforward but still limited, and allows to remove the shims, to be done in the next commit. Submitted by: Luis Pires Reviewed by: bdrewery, brooks Differential revision: https://reviews.freebsd.org/D15283 Notes: svn path=/head/; revision=333397
* Add new shared library -- libopencsd.Ruslan Bukin2018-04-041-0/+2
| | | | | | | | | | | | OpenCSD is an ARM CoreSight(tm) trace packets decoder. - Connect libopencsd to the arm64 build. - Install opencsd headers to /usr/include/opencsd/ Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=332033
* Add new shared library -- libipt.Ruslan Bukin2018-03-211-0/+1
| | | | | | | | | | | | libipt is the Intel Processor Trace (Intel PT) packets decoder. - Include libipt to amd64 build. - Install libipt headers to /usr/include/libipt/ Sponsored by: DARPA, AFRL Notes: svn path=/head/; revision=331293
* Remove libreadline from the source tree, all consumers but gdbBaptiste Daroussin2018-02-061-6/+0
| | | | | | | | | | | | | has been switched to libedit long ago, libreadline was built as an internallib for a while and kept only for gdbtui which was broken using libreadline. Since gdb has been mostly deorbitted in all arches, gdbtui was only installed on arm and sparc64, given it has been removed, gdb has been switched to use libedit, no consumers are left for libreadline. Thus this removal Notes: svn path=/head/; revision=328928
* Add libregex, connect it to the buildKyle Evans2018-01-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libregex is a regex(3) implementation intended to feature GNU extensions and any other non-POSIX compliant extensions that are deemed worthy. These extensions are separated out into a separate library for the sake of not cluttering up libc further with them as well as not deteriorating the speed (or lack thereof) of the libc implementation. libregex is implemented as a build of the libc implementation with LIBREGEX defined to distinguish this from a libc build. The reasons for implementation like this are two-fold: 1.) Maintenance- This reduces the overhead induced by adding yet another regex implementation to base. 2.) Ease of use- Flipping on GNU extensions will be as simple as linking against libregex, and POSIX-compliant compilations can be guaranteed with a REG_POSIX cflag that should be ignored by libc/regex and disables extensions in libregex. It is also easier to keep REG_POSIX sane and POSIX pure when implemented in this fashion. Tests are added for future functionality, but left disconnected for the time being while other testing is done. Reviewed by: cem (previous version) Differential Revision: https://reviews.freebsd.org/D12934 Notes: svn path=/head/; revision=328240
* Look for libraries in OBJDIR when building outside of buildworld.Bryan Drewery2017-12-071-1/+1
| | | | | | | | | | This allows build testing more easily without establishing a sysroot or installing the files. Sponsored by: Dell EMC Notes: svn path=/head/; revision=326659
* Merge ^/head r325663 through r325841.Hans Petter Selasky2017-11-151-0/+3
|\ | | | | | | Notes: svn path=/projects/bsd_rdma_4_9/; revision=325842
| * Introduce syslog service for Casper.Mariusz Zaborski2017-11-121-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | syslog in libc secretly reconnects to the daemon. Another issue is that we don't have any information from openlog(3) if we succeeded to open log or not so we don't know if we are ready to enter cabability mode. Because all of that we decided we need a syslog service for Caspser. Reviewed by: bapt@ Differential Revision: https://reviews.freebsd.org/D12824 Notes: svn path=/head/; revision=325739
* | Fix OFED library dependencies.Hans Petter Selasky2017-11-131-23/+30
| | | | | | | | | | | | | | Sponsored by: Mellanox Technologies Notes: svn path=/projects/bsd_rdma_4_9/; revision=325763
* | Remove no longer supported mthca driver.Hans Petter Selasky2017-11-131-3/+0
|/ | | | | | | Sponsored by: Mellanox Technologies Notes: svn path=/projects/bsd_rdma_4_9/; revision=325761
* Extract a set of pmcstat functions and interfaces to the new internalRuslan Bukin2017-10-241-0/+4
| | | | | | | | | | | | | | | | | | | library -- libpmcstat. This includes PMC logging module, symbols lookup functions, ELF parsing, process management, PMC attachment, etc. This allows to reuse code while building new hwpmc(4)-based applications. Also add pmcstat_symbol_search_by_name() function that allows to find mapped IP range for a given function name. Reviewed by: kib Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D12718 Notes: svn path=/head/; revision=324959
* Mark libifconfig as private library in src.libnames.mk (completes r305700)Andriy Voskoboinyk2017-10-011-1/+1
| | | | Notes: svn path=/head/; revision=324157
* Provide libdl.Konstantin Belousov2017-07-101-0/+1
| | | | | | | | | | | | | | | | | | | | Create libdl.so.1 as a filter for libc.so.7 which exports public dl* functions. The functions are resolved from the rtld instead, the goal of creating library is to avoid errors from the static linker due to missed libdl. For static binaries, an empty .o is compiled into libdl.a so that static binaries still get dl stubs from libc.a. Right now lld cannot create filter objects, disable libdl on arm64 when binutils are not used. Reviewed by: bdrewery, dim (previos version); emaste Exp run: PR 220525, done by antoine Sponsored by: The FreeBSD Foundation MFC after: 1 month Differential revision: https://reviews.freebsd.org/D11504 Notes: svn path=/head/; revision=320872
* Utilize SYSROOT from r320119 in places where DESTDIR may be wanting WORLDTMP.Bryan Drewery2017-06-191-3/+3
| | | | | | | | | | | | | | Since buildenv exports SYSROOT all of these uses will now look in WORLDTMP by default. sys/boot/efi/loader/Makefile A LIBSTAND hack is no longer required for buildenv. MFC after: 2 weeks Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=320122
* Fix Makefiles which override LIBDIR to not add incorrect dependencies into ↵Bryan Drewery2017-06-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | .depend. This fixes these cases which would rebuild every time: make[6]: /usr/obj/usr/src/libexec/rtld-elf/tests/libpythagoras/.depend, 1: ignoring stale .depend for /usr/obj/usr/src/tmp/usr/tests/libexec/rtld-elf/libm.a make[6]: /usr/obj/usr/src/lib/libxo/tests/encoder/.depend, 1: ignoring stale .depend for /usr/obj/usr/src/tmp/usr/tests/lib/libxo/libxo.a make[7]: /usr/obj/usr/src/lib/libthr/tests/dlopen/dso/.depend, 1: ignoring stale .depend for /usr/obj/usr/src/tmp/usr/tests/lib/libthr/dlopen/libpthread.a The problem is that some Makefiles will override LIBDIR to where they want their library to install. bsd.libnames.mk will then use ${LIBDIR} to define where *existing* libraries are. This then leads to looking for the libraries in the *target* place rather than the *expected* place. We may want to expand this (and all of the other *DIR variables in bsd.own.mk) into something like what Ports has, a PREFIX and a LOCALBASE. PREFIX being where things are being installed to and LOCALBASE being where they already are. For now store the default expected LIBDIR into LIBDIR_BASE and use that for library locations. Reported by: sbruno MFC after: 1 week Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=320061
* Fix more incorrect library directories fix 'stale .depend' rebuilds.Bryan Drewery2017-06-161-3/+3
| | | | | | | | | Reported by: sbruno MFC after: 3 days Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=320028
* Fix LIBAMU location to fix 'stale .depend' rebuilds in usr.sbin/amd.Bryan Drewery2017-06-161-1/+1
| | | | | | | | | | | This originally came in r275052. Reported by: sbruno MFC after: 3 days Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=320012
* Build zstandard with threading enabledBaptiste Daroussin2017-05-061-0/+1
| | | | Notes: svn path=/head/; revision=317879
* Import zstandard 1.1.4 in baseBaptiste Daroussin2017-04-151-1/+2
| | | | | | | | | | zstandard is a new compression library/tool which is very fast at compression/decompression For now import as a private library Notes: svn path=/head/; revision=316978
* Create libefivar library. This library aims to provideWarner Losh2016-10-111-0/+1
| | | | | | | | | | | | | | | the same API as the GPL'd version of this library. It implements the common Linux API for programatically manipulating UEFI environment varibales using the UEFI Runtime Services the kernel provides. It replaces the old efi library since it is programmed to a different interface, but retails the CHAR16 to UTF-8 and vice versa conversion routines. The new name is to match Linux program's expectations. Differential Revision: https://reviews.freebsd.org/D8128 Reviewed by: kib@, wblock@, Ganael Laplanche Notes: svn path=/head/; revision=307071
* Remove cruft that accidently crept in r305931Baptiste Daroussin2016-09-181-2/+2
| | | | Notes: svn path=/head/; revision=305932
* Disable GNU rcs by defaultBaptiste Daroussin2016-09-181-2/+2
| | | | | | | | | | | | | | | | All remaining tools using rcs has been switched to directly use diff3(1): - etcupdate(8) - freebsd-update(8) Note that the ident(1) tool is been already replaced long ago with a BSD licensed version, as such it remains installed. GNU rcs is still available from ports: - rcs: newer GPLv3 version - rcs57: the latest version from base (GPLv2) Notes: svn path=/head/; revision=305931
* Renaming libifc to libifconfig in response to feedback on initial commit ofKristof Provost2016-09-021-1/+1
| | | | | | | | | | | | | this library. Sticking to 'libifconfig' (and 'ifconfig_' as function prefix) should reduce chances of namespace collisions, make it more clear what the library does, and be more in line with existing libraries. Submitted by: Marie Helene Kvello-Aune <marieheleneka@gmail.com> Differential Revision: https://reviews.freebsd.org/D7742 Reviewed by: cem, kp Notes: svn path=/head/; revision=305290
* Add libifc, a library implementing core functionality that exists in ↵Kristof Provost2016-08-251-0/+1
| | | | | | | | | | | | | | | | | | | | | ifconfig(8) today. libifc (pronounced lib-ifconfig) aims to be a light abstraction layer between programs and the kernel APIs for managing the network configuration. This should hopefully make programs easier to maintain, and reduce code duplication. Work will begin on making ifconfig(8) use this library in the near future. This code is still evolving. The interface should not be considered stable until it is announced as such. Submitted By: Marie Helene Kvello-Aune <marieheleneka@gmail.com> Reviewed By: kp Differential Revision: https://reviews.freebsd.org/D7529 Notes: svn path=/head/; revision=304815
* libproc: Add proc_getmodel().Mark Johnston2016-07-301-1/+1
| | | | | | | | | | | This is used by libdtrace to determine the data model of target processes. This allows for the creation of pid provider probes in 32-bit processes on amd64. MFC after: 1 month Notes: svn path=/head/; revision=303533
* librtld_db: Use the auxv to figure out where to look up loader symbols.Mark Johnston2016-07-301-0/+1
| | | | | | | | | | | | Previously, librtld_db just hardcoded /libexec/ld-elf.so, which isn't correct for processes that aren't using the native ABI. With this change, librtld_db can be used to inspect non-native processes; in particular, dtrace -c now works for 32-bit executables on amd64. MFC after: 1 month Notes: svn path=/head/; revision=303531
* Add basic blacklist build supportKurt Lidl2016-06-021-0/+10
| | | | | | | | | | | Reviewed by: rpaulo Approved by: rpaulo Relnotes: YES Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D5913 Notes: svn path=/head/; revision=301226
* Fix the library name.Mariusz Zaborski2016-06-011-1/+1
| | | | | | | Reviewed by: bdrewery Notes: svn path=/head/; revision=301161
* zfsd(8), the ZFS fault management daemonAlan Somers2016-05-281-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add zfsd, which deals with hard drive faults in ZFS pools. It manages hotspares and replements in drive slots that publish physical paths. cddl/usr.sbin/zfsd Add zfsd(8) and its unit tests cddl/usr.sbin/Makefile Add zfsd to the build lib/libdevdctl A C++ library that helps devd clients process events lib/Makefile share/mk/bsd.libnames.mk share/mk/src.libnames.mk Add libdevdctl to the build. It's a private library, unusable by out-of-tree software. etc/defaults/rc.conf By default, set zfsd_enable to NO etc/mtree/BSD.include.dist Add a directory for libdevdctl's include files etc/mtree/BSD.tests.dist Add a directory for zfsd's unit tests etc/mtree/BSD.var.dist Add /var/db/zfsd/cases, where zfsd stores case files while it's shut down. etc/rc.d/Makefile etc/rc.d/zfsd Add zfsd's rc script sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev.c Fix the resource.fs.zfs.statechange message. It had a number of problems: It was only being emitted on a transition to the HEALTHY state. That made it impossible for zfsd to take actions based on drives getting sicker. It compared the new state to vdev_prevstate, which is the state that the vdev had the last time it was opened. That doesn't make sense, because a vdev can change state multiple times without being reopened. vdev_set_state contains logic that will change the device's new state based on various conditions. However, the statechange event was being posted _before_ that logic took effect. Now it's being posted after. Submitted by: gibbs, asomers, mav, allanjude Reviewed by: mav, delphij Relnotes: yes Sponsored by: Spectra Logic Corp, iX Systems Differential Revision: https://reviews.freebsd.org/D6564 Notes: svn path=/head/; revision=300906
* Fix over/under-linking in contrib/ofed.Bryan Drewery2016-03-041-0/+12
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=296398
* Add missing atf dirs.Bryan Drewery2016-03-031-0/+2
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=296338
* Move casper library entries to proper places.Bryan Drewery2016-03-031-19/+6
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=296337
* Convert casperd(8) daemon to the libcasper.Mariusz Zaborski2016-02-251-3/+30
| | | | | | | | | | | | | | | | | | | | | | | After calling the cap_init(3) function Casper will fork from it's original process, using pdfork(2). Forking from a process has a lot of advantages: 1. We have the same cwd as the original process. 2. The same uid, gid and groups. 3. The same MAC labels. 4. The same descriptor table. 5. The same routing table. 6. The same umask. 7. The same cpuset(1). From now services are also in form of libraries. We also removed libcapsicum at all and converts existing program using Casper to new architecture. Discussed with: pjd, jonathan, ed, drysdale@google.com, emaste Partially reviewed by: drysdale@google.com, bdrewery Approved by: pjd (mentor) Differential Revision: https://reviews.freebsd.org/D4277 Notes: svn path=/head/; revision=296047
* Add libpe for elfcopy(1) PE/COFF supportEd Maste2016-02-121-0/+4
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=295581