X-Git-Url: https://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=pppd%2Fpppdconf.h.in;h=ad25dca63d06c1f141b769c5e3d8501f320588b9;hp=bb3a58c09a443bf6e88d271a229fd874e82ed593;hb=HEAD;hpb=e8605bcddbad7e47277b86f2ce0b28f6ca951fa2 diff --git a/pppd/pppdconf.h.in b/pppd/pppdconf.h.in index bb3a58c..9fb6f4b 100644 --- a/pppd/pppdconf.h.in +++ b/pppd/pppdconf.h.in @@ -1,8 +1,39 @@ +/* + * Copyright (c) 2022 Eivind Næss. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions + * are met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in + * the documentation and/or other materials provided with the + * distribution. + * + * 3. The name(s) of the authors of this software must not be used to + * endorse or promote products derived from this software without + * prior written permission. + * + * THE AUTHORS OF THIS SOFTWARE DISCLAIM ALL WARRANTIES WITH REGARD TO + * THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY + * AND FITNESS, IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY + * SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN + * AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING + * OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + */ + /* * This file is generated by configure and sets the features enabled * in pppd when configured. */ +#ifndef PPP_PPPDCONF_H +#define PPP_PPPDCONF_H + /* Have Microsoft CHAP support */ #undef PPP_WITH_CHAPMS @@ -21,9 +52,6 @@ /* Have support for loadable plugins */ #undef PPP_WITH_PLUGINS -/* Limit sessions by maximum number of octets */ -#undef PPP_WITH_MAXOCTETS - /* Have Callback Protocol support */ #undef PPP_WITH_CBCP @@ -45,17 +73,7 @@ /* Have PEAP authentication support */ #undef PPP_WITH_PEAP -/* Use included des included with pppd */ -#undef USE_CRYPT - -/* Use included md4 included with pppd */ -#undef USE_MD4 - -/* Use included md5 included with pppd */ -#undef USE_MD5 - -/* Use included sha included with pppd */ -#undef USE_SHA +/* The pppd version */ +#undef PPPD_VERSION -/* Version number of package */ -#undef VERSION +#endif