would user_ppp be acceptable as a FLAVOR to pptp? pppd(8) doesn't have some of the features that ppp(8) has, some of which are requirements for certain pptp servers.
comments? Index: Makefile =================================================================== RCS file: /cvs/ports/net/pptp/Makefile,v retrieving revision 1.10 diff -u -r1.10 Makefile --- Makefile 24 Mar 2005 00:57:58 -0000 1.10 +++ Makefile 29 Sep 2005 14:04:37 -0000 @@ -20,6 +20,14 @@ NO_REGRESS= Yes +FLAVORS= user_ppp +FLAVOR?= + +.if ${FLAVOR:L:Muser_ppp} +MAKE_ENV+= PPPD=/usr/sbin/ppp +CFLAGS+=-DUSER_PPP +.endif + DIRS= Documentation Reference post-patch: Index: patches/patch-Makefile =================================================================== RCS file: /cvs/ports/net/pptp/patches/patch-Makefile,v retrieving revision 1.4 diff -u -r1.4 patch-Makefile --- patches/patch-Makefile 24 Mar 2005 00:57:58 -0000 1.4 +++ patches/patch-Makefile 29 Sep 2005 14:04:37 -0000 @@ -1,7 +1,15 @@ $OpenBSD: patch-Makefile,v 1.4 2005/03/24 00:57:58 naddy Exp $ ---- Makefile.orig Sat Mar 5 16:17:49 2005 -+++ Makefile Sat Mar 5 16:18:02 2005 -@@ -11,12 +11,12 @@ BINDIR=$(DESTDIR)/usr/sbin +--- Makefile.orig Thu Feb 17 20:42:23 2005 ++++ Makefile Thu Sep 29 09:54:57 2005 +@@ -4,19 +4,19 @@ RELEASE= + + ################################################################# + # CHANGE THIS LINE to point to the location of your pppd binary. +-PPPD = /usr/sbin/pppd ++PPPD?= /usr/sbin/pppd + ################################################################# + + BINDIR=$(DESTDIR)/usr/sbin MANDIR=$(DESTDIR)/usr/share/man/man8 PPPDIR=$(DESTDIR)/etc/ppp