aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/amd
Commit message (Collapse)AuthorAgeFilesLines
* retire amd(8)Ed Maste2020-03-0933-3158/+0
| | | | | | | | | | | | | | autofs was introduced with FreeBSD 10.1 and is the supported method for automounting filesystems. As of r296194 the amd man page claimed that it is deprecated. Remove it from base now; the sysutils/am-utils port is still available if necessary. Discussed with: cy Relnotes: Yes Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=358821
* Update Makefile.depend filesSimon J. Gerraty2019-12-111-2/+0
| | | | | | | | | | | | | Update a bunch of Makefile.depend files as a result of adding Makefile.depend.options files Reviewed by: bdrewery MFC after: 1 week Sponsored by: Juniper Networks Differential Revision: https://reviews.freebsd.org/D22494 Notes: svn path=/head/; revision=355617
* Add Makefile.depend.optionsSimon J. Gerraty2019-12-111-0/+6
| | | | | | | | | | | | | | | | | | | | Leaf directories that have dependencies impacted by options need a Makefile.depend.options file to avoid churn in Makefile.depend DIRDEPS for cases such as OPENSSL, TCP_WRAPPERS etc can be set in local.dirdeps-options.mk which can add to those set in Makefile.depend.options See share/mk/dirdeps-options.mk Reviewed by: bdrewery MFC after: 1 week Sponsored by: Juniper Networks Differential Revision: https://reviews.freebsd.org/D22469 Notes: svn path=/head/; revision=355616
* Convert amd newvers to using newvers.sh -v.Warner Losh2019-05-231-1/+1
| | | | | | | | | | Rather than the tedious and error-prone grep of sys/conf/newvers.sh, use the new -v arg to dig out the data that's desired. Differential Revision: https://reviews.freebsd.org/D19849 Notes: svn path=/head/; revision=348176
* Move amd.map to usr.sbin/amd/amd/Brad Davis2018-09-182-0/+5
| | | | | | | | | | This leverages CONFS to handle the install of the config file. Approved by: re (gjb), will (mentor) Differential Revision: https://reviews.freebsd.org/D17159 Notes: svn path=/head/; revision=338742
* Use unifdef -x1 instead of ignoring the shell exit codeAlex Richardson2018-08-221-1/+1
| | | | | | | | | | | This way the target fails if unifdef doesn't exist or doesn't modify the file instead of just generating an empty .c file. I found this while building without inherited $PATH (D16815) Approved By: jhb (mentor) Notes: svn path=/head/; revision=338191
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-318-8/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-05-098-8/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=318000
* Fix build after r314656Enji Cooper2017-03-042-1/+3
| | | | | | | | | | | | | | | | | | | | | Some of the changes I introduced to use .ALLSRC were correct in spirit, but incorrect in reality -- in particular, ../Makefile.inc hadn't been pulled in via bsd.init.mk (via bsd.lib.mk, bsd.prog.mk), so the value of .ALLSRC (evaluated immediately) was empty. .include bsd.init.mk explicitly so we can be certain that the values used as dependencies in the targets are defined when the target recipe has been evaluated. Reminder: thou shalt separate out separate functional changes before committing them. (YUGE) Pointyhat to: ngie In collaboration with: bdrewery MFC after: 1 month Reported by: Jenkins, cy, ler, O. Hartmann, Michael Butler Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314676
* usr.sbin: normalize paths using SRCTOP-relative paths or :H when possibleEnji Cooper2017-03-043-12/+12
| | | | | | | | | | This simplifies make logic/output MFC after: 1 month Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314659
* Conditionalize wrap(3) use based on MK_TCP_WRAPPERS instead ofEnji Cooper2017-01-062-3/+8
| | | | | | | | | always building support into amd(8). MFC after: 2 weeks Notes: svn path=/head/; revision=311472
* MFV r305100: Update amd from am-utils 6.1.5 to 6.2.Cy Schubert2016-11-113-38/+324
| | | | | | | | | | | | | | Used extensively on my network over the past month. Reviewed by: pfg, brooks Suggested by: pfg Obtained from: ftp://ftp.am-utils.org/pub/am-utils/ MFC after: 6 weeks Relnotes: yes Differential Revision: D8405 Notes: svn path=/head/; revision=308493
* Align whitespace.Cy Schubert2016-10-221-1/+1
| | | | | | | | MFC after: 2 weeks X-MFC with: r307800 Notes: svn path=/head/; revision=307801
* Sources from the "current" build tree and generated sources in theCy Schubert2016-10-223-4/+4
| | | | | | | | | | | | object tree should be used instead of sources and headers from the already installed source tree on the build host. This was noticed while addressing issues in the upcoming amd update. MFC after: 2 weeks Notes: svn path=/head/; revision=307800
* Switch from .CURDIR to the simpler, more legible SRCTOP.Cy Schubert2016-09-1411-22/+22
| | | | | | | | Suggested by: emaste X-MFC-with: upcoming amd upgrade Notes: svn path=/head/; revision=305787
* Fixup whitespace, repace space with a tab.Cy Schubert2016-09-121-1/+1
| | | | | | | X-MFC-with: Upcoming amd update. Notes: svn path=/head/; revision=305753
* MFHGlen Barber2016-03-023-20/+0
|\ | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=296318
| * DIRDEPS_BUILD: Regenerate without local dependencies.Bryan Drewery2016-02-243-20/+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
* | MFHGlen Barber2016-02-181-2/+2
|\| | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295734
| * Revert r295648 for now.Bryan Drewery2016-02-161-4/+4
| | | | | | | | | | | | | | | | | | | | | | This builds fine with FAST_DEPEND but the mkdep method requires that include/ generates the headers during 'make depend' so the subsequent directories can find them when running mkdep. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=295663
| * Remove the need for overriding depend.Bryan Drewery2016-02-161-4/+4
| | | | | | | | | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=295648
| * Add missing dependency on sys/conf/newvers.sh.Bryan Drewery2016-02-161-2/+2
| | | | | | | | | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=295647
* | Create a package for amd(8) and related tools.Glen Barber2016-01-211-0/+2
|/ | | | | | | | | While here, fix accounting rc script installation. Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=294524
* META MODE: Remove bin/cat.host dependency.Bryan Drewery2015-11-251-1/+0
| | | | | | | | | | This likely slipped in during early testing; local.dirdeps.mk always excludes bin/cat.host now. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291305
* Add more SUBDIR_PARALLEL.Bryan Drewery2015-09-261-1/+3
| | | | | | | | MFC after: 3 weeks Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=288266
* Add META_MODE support.Simon J. Gerraty2015-06-1311-0/+256
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 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-0811-22/+1
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Merge sync of headSimon J. Gerraty2015-05-2715-43/+12
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=283595
| * Merge from head@274682Simon J. Gerraty2014-11-198-16/+0
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=274683
| * \ Merge head from 7/28Simon J. Gerraty2014-08-199-0/+17
| |\ \ | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=270164
| * | | Updated dependenciesSimon J. Gerraty2014-05-168-8/+0
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * | | Updated dependenciesSimon J. Gerraty2014-05-108-0/+16
| | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * | | Merge from headSimon J. Gerraty2014-05-083-3/+3
| |\ \ \ | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265720
| * \ \ \ Merge headSimon J. Gerraty2014-04-281-9/+0
| |\ \ \ \ | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=265044
| * | | | | Updated dependenciesSimon J. Gerraty2013-03-118-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * | | | | Updated dependenciesSimon J. Gerraty2013-02-1611-22/+0
| | | | | | | | | | | | | | | | | | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-2211-0/+270
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | | | | Stop including if_var.h from userland.Gleb Smirnoff2015-04-061-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sponsored by: Nginx, Inc. Notes: svn path=/head/; revision=281143
* | | | | | Remove GNU texinfo from base along with all info pages.Baptiste Daroussin2015-01-022-15/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To be able to info pages consider installing texinfo from ports print/texinfo or via pkg: pkg install texinfo Differential Revision: https://reviews.freebsd.org/D1409 Reviewed by: emaste, imp (previous version) Relnotes: yes Notes: svn path=/head/; revision=276551
* | | | | | Convert usr.sbin to LIBADDBaptiste Daroussin2014-11-259-24/+9
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduce overlinking Notes: svn path=/head/; revision=275054
* | | | | Revert r267233 for now. PIE support needs to be reworked.Bryan Drewery2014-08-198-16/+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-088-0/+16
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh2014-05-063-3/+3
| |/ |/| | | | | | | | | | | from the latter. Notes: svn path=/head/; revision=265420
* | Remove the names of the build host and user and the build date. ThisDag-Erling Smørgrav2014-04-121-9/+0
|/ | | | | | | | | still leaves the host OS and version, but these are harder to remove. MFC after: 3 weeks Notes: svn path=/head/; revision=264374
* Consistently set RPCGEN_CPP when running rpcgen, so the C preprocessorDimitry Andric2012-02-071-1/+1
| | | | | | | | | set via ${CPP} is used, instead of always using hardcoded /usr/bin/cpp. MFC after: 1 week Notes: svn path=/head/; revision=231118
* MFtbemd:Warner Losh2010-08-231-1/+1
| | | | | | | | Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want to test of all the CPUs of a given family conform. Notes: svn path=/head/; revision=211725
* The last big commit: let usr.sbin/ use WARNS=6 by default.Ed Schouten2010-01-021-0/+2
| | | | Notes: svn path=/head/; revision=201390
* Don't use sys/nfs/rpcv2.h - it is part of the old kernel RPC implementationDoug Rabson2009-06-241-1/+1
| | | | | | | and will be removed. Notes: svn path=/head/; revision=194880
* Don't always link statically with libwrap. By the time amd(8)Ruslan Ermilov2008-03-291-1/+1
| | | | | | | | | runs, /usr/lib should have already been mounted. Found by: make checkdpadd Notes: svn path=/head/; revision=177718
* Teach Amd how to unmount.David E. O'Brien2007-12-051-0/+3
| | | | Notes: svn path=/head/; revision=174311