aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/compile_et
Commit message (Collapse)AuthorAgeFilesLines
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* Adopt SRCTOP in usr.binWarner Losh2017-03-121-2/+2
| | | | | | | | | | | | Prefer ${SRCTOP}/foo over ${.CURDIR}/../../foo and ${SRCTOP}/usr.bin/foo over ${.CURDIR}/../foo for paths in Makefiles. Differential Revision: https://reviews.freebsd.org/D9932 Sponsored by: Netflix Silence on: arch@ (twice) Notes: svn path=/head/; revision=315170
* DIRDEPS_BUILD: Regenerate without local dependencies.Bryan Drewery2016-02-241-8/+0
| | | | | | | | | | | These are no longer needed after the recent 'beforebuild: depend' changes and hooking DIRDEPS_BUILD into a subset of FAST_DEPEND which supports skipping 'make depend'. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=295989
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+31
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge sync of headSimon J. Gerraty2015-05-272-4/+2
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=283595
| * Merge from head@274682Simon J. Gerraty2014-11-191-2/+0
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=274683
| * \ Merge head from 7/28Simon J. Gerraty2014-08-191-0/+2
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=270164
| * | | Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * | | Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * | | Updated dependenciesSimon J. Gerraty2013-10-131-0/+1
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=256419
| * | | Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * | | Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | | Convert to usr.bin/ to LIBADDBaptiste Daroussin2014-11-251-4/+1
| |_|/ |/| | | | | | | | | | | | | | | | | Reduce overlinking Notes: svn path=/head/; revision=275042
* | | Revert r267233 for now. PIE support needs to be reworked.Bryan Drewery2014-08-191-2/+0
| |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. 50+% of NO_PIE use is fixed by adding -fPIC to INTERNALLIB and other build-only utility libraries. 2. Another 40% is fixed by generating _pic.a variants of various libraries. 3. Some of the NO_PIE use is a bit absurd as it is disabling PIE (and ASLR) where it never would work anyhow, such as csu or loader. This suggests there may be better ways of adding support to the tree. Many of these cases can be fixed such that -fPIE will work but there is really no reason to have it in those cases. 4. Some of the uses are working around hacks done to some Makefiles that are really building libraries but have been using bsd.prog.mk because the code is cleaner. Had they been using bsd.lib.mk then NO_PIE would not have been needed. We likely do want to enable PIE by default (opt-out) for non-tree consumers (such as ports). For in-tree though we probably want to only enable PIE (opt-in) for common attack targets such as remote service daemons and setuid utilities. This is also a great performance compromise since ASLR is expected to reduce performance. As such it does not make sense to enable it in all utilities such as ls(1) that have little benefit to having it enabled. Reported by: kib Notes: svn path=/head/; revision=270168
* | In preparation for ASLR [1] support add WITH_PIE to support building with -fPIE.Bryan Drewery2014-06-081-0/+2
|/ | | | | | | | | | | | | | | | | | | This is currently an opt-in build flag. Once ASLR support is ready and stable it should changed to opt-out and be enabled by default along with ASLR. Each application Makefile uses opt-out to ensure that ASLR will be enabled by default in new directories when the system is compiled with PIE/ASLR. [2] Mark known build failures as NO_PIE for now. The only known runtime failure was rtld. [1] http://www.bsdcan.org/2014/schedule/events/452.en.html Submitted by: Shawn Webb <lattera@gmail.com> Discussed between: des@ and Shawn Webb [2] Notes: svn path=/head/; revision=267233
* - Update FreeBSD Heimdal distribution to version 1.5.1. This also bringsStanislav Sedov2012-03-221-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | several new kerberos related libraries and applications to FreeBSD: o kgetcred(1) allows one to manually get a ticket for a particular service. o kf(1) securily forwards ticket to another host through an authenticated and encrypted stream. o kcc(1) is an umbrella program around klist(1), kswitch(1), kgetcred(1) and other user kerberos operations. klist and kswitch are just symlinks to kcc(1) now. o kswitch(1) allows you to easily switch between kerberos credentials if you're running KCM. o hxtool(1) is a certificate management tool to use with PKINIT. o string2key(1) maps a password into key. o kdigest(8) is a userland tool to access the KDC's digest interface. o kimpersonate(8) creates a "fake" ticket for a service. We also now install manpages for some lirbaries that were not installed before, libheimntlm and libhx509. - The new HEIMDAL version no longer supports Kerberos 4. All users are recommended to switch to Kerberos 5. - Weak ciphers are now disabled by default. To enable DES support (used by telnet(8)), use "allow_weak_crypto" option in krb5.conf. - libtelnet, pam_ksu and pam_krb5 are now compiled with error on warnings disabled due to the function they use (krb5_get_err_text(3)) being deprecated. I plan to work on this next. - Heimdal's KDC now require sqlite to operate. We use the bundled version and install it as libheimsqlite. If some other FreeBSD components will require it in the future we can rename it to libbsdsqlite and use for these components as well. - This is not a latest Heimdal version, the new one was released while I was working on the update. I will update it to 1.5.2 soon, as it fixes some important bugs and security issues. Notes: svn path=/head/; revision=233294
* Build usr.bin/ with WARNS=6 by default.Ed Schouten2010-01-021-0/+2
| | | | | | | Also add some missing $FreeBSD$ to keep svn happy. Notes: svn path=/head/; revision=201386
* Style: move .PATH to where it belongs.Ruslan Ermilov2005-10-141-2/+2
| | | | Notes: svn path=/head/; revision=151328
* Build this from contrib/ now.Mark Murray1999-09-047-657/+3
| | | | Notes: svn path=/head/; revision=50881
* $Header$ -> $FreeBSD$Peter Wemm1999-08-284-4/+4
| | | | Notes: svn path=/head/; revision=50488
* $Id$ -> $FreeBSD$Peter Wemm1999-08-281-1/+1
| | | | Notes: svn path=/head/; revision=50477
* Unbreak K&R support, and generate code that works in K&R C as well asDag-Erling Smørgrav1998-12-181-20/+12
| | | | | | | ANSI C no matter what language is specified. Notes: svn path=/head/; revision=41922
* Generate a prototype for initialize_XXXX_error_table() when the languageDag-Erling Smørgrav1998-12-151-3/+3
| | | | | | | is set to C. Notes: svn path=/head/; revision=41819
* Simplified using new yacc rules and by not generating y.tab.h. TheBruce Evans1998-05-041-3/+4
| | | | | | | lex source is still handled bogusly. Notes: svn path=/head/; revision=35701
* Don't use beforedepend to break things. The usual fix of puttingBruce Evans1998-03-201-11/+9
| | | | | | | | | | | | | | | | generated sources in SRCS breaks because compile_et uses an evil include of one .c file in another. Use a worse fix. Perhaps DPSRCS is useful after all. Don't put *.y in SRCS. Put the generated file in SRCS instead. This fixes incomplete dependencies (mkdep can't work on *.y). Don't override the default .l.c rule. Just use LFLAGS. Fixed some style bugs. Notes: svn path=/head/; revision=34708
* Mdoc'ify man page. Use err(3). Remove whoami.Philippe Charnier1997-06-303-64/+49
| | | | Notes: svn path=/head/; revision=27095
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=23012
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* General -Wall warning cleanup, part I.Jordan K. Hubbard1996-07-123-11/+14
| | | | | | | Submitted-By: Kent Vander Velden <graphix@iastate.edu> Notes: svn path=/head/; revision=17142
* recording cvs-1.6 file deathPeter Wemm1995-12-308-402/+0
| | | | Notes: svn path=/cvs2svn/branches/ATT/; revision=13122
* According to stdlib.h, malloc and realloc return void * but error_table.yBill Paul1995-03-151-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | declares them to return char *. For some reason, this causes no problems with the old compiler tools, but doing a 'make world' with gcc 2.6.3 in a seperate DESTDIR got me this error: yacc -d /usr/src/usr.bin/compile_et/error_table.y cc -O2 -I. -I/usr/src/usr.bin/compile_et/../../lib/libcom_err -I/mnt/usr/include -c y.tab.c -o error_table.o In file included from /usr/src/usr.bin/compile_et/et_lex.lex.l:11, from /usr/src/usr.bin/compile_et/error_table.y:233: /mnt/usr/include/stdlib.h:100: conflicting types for `malloc' /usr/src/usr.bin/compile_et/error_table.y:80: previous declaration of `malloc' /mnt/usr/include/stdlib.h:104: conflicting types for `realloc' /usr/src/usr.bin/compile_et/error_table.y:80: previous declaration of `realloc' *** Error code 1 Stop. Declaring malloc and realloc to return void * fixes this. It could be that the new gcc is a bit more picky about these things. Notes: svn path=/head/; revision=7073
* Add y.tab.h to CLEANFILES.Jordan K. Hubbard1995-02-091-2/+2
| | | | Notes: svn path=/head/; revision=6255
* Fix include directive bobble.Garrett Wollman1995-01-141-2/+2
| | | | Notes: svn path=/head/; revision=5625
* Upgrade to latest released SIPB version I can find. (Unfortunately, theGarrett Wollman1995-01-147-181/+444
| | | | | | | original releases were not numbered.) Notes: svn path=/head/; revision=5624
* Slight makefile cleanup.Garrett Wollman1995-01-141-3/+2
| | | | Notes: svn path=/head/; revision=5617
* Initial import of eBones.Geoff Rehmet1994-09-3012-0/+823
(Including all changes for FreeBSD - importing the original eBones distribution would be too complex at this stage, since I don't have access to Piero's CVS.) (If you want to include eBones in your system, don't forget to include MAKE_EBONES in /etc/make.conf.) (This stuff is now also suppable from braae.ru.ac.za.) Bones originally from MIT SIPB. Original port to FreeBSD 1.x by Piero Serini. Moved to FreeBSD 2.0 by Doug Rabson and Geoff Rehmet. Nice bug fixes from Doug Rabson. Notes: svn path=/cvs2svn/branches/EBONES_KRB4/; revision=3237