summaryrefslogtreecommitdiffstats
path: root/package/pppd
AgeCommit message (Collapse)Author
2014-12-11Rename BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBSThomas Petazzoni
Since a while, the semantic of BR2_PREFER_STATIC_LIB has been changed from "prefer static libraries when possible" to "use only static libraries". The former semantic didn't make much sense, since the user had absolutely no control/idea of which package would use static libraries, and which packages would not. Therefore, for quite some time, we have been starting to enforce that BR2_PREFER_STATIC_LIB should really build everything with static libraries. As a consequence, this patch renames BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS, and adjust the Config.in option accordingly. This also helps preparing the addition of other options to select shared, shared+static or just static. Note that we have verified that this commit can be reproduced by simply doing a global rename of BR2_PREFER_STATIC_LIB to BR2_STATIC_LIBS plus adding BR2_PREFER_STATIC_LIB to Config.in.legacy. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2014-10-29pppd: set resolv.conf directory appropiatelyGustavo Zacarias
/etc/ppp/resolv.conf might not be writable and it's not useful, switch to standard /etc/resolv.conf If users don't want to update dns lookup entries they shouldn't use the "userpeerdns" option. [Thomas: slightly reword the comment in the code.] Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-19pppd: add hash fileGustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-04packages: rename FOO_MAKE_OPT into FOO_MAKE_OPTSThomas De Schampheleire
While the autotools infrastructure was using FOO_MAKE_OPT, generic packages were typically using FOO_MAKE_OPTS. This inconsistency becomes a problem when a new infrastructure is introduced that wants to make use of FOO_MAKE_OPT(S), and can live alongside either generic-package or autotools-package. The new infrastructure will have to choose between either OPT or OPTS, and thus rule out transparent usage by respectively generic packages or generic packages. An example of such an infrastructure is kconfig-package, which provides kconfig-related make targets. The OPTS variant is more logical, as there are typically multiple options. This patch renames all occurrences of FOO_MAKE_OPT in FOO_MAKE_OPTS. Sed command used: find * -type f | xargs sed -i 's#_MAKE_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-08-14pppd: security bump to version 2.4.7Gustavo Zacarias
Fixes CVE-2014-3158 - potential security issue in parsing option files. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-03-15pppd: install to stagingYegor Yefremov
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-02-28pppd: bump to version 2.4.6Gustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-02-08packages: remove support for documentation on targetThomas De Schampheleire
This patch removes deprecated symbol BR2_HAVE_DOCUMENTATION and all its usage. Additionally, it removes the now unused BR2_DEPRECATED_SINCE_2012_11. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-12-25Config.in files: use if/endif instead of 'depends on' for main symbolThomas De Schampheleire
In the Config.in file of package foo, it often happens that there are other symbols besides BR2_PACKAGE_FOO. Typically, these symbols only make sense when foo itself is enabled. There are two ways to express this: with depends on BR2_PACKAGE_FOO in each extra symbol, or with if BR2_PACKAGE_FOO ... endif around the entire set of extra symbols. The if/endif approach avoids the repetition of 'depends on' statements on multiple symbols, so this is clearly preferred. But even when there is only one extra symbol, if/endif is a more logical choice: - it is future-proof for when extra symbols are added - it allows to have just one strategy instead of two (less confusion) This patch modifies the Config.in files accordingly. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2013-12-06packages: remove uninstall commandsThomas De Schampheleire
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-10-14Config.in files: unify comments of toolchain option dependenciesThomas De Schampheleire
This patch lines up the comments in Config.in files that clarify which toolchain options the package depends on. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-10-04pppd: add license informationSimon Dawson
Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-10-01pppd: needs mmu and shared objectsAxel Lin
The plugin infrastructure is based on shared objects so it won't build for static-only scenarios. And the daemon uses fork() so MMU is required. [Peter: move below suboptions] Signed-off-by: Axel Lin <axel.lin@ingics.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-06-06Normalize separator size to 80Alexandre Belloni
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-09-11pppd: fix build with 3.5+ kernel headersPeter Korsgaard
Fixes http://autobuild.buildroot.net/results/8a9369fece696e012249b865708ffee533c5318a Pppd bundles some, but not all needed kernel headers. In Linux 3.5 (and before that 2.6.35) if_pppol2tp.h was changed, so the embedded copy was no longer compatible. if_pppol2tp.h has been part of the exported kernel headers since 2.6.23, so simply drop the bundled copy and use the kernel headers instead, similar to how it is done in Gentoo: https://bugs.gentoo.org/show_bug.cgi?id=427684 Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-07-17all packages: rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)
Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-06-11pppd: fix plugin search pathGustavo Zacarias
Fix the plugin search path by passing a --prefix to configure. DESTDIR is used in the source code for the search path of plugins (DESTDIR/lib/pppd/VERSION). Since DESTDIR defaults to /usr/local we get the search path wrong so the 'plugin' directive requires a full pathspec to the plugin rather than the .so name, which isn't nice or portable. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-09-29package: remove useless arguments from GENTARGETSThomas Petazzoni
Thanks to the pkgparentdir and pkgname functions, we can rewrite the GENTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-10-18pppd: convert to gentargets, properly add radius support, fix l2tp for ↵Gustavo Zacarias
2.6.35 headers Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-08-29pppd.mk installs radattr.so twice and omits radrealms.soDarcy Watkins
In pppd.mk the radattr.so plugin (for radiua) is installed twice (the second install overwriting the first) but the radrealms.so plugin is omitted from the install. This appears to be a copy-paste error. Below is patch that corrects this. signed-off by: Darcy Watkins <dwatkins@tranzeo.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-07-07Update all packages to quote $(TARGET_CC)Thomas Petazzoni
Now that TARGET_CC contains several space-separated words, it must be used quoted everywhere. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-04-11Use BR2_HAVE_DOCUMENTATION instead of BR2_HAVE_{MANPAGES,INFOPAGES}Thomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2010-03-22pppd: only install manpages if BR2_HAVE_MANPAGES is enabledPeter Korsgaard
They do get removed in target-finalize, but we might as well not install them in the first place. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-18Bump pppd to 2.4.5 and convert to Makefile.autotools.inGustavo Zacarias
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2010-03-13pppd: enable ipv6 support if toolchain supports itAlexander Clouter
Closes #1273 Signed-off-by: Alexander Clouter <alex@digriz.org.uk> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-10-01buildroot: silence ./configure step when building with 'make -s'Peter Korsgaard
We have been passing -q to ./configure when using 'make -s' for packages using Makefile.autotools.in for some time. Do the same for packages using autotools, but not using the Makefile.autotools.in infrastructure, taking care to not do it for packages with hand written configure scripts. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-09-03package: Remove unnecessary dependencies on uclibc.Will Newton
A C library will have been built by the toolchain makefiles, so there is no need for packages to explicitly depend on uclibc. Signed-off-by: Will Newton <will.newton@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-02-19pppd: fix build without UCLIBC_HAS_BSD_ERRPeter Korsgaard
Replace the BSD specific warn() with a call to syslog. Patch by Gustavo Zacarias, closes #109.
2009-02-19Enable multilink PPP (no reason to disable it)Hamish Moffatt
Add configuration item to enable filtering (requires libpcap)
2009-01-16package/: convert to DOWNLOAD helperPeter Korsgaard
2008-12-08package/: get rid of unneeded $(strip ..)Peter Korsgaard
2008-07-17Kconfig: remove 'default n'Peter Korsgaard
'default n' is the default, so there's no need to say it explicitly.
2007-09-19- take MANPAGES and INFOPAGES into accountBernhard Reutner-Fischer
2007-08-28Remove some more file during pppd-cleanUlf Samuelsson
2007-08-28This fixes make clean on pppd package (there is no rule uninstall in pppd's ↵Ulf Samuelsson
makefile) and does some small bits of cleanup. Signed-off-by: Thiago A. Corrêa <thiago.correa@gmail.com>
2007-08-22- global whitespace trimmingBernhard Reutner-Fischer
2007-08-21- sed -i -e "/;$/s/;$//g" $(egrep ";$" package/* package/*/*.mk toolchain/* ↵Bernhard Reutner-Fischer
toolchain/*/*.mk */Makefile.in -l)
2007-06-27- add endian handling, mmap, memcmp checks to TARGET_CONFIGURE_ARGSBernhard Reutner-Fischer
- use TARGET_CONFIGURE_ARGS where appropriate.
2007-03-13fixup package LDFLAGS handlingEric Andersen
2007-01-14fixup a whole steaming pile of insanity. When packages are configured,Eric Andersen
they should be configured with --prefix=/usr and we then need to use make DESTDIR=$(STAGING_DIR) install to get things installed into the staging directory. The current situation for many packages, which use --prefix=$(STAGING_DIR) results in the staging_dir paths getting compiled into the binary itself. This also adds in a pile of libtool fixups. Between broken pkgconfig, broken libtool handling, and broken --prefix settings, its a wonder things have worked as well as they have up till now. -Erik
2006-11-17- bump version and pass the target cflags in properly (at least for most of theBernhard Reutner-Fischer
tools. Needs fixing upstream).
2006-10-01- use $(ZCAT) as configured by the user instead of hardcoded 'zcat' that may ↵Bernhard Reutner-Fischer
not exist; Closes #971 Silly, unchecked sed -i -e "/[^b]zcat/s/zcat/\$\(ZCAT\)/g" $(svngrep "[^b]zcat" * -rl | grep -v Config.in)
2005-11-24remove extra space after touchMike Frysinger
2005-05-16This patch updates the pppd package to build version 2.4.3. The 2.4.3 versionEric Andersen
of pppd adds additional features. http://bugs.uclibc.org/view.php?id=259
2005-03-09Per http://bugs.uclibc.org/view.php?id=130Eric Andersen
sed needs to use different delimiters since the regex is using slashes from a filename
2005-02-10There is no need to have a separate 'Makefile.in' file in theEric Andersen
general case, therefore, combine the toplevel Makefile options such as setting TARGETS into the per-package *.mk file
2004-12-26more help updates from Tom CameronMike Frysinger
2004-12-11pppd's install target doesn't like 'make -j'Eric Andersen
2004-10-09Make the TAR_VERBOSITY option a bit more saneEric Andersen
2004-10-09use $(TAR_VERBOSITY)Mike Frysinger