Remove obsolete Makefile(s) and configure scripts Signed-off-by: Eivind Næss <eivnaes@yahoo.com>
Add pkgconfig support to PPP project (#270) This adds pppd.pc into $(INSTROOT)/$(LIBDIR)/pkgconfig. On some distributions this would be /lib/pkgconfig, or /usr/lib/pkgconfig, but other distributions may consider specifying --libdir=/usr/lib/x86_x64-linux-gnu/ and the pkgconfig directory would be under that. Allowing --libdir to be specified at configure time fixes #223, providing pkgconfig support fixes #19 and allows third party packages pickup the plugin directory. Manually cherry picking parts of two commits by @lkundrak from: https://github.com/NetworkManager/ppp/tree/lr/pkgconfig Mainly, the difference between the original commit is not to replace DESTDIR with "prefix". Leave DESTDIR alone, and add needed pkgconfig (pppd.pc.in) as a part of the linux distribution (previously in pppd/plugin directory). This fixes GitHub issues: #19 #47 and #223 Signed-off-by: Eivind Naess <eivnaes@yahoo.com>
Add cross-compilation support on Linux This adds three new command-line options to the configure script: --cross_compile=<prefix> (default "") --cc=<compiler> (default cc) --cflags=<compile flags> (default -g -O2 -pipe) These get propagated to the Makefiles in the subdirectories. The cross-compile prefix is prepended to the CC value, so for example if you do "./configure --cross_compile=powerpc64le-linux-" then everything gets compiled and linked using powerpc64le-linux-cc. Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
Allow overriding the optimization level with CFLAGS (#197) Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Co-authored-by: Marco d'Itri <md@linux.it>
Do not strip installed binaries (#186) This should be done by the packaging system, to be able to separate out debugging symbols into separate packages. Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Honor LDFLAGS This makes the makefiles include $(LDFLAGS) as a parameter when linking executables. Distros use this as a way of applying linker flags across all the executables they build. [paulus@ozlabs.org - supplied the patch description] Signed-off-by: Jaroslav Škarvada <jskarvad@redhat.com>
Add $(INSTDIR) to installation paths in Linux makefiles. Patch from Robert Vogelgesang. This patch re-introduces the possibility for package maintainers to install into a different filesystem tree. This is done by adding $(INSTROOT) at various places; the package maintainers can then issue a make install INSTROOT=/some/where/else when they package pppd for their distribution. In previous versions of the ppp package this was possible using the variable DESTDIR, but this variable is now used for a different purpose and cannot be changed via additional parameters of the make command.
Simplified and cleaned up the radiusclient implementation, and made it use pppd facilities where relevant. All the bits of radiusclient that we actually need are now in the plugins/radius directory.
Take out the -o root argument to install. It is the default anyway when installing as root, and it causes errors in the build farm testing.
Put man pages in /usr/share/man under Linux.
Add --prefix and --sysconfdir options to configure, and put @DESTDIR@ and @SYSCONF@ tags in various Makefile.linux files. These tags get expanded by configure.
radrealms plugin from Ben McKeegan
Experemental per session traffic limiting. Usefull for VPN with per megabyte billing. (Works for me)
Added RADIUS support for MPPE (patch from Frank Cusack)
Patch from Frank Cusack to make RADIUS plugin support MS-CHAP authentication.
Added RADIUS suppport.