aboutsummaryrefslogtreecommitdiff
path: root/libexec/pppoed
Commit message (Collapse)AuthorAgeFilesLines
* libexec: adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. 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. No functional change intended. Notes: svn path=/head/; revision=326274
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+20
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | 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/+21
| | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | | 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
* In libexec/pppoed/pppoed.c, use the correct printf length modifier for aDimitry Andric2011-12-161-2/+2
| | | | | | | | | size_t. MFC after: 1 week Notes: svn path=/head/; revision=228586
* Make WARNS=6 the default for libexec/.Ed Schouten2010-01-021-0/+1
| | | | | | | | | | | | | | | | | | 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
* Significantly reduce the memory leak as noted in BUGS section forSean Farley2007-07-041-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | setenv(3) by tracking the size of the memory allocated instead of using strlen() on the current value. Convert all calls to POSIX from historic BSD API: - unsetenv returns an int. - putenv takes a char * instead of const char *. - putenv no longer makes a copy of the input string. - errno is set appropriately for POSIX. Exceptions involve bad environ variable and internal initialization code. These both set errno to EFAULT. Several patches to base utilities to handle the POSIX changes from Andrey Chernov's previous commit. A few I re-wrote to use setenv() instead of putenv(). New regression module for tools/regression/environ to test these functions. It also can be used to test the performance. Bump __FreeBSD_version to 700050 due to API change. PR: kern/99826 Approved by: wes Approved by: re (kensmith) Notes: svn path=/head/; revision=171195
* Back out all POSIXified *env() changes.Andrey A. Chernov2007-05-011-4/+4
| | | | | | | | | | | | Not because I admit they are technically wrong and not because of bug reports (I receive nothing). But because I surprisingly meets so strong opposition and resistance so lost any desire to continue that. Anyone who interested in POSIX can dig out what changes and how through cvs diffs. Notes: svn path=/head/; revision=169177
* Prepare for upcoming POSIXed putenv() rewrite:Andrey A. Chernov2007-04-301-4/+4
| | | | | | | don't allow putenv() arg be on the stack, replace putenv() with setenv() Notes: svn path=/head/; revision=169121
* Expand contractions.Ruslan Ermilov2005-02-131-1/+1
| | | | Notes: svn path=/head/; revision=141851
* Sync program's usage() with manpage's SYNOPSIS.Ruslan Ermilov2005-02-091-1/+1
| | | | Notes: svn path=/head/; revision=141589
* Let bsd.prog.mk set SRCS and MAN to their default values.Ruslan Ermilov2005-01-281-1/+0
| | | | Notes: svn path=/head/; revision=140941
* Sort sections.Ruslan Ermilov2005-01-181-7/+7
| | | | Notes: svn path=/head/; revision=140414
* Replace all uses of the old netgraph constants NG_*LEN by the newHartmut Brandt2003-11-151-1/+1
| | | | | | | | | constants NG_*SIZ that include the trailing NUL byte. This change is mostly mechanical except for the replacement of a couple of snprintf() and sprintf() calls with strlcpy. Notes: svn path=/head/; revision=122758
* The .Nm utilityPhilippe Charnier2002-07-061-2/+4
| | | | Notes: svn path=/head/; revision=99500
* Understand the new NGM_PPPOE_SESSIONID message and set SESSIONIDBrian Somers2002-05-141-2/+9
| | | | | | | | | in the environment to it's value. Approved by: archie (after a very cursory glance) Notes: svn path=/head/; revision=96580
* Usage style sweep: spell "usage" with a small 'u'.Dag-Erling Smørgrav2002-04-221-1/+1
| | | | | | | | Also change one case of blatant __progname abuse (several more remain) This commit does not touch anything in src/{contrib,crypto,gnu}/. Notes: svn path=/head/; revision=95258
* Handle NGM_PPPOE_ACNAME messages.Brian Somers2002-02-202-3/+11
| | | | | | | | Submitted by: Andre Albsmeier <andre@albsmeier.net> Approved by: julian Notes: svn path=/head/; revision=90975
* o __P removalWarner Losh2002-02-171-1/+1
| | | | | | | o use Ansi-style function definitions Notes: svn path=/head/; revision=90779
* Lock down with WFORMAT?=1, with overrides in the subdirectories whichKris Kennaway2002-02-041-0/+2
| | | | | | | are not yet warning-clean. Tested on i386 and alpha. Notes: svn path=/head/; revision=90164
* Prototype a function as __printflike() to avoid a FORMAT_AUDIT warning.Kris Kennaway2002-02-041-0/+2
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=90160
* mdoc(7) police: minor spelling, markup and style fixes.Ruslan Ermilov2001-11-221-18/+21
| | | | Notes: svn path=/head/; revision=86783
* Don't leave dodgy looking spaces in HISMACADDRBrian Somers2001-11-221-3/+3
| | | | Notes: svn path=/head/; revision=86762
* Mention that HISMACADDR is set in the environment of child processesBrian Somers2001-11-221-0/+5
| | | | Notes: svn path=/head/; revision=86756
* Set HISMACADDR in the environment before envoking ppp.Brian Somers2001-11-211-5/+17
| | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=86705
* Put a parenthesis in the right place (DUH!).Brian Somers2001-08-251-1/+1
| | | | | | | This fixes the apparent immediate client timeout problem. Notes: svn path=/head/; revision=82333
* Understand that a return value of 0 from NgRecvMsg() means that theBrian Somers2001-08-241-2/+8
| | | | | | | | | | socket was closed. This prevents erroneous ``Unexpected netgraph version'' from turning up in the log. Notes: svn path=/head/; revision=82276
* mdoc(7) police:Ruslan Ermilov2001-08-071-3/+5
| | | | | | | | | | Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text. Not only this slows down the mdoc(7) processing significantly, but it also has an undesired (in this case) effect of disabling hyphenation within the entire enclosed block. Notes: svn path=/head/; revision=81251
* Don't use SA_RESETHAND here. We gain nothing.Brian Somers2001-07-311-1/+1
| | | | | | | Suggested by: bde Notes: svn path=/head/; revision=80733
* Add a -l flag used to specify a label when no -p flag is given.Brian Somers2001-07-312-27/+54
| | | | | | | | | Start new sentences on new lines in pppoed.8. MFC after: 1 week Notes: svn path=/head/; revision=80728
* Use sigaction() without SA_RESTART rather than signal() so that weBrian Somers2001-07-311-5/+9
| | | | | | | | | don't block in NgRecvData() after receiving a signal. MFC after: 1 week Notes: svn path=/head/; revision=80724
* Remove whitespace at EOL.Dima Dorfman2001-07-151-2/+2
| | | | Notes: svn path=/head/; revision=79754
* Remove an extraneous spaceBrian Somers2001-07-111-1/+1
| | | | Notes: svn path=/head/; revision=79597
* mdoc(7) police: removed HISTORY info from the .Os call.Ruslan Ermilov2001-07-101-1/+1
| | | | Notes: svn path=/head/; revision=79529
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.Dima Dorfman2001-07-091-1/+0
| | | | Notes: svn path=/head/; revision=79454
* Fix the type of the NULL arg to execl()Brian Somers2001-07-091-1/+1
| | | | | | | Idea from: Theo de Raadt <deraadt@openbsd.org> Notes: svn path=/head/; revision=79452
* mdoc(7) police: sort xrefs.Ruslan Ermilov2001-07-041-1/+1
| | | | Notes: svn path=/head/; revision=79211
* Correct cross-references:Maxim Sobolev2001-06-051-5/+5
| | | | | | | | | | | | | | | ng_bpf.8 --> ng_bpf.4 ng_ether.8 --> ng_ether.4 ng_iface.8 --> ng_iface.4 ng_pppoe.8 --> ng_pppoe.4 ng_socket.8 --> ng_socket.4 ng_tty.8 --> ng_tty.4 ng_{type}.4 --> /dev/null MFC after: 1 week Notes: svn path=/head/; revision=77760
* - Backout botched attempt to intoduce MANSECT feature.Ruslan Ermilov2001-03-261-0/+1
| | | | | | | - MAN[1-9] -> MAN. Notes: svn path=/head/; revision=74814
* Set the default manual section for libexec/ to 8.Ruslan Ermilov2001-03-201-1/+0
| | | | Notes: svn path=/head/; revision=74529
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-201-3/+3
| | | | Notes: svn path=/head/; revision=70227