From 46aa834d2945f0d14cdb136c40413c4e028b91fb Mon Sep 17 00:00:00 2001 From: Jonathan McDowell Date: Wed, 26 Oct 2005 22:22:51 +0000 Subject: ppp-2.4.3: Build pppoatm plugin as package ppp-oa. --- packages/ppp/ppp-2.4.3/pppoatm-makefile.patch | 7 +++++++ packages/ppp/ppp_2.4.3.bb | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 packages/ppp/ppp-2.4.3/pppoatm-makefile.patch (limited to 'packages/ppp') diff --git a/packages/ppp/ppp-2.4.3/pppoatm-makefile.patch b/packages/ppp/ppp-2.4.3/pppoatm-makefile.patch new file mode 100644 index 0000000000..5601f593d0 --- /dev/null +++ b/packages/ppp/ppp-2.4.3/pppoatm-makefile.patch @@ -0,0 +1,7 @@ +--- ppp-2.4.3/pppd/plugins/pppoatm/Makefile.linux.orig 2005-10-26 20:38:50.990298750 +0100 ++++ ppp-2.4.3/pppd/plugins/pppoatm/Makefile.linux 2005-10-26 20:39:05.583210750 +0100 +@@ -1,4 +1,3 @@ +-CC = gcc + COPTS = -O2 -g + CFLAGS = $(COPTS) -I../.. -I../../../include -fPIC + LDFLAGS = -shared diff --git a/packages/ppp/ppp_2.4.3.bb b/packages/ppp/ppp_2.4.3.bb index 29ce2b520d..2effec1328 100644 --- a/packages/ppp/ppp_2.4.3.bb +++ b/packages/ppp/ppp_2.4.3.bb @@ -10,6 +10,7 @@ SRC_URI = "ftp://ftp.samba.org/pub/ppp/ppp-${PV}.tar.gz \ file://cifdefroute.patch;patch=1 \ file://pppd-resolv-varrun.patch;patch=1 \ file://plugins-fix-CC.patch;patch=1 \ + file://pppoatm-makefile.patch;patch=1 \ file://pon \ file://poff \ file://init \ @@ -40,14 +41,16 @@ do_install_append () { } CONFFILES_${PN} = "${sysconfdir}/ppp/pap-secrets ${sysconfdir}/ppp/chap-secrets ${sysconfdir}/ppp/options" -PACKAGES += "ppp-oe ppp-radius ppp-winbind ppp-minconn ppp-password ppp-tools" +PACKAGES += "ppp-oa ppp-oe ppp-radius ppp-winbind ppp-minconn ppp-password ppp-tools" FILES_${PN} = "/etc /usr/bin /usr/sbin/chat /usr/sbin/pppd" +FILES_ppp-oa = "/usr/lib/pppd/2.4.3/pppoatm.so" FILES_ppp-oe = "/usr/sbin/pppoe-discovery /usr/lib/pppd/2.4.3/rp-pppoe.so" FILES_ppp-radius = "/usr/lib/pppd/2.4.3/radius.so /usr/lib/pppd/2.4.3/radattr.so /usr/lib/pppd/2.4.3/radrealms.so" FILES_ppp-winbind = "/usr/lib/pppd/2.4.3/winbind.so" FILES_ppp-minconn = "/usr/lib/pppd/2.4.3/minconn.so" FILES_ppp-password = "/usr/lib/pppd/2.4.3/pass*.so" FILES_ppp-tools = "/usr/sbin/pppstats /usr/sbin/pppdump" +DESCRIPTION_ppp-oa = "Plugin for PPP needed for PPP-over-ATM" DESCRIPTION_ppp-oe = "Plugin for PPP needed for PPP-over-Ethernet" DESCRIPTION_ppp-radius = "Plugin for PPP that are related to RADIUS" DESCRIPTION_ppp-winbind = "Plugin for PPP to authenticate against Samba or Windows" -- cgit v1.2.3