aboutsummaryrefslogtreecommitdiff
path: root/libexec/ypxfr
Commit message (Collapse)AuthorAgeFilesLines
* Remove $FreeBSD$: two-line nroff patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-162-2/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-165-10/+0
| | | | Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/
* Remove $FreeBSD$: two-line .h patternWarner Losh2023-08-161-2/+0
| | | | Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/
* Update/fix Makefile.depend for userlandSimon J. Gerraty2023-04-191-1/+0
|
* pkgbase: Put yellow pages programs to its own packageEmmanuel Vadot2021-12-211-0/+1
| | | | | | | | | YP is less and less used, split them to users have the choice to not install them. MFC after: 2 weeks Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D33441
* yp*: fix -fno-common buildKyle Evans2020-04-061-2/+2
| | | | | | | | | | | | | | | | | This is mostly two problems spread out far and wide: - ypldap_process should be declared properly - debug is defined differently in many programs For the latter, just extern it and define it everywhere that actually needs it. This mostly works out nicely for ^/libexec/ypxfr, which can remove the assignment at the beginning of main in favor of defining it properly. -fno-common will become the default in GCC10/LLVM11. MFC after: 3 days Notes: svn path=/head/; revision=359677
* spdx: initial adoption of licensing ID tags.Pedro F. Giffuni2017-11-186-6/+18
| | | | | | | | | | | | | | | | | | | | The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. Special thanks to Wind River for providing access to "The Duke of Highlander" tool: an older (2014) run over FreeBSD tree was useful as a starting point. Initially, only tag files that use BSD 4-Clause "Original" license. RelNotes: yes Differential Revision: https://reviews.freebsd.org/D13133 Notes: svn path=/head/; revision=325966
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* libexec: normalize paths using SRCTOP-relative paths or :H when possibleEnji Cooper2017-03-041-2/+2
| | | | | | | | | | This simplifies make logic/output MFC after: 1 month Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314653
* Reference the libc symbols ypresp_{allfn,data} instead of local symbols.Mark Johnston2016-10-161-2/+2
| | | | | | | | | | This fixes a regression introduced in r285926. PR: 213506 MFC after: 3 days Notes: svn path=/head/; revision=307398
* 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
* Staticfy and constify some variables and clean up the code a bit to make itMarcelo Araujo2015-07-283-9/+9
| | | | | | | | | | | more readable. No functional change. Differential Revision: D3166 Reviewed by: kib Sponsored by: gandi.net Notes: svn path=/head/; revision=285926
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+30
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 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-271-2/+1
| |\ | | | | | | | | | Notes: svn path=/projects/bmake/; revision=283595
| * \ Merge head from 7/28Simon J. Gerraty2014-08-191-1/+1
| |\ \ | | | | | | | | | | | | 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-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/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | | ypxfr(8): Use the correct enum member for checking yp_errno.Craig Rodrigues2015-05-311-2/+2
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | Found-by: gcc47 Submitted by: Sascha Wildner <swildner@dragonflybsd.org> Obtained from: DragonFlyBSD (commit d0b3a17c3c6) Notes: svn path=/head/; revision=283844
* | | Convert to LIBADDBaptiste Daroussin2014-11-251-2/+1
| |/ |/| | | | | | | | | | | Reduce overlinking Notes: svn path=/head/; revision=275077
* | use .Mt to mark up email addresses consistently (part2)Baptiste Daroussin2014-06-201-1/+1
|/ | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco@lastsummer.de> Notes: svn path=/head/; revision=267668
* 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
* Fix the incompatible enum conversions in libexec/ypxfr in another, moreDimitry Andric2011-12-163-22/+24
| | | | | | | | | | | messy way, so as to not disrupt other yp programs: just add casts to convert the incompatible enums, as the numerical values are the same (either by accident, design, or the phase of the moon at that time). MFC after: 1 week Notes: svn path=/head/; revision=228600
* Revert r228592, as the non-messy way of fixing ypxfr breaks other ypDimitry Andric2011-12-164-7/+8
| | | | | | | | | | programs (e.g. usr.sbin/rpc.yppasswdd). Spotted by: np MFC after: 1 week Notes: svn path=/head/; revision=228599
* Attempt to fix the numerous incompatible enum conversions inDimitry Andric2011-12-164-8/+7
| | | | | | | | | libexec/ypxfr in the least disruptive way. MFC after: 1 week Notes: svn path=/head/; revision=228592
* Fix incorrect usage of 'assure' and 'insure'.Rebecca Cran2010-08-281-1/+1
| | | | | | | Approved by: rrs (mentor) Notes: svn path=/head/; revision=211936
* Fix typos and spelling mistakes.Joel Dahl2010-08-061-1/+1
| | | | Notes: svn path=/head/; revision=210933
* Fix typo.Joel Dahl2010-08-041-1/+1
| | | | Notes: svn path=/head/; revision=210838
* Make WARNS=6 the default for libexec/.Ed Schouten2010-01-021-0/+3
| | | | | | | | | | | | | | | | | | Just like bin/ and sbin/, I think setting WARNS to the highest value possible will make it more attractive for people to fix warnings. - The WARNS variable is set in the Makefile in the directory of the application itself, making it more likely that it will be removed out of curiosity to see what happens. - New applications will most likely build with WARNS=6 out of the box, because the author would more likely fix the warnings during development than lower WARNS. Unfortunately almost all apps in libexec require a lowered value of WARNS. Notes: svn path=/head/; revision=201380
* Expand *n't contractions.Ruslan Ermilov2005-02-131-1/+1
| | | | Notes: svn path=/head/; revision=141846
* Remove definition of struct dom_binding, it's non-standard C code andStefan Farfeleder2004-10-172-2/+0
| | | | | | | unnecessary since src/include/rpcsvc/ypclnt.h's revision 1.10. Notes: svn path=/head/; revision=136620
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-16/+30
| | | | Notes: svn path=/head/; revision=131487
* Don't pass a pointer to a 'long' to a function that expects an 'int *'.David Schultz2004-02-161-2/+2
| | | | | | | | Submitted by: Roop Nanuwa <roop@hqst.com> PR: 62615 Notes: svn path=/head/; revision=125868
* Tidy up some xdrproc_t related warnings.Peter Wemm2003-10-262-5/+7
| | | | Notes: svn path=/head/; revision=121538
* Use __FBSDID vs. rcsid[].David E. O'Brien2003-05-045-20/+10
| | | | Notes: svn path=/head/; revision=114626
* english(4) police.Jens Schweikhardt2002-12-271-1/+1
| | | | Notes: svn path=/head/; revision=108317
* Uniformly refer to a file system as "file system".Ruslan Ermilov2002-12-121-1/+1
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107788
* The .Nm utilityPhilippe Charnier2002-07-061-5/+7
| | | | Notes: svn path=/head/; revision=99500
* Spell void * as void * rather than caddr_t. This is complicated by theDag-Erling Smørgrav2002-04-282-5/+5
| | | | | | | | | fact that caddr_t is often misspelled as char *. Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=95658
* Fix warnings.Dag-Erling Smørgrav2002-04-063-13/+13
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=93979
* ANSIfy and remove some dead code.Dag-Erling Smørgrav2002-02-066-53/+29
| | | | | | | Sponsored by: DARPA, NAI Labs Notes: svn path=/head/; revision=90298
* Apply the following mechanical transformations in preparation forDag-Erling Smørgrav2002-02-066-23/+23
| | | | | | | | | | | | | | | | | | | | ansification and constification: s{\s+__P\((\(.*?\))\)}{$1}g; s{\(\s+}{\(}g; s{\s+\)}{\)}g; s{\s+,}{,}g; s{(\s+)(for|if|switch|while)\(}{$1$2 \(}g; s{return ([^\(].*?);}{return ($1);}g; s{([\w\)])([!=+/\*-]?=)([\w\(+-])}{$1 $2 $3}g; s{\s+$}{\n};g Also add $FreeBSD$ where needed. MFC after: 1 week Notes: svn path=/head/; revision=90297
* Lock down with WFORMAT?=1, with overrides in the subdirectories whichKris Kennaway2002-02-041-0/+1
| | | | | | | are not yet warning-clean. Tested on i386 and alpha. Notes: svn path=/head/; revision=90164
* yp(4) -> yp(8).Ruslan Ermilov2002-01-141-1/+1
| | | | | | | PR: docs/30797 Notes: svn path=/head/; revision=89362
* yp_errno is an `enum ypstat`.Dima Dorfman2001-07-241-1/+1
| | | | | | | | | PR: 29190 Submitted by: Cristan Szmajda <cristan@unsw.edu.au> Reviewed by: md5(1) Notes: svn path=/head/; revision=80281
* - Backout botched attempt to intoduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+2
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74814