[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ipv6 enabled pppd ?



Hi all,
		the patch will make pppd ipv6 enable
and fix both the debian/rules and the pppd/Makefile.linux


do an apt-get source ppp and apply my patch

Everything should work fine....

Fabbione

Mika Liljeberg wrote:

Get the debian PPP source package and compile it with IPv6 enabled. For
some reason the maintainer is not doing that, even though it works fine.



--
Debian GNU/Linux Unstable Kernel 2.4.9
fabbione on irc.atdot.it #coredump #kchat | fabbione@fabbione.net
diff -Naurd ppp-2.4.1.uus-orig/debian/rules ppp-2.4.1.uus/debian/rules
--- ppp-2.4.1.uus-orig/debian/rules	Wed Oct 31 09:56:20 2001
+++ ppp-2.4.1.uus/debian/rules	Wed Oct 31 10:03:03 2001
@@ -27,7 +27,7 @@
 	# have to do make clean since udeb and deb build in same area
 	-$(MAKE) clean
 	./configure
-	$(MAKE) USE_PAM=y FILTER=y COPTS="-DLOG_PPP=LOG_LOCAL2"
+	$(MAKE) USE_PAM=y FILTER=y COPTS="-DINET6 -DLOG_PPP=LOG_LOCAL2"
 	touch $@
 
 # Compile cut-down source for a udeb
@@ -38,7 +38,7 @@
 	#    have to do make clean since udeb and deb build in same area
 	-$(MAKE) clean
 	./configure
-	$(MAKE) COPTS="-DLOG_PPP=LOG_LOCAL2" UDEB_CFLAGS="-Os -fomit-frame-pointer -UPPP_FILTER -UPLUGIN -UHAVE_MULTILINK" 
+	$(MAKE) COPTS="-DLOG_PPP=LOG_LOCAL2 -DINET6" UDEB_CFLAGS="-Os -fomit-frame-pointer -UPPP_FILTER -UPLUGIN -UHAVE_MULTILINK" 
 	touch $@
 
 
diff -Naurd ppp-2.4.1.uus-orig/pppd/Makefile.linux ppp-2.4.1.uus/pppd/Makefile.linux
--- ppp-2.4.1.uus-orig/pppd/Makefile.linux	Wed Oct 31 09:56:20 2001
+++ ppp-2.4.1.uus/pppd/Makefile.linux	Wed Oct 31 10:02:52 2001
@@ -9,13 +9,13 @@
 
 PPPDSRCS = main.c magic.c fsm.c lcp.c ipcp.c upap.c chap.c md5.c ccp.c \
 	   ipxcp.c auth.c options.c sys-linux.c md4.c chap_ms.c cbcp.c \
-	   demand.c utils.c multilink.c tdb.c tty.c
+	   demand.c utils.c multilink.c tdb.c tty.c ipv6cp.c eui64.c
 HEADERS =  callout.h pathnames.h patchlevel.h chap.h md5.h chap_ms.h md4.h \
 	   ipxcp.h cbcp.h tdb.h
 MANPAGES = pppd.8
 PPPDOBJS = main.o magic.o fsm.o lcp.o ipcp.o upap.o chap.o md5.o ccp.o \
 	   auth.o options.o demand.o utils.o sys-linux.o ipxcp.o multilink.o \
-	   tdb.o tty.o cbcp.o
+	   tdb.o tty.o cbcp.o ipv6cp.o eui64.o
 
 all: pppd
 

Reply to: